OLD | NEW |
1 #ifndef VP9_RTCD_H_ | 1 #ifndef VP9_RTCD_H_ |
2 #define VP9_RTCD_H_ | 2 #define VP9_RTCD_H_ |
3 | 3 |
4 #ifdef RTCD_C | 4 #ifdef RTCD_C |
5 #define RTCD_EXTERN | 5 #define RTCD_EXTERN |
6 #else | 6 #else |
7 #define RTCD_EXTERN extern | 7 #define RTCD_EXTERN extern |
8 #endif | 8 #endif |
9 | 9 |
10 /* | 10 /* |
(...skipping 200 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
211 | 211 |
212 void vp9_dc_top_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_
t *above, const uint8_t *left); | 212 void vp9_dc_top_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_
t *above, const uint8_t *left); |
213 #define vp9_dc_top_predictor_32x32 vp9_dc_top_predictor_32x32_c | 213 #define vp9_dc_top_predictor_32x32 vp9_dc_top_predictor_32x32_c |
214 | 214 |
215 void vp9_dc_top_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t
*above, const uint8_t *left); | 215 void vp9_dc_top_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t
*above, const uint8_t *left); |
216 #define vp9_dc_top_predictor_4x4 vp9_dc_top_predictor_4x4_c | 216 #define vp9_dc_top_predictor_4x4 vp9_dc_top_predictor_4x4_c |
217 | 217 |
218 void vp9_dc_top_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t
*above, const uint8_t *left); | 218 void vp9_dc_top_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t
*above, const uint8_t *left); |
219 #define vp9_dc_top_predictor_8x8 vp9_dc_top_predictor_8x8_c | 219 #define vp9_dc_top_predictor_8x8 vp9_dc_top_predictor_8x8_c |
220 | 220 |
| 221 int vp9_denoiser_filter_c(const uint8_t *sig, int sig_stride, const uint8_t *mc_
avg, int mc_avg_stride, uint8_t *avg, int avg_stride, int increase_denoising, BL
OCK_SIZE bs, int motion_magnitude); |
| 222 int vp9_denoiser_filter_sse2(const uint8_t *sig, int sig_stride, const uint8_t *
mc_avg, int mc_avg_stride, uint8_t *avg, int avg_stride, int increase_denoising,
BLOCK_SIZE bs, int motion_magnitude); |
| 223 RTCD_EXTERN int (*vp9_denoiser_filter)(const uint8_t *sig, int sig_stride, const
uint8_t *mc_avg, int mc_avg_stride, uint8_t *avg, int avg_stride, int increase_
denoising, BLOCK_SIZE bs, int motion_magnitude); |
| 224 |
221 int vp9_diamond_search_sad_c(const struct macroblock *x, const struct search_sit
e_config *cfg, struct mv *ref_mv, struct mv *best_mv, int search_param, int sad
_per_bit, int *num00, const struct vp9_variance_vtable *fn_ptr, const struct mv
*center_mv); | 225 int vp9_diamond_search_sad_c(const struct macroblock *x, const struct search_sit
e_config *cfg, struct mv *ref_mv, struct mv *best_mv, int search_param, int sad
_per_bit, int *num00, const struct vp9_variance_vtable *fn_ptr, const struct mv
*center_mv); |
222 #define vp9_diamond_search_sad vp9_diamond_search_sad_c | 226 #define vp9_diamond_search_sad vp9_diamond_search_sad_c |
223 | 227 |
224 void vp9_fdct16x16_c(const int16_t *input, tran_low_t *output, int stride); | 228 void vp9_fdct16x16_c(const int16_t *input, tran_low_t *output, int stride); |
225 void vp9_fdct16x16_sse2(const int16_t *input, tran_low_t *output, int stride); | 229 void vp9_fdct16x16_sse2(const int16_t *input, tran_low_t *output, int stride); |
226 RTCD_EXTERN void (*vp9_fdct16x16)(const int16_t *input, tran_low_t *output, int
stride); | 230 RTCD_EXTERN void (*vp9_fdct16x16)(const int16_t *input, tran_low_t *output, int
stride); |
227 | 231 |
228 void vp9_fdct16x16_1_c(const int16_t *input, tran_low_t *output, int stride); | 232 void vp9_fdct16x16_1_c(const int16_t *input, tran_low_t *output, int stride); |
229 void vp9_fdct16x16_1_sse2(const int16_t *input, tran_low_t *output, int stride); | 233 void vp9_fdct16x16_1_sse2(const int16_t *input, tran_low_t *output, int stride); |
230 RTCD_EXTERN void (*vp9_fdct16x16_1)(const int16_t *input, tran_low_t *output, in
t stride); | 234 RTCD_EXTERN void (*vp9_fdct16x16_1)(const int16_t *input, tran_low_t *output, in
t stride); |
(...skipping 722 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
953 vp9_d63_predictor_8x8 = vp9_d63_predictor_8x8_c; | 957 vp9_d63_predictor_8x8 = vp9_d63_predictor_8x8_c; |
954 if (flags & HAS_SSSE3) vp9_d63_predictor_8x8 = vp9_d63_predictor_8x8_ssse3; | 958 if (flags & HAS_SSSE3) vp9_d63_predictor_8x8 = vp9_d63_predictor_8x8_ssse3; |
955 vp9_dc_predictor_16x16 = vp9_dc_predictor_16x16_c; | 959 vp9_dc_predictor_16x16 = vp9_dc_predictor_16x16_c; |
956 if (flags & HAS_SSE2) vp9_dc_predictor_16x16 = vp9_dc_predictor_16x16_sse2; | 960 if (flags & HAS_SSE2) vp9_dc_predictor_16x16 = vp9_dc_predictor_16x16_sse2; |
957 vp9_dc_predictor_32x32 = vp9_dc_predictor_32x32_c; | 961 vp9_dc_predictor_32x32 = vp9_dc_predictor_32x32_c; |
958 if (flags & HAS_SSE2) vp9_dc_predictor_32x32 = vp9_dc_predictor_32x32_sse2; | 962 if (flags & HAS_SSE2) vp9_dc_predictor_32x32 = vp9_dc_predictor_32x32_sse2; |
959 vp9_dc_predictor_4x4 = vp9_dc_predictor_4x4_c; | 963 vp9_dc_predictor_4x4 = vp9_dc_predictor_4x4_c; |
960 if (flags & HAS_SSE) vp9_dc_predictor_4x4 = vp9_dc_predictor_4x4_sse; | 964 if (flags & HAS_SSE) vp9_dc_predictor_4x4 = vp9_dc_predictor_4x4_sse; |
961 vp9_dc_predictor_8x8 = vp9_dc_predictor_8x8_c; | 965 vp9_dc_predictor_8x8 = vp9_dc_predictor_8x8_c; |
962 if (flags & HAS_SSE) vp9_dc_predictor_8x8 = vp9_dc_predictor_8x8_sse; | 966 if (flags & HAS_SSE) vp9_dc_predictor_8x8 = vp9_dc_predictor_8x8_sse; |
| 967 vp9_denoiser_filter = vp9_denoiser_filter_c; |
| 968 if (flags & HAS_SSE2) vp9_denoiser_filter = vp9_denoiser_filter_sse2; |
963 vp9_fdct16x16 = vp9_fdct16x16_c; | 969 vp9_fdct16x16 = vp9_fdct16x16_c; |
964 if (flags & HAS_SSE2) vp9_fdct16x16 = vp9_fdct16x16_sse2; | 970 if (flags & HAS_SSE2) vp9_fdct16x16 = vp9_fdct16x16_sse2; |
965 vp9_fdct16x16_1 = vp9_fdct16x16_1_c; | 971 vp9_fdct16x16_1 = vp9_fdct16x16_1_c; |
966 if (flags & HAS_SSE2) vp9_fdct16x16_1 = vp9_fdct16x16_1_sse2; | 972 if (flags & HAS_SSE2) vp9_fdct16x16_1 = vp9_fdct16x16_1_sse2; |
967 vp9_fdct32x32 = vp9_fdct32x32_c; | 973 vp9_fdct32x32 = vp9_fdct32x32_c; |
968 if (flags & HAS_SSE2) vp9_fdct32x32 = vp9_fdct32x32_sse2; | 974 if (flags & HAS_SSE2) vp9_fdct32x32 = vp9_fdct32x32_sse2; |
969 vp9_fdct32x32_1 = vp9_fdct32x32_1_c; | 975 vp9_fdct32x32_1 = vp9_fdct32x32_1_c; |
970 if (flags & HAS_SSE2) vp9_fdct32x32_1 = vp9_fdct32x32_1_sse2; | 976 if (flags & HAS_SSE2) vp9_fdct32x32_1 = vp9_fdct32x32_1_sse2; |
971 vp9_fdct32x32_rd = vp9_fdct32x32_rd_c; | 977 vp9_fdct32x32_rd = vp9_fdct32x32_rd_c; |
972 if (flags & HAS_SSE2) vp9_fdct32x32_rd = vp9_fdct32x32_rd_sse2; | 978 if (flags & HAS_SSE2) vp9_fdct32x32_rd = vp9_fdct32x32_rd_sse2; |
(...skipping 310 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1283 vp9_variance8x8 = vp9_variance8x8_c; | 1289 vp9_variance8x8 = vp9_variance8x8_c; |
1284 if (flags & HAS_SSE2) vp9_variance8x8 = vp9_variance8x8_sse2; | 1290 if (flags & HAS_SSE2) vp9_variance8x8 = vp9_variance8x8_sse2; |
1285 } | 1291 } |
1286 #endif | 1292 #endif |
1287 | 1293 |
1288 #ifdef __cplusplus | 1294 #ifdef __cplusplus |
1289 } // extern "C" | 1295 } // extern "C" |
1290 #endif | 1296 #endif |
1291 | 1297 |
1292 #endif | 1298 #endif |
OLD | NEW |