diff options
author | Jason Garrett-Glaser <jason@x264.com> | 2011-07-11 14:46:37 -0700 |
---|---|---|
committer | Jason Garrett-Glaser <jason@x264.com> | 2011-07-11 14:58:50 -0700 |
commit | b5bbc84fe2ae07d98764361d93d40ee2781467ab (patch) | |
tree | 3df704239efdc0c787afe8a56a1abe07d9e6a4f7 /libavcodec/x86 | |
parent | 5ccbf80963c1cc54aed97b1c81b1657ab91baf6a (diff) | |
download | ffmpeg-b5bbc84fe2ae07d98764361d93d40ee2781467ab.tar.gz |
H.264: add filter_mb_fast support for >8-bit decoding
Much faster high bit depth deblocking.
Diffstat (limited to 'libavcodec/x86')
-rw-r--r-- | libavcodec/x86/h264dsp_mmx.c | 3 |
1 files changed, 2 insertions, 1 deletions
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 = |