summaryrefslogtreecommitdiff
path: root/libavcodec/x86
diff options
context:
space:
mode:
authorJason Garrett-Glaser <jason@x264.com>2011-07-11 14:46:37 -0700
committerJason Garrett-Glaser <jason@x264.com>2011-07-11 14:58:50 -0700
commitb5bbc84fe2ae07d98764361d93d40ee2781467ab (patch)
tree3df704239efdc0c787afe8a56a1abe07d9e6a4f7 /libavcodec/x86
parent5ccbf80963c1cc54aed97b1c81b1657ab91baf6a (diff)
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.c3
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 =