From b716a792158ffccd04f30420813deff78f88e308 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=C3=A5ns=20Rullg=C3=A5rd?= Date: Thu, 28 May 2009 22:36:06 +0000 Subject: [PATCH] blackfin: disable broken dsputil functions Originally committed as revision 18977 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/bfin/dsputil_bfin.c | 8 ++++---- libavcodec/bfin/mpegvideo_bfin.c | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/libavcodec/bfin/dsputil_bfin.c b/libavcodec/bfin/dsputil_bfin.c index 38c8bcb5fe..be8f9c0897 100644 --- a/libavcodec/bfin/dsputil_bfin.c +++ b/libavcodec/bfin/dsputil_bfin.c @@ -242,8 +242,8 @@ void 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; +/* c->vsad[0] = bfin_vsad; */ +/* c->vsad[4] = bfin_vsad_intra16; */ /* TODO [0] 16 [1] 8 */ c->pix_abs[0][0] = bfin_pix_abs16; @@ -286,12 +286,12 @@ void dsputil_init_bfin( DSPContext* c, AVCodecContext *avctx ) c->put_no_rnd_pixels_tab[1][0] = bfin_put_pixels8_nornd; c->put_no_rnd_pixels_tab[1][1] = bfin_put_pixels8_x2_nornd; c->put_no_rnd_pixels_tab[1][2] = bfin_put_pixels8_y2_nornd; - c->put_no_rnd_pixels_tab[1][3] = ff_bfin_put_pixels8_xy2_nornd; +/* c->put_no_rnd_pixels_tab[1][3] = ff_bfin_put_pixels8_xy2_nornd; */ c->put_no_rnd_pixels_tab[0][0] = bfin_put_pixels16_nornd; c->put_no_rnd_pixels_tab[0][1] = bfin_put_pixels16_x2_nornd; c->put_no_rnd_pixels_tab[0][2] = bfin_put_pixels16_y2_nornd; - c->put_no_rnd_pixels_tab[0][3] = ff_bfin_put_pixels16_xy2_nornd; +/* c->put_no_rnd_pixels_tab[0][3] = ff_bfin_put_pixels16_xy2_nornd; */ if (avctx->dct_algo == FF_DCT_AUTO) c->fdct = ff_bfin_fdct; diff --git a/libavcodec/bfin/mpegvideo_bfin.c b/libavcodec/bfin/mpegvideo_bfin.c index 5c96f8f29d..0373e22ff8 100644 --- a/libavcodec/bfin/mpegvideo_bfin.c +++ b/libavcodec/bfin/mpegvideo_bfin.c @@ -143,6 +143,6 @@ static int dct_quantize_bfin (MpegEncContext *s, void MPV_common_init_bfin (MpegEncContext *s) { - s->dct_quantize= dct_quantize_bfin; +/* s->dct_quantize= dct_quantize_bfin; */ }