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 178 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
189 | 189 |
190 void vp9_dc_top_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_
t *above, const uint8_t *left); | 190 void vp9_dc_top_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_
t *above, const uint8_t *left); |
191 #define vp9_dc_top_predictor_32x32 vp9_dc_top_predictor_32x32_c | 191 #define vp9_dc_top_predictor_32x32 vp9_dc_top_predictor_32x32_c |
192 | 192 |
193 void vp9_dc_top_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t
*above, const uint8_t *left); | 193 void vp9_dc_top_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t
*above, const uint8_t *left); |
194 #define vp9_dc_top_predictor_4x4 vp9_dc_top_predictor_4x4_c | 194 #define vp9_dc_top_predictor_4x4 vp9_dc_top_predictor_4x4_c |
195 | 195 |
196 void vp9_dc_top_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t
*above, const uint8_t *left); | 196 void vp9_dc_top_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t
*above, const uint8_t *left); |
197 #define vp9_dc_top_predictor_8x8 vp9_dc_top_predictor_8x8_c | 197 #define vp9_dc_top_predictor_8x8 vp9_dc_top_predictor_8x8_c |
198 | 198 |
| 199 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); |
| 200 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); |
| 201 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); |
| 202 |
199 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); | 203 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); |
200 #define vp9_diamond_search_sad vp9_diamond_search_sad_c | 204 #define vp9_diamond_search_sad vp9_diamond_search_sad_c |
201 | 205 |
202 void vp9_fdct16x16_c(const int16_t *input, tran_low_t *output, int stride); | 206 void vp9_fdct16x16_c(const int16_t *input, tran_low_t *output, int stride); |
203 void vp9_fdct16x16_sse2(const int16_t *input, tran_low_t *output, int stride); | 207 void vp9_fdct16x16_sse2(const int16_t *input, tran_low_t *output, int stride); |
204 RTCD_EXTERN void (*vp9_fdct16x16)(const int16_t *input, tran_low_t *output, int
stride); | 208 RTCD_EXTERN void (*vp9_fdct16x16)(const int16_t *input, tran_low_t *output, int
stride); |
205 | 209 |
206 void vp9_fdct16x16_1_c(const int16_t *input, tran_low_t *output, int stride); | 210 void vp9_fdct16x16_1_c(const int16_t *input, tran_low_t *output, int stride); |
207 void vp9_fdct16x16_1_sse2(const int16_t *input, tran_low_t *output, int stride); | 211 void vp9_fdct16x16_1_sse2(const int16_t *input, tran_low_t *output, int stride); |
208 RTCD_EXTERN void (*vp9_fdct16x16_1)(const int16_t *input, tran_low_t *output, in
t stride); | 212 RTCD_EXTERN void (*vp9_fdct16x16_1)(const int16_t *input, tran_low_t *output, in
t stride); |
(...skipping 567 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
776 if (flags & HAS_SSSE3) vp9_convolve8_avg_horiz = vp9_convolve8_avg_horiz_sss
e3; | 780 if (flags & HAS_SSSE3) vp9_convolve8_avg_horiz = vp9_convolve8_avg_horiz_sss
e3; |
777 vp9_convolve8_avg_vert = vp9_convolve8_avg_vert_c; | 781 vp9_convolve8_avg_vert = vp9_convolve8_avg_vert_c; |
778 if (flags & HAS_SSE2) vp9_convolve8_avg_vert = vp9_convolve8_avg_vert_sse2; | 782 if (flags & HAS_SSE2) vp9_convolve8_avg_vert = vp9_convolve8_avg_vert_sse2; |
779 if (flags & HAS_SSSE3) vp9_convolve8_avg_vert = vp9_convolve8_avg_vert_ssse3
; | 783 if (flags & HAS_SSSE3) vp9_convolve8_avg_vert = vp9_convolve8_avg_vert_ssse3
; |
780 vp9_convolve8_horiz = vp9_convolve8_horiz_c; | 784 vp9_convolve8_horiz = vp9_convolve8_horiz_c; |
781 if (flags & HAS_SSE2) vp9_convolve8_horiz = vp9_convolve8_horiz_sse2; | 785 if (flags & HAS_SSE2) vp9_convolve8_horiz = vp9_convolve8_horiz_sse2; |
782 if (flags & HAS_SSSE3) vp9_convolve8_horiz = vp9_convolve8_horiz_ssse3; | 786 if (flags & HAS_SSSE3) vp9_convolve8_horiz = vp9_convolve8_horiz_ssse3; |
783 vp9_convolve8_vert = vp9_convolve8_vert_c; | 787 vp9_convolve8_vert = vp9_convolve8_vert_c; |
784 if (flags & HAS_SSE2) vp9_convolve8_vert = vp9_convolve8_vert_sse2; | 788 if (flags & HAS_SSE2) vp9_convolve8_vert = vp9_convolve8_vert_sse2; |
785 if (flags & HAS_SSSE3) vp9_convolve8_vert = vp9_convolve8_vert_ssse3; | 789 if (flags & HAS_SSSE3) vp9_convolve8_vert = vp9_convolve8_vert_ssse3; |
| 790 vp9_denoiser_filter = vp9_denoiser_filter_c; |
| 791 if (flags & HAS_SSE2) vp9_denoiser_filter = vp9_denoiser_filter_sse2; |
786 vp9_fdct16x16 = vp9_fdct16x16_c; | 792 vp9_fdct16x16 = vp9_fdct16x16_c; |
787 if (flags & HAS_SSE2) vp9_fdct16x16 = vp9_fdct16x16_sse2; | 793 if (flags & HAS_SSE2) vp9_fdct16x16 = vp9_fdct16x16_sse2; |
788 vp9_fdct16x16_1 = vp9_fdct16x16_1_c; | 794 vp9_fdct16x16_1 = vp9_fdct16x16_1_c; |
789 if (flags & HAS_SSE2) vp9_fdct16x16_1 = vp9_fdct16x16_1_sse2; | 795 if (flags & HAS_SSE2) vp9_fdct16x16_1 = vp9_fdct16x16_1_sse2; |
790 vp9_fdct32x32 = vp9_fdct32x32_c; | 796 vp9_fdct32x32 = vp9_fdct32x32_c; |
791 if (flags & HAS_SSE2) vp9_fdct32x32 = vp9_fdct32x32_sse2; | 797 if (flags & HAS_SSE2) vp9_fdct32x32 = vp9_fdct32x32_sse2; |
792 vp9_fdct32x32_1 = vp9_fdct32x32_1_c; | 798 vp9_fdct32x32_1 = vp9_fdct32x32_1_c; |
793 if (flags & HAS_SSE2) vp9_fdct32x32_1 = vp9_fdct32x32_1_sse2; | 799 if (flags & HAS_SSE2) vp9_fdct32x32_1 = vp9_fdct32x32_1_sse2; |
794 vp9_fdct32x32_rd = vp9_fdct32x32_rd_c; | 800 vp9_fdct32x32_rd = vp9_fdct32x32_rd_c; |
795 if (flags & HAS_SSE2) vp9_fdct32x32_rd = vp9_fdct32x32_rd_sse2; | 801 if (flags & HAS_SSE2) vp9_fdct32x32_rd = vp9_fdct32x32_rd_sse2; |
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
910 vp9_temporal_filter_apply = vp9_temporal_filter_apply_c; | 916 vp9_temporal_filter_apply = vp9_temporal_filter_apply_c; |
911 if (flags & HAS_SSE2) vp9_temporal_filter_apply = vp9_temporal_filter_apply_
sse2; | 917 if (flags & HAS_SSE2) vp9_temporal_filter_apply = vp9_temporal_filter_apply_
sse2; |
912 } | 918 } |
913 #endif | 919 #endif |
914 | 920 |
915 #ifdef __cplusplus | 921 #ifdef __cplusplus |
916 } // extern "C" | 922 } // extern "C" |
917 #endif | 923 #endif |
918 | 924 |
919 #endif | 925 #endif |
OLD | NEW |