Skip to content
Snippets Groups Projects
Commit 14efbe69 authored by Diego Biurrun's avatar Diego Biurrun
Browse files

bfin: dsputil: Drop broken vsad bits

They were marked as broken and disabled in 2009 and will never get fixed.
parent 671c8785
No related branches found
No related tags found
No related merge requests found
...@@ -57,15 +57,6 @@ static int bfin_pix_abs16 (void *c, uint8_t *blk1, uint8_t *blk2, int line_size, ...@@ -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); 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 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) 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) ...@@ -138,9 +129,6 @@ av_cold void ff_dsputil_init_bfin(DSPContext *c, AVCodecContext *avctx)
c->sad[0] = bfin_pix_abs16; c->sad[0] = bfin_pix_abs16;
c->sad[1] = bfin_pix_abs8; c->sad[1] = bfin_pix_abs8;
/* c->vsad[0] = bfin_vsad; */
/* c->vsad[4] = bfin_vsad_intra16; */
/* TODO [0] 16 [1] 8 */ /* TODO [0] 16 [1] 8 */
c->pix_abs[0][0] = bfin_pix_abs16; c->pix_abs[0][0] = bfin_pix_abs16;
c->pix_abs[0][1] = bfin_pix_abs16_x2; c->pix_abs[0][1] = bfin_pix_abs16_x2;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment