diff options
author | Diego Biurrun <diego@biurrun.de> | 2013-12-29 11:53:00 +0100 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2014-05-29 06:48:08 -0700 |
commit | cb52a17cb62297802b0a77e5af9850d87c3f925b (patch) | |
tree | 543f0f6024eb8f78db699b4179cc0d65289977a7 /libavcodec/dsputil.c | |
parent | 054013a0fc6f2b52c60cee3e051be8cc7f82cef3 (diff) | |
download | ffmpeg-cb52a17cb62297802b0a77e5af9850d87c3f925b.tar.gz |
dsputil: Move Bink-specific add_pixels8 to binkdsp
Diffstat (limited to 'libavcodec/dsputil.c')
-rw-r--r-- | libavcodec/dsputil.c | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/libavcodec/dsputil.c b/libavcodec/dsputil.c index 6b846588fa..89c0da4ec3 100644 --- a/libavcodec/dsputil.c +++ b/libavcodec/dsputil.c @@ -347,25 +347,6 @@ static void put_signed_pixels_clamped_c(const int16_t *block, } } -static void add_pixels8_c(uint8_t *restrict pixels, int16_t *block, - int line_size) -{ - int i; - - for (i = 0; i < 8; i++) { - pixels[0] += block[0]; - pixels[1] += block[1]; - pixels[2] += block[2]; - pixels[3] += block[3]; - pixels[4] += block[4]; - pixels[5] += block[5]; - pixels[6] += block[6]; - pixels[7] += block[7]; - pixels += line_size; - block += 8; - } -} - static void add_pixels_clamped_c(const int16_t *block, uint8_t *restrict pixels, int line_size) { @@ -2290,8 +2271,6 @@ av_cold void ff_dsputil_init(DSPContext *c, AVCodecContext *avctx) c->shrink[2] = ff_shrink44; c->shrink[3] = ff_shrink88; - c->add_pixels8 = add_pixels8_c; - c->draw_edges = draw_edges_8_c; c->clear_block = clear_block_8_c; |