Revision 8dbe5856 libavcodec/x86/h264dsp_mmx.c

View differences:

libavcodec/x86/h264dsp_mmx.c
285 285
H264_BIWEIGHT_MMX    ( 4,  4)
286 286
H264_BIWEIGHT_MMX    ( 4,  2)
287 287

  
288
void ff_h264dsp_init_x86(H264DSPContext *c)
288
void ff_h264dsp_init_x86(H264DSPContext *c, const int bit_depth)
289 289
{
290 290
    int mm_flags = av_get_cpu_flags();
291 291

  
292
    if (bit_depth == 8) {
292 293
    if (mm_flags & AV_CPU_FLAG_MMX2) {
293 294
        c->h264_loop_filter_strength= h264_loop_filter_strength_mmx2;
294 295
    }
......
378 379
            }
379 380
        }
380 381
    }
382
    }
381 383
#endif
382 384
}

Also available in: Unified diff