|
|
|
@ -566,11 +566,6 @@ av_cold void ff_h264qpel_init_x86(H264QpelContext *c, int bit_depth) |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
if (EXTERNAL_SSE2(cpu_flags)) { |
|
|
|
|
if (!(cpu_flags & AV_CPU_FLAG_SSE2SLOW) && !high_bit_depth) { |
|
|
|
|
// these functions are slower than mmx on AMD, but faster on Intel
|
|
|
|
|
H264_QPEL_FUNCS(0, 0, sse2); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
if (!high_bit_depth) { |
|
|
|
|
H264_QPEL_FUNCS(0, 1, sse2); |
|
|
|
|
H264_QPEL_FUNCS(0, 2, sse2); |
|
|
|
@ -597,6 +592,12 @@ av_cold void ff_h264qpel_init_x86(H264QpelContext *c, int bit_depth) |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
if (EXTERNAL_SSE2_FAST(cpu_flags)) { |
|
|
|
|
if (!high_bit_depth) { |
|
|
|
|
H264_QPEL_FUNCS(0, 0, sse2); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
if (EXTERNAL_SSSE3(cpu_flags)) { |
|
|
|
|
if (!high_bit_depth) { |
|
|
|
|
H264_QPEL_FUNCS(1, 0, ssse3); |
|
|
|
|