diff options
author | Måns Rullgård <mans@mansr.com> | 2009-10-06 21:55:35 +0000 |
---|---|---|
committer | Måns Rullgård <mans@mansr.com> | 2009-10-06 21:55:35 +0000 |
commit | 153f49570f41ebfffe8bb1fa9acb882bfe4eaf79 (patch) | |
tree | e565c74de2fc2ba2f6ae772537aed3dde2ce649d /libavcodec/arm/dsputil_init_armv6.c | |
parent | c8315e918627edc9ba526a38b4d8ff82ec043ae3 (diff) | |
download | ffmpeg-153f49570f41ebfffe8bb1fa9acb882bfe4eaf79.tar.gz |
ARM: ARMv6 optimised add_pixels_clamped()
Originally committed as revision 20184 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/arm/dsputil_init_armv6.c')
-rw-r--r-- | libavcodec/arm/dsputil_init_armv6.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/libavcodec/arm/dsputil_init_armv6.c b/libavcodec/arm/dsputil_init_armv6.c index 6b03a67b80..76bde43f33 100644 --- a/libavcodec/arm/dsputil_init_armv6.c +++ b/libavcodec/arm/dsputil_init_armv6.c @@ -25,6 +25,10 @@ void ff_simple_idct_armv6(DCTELEM *data); void ff_simple_idct_put_armv6(uint8_t *dest, int line_size, DCTELEM *data); void ff_simple_idct_add_armv6(uint8_t *dest, int line_size, DCTELEM *data); +void ff_add_pixels_clamped_armv6(const DCTELEM *block, + uint8_t *restrict pixels, + int line_size); + void av_cold ff_dsputil_init_armv6(DSPContext* c, AVCodecContext *avctx) { if (!avctx->lowres && (avctx->idct_algo == FF_IDCT_AUTO || @@ -34,4 +38,6 @@ void av_cold ff_dsputil_init_armv6(DSPContext* c, AVCodecContext *avctx) c->idct = ff_simple_idct_armv6; c->idct_permutation_type = FF_LIBMPEG2_IDCT_PERM; } + + c->add_pixels_clamped = ff_add_pixels_clamped_armv6; } |