Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(39)

Side by Side Diff: source/config/win/ia32/vp9_rtcd.h

Issue 864883002: Enable the vp9 temporal denoiser (Closed) Base URL: https://chromium.googlesource.com/chromium/deps/libvpx.git@master
Patch Set: Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « source/config/nacl/vpx_config.c ('k') | source/config/win/ia32/vpx_config.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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
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
OLDNEW
« no previous file with comments | « source/config/nacl/vpx_config.c ('k') | source/config/win/ia32/vpx_config.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698