Mercurial > libavcodec.hg
diff arm/dsputil_init_armv6.c @ 10372:e55d957ef1a2 libavcodec
ARM: ARMv6 optimised add_pixels_clamped()
author | mru |
---|---|
date | Tue, 06 Oct 2009 21:55:35 +0000 |
parents | 838b42ccd65e |
children | 0f845e20982a |
line wrap: on
line diff
--- a/arm/dsputil_init_armv6.c Tue Oct 06 21:55:30 2009 +0000 +++ b/arm/dsputil_init_armv6.c Tue Oct 06 21:55:35 2009 +0000 @@ -25,6 +25,10 @@ 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 @@ c->idct = ff_simple_idct_armv6; c->idct_permutation_type = FF_LIBMPEG2_IDCT_PERM; } + + c->add_pixels_clamped = ff_add_pixels_clamped_armv6; }