aboutsummaryrefslogtreecommitdiff
path: root/libavcodec/h264dsp.c
diff options
context:
space:
mode:
authorOskar Arvidsson2011-04-10 22:42:36 +0200
committerRonald S. Bultje2011-05-10 07:24:17 -0400
commite39e3abad4ce667f06d41097428695a7aad095fb (patch)
treefee1f3d4342f18bc992c79fb4b541e08861b632e /libavcodec/h264dsp.c
parentdd561441b1e849df7d8681c6f32af82d4088dafd (diff)
Choose h264 chroma dc dequant function dynamically.
Needed for high bit depth h264 decoding. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
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 1ef6a26db4..b555ed343a 100644
--- a/libavcodec/h264dsp.c
+++ b/libavcodec/h264dsp.c
@@ -299,6 +299,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;