From b5bbc84fe2ae07d98764361d93d40ee2781467ab Mon Sep 17 00:00:00 2001 From: Jason Garrett-Glaser Date: Mon, 11 Jul 2011 14:46:37 -0700 Subject: H.264: add filter_mb_fast support for >8-bit decoding Much faster high bit depth deblocking. --- libavcodec/x86/h264dsp_mmx.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'libavcodec/x86') diff --git a/libavcodec/x86/h264dsp_mmx.c b/libavcodec/x86/h264dsp_mmx.c index 1042552948..35ec267b42 100644 --- a/libavcodec/x86/h264dsp_mmx.c +++ b/libavcodec/x86/h264dsp_mmx.c @@ -354,10 +354,11 @@ void ff_h264dsp_init_x86(H264DSPContext *c, const int bit_depth) { int mm_flags = av_get_cpu_flags(); - if (bit_depth == 8) { if (mm_flags & AV_CPU_FLAG_MMX2) { c->h264_loop_filter_strength= h264_loop_filter_strength_mmx2; } + + if (bit_depth == 8) { #if HAVE_YASM if (mm_flags & AV_CPU_FLAG_MMX) { c->h264_idct_dc_add = -- cgit v1.2.3