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

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

Issue 554673004: libvpx: Pull from upstream (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/deps/third_party/libvpx/
Patch Set: Created 6 years, 3 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 | Annotate | Revision Log
« no previous file with comments | « source/config/mac/ia32/vp8_rtcd.h ('k') | source/config/mac/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 #ifdef __cplusplus 10 #ifdef __cplusplus
(...skipping 10 matching lines...) Expand all
21 struct macroblockd; 21 struct macroblockd;
22 22
23 /* Encoder forward decls */ 23 /* Encoder forward decls */
24 struct macroblock; 24 struct macroblock;
25 struct vp9_variance_vtable; 25 struct vp9_variance_vtable;
26 struct search_site_config; 26 struct search_site_config;
27 struct mv; 27 struct mv;
28 union int_mv; 28 union int_mv;
29 struct yv12_buffer_config; 29 struct yv12_buffer_config;
30 30
31 void vp9_blend_b_c(uint8_t *y, uint8_t *u, uint8_t *v, int y1, int u1, int v1, i nt alpha, int stride);
32 #define vp9_blend_b vp9_blend_b_c
33
34 void vp9_blend_mb_inner_c(uint8_t *y, uint8_t *u, uint8_t *v, int y1, int u1, in t v1, int alpha, int stride);
35 #define vp9_blend_mb_inner vp9_blend_mb_inner_c
36
37 void vp9_blend_mb_outer_c(uint8_t *y, uint8_t *u, uint8_t *v, int y1, int u1, in t v1, int alpha, int stride);
38 #define vp9_blend_mb_outer vp9_blend_mb_outer_c
39
40 int64_t vp9_block_error_c(const int16_t *coeff, const int16_t *dqcoeff, intptr_t block_size, int64_t *ssz); 31 int64_t vp9_block_error_c(const int16_t *coeff, const int16_t *dqcoeff, intptr_t block_size, int64_t *ssz);
41 #define vp9_block_error vp9_block_error_c 32 #define vp9_block_error vp9_block_error_c
42 33
43 void vp9_convolve8_c(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptr diff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *filter _y, int y_step_q4, int w, int h); 34 void vp9_convolve8_c(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptr diff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *filter _y, int y_step_q4, int w, int h);
44 void vp9_convolve8_sse2(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *fil ter_y, int y_step_q4, int w, int h); 35 void vp9_convolve8_sse2(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *fil ter_y, int y_step_q4, int w, int h);
45 void vp9_convolve8_ssse3(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *fi lter_y, int y_step_q4, int w, int h); 36 void vp9_convolve8_ssse3(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *fi lter_y, int y_step_q4, int w, int h);
46 RTCD_EXTERN void (*vp9_convolve8)(const uint8_t *src, ptrdiff_t src_stride, uint 8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const in t16_t *filter_y, int y_step_q4, int w, int h); 37 RTCD_EXTERN void (*vp9_convolve8)(const uint8_t *src, ptrdiff_t src_stride, uint 8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const in t16_t *filter_y, int y_step_q4, int w, int h);
47 38
48 void vp9_convolve8_avg_c(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *fi lter_y, int y_step_q4, int w, int h); 39 void vp9_convolve8_avg_c(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *fi lter_y, int y_step_q4, int w, int h);
49 void vp9_convolve8_avg_sse2(const uint8_t *src, ptrdiff_t src_stride, uint8_t *d st, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *filter_y, int y_step_q4, int w, int h); 40 void vp9_convolve8_avg_sse2(const uint8_t *src, ptrdiff_t src_stride, uint8_t *d st, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *filter_y, int y_step_q4, int w, int h);
(...skipping 205 matching lines...) Expand 10 before | Expand all | Expand 10 after
255 int vp9_full_search_sadx8(const struct macroblock *x, const struct mv *ref_mv, i nt sad_per_bit, int distance, const struct vp9_variance_vtable *fn_ptr, const st ruct mv *center_mv, struct mv *best_mv); 246 int vp9_full_search_sadx8(const struct macroblock *x, const struct mv *ref_mv, i nt sad_per_bit, int distance, const struct vp9_variance_vtable *fn_ptr, const st ruct mv *center_mv, struct mv *best_mv);
256 RTCD_EXTERN int (*vp9_full_search_sad)(const struct macroblock *x, const struct mv *ref_mv, int sad_per_bit, int distance, const struct vp9_variance_vtable *fn_ ptr, const struct mv *center_mv, struct mv *best_mv); 247 RTCD_EXTERN int (*vp9_full_search_sad)(const struct macroblock *x, const struct mv *ref_mv, int sad_per_bit, int distance, const struct vp9_variance_vtable *fn_ ptr, const struct mv *center_mv, struct mv *best_mv);
257 248
258 void vp9_fwht4x4_c(const int16_t *input, int16_t *output, int stride); 249 void vp9_fwht4x4_c(const int16_t *input, int16_t *output, int stride);
259 #define vp9_fwht4x4 vp9_fwht4x4_c 250 #define vp9_fwht4x4 vp9_fwht4x4_c
260 251
261 void vp9_get16x16var_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse, int *sum); 252 void vp9_get16x16var_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse, int *sum);
262 #define vp9_get16x16var vp9_get16x16var_c 253 #define vp9_get16x16var vp9_get16x16var_c
263 254
264 void vp9_get8x8var_c(const uint8_t *src_ptr, int source_stride, const uint8_t *r ef_ptr, int ref_stride, unsigned int *sse, int *sum); 255 void vp9_get8x8var_c(const uint8_t *src_ptr, int source_stride, const uint8_t *r ef_ptr, int ref_stride, unsigned int *sse, int *sum);
265 void vp9_get8x8var_mmx(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse, int *sum); 256 #define vp9_get8x8var vp9_get8x8var_c
266 RTCD_EXTERN void (*vp9_get8x8var)(const uint8_t *src_ptr, int source_stride, con st uint8_t *ref_ptr, int ref_stride, unsigned int *sse, int *sum);
267 257
268 unsigned int vp9_get_mb_ss_c(const int16_t *); 258 unsigned int vp9_get_mb_ss_c(const int16_t *);
269 unsigned int vp9_get_mb_ss_mmx(const int16_t *); 259 #define vp9_get_mb_ss vp9_get_mb_ss_c
270 unsigned int vp9_get_mb_ss_sse2(const int16_t *);
271 RTCD_EXTERN unsigned int (*vp9_get_mb_ss)(const int16_t *);
272 260
273 void vp9_h_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *ab ove, const uint8_t *left); 261 void vp9_h_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *ab ove, const uint8_t *left);
274 #define vp9_h_predictor_16x16 vp9_h_predictor_16x16_c 262 #define vp9_h_predictor_16x16 vp9_h_predictor_16x16_c
275 263
276 void vp9_h_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *ab ove, const uint8_t *left); 264 void vp9_h_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *ab ove, const uint8_t *left);
277 #define vp9_h_predictor_32x32 vp9_h_predictor_32x32_c 265 #define vp9_h_predictor_32x32 vp9_h_predictor_32x32_c
278 266
279 void vp9_h_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *abov e, const uint8_t *left); 267 void vp9_h_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *abov e, const uint8_t *left);
280 #define vp9_h_predictor_4x4 vp9_h_predictor_4x4_c 268 #define vp9_h_predictor_4x4 vp9_h_predictor_4x4_c
281 269
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after
384 372
385 void vp9_lpf_vertical_8_c(uint8_t *s, int pitch, const uint8_t *blimit, const ui nt8_t *limit, const uint8_t *thresh, int count); 373 void vp9_lpf_vertical_8_c(uint8_t *s, int pitch, const uint8_t *blimit, const ui nt8_t *limit, const uint8_t *thresh, int count);
386 void vp9_lpf_vertical_8_sse2(uint8_t *s, int pitch, const uint8_t *blimit, const uint8_t *limit, const uint8_t *thresh, int count); 374 void vp9_lpf_vertical_8_sse2(uint8_t *s, int pitch, const uint8_t *blimit, const uint8_t *limit, const uint8_t *thresh, int count);
387 RTCD_EXTERN void (*vp9_lpf_vertical_8)(uint8_t *s, int pitch, const uint8_t *bli mit, const uint8_t *limit, const uint8_t *thresh, int count); 375 RTCD_EXTERN void (*vp9_lpf_vertical_8)(uint8_t *s, int pitch, const uint8_t *bli mit, const uint8_t *limit, const uint8_t *thresh, int count);
388 376
389 void vp9_lpf_vertical_8_dual_c(uint8_t *s, int pitch, const uint8_t *blimit0, co nst uint8_t *limit0, const uint8_t *thresh0, const uint8_t *blimit1, const uint8 _t *limit1, const uint8_t *thresh1); 377 void vp9_lpf_vertical_8_dual_c(uint8_t *s, int pitch, const uint8_t *blimit0, co nst uint8_t *limit0, const uint8_t *thresh0, const uint8_t *blimit1, const uint8 _t *limit1, const uint8_t *thresh1);
390 void vp9_lpf_vertical_8_dual_sse2(uint8_t *s, int pitch, const uint8_t *blimit0, const uint8_t *limit0, const uint8_t *thresh0, const uint8_t *blimit1, const ui nt8_t *limit1, const uint8_t *thresh1); 378 void vp9_lpf_vertical_8_dual_sse2(uint8_t *s, int pitch, const uint8_t *blimit0, const uint8_t *limit0, const uint8_t *thresh0, const uint8_t *blimit1, const ui nt8_t *limit1, const uint8_t *thresh1);
391 RTCD_EXTERN void (*vp9_lpf_vertical_8_dual)(uint8_t *s, int pitch, const uint8_t *blimit0, const uint8_t *limit0, const uint8_t *thresh0, const uint8_t *blimit1 , const uint8_t *limit1, const uint8_t *thresh1); 379 RTCD_EXTERN void (*vp9_lpf_vertical_8_dual)(uint8_t *s, int pitch, const uint8_t *blimit0, const uint8_t *limit0, const uint8_t *thresh0, const uint8_t *blimit1 , const uint8_t *limit1, const uint8_t *thresh1);
392 380
393 unsigned int vp9_mse16x16_c(const uint8_t *src_ptr, int source_stride, const ui nt8_t *ref_ptr, int recon_stride, unsigned int *sse); 381 unsigned int vp9_mse16x16_c(const uint8_t *src_ptr, int source_stride, const ui nt8_t *ref_ptr, int recon_stride, unsigned int *sse);
394 unsigned int vp9_mse16x16_mmx(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int recon_stride, unsigned int *sse); 382 #define vp9_mse16x16 vp9_mse16x16_c
395 RTCD_EXTERN unsigned int (*vp9_mse16x16)(const uint8_t *src_ptr, int source_str ide, const uint8_t *ref_ptr, int recon_stride, unsigned int *sse);
396 383
397 unsigned int vp9_mse16x8_c(const uint8_t *src_ptr, int source_stride, const uin t8_t *ref_ptr, int recon_stride, unsigned int *sse); 384 unsigned int vp9_mse16x8_c(const uint8_t *src_ptr, int source_stride, const uin t8_t *ref_ptr, int recon_stride, unsigned int *sse);
398 #define vp9_mse16x8 vp9_mse16x8_c 385 #define vp9_mse16x8 vp9_mse16x8_c
399 386
400 unsigned int vp9_mse8x16_c(const uint8_t *src_ptr, int source_stride, const uin t8_t *ref_ptr, int recon_stride, unsigned int *sse); 387 unsigned int vp9_mse8x16_c(const uint8_t *src_ptr, int source_stride, const uin t8_t *ref_ptr, int recon_stride, unsigned int *sse);
401 #define vp9_mse8x16 vp9_mse8x16_c 388 #define vp9_mse8x16 vp9_mse8x16_c
402 389
403 unsigned int vp9_mse8x8_c(const uint8_t *src_ptr, int source_stride, const uint 8_t *ref_ptr, int recon_stride, unsigned int *sse); 390 unsigned int vp9_mse8x8_c(const uint8_t *src_ptr, int source_stride, const uint 8_t *ref_ptr, int recon_stride, unsigned int *sse);
404 #define vp9_mse8x8 vp9_mse8x8_c 391 #define vp9_mse8x8 vp9_mse8x8_c
405 392
406 void vp9_quantize_b_c(const int16_t *coeff_ptr, intptr_t n_coeffs, int skip_bloc k, const int16_t *zbin_ptr, const int16_t *round_ptr, const int16_t *quant_ptr, const int16_t *quant_shift_ptr, int16_t *qcoeff_ptr, int16_t *dqcoeff_ptr, const int16_t *dequant_ptr, int zbin_oq_value, uint16_t *eob_ptr, const int16_t *scan , const int16_t *iscan); 393 void vp9_quantize_b_c(const int16_t *coeff_ptr, intptr_t n_coeffs, int skip_bloc k, const int16_t *zbin_ptr, const int16_t *round_ptr, const int16_t *quant_ptr, const int16_t *quant_shift_ptr, int16_t *qcoeff_ptr, int16_t *dqcoeff_ptr, const int16_t *dequant_ptr, int zbin_oq_value, uint16_t *eob_ptr, const int16_t *scan , const int16_t *iscan);
407 #define vp9_quantize_b vp9_quantize_b_c 394 #define vp9_quantize_b vp9_quantize_b_c
408 395
409 void vp9_quantize_b_32x32_c(const int16_t *coeff_ptr, intptr_t n_coeffs, int ski p_block, const int16_t *zbin_ptr, const int16_t *round_ptr, const int16_t *quant _ptr, const int16_t *quant_shift_ptr, int16_t *qcoeff_ptr, int16_t *dqcoeff_ptr, const int16_t *dequant_ptr, int zbin_oq_value, uint16_t *eob_ptr, const int16_t *scan, const int16_t *iscan); 396 void vp9_quantize_b_32x32_c(const int16_t *coeff_ptr, intptr_t n_coeffs, int ski p_block, const int16_t *zbin_ptr, const int16_t *round_ptr, const int16_t *quant _ptr, const int16_t *quant_shift_ptr, int16_t *qcoeff_ptr, int16_t *dqcoeff_ptr, const int16_t *dequant_ptr, int zbin_oq_value, uint16_t *eob_ptr, const int16_t *scan, const int16_t *iscan);
410 #define vp9_quantize_b_32x32 vp9_quantize_b_32x32_c 397 #define vp9_quantize_b_32x32 vp9_quantize_b_32x32_c
411 398
412 void vp9_quantize_fp_c(const int16_t *coeff_ptr, intptr_t n_coeffs, int skip_blo ck, const int16_t *zbin_ptr, const int16_t *round_ptr, const int16_t *quant_ptr, const int16_t *quant_shift_ptr, int16_t *qcoeff_ptr, int16_t *dqcoeff_ptr, cons t int16_t *dequant_ptr, int zbin_oq_value, uint16_t *eob_ptr, const int16_t *sca n, const int16_t *iscan); 399 void vp9_quantize_fp_c(const int16_t *coeff_ptr, intptr_t n_coeffs, int skip_blo ck, const int16_t *zbin_ptr, const int16_t *round_ptr, const int16_t *quant_ptr, const int16_t *quant_shift_ptr, int16_t *qcoeff_ptr, int16_t *dqcoeff_ptr, cons t int16_t *dequant_ptr, int zbin_oq_value, uint16_t *eob_ptr, const int16_t *sca n, const int16_t *iscan);
413 #define vp9_quantize_fp vp9_quantize_fp_c 400 #define vp9_quantize_fp vp9_quantize_fp_c
414 401
415 void vp9_quantize_fp_32x32_c(const int16_t *coeff_ptr, intptr_t n_coeffs, int sk ip_block, const int16_t *zbin_ptr, const int16_t *round_ptr, const int16_t *quan t_ptr, const int16_t *quant_shift_ptr, int16_t *qcoeff_ptr, int16_t *dqcoeff_ptr , const int16_t *dequant_ptr, int zbin_oq_value, uint16_t *eob_ptr, const int16_ t *scan, const int16_t *iscan); 402 void vp9_quantize_fp_32x32_c(const int16_t *coeff_ptr, intptr_t n_coeffs, int sk ip_block, const int16_t *zbin_ptr, const int16_t *round_ptr, const int16_t *quan t_ptr, const int16_t *quant_shift_ptr, int16_t *qcoeff_ptr, int16_t *dqcoeff_ptr , const int16_t *dequant_ptr, int zbin_oq_value, uint16_t *eob_ptr, const int16_ t *scan, const int16_t *iscan);
416 #define vp9_quantize_fp_32x32 vp9_quantize_fp_32x32_c 403 #define vp9_quantize_fp_32x32 vp9_quantize_fp_32x32_c
417 404
418 int vp9_refining_search_sad_c(const struct macroblock *x, struct mv *ref_mv, int sad_per_bit, int distance, const struct vp9_variance_vtable *fn_ptr, const stru ct mv *center_mv); 405 int vp9_refining_search_sad_c(const struct macroblock *x, struct mv *ref_mv, int sad_per_bit, int distance, const struct vp9_variance_vtable *fn_ptr, const stru ct mv *center_mv);
419 #define vp9_refining_search_sad vp9_refining_search_sad_c 406 #define vp9_refining_search_sad vp9_refining_search_sad_c
420 407
421 unsigned int vp9_sad16x16_c(const uint8_t *src_ptr, int source_stride, const uin t8_t *ref_ptr, int ref_stride); 408 unsigned int vp9_sad16x16_c(const uint8_t *src_ptr, int source_stride, const uin t8_t *ref_ptr, int ref_stride);
422 unsigned int vp9_sad16x16_mmx(const uint8_t *src_ptr, int source_stride, const u int8_t *ref_ptr, int ref_stride); 409 #define vp9_sad16x16 vp9_sad16x16_c
423 RTCD_EXTERN unsigned int (*vp9_sad16x16)(const uint8_t *src_ptr, int source_stri de, const uint8_t *ref_ptr, int ref_stride);
424 410
425 unsigned int vp9_sad16x16_avg_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred); 411 unsigned int vp9_sad16x16_avg_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred);
426 #define vp9_sad16x16_avg vp9_sad16x16_avg_c 412 #define vp9_sad16x16_avg vp9_sad16x16_avg_c
427 413
428 void vp9_sad16x16x3_c(const uint8_t *src_ptr, int source_stride, const uint8_t * ref_ptr, int ref_stride, unsigned int *sad_array); 414 void vp9_sad16x16x3_c(const uint8_t *src_ptr, int source_stride, const uint8_t * ref_ptr, int ref_stride, unsigned int *sad_array);
429 void vp9_sad16x16x3_sse3(const uint8_t *src_ptr, int source_stride, const uint8_ t *ref_ptr, int ref_stride, unsigned int *sad_array); 415 void vp9_sad16x16x3_sse3(const uint8_t *src_ptr, int source_stride, const uint8_ t *ref_ptr, int ref_stride, unsigned int *sad_array);
430 void vp9_sad16x16x3_ssse3(const uint8_t *src_ptr, int source_stride, const uint8 _t *ref_ptr, int ref_stride, unsigned int *sad_array); 416 void vp9_sad16x16x3_ssse3(const uint8_t *src_ptr, int source_stride, const uint8 _t *ref_ptr, int ref_stride, unsigned int *sad_array);
431 RTCD_EXTERN void (*vp9_sad16x16x3)(const uint8_t *src_ptr, int source_stride, co nst uint8_t *ref_ptr, int ref_stride, unsigned int *sad_array); 417 RTCD_EXTERN void (*vp9_sad16x16x3)(const uint8_t *src_ptr, int source_stride, co nst uint8_t *ref_ptr, int ref_stride, unsigned int *sad_array);
432 418
433 void vp9_sad16x16x4d_c(const uint8_t *src_ptr, int src_stride, const uint8_t* c onst ref_ptr[], int ref_stride, unsigned int *sad_array); 419 void vp9_sad16x16x4d_c(const uint8_t *src_ptr, int src_stride, const uint8_t* c onst ref_ptr[], int ref_stride, unsigned int *sad_array);
434 void vp9_sad16x16x4d_sse2(const uint8_t *src_ptr, int src_stride, const uint8_t * const ref_ptr[], int ref_stride, unsigned int *sad_array); 420 void vp9_sad16x16x4d_sse2(const uint8_t *src_ptr, int src_stride, const uint8_t * const ref_ptr[], int ref_stride, unsigned int *sad_array);
435 RTCD_EXTERN void (*vp9_sad16x16x4d)(const uint8_t *src_ptr, int src_stride, con st uint8_t* const ref_ptr[], int ref_stride, unsigned int *sad_array); 421 RTCD_EXTERN void (*vp9_sad16x16x4d)(const uint8_t *src_ptr, int src_stride, con st uint8_t* const ref_ptr[], int ref_stride, unsigned int *sad_array);
436 422
437 void vp9_sad16x16x8_c(const uint8_t *src_ptr, int src_stride, const uint8_t *re f_ptr, int ref_stride, uint32_t *sad_array); 423 void vp9_sad16x16x8_c(const uint8_t *src_ptr, int src_stride, const uint8_t *re f_ptr, int ref_stride, uint32_t *sad_array);
438 #define vp9_sad16x16x8 vp9_sad16x16x8_c 424 #define vp9_sad16x16x8 vp9_sad16x16x8_c
439 425
440 unsigned int vp9_sad16x32_c(const uint8_t *src_ptr, int source_stride, const uin t8_t *ref_ptr, int ref_stride); 426 unsigned int vp9_sad16x32_c(const uint8_t *src_ptr, int source_stride, const uin t8_t *ref_ptr, int ref_stride);
441 #define vp9_sad16x32 vp9_sad16x32_c 427 #define vp9_sad16x32 vp9_sad16x32_c
442 428
443 unsigned int vp9_sad16x32_avg_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred); 429 unsigned int vp9_sad16x32_avg_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred);
444 #define vp9_sad16x32_avg vp9_sad16x32_avg_c 430 #define vp9_sad16x32_avg vp9_sad16x32_avg_c
445 431
446 void vp9_sad16x32x4d_c(const uint8_t *src_ptr, int src_stride, const uint8_t* c onst ref_ptr[], int ref_stride, unsigned int *sad_array); 432 void vp9_sad16x32x4d_c(const uint8_t *src_ptr, int src_stride, const uint8_t* c onst ref_ptr[], int ref_stride, unsigned int *sad_array);
447 void vp9_sad16x32x4d_sse2(const uint8_t *src_ptr, int src_stride, const uint8_t * const ref_ptr[], int ref_stride, unsigned int *sad_array); 433 void vp9_sad16x32x4d_sse2(const uint8_t *src_ptr, int src_stride, const uint8_t * const ref_ptr[], int ref_stride, unsigned int *sad_array);
448 RTCD_EXTERN void (*vp9_sad16x32x4d)(const uint8_t *src_ptr, int src_stride, con st uint8_t* const ref_ptr[], int ref_stride, unsigned int *sad_array); 434 RTCD_EXTERN void (*vp9_sad16x32x4d)(const uint8_t *src_ptr, int src_stride, con st uint8_t* const ref_ptr[], int ref_stride, unsigned int *sad_array);
449 435
450 unsigned int vp9_sad16x8_c(const uint8_t *src_ptr, int source_stride, const uint 8_t *ref_ptr, int ref_stride); 436 unsigned int vp9_sad16x8_c(const uint8_t *src_ptr, int source_stride, const uint 8_t *ref_ptr, int ref_stride);
451 unsigned int vp9_sad16x8_mmx(const uint8_t *src_ptr, int source_stride, const ui nt8_t *ref_ptr, int ref_stride); 437 #define vp9_sad16x8 vp9_sad16x8_c
452 RTCD_EXTERN unsigned int (*vp9_sad16x8)(const uint8_t *src_ptr, int source_strid e, const uint8_t *ref_ptr, int ref_stride);
453 438
454 unsigned int vp9_sad16x8_avg_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred); 439 unsigned int vp9_sad16x8_avg_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred);
455 #define vp9_sad16x8_avg vp9_sad16x8_avg_c 440 #define vp9_sad16x8_avg vp9_sad16x8_avg_c
456 441
457 void vp9_sad16x8x3_c(const uint8_t *src_ptr, int source_stride, const uint8_t *r ef_ptr, int ref_stride, unsigned int *sad_array); 442 void vp9_sad16x8x3_c(const uint8_t *src_ptr, int source_stride, const uint8_t *r ef_ptr, int ref_stride, unsigned int *sad_array);
458 void vp9_sad16x8x3_sse3(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sad_array); 443 void vp9_sad16x8x3_sse3(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sad_array);
459 void vp9_sad16x8x3_ssse3(const uint8_t *src_ptr, int source_stride, const uint8_ t *ref_ptr, int ref_stride, unsigned int *sad_array); 444 void vp9_sad16x8x3_ssse3(const uint8_t *src_ptr, int source_stride, const uint8_ t *ref_ptr, int ref_stride, unsigned int *sad_array);
460 RTCD_EXTERN void (*vp9_sad16x8x3)(const uint8_t *src_ptr, int source_stride, con st uint8_t *ref_ptr, int ref_stride, unsigned int *sad_array); 445 RTCD_EXTERN void (*vp9_sad16x8x3)(const uint8_t *src_ptr, int source_stride, con st uint8_t *ref_ptr, int ref_stride, unsigned int *sad_array);
461 446
462 void vp9_sad16x8x4d_c(const uint8_t *src_ptr, int src_stride, const uint8_t* co nst ref_ptr[], int ref_stride, unsigned int *sad_array); 447 void vp9_sad16x8x4d_c(const uint8_t *src_ptr, int src_stride, const uint8_t* co nst ref_ptr[], int ref_stride, unsigned int *sad_array);
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
496 #define vp9_sad32x64 vp9_sad32x64_c 481 #define vp9_sad32x64 vp9_sad32x64_c
497 482
498 unsigned int vp9_sad32x64_avg_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred); 483 unsigned int vp9_sad32x64_avg_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred);
499 #define vp9_sad32x64_avg vp9_sad32x64_avg_c 484 #define vp9_sad32x64_avg vp9_sad32x64_avg_c
500 485
501 void vp9_sad32x64x4d_c(const uint8_t *src_ptr, int src_stride, const uint8_t* c onst ref_ptr[], int ref_stride, unsigned int *sad_array); 486 void vp9_sad32x64x4d_c(const uint8_t *src_ptr, int src_stride, const uint8_t* c onst ref_ptr[], int ref_stride, unsigned int *sad_array);
502 void vp9_sad32x64x4d_sse2(const uint8_t *src_ptr, int src_stride, const uint8_t * const ref_ptr[], int ref_stride, unsigned int *sad_array); 487 void vp9_sad32x64x4d_sse2(const uint8_t *src_ptr, int src_stride, const uint8_t * const ref_ptr[], int ref_stride, unsigned int *sad_array);
503 RTCD_EXTERN void (*vp9_sad32x64x4d)(const uint8_t *src_ptr, int src_stride, con st uint8_t* const ref_ptr[], int ref_stride, unsigned int *sad_array); 488 RTCD_EXTERN void (*vp9_sad32x64x4d)(const uint8_t *src_ptr, int src_stride, con st uint8_t* const ref_ptr[], int ref_stride, unsigned int *sad_array);
504 489
505 unsigned int vp9_sad4x4_c(const uint8_t *src_ptr, int source_stride, const uint8 _t *ref_ptr, int ref_stride); 490 unsigned int vp9_sad4x4_c(const uint8_t *src_ptr, int source_stride, const uint8 _t *ref_ptr, int ref_stride);
506 unsigned int vp9_sad4x4_mmx(const uint8_t *src_ptr, int source_stride, const uin t8_t *ref_ptr, int ref_stride); 491 #define vp9_sad4x4 vp9_sad4x4_c
507 RTCD_EXTERN unsigned int (*vp9_sad4x4)(const uint8_t *src_ptr, int source_stride , const uint8_t *ref_ptr, int ref_stride);
508 492
509 unsigned int vp9_sad4x4_avg_c(const uint8_t *src_ptr, int source_stride, const u int8_t *ref_ptr, int ref_stride, const uint8_t *second_pred); 493 unsigned int vp9_sad4x4_avg_c(const uint8_t *src_ptr, int source_stride, const u int8_t *ref_ptr, int ref_stride, const uint8_t *second_pred);
510 #define vp9_sad4x4_avg vp9_sad4x4_avg_c 494 #define vp9_sad4x4_avg vp9_sad4x4_avg_c
511 495
512 void vp9_sad4x4x3_c(const uint8_t *src_ptr, int source_stride, const uint8_t *re f_ptr, int ref_stride, unsigned int *sad_array); 496 void vp9_sad4x4x3_c(const uint8_t *src_ptr, int source_stride, const uint8_t *re f_ptr, int ref_stride, unsigned int *sad_array);
513 void vp9_sad4x4x3_sse3(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sad_array); 497 void vp9_sad4x4x3_sse3(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sad_array);
514 RTCD_EXTERN void (*vp9_sad4x4x3)(const uint8_t *src_ptr, int source_stride, cons t uint8_t *ref_ptr, int ref_stride, unsigned int *sad_array); 498 RTCD_EXTERN void (*vp9_sad4x4x3)(const uint8_t *src_ptr, int source_stride, cons t uint8_t *ref_ptr, int ref_stride, unsigned int *sad_array);
515 499
516 void vp9_sad4x4x4d_c(const uint8_t *src_ptr, int src_stride, const uint8_t* con st ref_ptr[], int ref_stride, unsigned int *sad_array); 500 void vp9_sad4x4x4d_c(const uint8_t *src_ptr, int src_stride, const uint8_t* con st ref_ptr[], int ref_stride, unsigned int *sad_array);
517 void vp9_sad4x4x4d_sse(const uint8_t *src_ptr, int src_stride, const uint8_t* c onst ref_ptr[], int ref_stride, unsigned int *sad_array); 501 void vp9_sad4x4x4d_sse(const uint8_t *src_ptr, int src_stride, const uint8_t* c onst ref_ptr[], int ref_stride, unsigned int *sad_array);
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
553 #define vp9_sad64x64x3 vp9_sad64x64x3_c 537 #define vp9_sad64x64x3 vp9_sad64x64x3_c
554 538
555 void vp9_sad64x64x4d_c(const uint8_t *src_ptr, int src_stride, const uint8_t* c onst ref_ptr[], int ref_stride, unsigned int *sad_array); 539 void vp9_sad64x64x4d_c(const uint8_t *src_ptr, int src_stride, const uint8_t* c onst ref_ptr[], int ref_stride, unsigned int *sad_array);
556 void vp9_sad64x64x4d_sse2(const uint8_t *src_ptr, int src_stride, const uint8_t * const ref_ptr[], int ref_stride, unsigned int *sad_array); 540 void vp9_sad64x64x4d_sse2(const uint8_t *src_ptr, int src_stride, const uint8_t * const ref_ptr[], int ref_stride, unsigned int *sad_array);
557 RTCD_EXTERN void (*vp9_sad64x64x4d)(const uint8_t *src_ptr, int src_stride, con st uint8_t* const ref_ptr[], int ref_stride, unsigned int *sad_array); 541 RTCD_EXTERN void (*vp9_sad64x64x4d)(const uint8_t *src_ptr, int src_stride, con st uint8_t* const ref_ptr[], int ref_stride, unsigned int *sad_array);
558 542
559 void vp9_sad64x64x8_c(const uint8_t *src_ptr, int src_stride, const uint8_t *re f_ptr, int ref_stride, uint32_t *sad_array); 543 void vp9_sad64x64x8_c(const uint8_t *src_ptr, int src_stride, const uint8_t *re f_ptr, int ref_stride, uint32_t *sad_array);
560 #define vp9_sad64x64x8 vp9_sad64x64x8_c 544 #define vp9_sad64x64x8 vp9_sad64x64x8_c
561 545
562 unsigned int vp9_sad8x16_c(const uint8_t *src_ptr, int source_stride, const uint 8_t *ref_ptr, int ref_stride); 546 unsigned int vp9_sad8x16_c(const uint8_t *src_ptr, int source_stride, const uint 8_t *ref_ptr, int ref_stride);
563 unsigned int vp9_sad8x16_mmx(const uint8_t *src_ptr, int source_stride, const ui nt8_t *ref_ptr, int ref_stride); 547 #define vp9_sad8x16 vp9_sad8x16_c
564 RTCD_EXTERN unsigned int (*vp9_sad8x16)(const uint8_t *src_ptr, int source_strid e, const uint8_t *ref_ptr, int ref_stride);
565 548
566 unsigned int vp9_sad8x16_avg_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred); 549 unsigned int vp9_sad8x16_avg_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred);
567 #define vp9_sad8x16_avg vp9_sad8x16_avg_c 550 #define vp9_sad8x16_avg vp9_sad8x16_avg_c
568 551
569 void vp9_sad8x16x3_c(const uint8_t *src_ptr, int source_stride, const uint8_t *r ef_ptr, int ref_stride, unsigned int *sad_array); 552 void vp9_sad8x16x3_c(const uint8_t *src_ptr, int source_stride, const uint8_t *r ef_ptr, int ref_stride, unsigned int *sad_array);
570 void vp9_sad8x16x3_sse3(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sad_array); 553 void vp9_sad8x16x3_sse3(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sad_array);
571 RTCD_EXTERN void (*vp9_sad8x16x3)(const uint8_t *src_ptr, int source_stride, con st uint8_t *ref_ptr, int ref_stride, unsigned int *sad_array); 554 RTCD_EXTERN void (*vp9_sad8x16x3)(const uint8_t *src_ptr, int source_stride, con st uint8_t *ref_ptr, int ref_stride, unsigned int *sad_array);
572 555
573 void vp9_sad8x16x4d_c(const uint8_t *src_ptr, int src_stride, const uint8_t* co nst ref_ptr[], int ref_stride, unsigned int *sad_array); 556 void vp9_sad8x16x4d_c(const uint8_t *src_ptr, int src_stride, const uint8_t* co nst ref_ptr[], int ref_stride, unsigned int *sad_array);
574 void vp9_sad8x16x4d_sse2(const uint8_t *src_ptr, int src_stride, const uint8_t* const ref_ptr[], int ref_stride, unsigned int *sad_array); 557 void vp9_sad8x16x4d_sse2(const uint8_t *src_ptr, int src_stride, const uint8_t* const ref_ptr[], int ref_stride, unsigned int *sad_array);
575 RTCD_EXTERN void (*vp9_sad8x16x4d)(const uint8_t *src_ptr, int src_stride, cons t uint8_t* const ref_ptr[], int ref_stride, unsigned int *sad_array); 558 RTCD_EXTERN void (*vp9_sad8x16x4d)(const uint8_t *src_ptr, int src_stride, cons t uint8_t* const ref_ptr[], int ref_stride, unsigned int *sad_array);
576 559
577 void vp9_sad8x16x8_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref _ptr, int ref_stride, uint32_t *sad_array); 560 void vp9_sad8x16x8_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref _ptr, int ref_stride, uint32_t *sad_array);
578 #define vp9_sad8x16x8 vp9_sad8x16x8_c 561 #define vp9_sad8x16x8 vp9_sad8x16x8_c
579 562
580 unsigned int vp9_sad8x4_c(const uint8_t *src_ptr, int source_stride, const uint8 _t *ref_ptr, int ref_stride); 563 unsigned int vp9_sad8x4_c(const uint8_t *src_ptr, int source_stride, const uint8 _t *ref_ptr, int ref_stride);
581 #define vp9_sad8x4 vp9_sad8x4_c 564 #define vp9_sad8x4 vp9_sad8x4_c
582 565
583 unsigned int vp9_sad8x4_avg_c(const uint8_t *src_ptr, int source_stride, const u int8_t *ref_ptr, int ref_stride, const uint8_t *second_pred); 566 unsigned int vp9_sad8x4_avg_c(const uint8_t *src_ptr, int source_stride, const u int8_t *ref_ptr, int ref_stride, const uint8_t *second_pred);
584 #define vp9_sad8x4_avg vp9_sad8x4_avg_c 567 #define vp9_sad8x4_avg vp9_sad8x4_avg_c
585 568
586 void vp9_sad8x4x4d_c(const uint8_t *src_ptr, int src_stride, const uint8_t* cons t ref_ptr[], int ref_stride, unsigned int *sad_array); 569 void vp9_sad8x4x4d_c(const uint8_t *src_ptr, int src_stride, const uint8_t* cons t ref_ptr[], int ref_stride, unsigned int *sad_array);
587 void vp9_sad8x4x4d_sse2(const uint8_t *src_ptr, int src_stride, const uint8_t* c onst ref_ptr[], int ref_stride, unsigned int *sad_array); 570 void vp9_sad8x4x4d_sse2(const uint8_t *src_ptr, int src_stride, const uint8_t* c onst ref_ptr[], int ref_stride, unsigned int *sad_array);
588 RTCD_EXTERN void (*vp9_sad8x4x4d)(const uint8_t *src_ptr, int src_stride, const uint8_t* const ref_ptr[], int ref_stride, unsigned int *sad_array); 571 RTCD_EXTERN void (*vp9_sad8x4x4d)(const uint8_t *src_ptr, int src_stride, const uint8_t* const ref_ptr[], int ref_stride, unsigned int *sad_array);
589 572
590 void vp9_sad8x4x8_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_p tr, int ref_stride, uint32_t *sad_array); 573 void vp9_sad8x4x8_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_p tr, int ref_stride, uint32_t *sad_array);
591 #define vp9_sad8x4x8 vp9_sad8x4x8_c 574 #define vp9_sad8x4x8 vp9_sad8x4x8_c
592 575
593 unsigned int vp9_sad8x8_c(const uint8_t *src_ptr, int source_stride, const uint8 _t *ref_ptr, int ref_stride); 576 unsigned int vp9_sad8x8_c(const uint8_t *src_ptr, int source_stride, const uint8 _t *ref_ptr, int ref_stride);
594 unsigned int vp9_sad8x8_mmx(const uint8_t *src_ptr, int source_stride, const uin t8_t *ref_ptr, int ref_stride); 577 #define vp9_sad8x8 vp9_sad8x8_c
595 RTCD_EXTERN unsigned int (*vp9_sad8x8)(const uint8_t *src_ptr, int source_stride , const uint8_t *ref_ptr, int ref_stride);
596 578
597 unsigned int vp9_sad8x8_avg_c(const uint8_t *src_ptr, int source_stride, const u int8_t *ref_ptr, int ref_stride, const uint8_t *second_pred); 579 unsigned int vp9_sad8x8_avg_c(const uint8_t *src_ptr, int source_stride, const u int8_t *ref_ptr, int ref_stride, const uint8_t *second_pred);
598 #define vp9_sad8x8_avg vp9_sad8x8_avg_c 580 #define vp9_sad8x8_avg vp9_sad8x8_avg_c
599 581
600 void vp9_sad8x8x3_c(const uint8_t *src_ptr, int source_stride, const uint8_t *re f_ptr, int ref_stride, unsigned int *sad_array); 582 void vp9_sad8x8x3_c(const uint8_t *src_ptr, int source_stride, const uint8_t *re f_ptr, int ref_stride, unsigned int *sad_array);
601 void vp9_sad8x8x3_sse3(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sad_array); 583 void vp9_sad8x8x3_sse3(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sad_array);
602 RTCD_EXTERN void (*vp9_sad8x8x3)(const uint8_t *src_ptr, int source_stride, cons t uint8_t *ref_ptr, int ref_stride, unsigned int *sad_array); 584 RTCD_EXTERN void (*vp9_sad8x8x3)(const uint8_t *src_ptr, int source_stride, cons t uint8_t *ref_ptr, int ref_stride, unsigned int *sad_array);
603 585
604 void vp9_sad8x8x4d_c(const uint8_t *src_ptr, int src_stride, const uint8_t* con st ref_ptr[], int ref_stride, unsigned int *sad_array); 586 void vp9_sad8x8x4d_c(const uint8_t *src_ptr, int src_stride, const uint8_t* con st ref_ptr[], int ref_stride, unsigned int *sad_array);
605 void vp9_sad8x8x4d_sse2(const uint8_t *src_ptr, int src_stride, const uint8_t* const ref_ptr[], int ref_stride, unsigned int *sad_array); 587 void vp9_sad8x8x4d_sse2(const uint8_t *src_ptr, int src_stride, const uint8_t* const ref_ptr[], int ref_stride, unsigned int *sad_array);
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after
711 void vp9_v_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *ab ove, const uint8_t *left); 693 void vp9_v_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *ab ove, const uint8_t *left);
712 #define vp9_v_predictor_32x32 vp9_v_predictor_32x32_c 694 #define vp9_v_predictor_32x32 vp9_v_predictor_32x32_c
713 695
714 void vp9_v_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *abov e, const uint8_t *left); 696 void vp9_v_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *abov e, const uint8_t *left);
715 #define vp9_v_predictor_4x4 vp9_v_predictor_4x4_c 697 #define vp9_v_predictor_4x4 vp9_v_predictor_4x4_c
716 698
717 void vp9_v_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *abov e, const uint8_t *left); 699 void vp9_v_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *abov e, const uint8_t *left);
718 #define vp9_v_predictor_8x8 vp9_v_predictor_8x8_c 700 #define vp9_v_predictor_8x8 vp9_v_predictor_8x8_c
719 701
720 unsigned int vp9_variance16x16_c(const uint8_t *src_ptr, int source_stride, cons t uint8_t *ref_ptr, int ref_stride, unsigned int *sse); 702 unsigned int vp9_variance16x16_c(const uint8_t *src_ptr, int source_stride, cons t uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
721 unsigned int vp9_variance16x16_mmx(const uint8_t *src_ptr, int source_stride, co nst uint8_t *ref_ptr, int ref_stride, unsigned int *sse); 703 #define vp9_variance16x16 vp9_variance16x16_c
722 RTCD_EXTERN unsigned int (*vp9_variance16x16)(const uint8_t *src_ptr, int source _stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
723 704
724 unsigned int vp9_variance16x32_c(const uint8_t *src_ptr, int source_stride, cons t uint8_t *ref_ptr, int ref_stride, unsigned int *sse); 705 unsigned int vp9_variance16x32_c(const uint8_t *src_ptr, int source_stride, cons t uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
725 #define vp9_variance16x32 vp9_variance16x32_c 706 #define vp9_variance16x32 vp9_variance16x32_c
726 707
727 unsigned int vp9_variance16x8_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse); 708 unsigned int vp9_variance16x8_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
728 unsigned int vp9_variance16x8_mmx(const uint8_t *src_ptr, int source_stride, con st uint8_t *ref_ptr, int ref_stride, unsigned int *sse); 709 #define vp9_variance16x8 vp9_variance16x8_c
729 RTCD_EXTERN unsigned int (*vp9_variance16x8)(const uint8_t *src_ptr, int source_ stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
730 710
731 unsigned int vp9_variance32x16_c(const uint8_t *src_ptr, int source_stride, cons t uint8_t *ref_ptr, int ref_stride, unsigned int *sse); 711 unsigned int vp9_variance32x16_c(const uint8_t *src_ptr, int source_stride, cons t uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
732 #define vp9_variance32x16 vp9_variance32x16_c 712 #define vp9_variance32x16 vp9_variance32x16_c
733 713
734 unsigned int vp9_variance32x32_c(const uint8_t *src_ptr, int source_stride, cons t uint8_t *ref_ptr, int ref_stride, unsigned int *sse); 714 unsigned int vp9_variance32x32_c(const uint8_t *src_ptr, int source_stride, cons t uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
735 #define vp9_variance32x32 vp9_variance32x32_c 715 #define vp9_variance32x32 vp9_variance32x32_c
736 716
737 unsigned int vp9_variance32x64_c(const uint8_t *src_ptr, int source_stride, cons t uint8_t *ref_ptr, int ref_stride, unsigned int *sse); 717 unsigned int vp9_variance32x64_c(const uint8_t *src_ptr, int source_stride, cons t uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
738 #define vp9_variance32x64 vp9_variance32x64_c 718 #define vp9_variance32x64 vp9_variance32x64_c
739 719
740 unsigned int vp9_variance4x4_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse); 720 unsigned int vp9_variance4x4_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
741 unsigned int vp9_variance4x4_mmx(const uint8_t *src_ptr, int source_stride, cons t uint8_t *ref_ptr, int ref_stride, unsigned int *sse); 721 #define vp9_variance4x4 vp9_variance4x4_c
742 RTCD_EXTERN unsigned int (*vp9_variance4x4)(const uint8_t *src_ptr, int source_s tride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
743 722
744 unsigned int vp9_variance4x8_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse); 723 unsigned int vp9_variance4x8_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
745 #define vp9_variance4x8 vp9_variance4x8_c 724 #define vp9_variance4x8 vp9_variance4x8_c
746 725
747 unsigned int vp9_variance64x32_c(const uint8_t *src_ptr, int source_stride, cons t uint8_t *ref_ptr, int ref_stride, unsigned int *sse); 726 unsigned int vp9_variance64x32_c(const uint8_t *src_ptr, int source_stride, cons t uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
748 #define vp9_variance64x32 vp9_variance64x32_c 727 #define vp9_variance64x32 vp9_variance64x32_c
749 728
750 unsigned int vp9_variance64x64_c(const uint8_t *src_ptr, int source_stride, cons t uint8_t *ref_ptr, int ref_stride, unsigned int *sse); 729 unsigned int vp9_variance64x64_c(const uint8_t *src_ptr, int source_stride, cons t uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
751 #define vp9_variance64x64 vp9_variance64x64_c 730 #define vp9_variance64x64 vp9_variance64x64_c
752 731
753 unsigned int vp9_variance8x16_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse); 732 unsigned int vp9_variance8x16_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
754 unsigned int vp9_variance8x16_mmx(const uint8_t *src_ptr, int source_stride, con st uint8_t *ref_ptr, int ref_stride, unsigned int *sse); 733 #define vp9_variance8x16 vp9_variance8x16_c
755 RTCD_EXTERN unsigned int (*vp9_variance8x16)(const uint8_t *src_ptr, int source_ stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
756 734
757 unsigned int vp9_variance8x4_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse); 735 unsigned int vp9_variance8x4_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
758 #define vp9_variance8x4 vp9_variance8x4_c 736 #define vp9_variance8x4 vp9_variance8x4_c
759 737
760 unsigned int vp9_variance8x8_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse); 738 unsigned int vp9_variance8x8_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
761 unsigned int vp9_variance8x8_mmx(const uint8_t *src_ptr, int source_stride, cons t uint8_t *ref_ptr, int ref_stride, unsigned int *sse); 739 #define vp9_variance8x8 vp9_variance8x8_c
762 RTCD_EXTERN unsigned int (*vp9_variance8x8)(const uint8_t *src_ptr, int source_s tride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
763 740
764 void vp9_rtcd(void); 741 void vp9_rtcd(void);
765 742
766 #ifdef RTCD_C 743 #ifdef RTCD_C
767 #include "vpx_ports/x86.h" 744 #include "vpx_ports/x86.h"
768 static void setup_rtcd_internal(void) 745 static void setup_rtcd_internal(void)
769 { 746 {
770 int flags = x86_simd_caps(); 747 int flags = x86_simd_caps();
771 748
772 (void)flags; 749 (void)flags;
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
809 if (flags & HAS_SSE2) vp9_fdct8x8_1 = vp9_fdct8x8_1_sse2; 786 if (flags & HAS_SSE2) vp9_fdct8x8_1 = vp9_fdct8x8_1_sse2;
810 vp9_fht16x16 = vp9_fht16x16_c; 787 vp9_fht16x16 = vp9_fht16x16_c;
811 if (flags & HAS_SSE2) vp9_fht16x16 = vp9_fht16x16_sse2; 788 if (flags & HAS_SSE2) vp9_fht16x16 = vp9_fht16x16_sse2;
812 vp9_fht4x4 = vp9_fht4x4_c; 789 vp9_fht4x4 = vp9_fht4x4_c;
813 if (flags & HAS_SSE2) vp9_fht4x4 = vp9_fht4x4_sse2; 790 if (flags & HAS_SSE2) vp9_fht4x4 = vp9_fht4x4_sse2;
814 vp9_fht8x8 = vp9_fht8x8_c; 791 vp9_fht8x8 = vp9_fht8x8_c;
815 if (flags & HAS_SSE2) vp9_fht8x8 = vp9_fht8x8_sse2; 792 if (flags & HAS_SSE2) vp9_fht8x8 = vp9_fht8x8_sse2;
816 vp9_full_search_sad = vp9_full_search_sad_c; 793 vp9_full_search_sad = vp9_full_search_sad_c;
817 if (flags & HAS_SSE3) vp9_full_search_sad = vp9_full_search_sadx3; 794 if (flags & HAS_SSE3) vp9_full_search_sad = vp9_full_search_sadx3;
818 if (flags & HAS_SSE4_1) vp9_full_search_sad = vp9_full_search_sadx8; 795 if (flags & HAS_SSE4_1) vp9_full_search_sad = vp9_full_search_sadx8;
819 vp9_get8x8var = vp9_get8x8var_c;
820 if (flags & HAS_MMX) vp9_get8x8var = vp9_get8x8var_mmx;
821 vp9_get_mb_ss = vp9_get_mb_ss_c;
822 if (flags & HAS_MMX) vp9_get_mb_ss = vp9_get_mb_ss_mmx;
823 if (flags & HAS_SSE2) vp9_get_mb_ss = vp9_get_mb_ss_sse2;
824 vp9_idct16x16_10_add = vp9_idct16x16_10_add_c; 796 vp9_idct16x16_10_add = vp9_idct16x16_10_add_c;
825 if (flags & HAS_SSE2) vp9_idct16x16_10_add = vp9_idct16x16_10_add_sse2; 797 if (flags & HAS_SSE2) vp9_idct16x16_10_add = vp9_idct16x16_10_add_sse2;
826 if (flags & HAS_SSSE3) vp9_idct16x16_10_add = vp9_idct16x16_10_add_ssse3; 798 if (flags & HAS_SSSE3) vp9_idct16x16_10_add = vp9_idct16x16_10_add_ssse3;
827 vp9_idct16x16_1_add = vp9_idct16x16_1_add_c; 799 vp9_idct16x16_1_add = vp9_idct16x16_1_add_c;
828 if (flags & HAS_SSE2) vp9_idct16x16_1_add = vp9_idct16x16_1_add_sse2; 800 if (flags & HAS_SSE2) vp9_idct16x16_1_add = vp9_idct16x16_1_add_sse2;
829 vp9_idct16x16_256_add = vp9_idct16x16_256_add_c; 801 vp9_idct16x16_256_add = vp9_idct16x16_256_add_c;
830 if (flags & HAS_SSE2) vp9_idct16x16_256_add = vp9_idct16x16_256_add_sse2; 802 if (flags & HAS_SSE2) vp9_idct16x16_256_add = vp9_idct16x16_256_add_sse2;
831 if (flags & HAS_SSSE3) vp9_idct16x16_256_add = vp9_idct16x16_256_add_ssse3; 803 if (flags & HAS_SSSE3) vp9_idct16x16_256_add = vp9_idct16x16_256_add_ssse3;
832 vp9_idct32x32_1024_add = vp9_idct32x32_1024_add_c; 804 vp9_idct32x32_1024_add = vp9_idct32x32_1024_add_c;
833 if (flags & HAS_SSE2) vp9_idct32x32_1024_add = vp9_idct32x32_1024_add_sse2; 805 if (flags & HAS_SSE2) vp9_idct32x32_1024_add = vp9_idct32x32_1024_add_sse2;
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
866 vp9_lpf_vertical_16_dual = vp9_lpf_vertical_16_dual_c; 838 vp9_lpf_vertical_16_dual = vp9_lpf_vertical_16_dual_c;
867 if (flags & HAS_SSE2) vp9_lpf_vertical_16_dual = vp9_lpf_vertical_16_dual_ss e2; 839 if (flags & HAS_SSE2) vp9_lpf_vertical_16_dual = vp9_lpf_vertical_16_dual_ss e2;
868 vp9_lpf_vertical_4 = vp9_lpf_vertical_4_c; 840 vp9_lpf_vertical_4 = vp9_lpf_vertical_4_c;
869 if (flags & HAS_MMX) vp9_lpf_vertical_4 = vp9_lpf_vertical_4_mmx; 841 if (flags & HAS_MMX) vp9_lpf_vertical_4 = vp9_lpf_vertical_4_mmx;
870 vp9_lpf_vertical_4_dual = vp9_lpf_vertical_4_dual_c; 842 vp9_lpf_vertical_4_dual = vp9_lpf_vertical_4_dual_c;
871 if (flags & HAS_SSE2) vp9_lpf_vertical_4_dual = vp9_lpf_vertical_4_dual_sse2 ; 843 if (flags & HAS_SSE2) vp9_lpf_vertical_4_dual = vp9_lpf_vertical_4_dual_sse2 ;
872 vp9_lpf_vertical_8 = vp9_lpf_vertical_8_c; 844 vp9_lpf_vertical_8 = vp9_lpf_vertical_8_c;
873 if (flags & HAS_SSE2) vp9_lpf_vertical_8 = vp9_lpf_vertical_8_sse2; 845 if (flags & HAS_SSE2) vp9_lpf_vertical_8 = vp9_lpf_vertical_8_sse2;
874 vp9_lpf_vertical_8_dual = vp9_lpf_vertical_8_dual_c; 846 vp9_lpf_vertical_8_dual = vp9_lpf_vertical_8_dual_c;
875 if (flags & HAS_SSE2) vp9_lpf_vertical_8_dual = vp9_lpf_vertical_8_dual_sse2 ; 847 if (flags & HAS_SSE2) vp9_lpf_vertical_8_dual = vp9_lpf_vertical_8_dual_sse2 ;
876 vp9_mse16x16 = vp9_mse16x16_c;
877 if (flags & HAS_MMX) vp9_mse16x16 = vp9_mse16x16_mmx;
878 vp9_sad16x16 = vp9_sad16x16_c;
879 if (flags & HAS_MMX) vp9_sad16x16 = vp9_sad16x16_mmx;
880 vp9_sad16x16x3 = vp9_sad16x16x3_c; 848 vp9_sad16x16x3 = vp9_sad16x16x3_c;
881 if (flags & HAS_SSE3) vp9_sad16x16x3 = vp9_sad16x16x3_sse3; 849 if (flags & HAS_SSE3) vp9_sad16x16x3 = vp9_sad16x16x3_sse3;
882 if (flags & HAS_SSSE3) vp9_sad16x16x3 = vp9_sad16x16x3_ssse3; 850 if (flags & HAS_SSSE3) vp9_sad16x16x3 = vp9_sad16x16x3_ssse3;
883 vp9_sad16x16x4d = vp9_sad16x16x4d_c; 851 vp9_sad16x16x4d = vp9_sad16x16x4d_c;
884 if (flags & HAS_SSE2) vp9_sad16x16x4d = vp9_sad16x16x4d_sse2; 852 if (flags & HAS_SSE2) vp9_sad16x16x4d = vp9_sad16x16x4d_sse2;
885 vp9_sad16x32x4d = vp9_sad16x32x4d_c; 853 vp9_sad16x32x4d = vp9_sad16x32x4d_c;
886 if (flags & HAS_SSE2) vp9_sad16x32x4d = vp9_sad16x32x4d_sse2; 854 if (flags & HAS_SSE2) vp9_sad16x32x4d = vp9_sad16x32x4d_sse2;
887 vp9_sad16x8 = vp9_sad16x8_c;
888 if (flags & HAS_MMX) vp9_sad16x8 = vp9_sad16x8_mmx;
889 vp9_sad16x8x3 = vp9_sad16x8x3_c; 855 vp9_sad16x8x3 = vp9_sad16x8x3_c;
890 if (flags & HAS_SSE3) vp9_sad16x8x3 = vp9_sad16x8x3_sse3; 856 if (flags & HAS_SSE3) vp9_sad16x8x3 = vp9_sad16x8x3_sse3;
891 if (flags & HAS_SSSE3) vp9_sad16x8x3 = vp9_sad16x8x3_ssse3; 857 if (flags & HAS_SSSE3) vp9_sad16x8x3 = vp9_sad16x8x3_ssse3;
892 vp9_sad16x8x4d = vp9_sad16x8x4d_c; 858 vp9_sad16x8x4d = vp9_sad16x8x4d_c;
893 if (flags & HAS_SSE2) vp9_sad16x8x4d = vp9_sad16x8x4d_sse2; 859 if (flags & HAS_SSE2) vp9_sad16x8x4d = vp9_sad16x8x4d_sse2;
894 vp9_sad32x16x4d = vp9_sad32x16x4d_c; 860 vp9_sad32x16x4d = vp9_sad32x16x4d_c;
895 if (flags & HAS_SSE2) vp9_sad32x16x4d = vp9_sad32x16x4d_sse2; 861 if (flags & HAS_SSE2) vp9_sad32x16x4d = vp9_sad32x16x4d_sse2;
896 vp9_sad32x32x4d = vp9_sad32x32x4d_c; 862 vp9_sad32x32x4d = vp9_sad32x32x4d_c;
897 if (flags & HAS_SSE2) vp9_sad32x32x4d = vp9_sad32x32x4d_sse2; 863 if (flags & HAS_SSE2) vp9_sad32x32x4d = vp9_sad32x32x4d_sse2;
898 vp9_sad32x64x4d = vp9_sad32x64x4d_c; 864 vp9_sad32x64x4d = vp9_sad32x64x4d_c;
899 if (flags & HAS_SSE2) vp9_sad32x64x4d = vp9_sad32x64x4d_sse2; 865 if (flags & HAS_SSE2) vp9_sad32x64x4d = vp9_sad32x64x4d_sse2;
900 vp9_sad4x4 = vp9_sad4x4_c;
901 if (flags & HAS_MMX) vp9_sad4x4 = vp9_sad4x4_mmx;
902 vp9_sad4x4x3 = vp9_sad4x4x3_c; 866 vp9_sad4x4x3 = vp9_sad4x4x3_c;
903 if (flags & HAS_SSE3) vp9_sad4x4x3 = vp9_sad4x4x3_sse3; 867 if (flags & HAS_SSE3) vp9_sad4x4x3 = vp9_sad4x4x3_sse3;
904 vp9_sad4x4x4d = vp9_sad4x4x4d_c; 868 vp9_sad4x4x4d = vp9_sad4x4x4d_c;
905 if (flags & HAS_SSE) vp9_sad4x4x4d = vp9_sad4x4x4d_sse; 869 if (flags & HAS_SSE) vp9_sad4x4x4d = vp9_sad4x4x4d_sse;
906 vp9_sad4x8x4d = vp9_sad4x8x4d_c; 870 vp9_sad4x8x4d = vp9_sad4x8x4d_c;
907 if (flags & HAS_SSE) vp9_sad4x8x4d = vp9_sad4x8x4d_sse; 871 if (flags & HAS_SSE) vp9_sad4x8x4d = vp9_sad4x8x4d_sse;
908 vp9_sad64x32x4d = vp9_sad64x32x4d_c; 872 vp9_sad64x32x4d = vp9_sad64x32x4d_c;
909 if (flags & HAS_SSE2) vp9_sad64x32x4d = vp9_sad64x32x4d_sse2; 873 if (flags & HAS_SSE2) vp9_sad64x32x4d = vp9_sad64x32x4d_sse2;
910 vp9_sad64x64x4d = vp9_sad64x64x4d_c; 874 vp9_sad64x64x4d = vp9_sad64x64x4d_c;
911 if (flags & HAS_SSE2) vp9_sad64x64x4d = vp9_sad64x64x4d_sse2; 875 if (flags & HAS_SSE2) vp9_sad64x64x4d = vp9_sad64x64x4d_sse2;
912 vp9_sad8x16 = vp9_sad8x16_c;
913 if (flags & HAS_MMX) vp9_sad8x16 = vp9_sad8x16_mmx;
914 vp9_sad8x16x3 = vp9_sad8x16x3_c; 876 vp9_sad8x16x3 = vp9_sad8x16x3_c;
915 if (flags & HAS_SSE3) vp9_sad8x16x3 = vp9_sad8x16x3_sse3; 877 if (flags & HAS_SSE3) vp9_sad8x16x3 = vp9_sad8x16x3_sse3;
916 vp9_sad8x16x4d = vp9_sad8x16x4d_c; 878 vp9_sad8x16x4d = vp9_sad8x16x4d_c;
917 if (flags & HAS_SSE2) vp9_sad8x16x4d = vp9_sad8x16x4d_sse2; 879 if (flags & HAS_SSE2) vp9_sad8x16x4d = vp9_sad8x16x4d_sse2;
918 vp9_sad8x4x4d = vp9_sad8x4x4d_c; 880 vp9_sad8x4x4d = vp9_sad8x4x4d_c;
919 if (flags & HAS_SSE2) vp9_sad8x4x4d = vp9_sad8x4x4d_sse2; 881 if (flags & HAS_SSE2) vp9_sad8x4x4d = vp9_sad8x4x4d_sse2;
920 vp9_sad8x8 = vp9_sad8x8_c;
921 if (flags & HAS_MMX) vp9_sad8x8 = vp9_sad8x8_mmx;
922 vp9_sad8x8x3 = vp9_sad8x8x3_c; 882 vp9_sad8x8x3 = vp9_sad8x8x3_c;
923 if (flags & HAS_SSE3) vp9_sad8x8x3 = vp9_sad8x8x3_sse3; 883 if (flags & HAS_SSE3) vp9_sad8x8x3 = vp9_sad8x8x3_sse3;
924 vp9_sad8x8x4d = vp9_sad8x8x4d_c; 884 vp9_sad8x8x4d = vp9_sad8x8x4d_c;
925 if (flags & HAS_SSE2) vp9_sad8x8x4d = vp9_sad8x8x4d_sse2; 885 if (flags & HAS_SSE2) vp9_sad8x8x4d = vp9_sad8x8x4d_sse2;
926 vp9_temporal_filter_apply = vp9_temporal_filter_apply_c; 886 vp9_temporal_filter_apply = vp9_temporal_filter_apply_c;
927 if (flags & HAS_SSE2) vp9_temporal_filter_apply = vp9_temporal_filter_apply_ sse2; 887 if (flags & HAS_SSE2) vp9_temporal_filter_apply = vp9_temporal_filter_apply_ sse2;
928 vp9_variance16x16 = vp9_variance16x16_c;
929 if (flags & HAS_MMX) vp9_variance16x16 = vp9_variance16x16_mmx;
930 vp9_variance16x8 = vp9_variance16x8_c;
931 if (flags & HAS_MMX) vp9_variance16x8 = vp9_variance16x8_mmx;
932 vp9_variance4x4 = vp9_variance4x4_c;
933 if (flags & HAS_MMX) vp9_variance4x4 = vp9_variance4x4_mmx;
934 vp9_variance8x16 = vp9_variance8x16_c;
935 if (flags & HAS_MMX) vp9_variance8x16 = vp9_variance8x16_mmx;
936 vp9_variance8x8 = vp9_variance8x8_c;
937 if (flags & HAS_MMX) vp9_variance8x8 = vp9_variance8x8_mmx;
938 } 888 }
939 #endif 889 #endif
940 890
941 #ifdef __cplusplus 891 #ifdef __cplusplus
942 } // extern "C" 892 } // extern "C"
943 #endif 893 #endif
944 894
945 #endif 895 #endif
OLDNEW
« no previous file with comments | « source/config/mac/ia32/vp8_rtcd.h ('k') | source/config/mac/ia32/vpx_config.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698