| 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 #ifdef __cplusplus | 10 #ifdef __cplusplus |
| (...skipping 206 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 217 | 217 |
| 218 int vp9_full_search_sad_c(const struct macroblock *x, const struct mv *ref_mv, i
nt sad_per_bit, int distance, const struct vp9_variance_vtable *fn_ptr, DEC_MVCO
STS, const struct mv *center_mv, struct mv *best_mv); | 218 int vp9_full_search_sad_c(const struct macroblock *x, const struct mv *ref_mv, i
nt sad_per_bit, int distance, const struct vp9_variance_vtable *fn_ptr, DEC_MVCO
STS, const struct mv *center_mv, struct mv *best_mv); |
| 219 #define vp9_full_search_sad vp9_full_search_sad_c | 219 #define vp9_full_search_sad vp9_full_search_sad_c |
| 220 | 220 |
| 221 void vp9_fwht4x4_c(const int16_t *input, int16_t *output, int stride); | 221 void vp9_fwht4x4_c(const int16_t *input, int16_t *output, int stride); |
| 222 #define vp9_fwht4x4 vp9_fwht4x4_c | 222 #define vp9_fwht4x4 vp9_fwht4x4_c |
| 223 | 223 |
| 224 unsigned int vp9_get_mb_ss_c(const int16_t *); | 224 unsigned int vp9_get_mb_ss_c(const int16_t *); |
| 225 #define vp9_get_mb_ss vp9_get_mb_ss_c | 225 #define vp9_get_mb_ss vp9_get_mb_ss_c |
| 226 | 226 |
| 227 void vp9_get_sse_sum_16x16_c(const uint8_t *src_ptr, int source_stride, const ui
nt8_t *ref_ptr, int ref_stride, unsigned int *sse, int *sum); |
| 228 #define vp9_get_sse_sum_16x16 vp9_get_sse_sum_16x16_c |
| 229 |
| 227 void vp9_get_sse_sum_8x8_c(const uint8_t *src_ptr, int source_stride, const uint
8_t *ref_ptr, int ref_stride, unsigned int *sse, int *sum); | 230 void vp9_get_sse_sum_8x8_c(const uint8_t *src_ptr, int source_stride, const uint
8_t *ref_ptr, int ref_stride, unsigned int *sse, int *sum); |
| 228 #define vp9_get_sse_sum_8x8 vp9_get_sse_sum_8x8_c | 231 #define vp9_get_sse_sum_8x8 vp9_get_sse_sum_8x8_c |
| 229 | 232 |
| 230 void vp9_h_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *ab
ove, const uint8_t *left); | 233 void vp9_h_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *ab
ove, const uint8_t *left); |
| 231 #define vp9_h_predictor_16x16 vp9_h_predictor_16x16_c | 234 #define vp9_h_predictor_16x16 vp9_h_predictor_16x16_c |
| 232 | 235 |
| 233 void vp9_h_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *ab
ove, const uint8_t *left); | 236 void vp9_h_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *ab
ove, const uint8_t *left); |
| 234 #define vp9_h_predictor_32x32 vp9_h_predictor_32x32_c | 237 #define vp9_h_predictor_32x32 vp9_h_predictor_32x32_c |
| 235 | 238 |
| 236 void vp9_h_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *abov
e, const uint8_t *left); | 239 void vp9_h_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *abov
e, const uint8_t *left); |
| (...skipping 443 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 680 unsigned int vp9_variance_halfpixvar64x64_h_c(const uint8_t *src_ptr, int source
_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse); | 683 unsigned int vp9_variance_halfpixvar64x64_h_c(const uint8_t *src_ptr, int source
_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse); |
| 681 #define vp9_variance_halfpixvar64x64_h vp9_variance_halfpixvar64x64_h_c | 684 #define vp9_variance_halfpixvar64x64_h vp9_variance_halfpixvar64x64_h_c |
| 682 | 685 |
| 683 unsigned int vp9_variance_halfpixvar64x64_hv_c(const uint8_t *src_ptr, int sourc
e_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse); | 686 unsigned int vp9_variance_halfpixvar64x64_hv_c(const uint8_t *src_ptr, int sourc
e_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse); |
| 684 #define vp9_variance_halfpixvar64x64_hv vp9_variance_halfpixvar64x64_hv_c | 687 #define vp9_variance_halfpixvar64x64_hv vp9_variance_halfpixvar64x64_hv_c |
| 685 | 688 |
| 686 unsigned int vp9_variance_halfpixvar64x64_v_c(const uint8_t *src_ptr, int source
_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse); | 689 unsigned int vp9_variance_halfpixvar64x64_v_c(const uint8_t *src_ptr, int source
_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse); |
| 687 #define vp9_variance_halfpixvar64x64_v vp9_variance_halfpixvar64x64_v_c | 690 #define vp9_variance_halfpixvar64x64_v vp9_variance_halfpixvar64x64_v_c |
| 688 | 691 |
| 689 void vp9_rtcd(void); | 692 void vp9_rtcd(void); |
| 693 |
| 690 #include "vpx_config.h" | 694 #include "vpx_config.h" |
| 691 | 695 |
| 692 #ifdef RTCD_C | 696 #ifdef RTCD_C |
| 693 static void setup_rtcd_internal(void) | 697 static void setup_rtcd_internal(void) |
| 694 { | 698 { |
| 695 | |
| 696 } | 699 } |
| 697 #endif | 700 #endif |
| 698 | 701 |
| 699 #ifdef __cplusplus | 702 #ifdef __cplusplus |
| 700 } // extern "C" | 703 } // extern "C" |
| 701 #endif | 704 #endif |
| 702 | 705 |
| 703 #endif | 706 #endif |
| OLD | NEW |