| @@ -78,7 +78,6 @@ static inline void FUNC(copy_block16)(uint8_t *dst, const uint8_t *restrict src, · 77 unmodified lines |
| 78 | static av_unused void FUNC(OPNAME ## h264_qpel2_h_lowpass)(uint8_t *p_dst, const uint8_t *restrict p_src, int dstStride, int srcStride)\ | 78 | static av_unused void FUNC(OPNAME ## h264_qpel2_h_lowpass)(uint8_t *p_dst, const uint8_t *restrict p_src, int dstStride, int srcStride)\ |
| 79 | {\ | 79 | {\ |
| 80 | const int h=2;\ | 80 | const int h=2;\ |
| 81 | INIT_CLIP\ | | |
| 82 | int i;\ | 81 | int i;\ |
| 83 | pixel *dst = (pixel*)p_dst;\ | 82 | pixel *dst = (pixel*)p_dst;\ |
| 84 | const pixel *restrict src = (const pixel*)p_src;\ | 83 | const pixel *restrict src = (const pixel*)p_src;\ |
| @@ -96,7 +95,6 @@ static av_unused void FUNC(OPNAME ## h264_qpel2_h_lowpass)(uint8_t *p_dst, const · 11 unmodified lines |
| 96 | static av_unused void FUNC(OPNAME ## h264_qpel2_v_lowpass)(uint8_t *_dst, const uint8_t *restrict _src, int dstStride, int srcStride)\ | 95 | static av_unused void FUNC(OPNAME ## h264_qpel2_v_lowpass)(uint8_t *_dst, const uint8_t *restrict _src, int dstStride, int srcStride)\ |
| 97 | {\ | 96 | {\ |
| 98 | const int w=2;\ | 97 | const int w=2;\ |
| 99 | INIT_CLIP\ | | |
| 100 | int i;\ | 98 | int i;\ |
| 101 | pixel *dst = (pixel*)_dst;\ | 99 | pixel *dst = (pixel*)_dst;\ |
| 102 | const pixel *restrict src = (const pixel*)_src;\ | 100 | const pixel *restrict src = (const pixel*)_src;\ |
| @@ -123,7 +121,6 @@ static av_unused void FUNC(OPNAME ## h264_qpel2_hv_lowpass)(uint8_t *_dst, pixel · 20 unmodified lines |
| 123 | const int h=2;\ | 121 | const int h=2;\ |
| 124 | const int w=2;\ | 122 | const int w=2;\ |
| 125 | const int pad = (BIT_DEPTH == 10) ? (-10 * ((1<<BIT_DEPTH)-1)) : 0;\ | 123 | const int pad = (BIT_DEPTH == 10) ? (-10 * ((1<<BIT_DEPTH)-1)) : 0;\ |
| 126 | INIT_CLIP\ | | |
| 127 | int i;\ | 124 | int i;\ |
| 128 | pixel *dst = (pixel*)_dst;\ | 125 | pixel *dst = (pixel*)_dst;\ |
| 129 | const pixel *restrict src = (const pixel*)_src;\ | 126 | const pixel *restrict src = (const pixel*)_src;\ |
| @@ -156,7 +153,6 @@ static av_unused void FUNC(OPNAME ## h264_qpel2_hv_lowpass)(uint8_t *_dst, pixel · 26 unmodified lines |
| 156 | static void FUNC(OPNAME ## h264_qpel4_h_lowpass)(uint8_t *_dst, const uint8_t *restrict _src, int dstStride, int srcStride)\ | 153 | static void FUNC(OPNAME ## h264_qpel4_h_lowpass)(uint8_t *_dst, const uint8_t *restrict _src, int dstStride, int srcStride)\ |
| 157 | {\ | 154 | {\ |
| 158 | const int h=4;\ | 155 | const int h=4;\ |
| 159 | INIT_CLIP\ | | |
| 160 | int i;\ | 156 | int i;\ |
| 161 | pixel *dst = (pixel*)_dst;\ | 157 | pixel *dst = (pixel*)_dst;\ |
| 162 | const pixel *restrict src = (const pixel*)_src;\ | 158 | const pixel *restrict src = (const pixel*)_src;\ |
| @@ -176,7 +172,6 @@ static void FUNC(OPNAME ## h264_qpel4_h_lowpass)(uint8_t *_dst, const uint8_t *r · 13 unmodified lines |
| 176 | static void FUNC(OPNAME ## h264_qpel4_v_lowpass)(uint8_t *_dst, const uint8_t *restrict _src, int dstStride, int srcStride)\ | 172 | static void FUNC(OPNAME ## h264_qpel4_v_lowpass)(uint8_t *_dst, const uint8_t *restrict _src, int dstStride, int srcStride)\ |
| 177 | {\ | 173 | {\ |
| 178 | const int w=4;\ | 174 | const int w=4;\ |
| 179 | INIT_CLIP\ | | |
| 180 | int i;\ | 175 | int i;\ |
| 181 | pixel *dst = (pixel*)_dst;\ | 176 | pixel *dst = (pixel*)_dst;\ |
| 182 | const pixel *restrict src = (const pixel*)_src;\ | 177 | const pixel *restrict src = (const pixel*)_src;\ |
| @@ -207,7 +202,6 @@ static void FUNC(OPNAME ## h264_qpel4_hv_lowpass)(uint8_t *_dst, pixeltmp *tmp, · 24 unmodified lines |
| 207 | const int h=4;\ | 202 | const int h=4;\ |
| 208 | const int w=4;\ | 203 | const int w=4;\ |
| 209 | const int pad = (BIT_DEPTH == 10) ? (-10 * ((1<<BIT_DEPTH)-1)) : 0;\ | 204 | const int pad = (BIT_DEPTH == 10) ? (-10 * ((1<<BIT_DEPTH)-1)) : 0;\ |
| 210 | INIT_CLIP\ | | |
| 211 | int i;\ | 205 | int i;\ |
| 212 | pixel *dst = (pixel*)_dst;\ | 206 | pixel *dst = (pixel*)_dst;\ |
| 213 | const pixel *restrict src = (const pixel*)_src;\ | 207 | const pixel *restrict src = (const pixel*)_src;\ |
| @@ -247,7 +241,6 @@ static void FUNC(OPNAME ## h264_qpel4_hv_lowpass)(uint8_t *_dst, pixeltmp *tmp, · 33 unmodified lines |
| 247 | static void FUNC(OPNAME ## h264_qpel8_h_lowpass)(uint8_t *_dst, const uint8_t *restrict _src, int dstStride, int srcStride)\ | 241 | static void FUNC(OPNAME ## h264_qpel8_h_lowpass)(uint8_t *_dst, const uint8_t *restrict _src, int dstStride, int srcStride)\ |
| 248 | {\ | 242 | {\ |
| 249 | const int h=8;\ | 243 | const int h=8;\ |
| 250 | INIT_CLIP\ | | |
| 251 | int i;\ | 244 | int i;\ |
| 252 | pixel *dst = (pixel*)_dst;\ | 245 | pixel *dst = (pixel*)_dst;\ |
| 253 | const pixel *restrict src = (const pixel*)_src;\ | 246 | const pixel *restrict src = (const pixel*)_src;\ |
| @@ -271,7 +264,6 @@ static void FUNC(OPNAME ## h264_qpel8_h_lowpass)(uint8_t *_dst, const uint8_t *r · 17 unmodified lines |
| 271 | static void FUNC(OPNAME ## h264_qpel8_v_lowpass)(uint8_t *_dst, const uint8_t *restrict _src, int dstStride, int srcStride)\ | 264 | static void FUNC(OPNAME ## h264_qpel8_v_lowpass)(uint8_t *_dst, const uint8_t *restrict _src, int dstStride, int srcStride)\ |
| 272 | {\ | 265 | {\ |
| 273 | const int w=8;\ | 266 | const int w=8;\ |
| 274 | INIT_CLIP\ | | |
| 275 | int i;\ | 267 | int i;\ |
| 276 | pixel *dst = (pixel*)_dst;\ | 268 | pixel *dst = (pixel*)_dst;\ |
| 277 | const pixel *restrict src = (const pixel*)_src;\ | 269 | const pixel *restrict src = (const pixel*)_src;\ |
| @@ -310,7 +302,6 @@ static void FUNC(OPNAME ## h264_qpel8_hv_lowpass)(uint8_t *_dst, pixeltmp *tmp, · 32 unmodified lines |
| 310 | const int h=8;\ | 302 | const int h=8;\ |
| 311 | const int w=8;\ | 303 | const int w=8;\ |
| 312 | const int pad = (BIT_DEPTH == 10) ? (-10 * ((1<<BIT_DEPTH)-1)) : 0;\ | 304 | const int pad = (BIT_DEPTH == 10) ? (-10 * ((1<<BIT_DEPTH)-1)) : 0;\ |
| 313 | INIT_CLIP\ | | |
| 314 | int i;\ | 305 | int i;\ |
| 315 | pixel *dst = (pixel*)_dst;\ | 306 | pixel *dst = (pixel*)_dst;\ |
| 316 | const pixel *restrict src = (const pixel*)_src;\ | 307 | const pixel *restrict src = (const pixel*)_src;\ |