summaryrefslogtreecommitdiff
path: root/libavcodec/h264dsp.c
diff options
context:
space:
mode:
authorOskar Arvidsson <oskar@irock.se>2011-03-29 17:48:46 +0200
committerMichael Niedermayer <michaelni@gmx.at>2011-04-10 22:33:41 +0200
commitaf0b2d6736a99203fed3014a3e83f8226dade2af (patch)
tree7a4a3f6aa77129b3497672f87831be72a6256007 /libavcodec/h264dsp.c
parent488efb33a71683a965c99ddd62ee6c32727ecee9 (diff)
downloadffmpeg-af0b2d6736a99203fed3014a3e83f8226dade2af.tar.gz
Choose h264 chroma dc dequant function dynamically.
Needed for high bit depth h264 decoding. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/h264dsp.c')
-rw-r--r--libavcodec/h264dsp.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/h264dsp.c b/libavcodec/h264dsp.c
index c3ee06d9df..56e606cbf6 100644
--- a/libavcodec/h264dsp.c
+++ b/libavcodec/h264dsp.c
@@ -283,6 +283,7 @@ void ff_h264dsp_init(H264DSPContext *c)
c->h264_idct_add8 = ff_h264_idct_add8_c;
c->h264_idct_add16intra= ff_h264_idct_add16intra_c;
c->h264_luma_dc_dequant_idct= ff_h264_luma_dc_dequant_idct_c;
+ c->h264_chroma_dc_dequant_idct= ff_h264_chroma_dc_dequant_idct_c;
c->weight_h264_pixels_tab[0]= weight_h264_pixels16x16_c;
c->weight_h264_pixels_tab[1]= weight_h264_pixels16x8_c;