aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/bfin
diff options
context:
space:
mode:
authorMans Rullgard <mans@mansr.com>2011-07-21 02:31:57 +0100
committerMans Rullgard <mans@mansr.com>2011-07-21 18:10:58 +0100
commit874f1a901d9f2d1d6825be309ed046abc7672b03 (patch)
tree7638258077e3888e35e86ed7f8242ae2e9cc77a4 /libavcodec/bfin
parent5cc2600964c72dad995efb18c918a63e0965f8db (diff)
downloadandroid_external_ffmpeg-874f1a901d9f2d1d6825be309ed046abc7672b03.tar.gz
android_external_ffmpeg-874f1a901d9f2d1d6825be309ed046abc7672b03.tar.bz2
android_external_ffmpeg-874f1a901d9f2d1d6825be309ed046abc7672b03.zip
dsputil: template get_pixels() for different bit depths
Signed-off-by: Mans Rullgard <mans@mansr.com>
Diffstat (limited to 'libavcodec/bfin')
-rw-r--r--libavcodec/bfin/dsputil_bfin.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/bfin/dsputil_bfin.c b/libavcodec/bfin/dsputil_bfin.c
index 691c060733..f88ae66b15 100644
--- a/libavcodec/bfin/dsputil_bfin.c
+++ b/libavcodec/bfin/dsputil_bfin.c
@@ -199,12 +199,12 @@ void dsputil_init_bfin( DSPContext* c, AVCodecContext *avctx )
{
const int high_bit_depth = avctx->codec_id == CODEC_ID_H264 && avctx->bits_per_raw_sample > 8;
- c->get_pixels = ff_bfin_get_pixels;
c->diff_pixels = ff_bfin_diff_pixels;
c->put_pixels_clamped = ff_bfin_put_pixels_clamped;
c->add_pixels_clamped = ff_bfin_add_pixels_clamped;
if (!high_bit_depth)
+ c->get_pixels = ff_bfin_get_pixels;
c->clear_blocks = bfin_clear_blocks;
c->pix_sum = ff_bfin_pix_sum;
c->pix_norm1 = ff_bfin_pix_norm1;