Revision 8dbe5856 libavcodec/x86/h264_intrapred_init.c

View differences:

libavcodec/x86/h264_intrapred_init.c
95 95
void ff_pred4x4_tm_vp8_ssse3       (uint8_t *src, const uint8_t *topright, int stride);
96 96
void ff_pred4x4_vertical_vp8_mmxext(uint8_t *src, const uint8_t *topright, int stride);
97 97

  
98
void ff_h264_pred_init_x86(H264PredContext *h, int codec_id)
98
void ff_h264_pred_init_x86(H264PredContext *h, int codec_id, const int bit_depth)
99 99
{
100 100
    int mm_flags = av_get_cpu_flags();
101
    const int high_depth = bit_depth > 8;
102

  
103
    if (high_depth)
104
        return;
101 105

  
102 106
#if HAVE_YASM
103 107
    if (mm_flags & AV_CPU_FLAG_MMX) {

Also available in: Unified diff