| @@ -116,7 +116,7 @@ PRED16x16(tm_vp8, 8, avx2) · 115 unmodified lines |
| 116 | PRED8x8(top_dc, 8, mmxext) | 116 | PRED8x8(top_dc, 8, mmxext) |
| 117 | PRED8x8(dc_rv40, 8, mmxext) | 117 | PRED8x8(dc_rv40, 8, mmxext) |
| 118 | PRED8x8(dc, 8, mmxext) | 118 | PRED8x8(dc, 8, mmxext) |
| 119 | PRED8x8(vertical, 8, mmx) | 119 | PRED8x8(vertical, 8, sse2) |
| 120 | PRED8x8(horizontal, 8, mmxext) | 120 | PRED8x8(horizontal, 8, mmxext) |
| 121 | PRED8x8(horizontal, 8, ssse3) | 121 | PRED8x8(horizontal, 8, ssse3) |
| 122 | PRED8x8(plane, 8, sse2) | 122 | PRED8x8(plane, 8, sse2) |
| @@ -163,12 +163,6 @@ av_cold void ff_h264_pred_init_x86(H264PredContext *h, int codec_id, · 40 unmodified lines |
| 163 | int cpu_flags = av_get_cpu_flags(); | 163 | int cpu_flags = av_get_cpu_flags(); |
| 164 | | 164 | |
| 165 | if (bit_depth == 8) { | 165 | if (bit_depth == 8) { |
| 166 | if (EXTERNAL_MMX(cpu_flags)) { | | |
| 167 | if (chroma_format_idc <= 1) { | | |
| 168 | h->pred8x8 [VERT_PRED8x8 ] = ff_pred8x8_vertical_8_mmx; | | |
| 169 | } | | |
| 170 | } | | |
| 171 | | | |
| 172 | if (EXTERNAL_MMXEXT(cpu_flags)) { | 166 | if (EXTERNAL_MMXEXT(cpu_flags)) { |
| 173 | if (chroma_format_idc <= 1) | 167 | if (chroma_format_idc <= 1) |
| 174 | h->pred8x8[HOR_PRED8x8 ] = ff_pred8x8_horizontal_8_mmxext; | 168 | h->pred8x8[HOR_PRED8x8 ] = ff_pred8x8_horizontal_8_mmxext; |
| @@ -216,6 +210,8 @@ av_cold void ff_h264_pred_init_x86(H264PredContext *h, int codec_id, · 41 unmodified lines |
| 216 | h->pred8x8l [VERT_RIGHT_PRED ] = ff_pred8x8l_vertical_right_8_sse2; | 210 | h->pred8x8l [VERT_RIGHT_PRED ] = ff_pred8x8l_vertical_right_8_sse2; |
| 217 | h->pred8x8l [VERT_LEFT_PRED ] = ff_pred8x8l_vertical_left_8_sse2; | 211 | h->pred8x8l [VERT_LEFT_PRED ] = ff_pred8x8l_vertical_left_8_sse2; |
| 218 | h->pred8x8l [HOR_DOWN_PRED ] = ff_pred8x8l_horizontal_down_8_sse2; | 212 | h->pred8x8l [HOR_DOWN_PRED ] = ff_pred8x8l_horizontal_down_8_sse2; |
| | 213 | if (chroma_format_idc <= 1) |
| | 214 | h->pred8x8 [VERT_PRED8x8 ] = ff_pred8x8_vertical_8_sse2; |
| 219 | if (codec_id == AV_CODEC_ID_VP7 || codec_id == AV_CODEC_ID_VP8) { | 215 | if (codec_id == AV_CODEC_ID_VP7 || codec_id == AV_CODEC_ID_VP8) { |
| 220 | h->pred16x16[PLANE_PRED8x8 ] = ff_pred16x16_tm_vp8_8_sse2; | 216 | h->pred16x16[PLANE_PRED8x8 ] = ff_pred16x16_tm_vp8_8_sse2; |
| 221 | h->pred8x8 [PLANE_PRED8x8 ] = ff_pred8x8_tm_vp8_8_sse2; | 217 | h->pred8x8 [PLANE_PRED8x8 ] = ff_pred8x8_tm_vp8_8_sse2; |