diff options
author | Diego Biurrun <diego@biurrun.de> | 2013-12-23 22:48:43 +0400 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2014-05-29 17:41:15 +0400 |
commit | 65d5d5865845f057cc6530a8d0f34db952d9009c (patch) | |
tree | 87f2ff44f58d550ae4076e741a4c6b3564d98bc0 /libavcodec/dsputil.c | |
parent | 2ea2612df508abdd1f97c6a6ef56275a52c5c41e (diff) |
dsputil: Move SVQ1 encoding specific bits into svq1enc
Diffstat (limited to 'libavcodec/dsputil.c')
-rw-r--r-- | libavcodec/dsputil.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/libavcodec/dsputil.c b/libavcodec/dsputil.c index ab0206b351..e26d27a2f3 100644 --- a/libavcodec/dsputil.c +++ b/libavcodec/dsputil.c @@ -2099,16 +2099,6 @@ static int vsse16_c(MpegEncContext *c, uint8_t *s1, uint8_t *s2, return score; } -static int ssd_int8_vs_int16_c(const int8_t *pix1, const int16_t *pix2, - int size) -{ - int score = 0, i; - - for (i = 0; i < size; i++) - score += (pix1[i] - pix2[i]) * (pix1[i] - pix2[i]); - return score; -} - #define WRAPPER8_16_SQ(name8, name16) \ static int name16(MpegEncContext *s, uint8_t *dst, uint8_t *src, \ int stride, int h) \ @@ -2430,8 +2420,6 @@ av_cold void ff_dsputil_init(DSPContext *c, AVCodecContext *avctx) c->nsse[0] = nsse16_c; c->nsse[1] = nsse8_c; - c->ssd_int8_vs_int16 = ssd_int8_vs_int16_c; - c->bswap_buf = bswap_buf; c->bswap16_buf = bswap16_buf; |