Revision dd68d4db libavcodec/x86/h264_intrapred_init.c

View differences:

libavcodec/x86/h264_intrapred_init.c
29 29
void ff_pred16x16_dc_mmxext        (uint8_t *src, int stride);
30 30
void ff_pred16x16_dc_sse2          (uint8_t *src, int stride);
31 31
void ff_pred16x16_dc_ssse3         (uint8_t *src, int stride);
32
void ff_pred16x16_plane_h264_mmx   (uint8_t *src, int stride);
33
void ff_pred16x16_plane_h264_mmx2  (uint8_t *src, int stride);
34
void ff_pred16x16_plane_h264_sse2  (uint8_t *src, int stride);
35
void ff_pred16x16_plane_h264_ssse3 (uint8_t *src, int stride);
36
void ff_pred16x16_plane_rv40_mmx   (uint8_t *src, int stride);
37
void ff_pred16x16_plane_rv40_mmx2  (uint8_t *src, int stride);
38
void ff_pred16x16_plane_rv40_sse2  (uint8_t *src, int stride);
39
void ff_pred16x16_plane_rv40_ssse3 (uint8_t *src, int stride);
40
void ff_pred16x16_plane_svq3_mmx   (uint8_t *src, int stride);
41
void ff_pred16x16_plane_svq3_mmx2  (uint8_t *src, int stride);
42
void ff_pred16x16_plane_svq3_sse2  (uint8_t *src, int stride);
43
void ff_pred16x16_plane_svq3_ssse3 (uint8_t *src, int stride);
32 44
void ff_pred16x16_tm_vp8_mmx       (uint8_t *src, int stride);
33 45
void ff_pred16x16_tm_vp8_mmxext    (uint8_t *src, int stride);
34 46
void ff_pred16x16_tm_vp8_sse2      (uint8_t *src, int stride);
......
37 49
void ff_pred8x8_horizontal_mmx     (uint8_t *src, int stride);
38 50
void ff_pred8x8_horizontal_mmxext  (uint8_t *src, int stride);
39 51
void ff_pred8x8_horizontal_ssse3   (uint8_t *src, int stride);
52
void ff_pred8x8_plane_mmx          (uint8_t *src, int stride);
53
void ff_pred8x8_plane_mmx2         (uint8_t *src, int stride);
54
void ff_pred8x8_plane_sse2         (uint8_t *src, int stride);
55
void ff_pred8x8_plane_ssse3        (uint8_t *src, int stride);
40 56
void ff_pred8x8_tm_vp8_mmx         (uint8_t *src, int stride);
41 57
void ff_pred8x8_tm_vp8_mmxext      (uint8_t *src, int stride);
42 58
void ff_pred8x8_tm_vp8_sse2        (uint8_t *src, int stride);
......
61 77
            h->pred16x16[PLANE_PRED8x8] = ff_pred16x16_tm_vp8_mmx;
62 78
            h->pred8x8  [PLANE_PRED8x8] = ff_pred8x8_tm_vp8_mmx;
63 79
            h->pred4x4  [TM_VP8_PRED  ] = ff_pred4x4_tm_vp8_mmx;
80
        } else {
81
            h->pred8x8  [PLANE_PRED8x8] = ff_pred8x8_plane_mmx;
82
            if (codec_id == CODEC_ID_SVQ3) {
83
                h->pred16x16[PLANE_PRED8x8] = ff_pred16x16_plane_svq3_mmx;
84
            } else if (codec_id == CODEC_ID_RV40) {
85
                h->pred16x16[PLANE_PRED8x8] = ff_pred16x16_plane_rv40_mmx;
86
            } else {
87
                h->pred16x16[PLANE_PRED8x8] = ff_pred16x16_plane_h264_mmx;
88
            }
64 89
        }
65 90
    }
66 91

  
......
75 100
            h->pred8x8  [PLANE_PRED8x8] = ff_pred8x8_tm_vp8_mmxext;
76 101
            h->pred4x4  [TM_VP8_PRED  ] = ff_pred4x4_tm_vp8_mmxext;
77 102
            h->pred4x4  [VERT_PRED    ] = ff_pred4x4_vertical_vp8_mmxext;
103
        } else {
104
            h->pred8x8  [PLANE_PRED8x8] = ff_pred8x8_plane_mmx2;
105
            if (codec_id == CODEC_ID_SVQ3) {
106
                h->pred16x16[PLANE_PRED8x8] = ff_pred16x16_plane_svq3_mmx2;
107
            } else if (codec_id == CODEC_ID_RV40) {
108
                h->pred16x16[PLANE_PRED8x8] = ff_pred16x16_plane_rv40_mmx2;
109
            } else {
110
                h->pred16x16[PLANE_PRED8x8] = ff_pred16x16_plane_h264_mmx2;
111
            }
78 112
        }
79 113
    }
80 114

  
......
87 121
        if (codec_id == CODEC_ID_VP8) {
88 122
            h->pred16x16[PLANE_PRED8x8] = ff_pred16x16_tm_vp8_sse2;
89 123
            h->pred8x8  [PLANE_PRED8x8] = ff_pred8x8_tm_vp8_sse2;
124
        } else {
125
            h->pred8x8  [PLANE_PRED8x8] = ff_pred8x8_plane_sse2;
126
            if (codec_id == CODEC_ID_SVQ3) {
127
                h->pred16x16[PLANE_PRED8x8] = ff_pred16x16_plane_svq3_sse2;
128
            } else if (codec_id == CODEC_ID_RV40) {
129
                h->pred16x16[PLANE_PRED8x8] = ff_pred16x16_plane_rv40_sse2;
130
            } else {
131
                h->pred16x16[PLANE_PRED8x8] = ff_pred16x16_plane_h264_sse2;
132
            }
90 133
        }
91 134
    }
92 135

  
......
97 140
        if (codec_id == CODEC_ID_VP8) {
98 141
            h->pred8x8  [PLANE_PRED8x8] = ff_pred8x8_tm_vp8_ssse3;
99 142
            h->pred4x4  [TM_VP8_PRED  ] = ff_pred4x4_tm_vp8_ssse3;
143
        } else {
144
            h->pred8x8  [PLANE_PRED8x8] = ff_pred8x8_plane_ssse3;
145
            if (codec_id == CODEC_ID_SVQ3) {
146
                h->pred16x16[PLANE_PRED8x8] = ff_pred16x16_plane_svq3_ssse3;
147
            } else if (codec_id == CODEC_ID_RV40) {
148
                h->pred16x16[PLANE_PRED8x8] = ff_pred16x16_plane_rv40_ssse3;
149
            } else {
150
                h->pred16x16[PLANE_PRED8x8] = ff_pred16x16_plane_h264_ssse3;
151
            }
100 152
        }
101 153
    }
102 154
#endif

Also available in: Unified diff