diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2014-03-14 01:42:42 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2014-03-14 01:42:47 +0100 |
commit | c686cf23aa86c1862e7ee9623aef5716f641537d (patch) | |
tree | e2a4f0c10a7b6913f1b68edd54a797d92a95767d | |
parent | 0f95856834d0ac5ea096d567a2f4a80c281a675b (diff) | |
parent | 14efbe694ac5beff98f5c5e652c166603f1738cf (diff) | |
download | ffmpeg-c686cf23aa86c1862e7ee9623aef5716f641537d.tar.gz |
Merge commit '14efbe694ac5beff98f5c5e652c166603f1738cf'
* commit '14efbe694ac5beff98f5c5e652c166603f1738cf':
bfin: dsputil: Drop broken vsad bits
Merged-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r-- | libavcodec/bfin/dsputil_bfin.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/libavcodec/bfin/dsputil_bfin.c b/libavcodec/bfin/dsputil_bfin.c index bc9ae63c1e..d139f8b7ae 100644 --- a/libavcodec/bfin/dsputil_bfin.c +++ b/libavcodec/bfin/dsputil_bfin.c @@ -57,15 +57,6 @@ static int bfin_pix_abs16 (void *c, uint8_t *blk1, uint8_t *blk2, int line_size, return ff_bfin_z_sad16x16 (blk1,blk2,line_size,line_size,h); } -static int bfin_vsad_intra16 (void *c, uint8_t *blk1, uint8_t *dummy, int stride, int h) { - return ff_bfin_z_sad16x16 (blk1,blk1+stride,stride<<1,stride<<1,h); -} - -static int bfin_vsad (void *c, uint8_t *blk1, uint8_t *blk2, int stride, int h) { - return ff_bfin_z_sad16x16 (blk1,blk1+stride,stride<<1,stride<<1,h) - + ff_bfin_z_sad16x16 (blk2,blk2+stride,stride<<1,stride<<1,h); -} - static uint8_t vtmp_blk[256] attribute_l1_data_b; static int bfin_pix_abs16_x2 (void *c, uint8_t *blk1, uint8_t *blk2, int line_size, int h) @@ -138,9 +129,6 @@ av_cold void ff_dsputil_init_bfin(DSPContext *c, AVCodecContext *avctx) c->sad[0] = bfin_pix_abs16; c->sad[1] = bfin_pix_abs8; -/* c->vsad[0] = bfin_vsad; */ -/* c->vsad[4] = bfin_vsad_intra16; */ - /* TODO [0] 16 [1] 8 */ c->pix_abs[0][0] = bfin_pix_abs16; c->pix_abs[0][1] = bfin_pix_abs16_x2; |