| 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 10 matching lines...) Expand all Loading... |
| 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 int64_t vp9_block_error_sse2(const int16_t *coeff, const int16_t *dqcoeff, intpt
r_t block_size, int64_t *ssz); | 32 int64_t vp9_block_error_sse2(const int16_t *coeff, const int16_t *dqcoeff, intpt
r_t block_size, int64_t *ssz); |
| 42 #define vp9_block_error vp9_block_error_sse2 | 33 #define vp9_block_error vp9_block_error_sse2 |
| 43 | 34 |
| 44 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); | 35 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); |
| 45 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); | 36 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); |
| 46 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); | 37 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); |
| 47 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); | 38 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); |
| 48 | 39 |
| 49 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); | 40 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); |
| (...skipping 230 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 280 | 271 |
| 281 void vp9_fwht4x4_c(const int16_t *input, int16_t *output, int stride); | 272 void vp9_fwht4x4_c(const int16_t *input, int16_t *output, int stride); |
| 282 void vp9_fwht4x4_mmx(const int16_t *input, int16_t *output, int stride); | 273 void vp9_fwht4x4_mmx(const int16_t *input, int16_t *output, int stride); |
| 283 #define vp9_fwht4x4 vp9_fwht4x4_mmx | 274 #define vp9_fwht4x4 vp9_fwht4x4_mmx |
| 284 | 275 |
| 285 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); | 276 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); |
| 286 void vp9_get16x16var_sse2(const uint8_t *src_ptr, int source_stride, const uint8
_t *ref_ptr, int ref_stride, unsigned int *sse, int *sum); | 277 void vp9_get16x16var_sse2(const uint8_t *src_ptr, int source_stride, const uint8
_t *ref_ptr, int ref_stride, unsigned int *sse, int *sum); |
| 287 #define vp9_get16x16var vp9_get16x16var_sse2 | 278 #define vp9_get16x16var vp9_get16x16var_sse2 |
| 288 | 279 |
| 289 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); | 280 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); |
| 290 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); | |
| 291 void vp9_get8x8var_sse2(const uint8_t *src_ptr, int source_stride, const uint8_t
*ref_ptr, int ref_stride, unsigned int *sse, int *sum); | 281 void vp9_get8x8var_sse2(const uint8_t *src_ptr, int source_stride, const uint8_t
*ref_ptr, int ref_stride, unsigned int *sse, int *sum); |
| 292 #define vp9_get8x8var vp9_get8x8var_sse2 | 282 #define vp9_get8x8var vp9_get8x8var_sse2 |
| 293 | 283 |
| 294 unsigned int vp9_get_mb_ss_c(const int16_t *); | 284 unsigned int vp9_get_mb_ss_c(const int16_t *); |
| 295 unsigned int vp9_get_mb_ss_mmx(const int16_t *); | |
| 296 unsigned int vp9_get_mb_ss_sse2(const int16_t *); | 285 unsigned int vp9_get_mb_ss_sse2(const int16_t *); |
| 297 #define vp9_get_mb_ss vp9_get_mb_ss_sse2 | 286 #define vp9_get_mb_ss vp9_get_mb_ss_sse2 |
| 298 | 287 |
| 299 void vp9_h_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *ab
ove, const uint8_t *left); | 288 void vp9_h_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *ab
ove, const uint8_t *left); |
| 300 void vp9_h_predictor_16x16_ssse3(uint8_t *dst, ptrdiff_t y_stride, const uint8_t
*above, const uint8_t *left); | 289 void vp9_h_predictor_16x16_ssse3(uint8_t *dst, ptrdiff_t y_stride, const uint8_t
*above, const uint8_t *left); |
| 301 RTCD_EXTERN void (*vp9_h_predictor_16x16)(uint8_t *dst, ptrdiff_t y_stride, cons
t uint8_t *above, const uint8_t *left); | 290 RTCD_EXTERN void (*vp9_h_predictor_16x16)(uint8_t *dst, ptrdiff_t y_stride, cons
t uint8_t *above, const uint8_t *left); |
| 302 | 291 |
| 303 void vp9_h_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *ab
ove, const uint8_t *left); | 292 void vp9_h_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *ab
ove, const uint8_t *left); |
| 304 void vp9_h_predictor_32x32_ssse3(uint8_t *dst, ptrdiff_t y_stride, const uint8_t
*above, const uint8_t *left); | 293 void vp9_h_predictor_32x32_ssse3(uint8_t *dst, ptrdiff_t y_stride, const uint8_t
*above, const uint8_t *left); |
| 305 RTCD_EXTERN void (*vp9_h_predictor_32x32)(uint8_t *dst, ptrdiff_t y_stride, cons
t uint8_t *above, const uint8_t *left); | 294 RTCD_EXTERN void (*vp9_h_predictor_32x32)(uint8_t *dst, ptrdiff_t y_stride, cons
t uint8_t *above, const uint8_t *left); |
| (...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 416 | 405 |
| 417 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); | 406 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); |
| 418 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); | 407 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); |
| 419 #define vp9_lpf_vertical_8 vp9_lpf_vertical_8_sse2 | 408 #define vp9_lpf_vertical_8 vp9_lpf_vertical_8_sse2 |
| 420 | 409 |
| 421 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); | 410 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); |
| 422 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); | 411 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); |
| 423 #define vp9_lpf_vertical_8_dual vp9_lpf_vertical_8_dual_sse2 | 412 #define vp9_lpf_vertical_8_dual vp9_lpf_vertical_8_dual_sse2 |
| 424 | 413 |
| 425 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); | 414 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); |
| 426 unsigned int vp9_mse16x16_mmx(const uint8_t *src_ptr, int source_stride, const
uint8_t *ref_ptr, int recon_stride, unsigned int *sse); | |
| 427 unsigned int vp9_mse16x16_sse2(const uint8_t *src_ptr, int source_stride, const
uint8_t *ref_ptr, int recon_stride, unsigned int *sse); | 415 unsigned int vp9_mse16x16_sse2(const uint8_t *src_ptr, int source_stride, const
uint8_t *ref_ptr, int recon_stride, unsigned int *sse); |
| 428 #define vp9_mse16x16 vp9_mse16x16_sse2 | 416 #define vp9_mse16x16 vp9_mse16x16_sse2 |
| 429 | 417 |
| 430 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); | 418 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); |
| 431 #define vp9_mse16x8 vp9_mse16x8_c | 419 unsigned int vp9_mse16x8_sse2(const uint8_t *src_ptr, int source_stride, const
uint8_t *ref_ptr, int recon_stride, unsigned int *sse); |
| 420 #define vp9_mse16x8 vp9_mse16x8_sse2 |
| 432 | 421 |
| 433 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); | 422 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); |
| 434 #define vp9_mse8x16 vp9_mse8x16_c | 423 unsigned int vp9_mse8x16_sse2(const uint8_t *src_ptr, int source_stride, const
uint8_t *ref_ptr, int recon_stride, unsigned int *sse); |
| 424 #define vp9_mse8x16 vp9_mse8x16_sse2 |
| 435 | 425 |
| 436 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); | 426 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); |
| 437 #define vp9_mse8x8 vp9_mse8x8_c | 427 unsigned int vp9_mse8x8_sse2(const uint8_t *src_ptr, int source_stride, const u
int8_t *ref_ptr, int recon_stride, unsigned int *sse); |
| 428 #define vp9_mse8x8 vp9_mse8x8_sse2 |
| 438 | 429 |
| 439 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); | 430 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); |
| 440 void vp9_quantize_b_ssse3(const int16_t *coeff_ptr, intptr_t n_coeffs, int skip_
block, const int16_t *zbin_ptr, const int16_t *round_ptr, const int16_t *quant_p
tr, const int16_t *quant_shift_ptr, int16_t *qcoeff_ptr, int16_t *dqcoeff_ptr, c
onst int16_t *dequant_ptr, int zbin_oq_value, uint16_t *eob_ptr, const int16_t *
scan, const int16_t *iscan); | 431 void vp9_quantize_b_ssse3(const int16_t *coeff_ptr, intptr_t n_coeffs, int skip_
block, const int16_t *zbin_ptr, const int16_t *round_ptr, const int16_t *quant_p
tr, const int16_t *quant_shift_ptr, int16_t *qcoeff_ptr, int16_t *dqcoeff_ptr, c
onst int16_t *dequant_ptr, int zbin_oq_value, uint16_t *eob_ptr, const int16_t *
scan, const int16_t *iscan); |
| 441 RTCD_EXTERN void (*vp9_quantize_b)(const int16_t *coeff_ptr, intptr_t n_coeffs,
int skip_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 *dqcoe
ff_ptr, const int16_t *dequant_ptr, int zbin_oq_value, uint16_t *eob_ptr, const
int16_t *scan, const int16_t *iscan); | 432 RTCD_EXTERN void (*vp9_quantize_b)(const int16_t *coeff_ptr, intptr_t n_coeffs,
int skip_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 *dqcoe
ff_ptr, const int16_t *dequant_ptr, int zbin_oq_value, uint16_t *eob_ptr, const
int16_t *scan, const int16_t *iscan); |
| 442 | 433 |
| 443 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); | 434 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); |
| 444 void vp9_quantize_b_32x32_ssse3(const int16_t *coeff_ptr, intptr_t n_coeffs, int
skip_block, const int16_t *zbin_ptr, const int16_t *round_ptr, const int16_t *q
uant_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 int
16_t *scan, const int16_t *iscan); | 435 void vp9_quantize_b_32x32_ssse3(const int16_t *coeff_ptr, intptr_t n_coeffs, int
skip_block, const int16_t *zbin_ptr, const int16_t *round_ptr, const int16_t *q
uant_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 int
16_t *scan, const int16_t *iscan); |
| 445 RTCD_EXTERN void (*vp9_quantize_b_32x32)(const int16_t *coeff_ptr, intptr_t n_co
effs, int skip_block, const int16_t *zbin_ptr, const int16_t *round_ptr, const i
nt16_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); | 436 RTCD_EXTERN void (*vp9_quantize_b_32x32)(const int16_t *coeff_ptr, intptr_t n_co
effs, int skip_block, const int16_t *zbin_ptr, const int16_t *round_ptr, const i
nt16_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); |
| 446 | 437 |
| 447 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); | 438 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); |
| 448 void vp9_quantize_fp_ssse3(const int16_t *coeff_ptr, intptr_t n_coeffs, int skip
_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); | 439 void vp9_quantize_fp_ssse3(const int16_t *coeff_ptr, intptr_t n_coeffs, int skip
_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); |
| 449 RTCD_EXTERN void (*vp9_quantize_fp)(const int16_t *coeff_ptr, intptr_t n_coeffs,
int skip_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 *dqco
eff_ptr, const int16_t *dequant_ptr, int zbin_oq_value, uint16_t *eob_ptr, const
int16_t *scan, const int16_t *iscan); | 440 RTCD_EXTERN void (*vp9_quantize_fp)(const int16_t *coeff_ptr, intptr_t n_coeffs,
int skip_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 *dqco
eff_ptr, const int16_t *dequant_ptr, int zbin_oq_value, uint16_t *eob_ptr, const
int16_t *scan, const int16_t *iscan); |
| 450 | 441 |
| 451 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); | 442 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); |
| 452 void vp9_quantize_fp_32x32_ssse3(const int16_t *coeff_ptr, intptr_t n_coeffs, in
t skip_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 in
t16_t *scan, const int16_t *iscan); | 443 void vp9_quantize_fp_32x32_ssse3(const int16_t *coeff_ptr, intptr_t n_coeffs, in
t skip_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 in
t16_t *scan, const int16_t *iscan); |
| 453 RTCD_EXTERN void (*vp9_quantize_fp_32x32)(const int16_t *coeff_ptr, intptr_t n_c
oeffs, int skip_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); | 444 RTCD_EXTERN void (*vp9_quantize_fp_32x32)(const int16_t *coeff_ptr, intptr_t n_c
oeffs, int skip_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); |
| 454 | 445 |
| 455 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); | 446 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); |
| 456 #define vp9_refining_search_sad vp9_refining_search_sad_c | 447 #define vp9_refining_search_sad vp9_refining_search_sad_c |
| 457 | 448 |
| 458 unsigned int vp9_sad16x16_c(const uint8_t *src_ptr, int source_stride, const uin
t8_t *ref_ptr, int ref_stride); | 449 unsigned int vp9_sad16x16_c(const uint8_t *src_ptr, int source_stride, const uin
t8_t *ref_ptr, int ref_stride); |
| 459 unsigned int vp9_sad16x16_mmx(const uint8_t *src_ptr, int source_stride, const u
int8_t *ref_ptr, int ref_stride); | |
| 460 unsigned int vp9_sad16x16_sse2(const uint8_t *src_ptr, int source_stride, const
uint8_t *ref_ptr, int ref_stride); | 450 unsigned int vp9_sad16x16_sse2(const uint8_t *src_ptr, int source_stride, const
uint8_t *ref_ptr, int ref_stride); |
| 461 #define vp9_sad16x16 vp9_sad16x16_sse2 | 451 #define vp9_sad16x16 vp9_sad16x16_sse2 |
| 462 | 452 |
| 463 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); | 453 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); |
| 464 unsigned int vp9_sad16x16_avg_sse2(const uint8_t *src_ptr, int source_stride, co
nst uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred); | 454 unsigned int vp9_sad16x16_avg_sse2(const uint8_t *src_ptr, int source_stride, co
nst uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred); |
| 465 #define vp9_sad16x16_avg vp9_sad16x16_avg_sse2 | 455 #define vp9_sad16x16_avg vp9_sad16x16_avg_sse2 |
| 466 | 456 |
| 467 void vp9_sad16x16x3_c(const uint8_t *src_ptr, int source_stride, const uint8_t *
ref_ptr, int ref_stride, unsigned int *sad_array); | 457 void vp9_sad16x16x3_c(const uint8_t *src_ptr, int source_stride, const uint8_t *
ref_ptr, int ref_stride, unsigned int *sad_array); |
| 468 void vp9_sad16x16x3_sse3(const uint8_t *src_ptr, int source_stride, const uint8_
t *ref_ptr, int ref_stride, unsigned int *sad_array); | 458 void vp9_sad16x16x3_sse3(const uint8_t *src_ptr, int source_stride, const uint8_
t *ref_ptr, int ref_stride, unsigned int *sad_array); |
| 469 void vp9_sad16x16x3_ssse3(const uint8_t *src_ptr, int source_stride, const uint8
_t *ref_ptr, int ref_stride, unsigned int *sad_array); | 459 void vp9_sad16x16x3_ssse3(const uint8_t *src_ptr, int source_stride, const uint8
_t *ref_ptr, int ref_stride, unsigned int *sad_array); |
| (...skipping 12 matching lines...) Expand all Loading... |
| 482 | 472 |
| 483 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); | 473 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); |
| 484 unsigned int vp9_sad16x32_avg_sse2(const uint8_t *src_ptr, int source_stride, co
nst uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred); | 474 unsigned int vp9_sad16x32_avg_sse2(const uint8_t *src_ptr, int source_stride, co
nst uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred); |
| 485 #define vp9_sad16x32_avg vp9_sad16x32_avg_sse2 | 475 #define vp9_sad16x32_avg vp9_sad16x32_avg_sse2 |
| 486 | 476 |
| 487 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); | 477 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); |
| 488 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); | 478 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); |
| 489 #define vp9_sad16x32x4d vp9_sad16x32x4d_sse2 | 479 #define vp9_sad16x32x4d vp9_sad16x32x4d_sse2 |
| 490 | 480 |
| 491 unsigned int vp9_sad16x8_c(const uint8_t *src_ptr, int source_stride, const uint
8_t *ref_ptr, int ref_stride); | 481 unsigned int vp9_sad16x8_c(const uint8_t *src_ptr, int source_stride, const uint
8_t *ref_ptr, int ref_stride); |
| 492 unsigned int vp9_sad16x8_mmx(const uint8_t *src_ptr, int source_stride, const ui
nt8_t *ref_ptr, int ref_stride); | |
| 493 unsigned int vp9_sad16x8_sse2(const uint8_t *src_ptr, int source_stride, const u
int8_t *ref_ptr, int ref_stride); | 482 unsigned int vp9_sad16x8_sse2(const uint8_t *src_ptr, int source_stride, const u
int8_t *ref_ptr, int ref_stride); |
| 494 #define vp9_sad16x8 vp9_sad16x8_sse2 | 483 #define vp9_sad16x8 vp9_sad16x8_sse2 |
| 495 | 484 |
| 496 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); | 485 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); |
| 497 unsigned int vp9_sad16x8_avg_sse2(const uint8_t *src_ptr, int source_stride, con
st uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred); | 486 unsigned int vp9_sad16x8_avg_sse2(const uint8_t *src_ptr, int source_stride, con
st uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred); |
| 498 #define vp9_sad16x8_avg vp9_sad16x8_avg_sse2 | 487 #define vp9_sad16x8_avg vp9_sad16x8_avg_sse2 |
| 499 | 488 |
| 500 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); | 489 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); |
| 501 void vp9_sad16x8x3_sse3(const uint8_t *src_ptr, int source_stride, const uint8_t
*ref_ptr, int ref_stride, unsigned int *sad_array); | 490 void vp9_sad16x8x3_sse3(const uint8_t *src_ptr, int source_stride, const uint8_t
*ref_ptr, int ref_stride, unsigned int *sad_array); |
| 502 void vp9_sad16x8x3_ssse3(const uint8_t *src_ptr, int source_stride, const uint8_
t *ref_ptr, int ref_stride, unsigned int *sad_array); | 491 void vp9_sad16x8x3_ssse3(const uint8_t *src_ptr, int source_stride, const uint8_
t *ref_ptr, int ref_stride, unsigned int *sad_array); |
| (...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 545 | 534 |
| 546 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); | 535 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); |
| 547 unsigned int vp9_sad32x64_avg_sse2(const uint8_t *src_ptr, int source_stride, co
nst uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred); | 536 unsigned int vp9_sad32x64_avg_sse2(const uint8_t *src_ptr, int source_stride, co
nst uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred); |
| 548 #define vp9_sad32x64_avg vp9_sad32x64_avg_sse2 | 537 #define vp9_sad32x64_avg vp9_sad32x64_avg_sse2 |
| 549 | 538 |
| 550 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); | 539 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); |
| 551 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); | 540 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); |
| 552 #define vp9_sad32x64x4d vp9_sad32x64x4d_sse2 | 541 #define vp9_sad32x64x4d vp9_sad32x64x4d_sse2 |
| 553 | 542 |
| 554 unsigned int vp9_sad4x4_c(const uint8_t *src_ptr, int source_stride, const uint8
_t *ref_ptr, int ref_stride); | 543 unsigned int vp9_sad4x4_c(const uint8_t *src_ptr, int source_stride, const uint8
_t *ref_ptr, int ref_stride); |
| 555 unsigned int vp9_sad4x4_mmx(const uint8_t *src_ptr, int source_stride, const uin
t8_t *ref_ptr, int ref_stride); | |
| 556 unsigned int vp9_sad4x4_sse(const uint8_t *src_ptr, int source_stride, const uin
t8_t *ref_ptr, int ref_stride); | 544 unsigned int vp9_sad4x4_sse(const uint8_t *src_ptr, int source_stride, const uin
t8_t *ref_ptr, int ref_stride); |
| 557 #define vp9_sad4x4 vp9_sad4x4_sse | 545 #define vp9_sad4x4 vp9_sad4x4_sse |
| 558 | 546 |
| 559 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); | 547 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); |
| 560 unsigned int vp9_sad4x4_avg_sse(const uint8_t *src_ptr, int source_stride, const
uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred); | 548 unsigned int vp9_sad4x4_avg_sse(const uint8_t *src_ptr, int source_stride, const
uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred); |
| 561 #define vp9_sad4x4_avg vp9_sad4x4_avg_sse | 549 #define vp9_sad4x4_avg vp9_sad4x4_avg_sse |
| 562 | 550 |
| 563 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); | 551 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); |
| 564 void vp9_sad4x4x3_sse3(const uint8_t *src_ptr, int source_stride, const uint8_t
*ref_ptr, int ref_stride, unsigned int *sad_array); | 552 void vp9_sad4x4x3_sse3(const uint8_t *src_ptr, int source_stride, const uint8_t
*ref_ptr, int ref_stride, unsigned int *sad_array); |
| 565 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); | 553 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); |
| (...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 610 #define vp9_sad64x64x3 vp9_sad64x64x3_c | 598 #define vp9_sad64x64x3 vp9_sad64x64x3_c |
| 611 | 599 |
| 612 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); | 600 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); |
| 613 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); | 601 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); |
| 614 #define vp9_sad64x64x4d vp9_sad64x64x4d_sse2 | 602 #define vp9_sad64x64x4d vp9_sad64x64x4d_sse2 |
| 615 | 603 |
| 616 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); | 604 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); |
| 617 #define vp9_sad64x64x8 vp9_sad64x64x8_c | 605 #define vp9_sad64x64x8 vp9_sad64x64x8_c |
| 618 | 606 |
| 619 unsigned int vp9_sad8x16_c(const uint8_t *src_ptr, int source_stride, const uint
8_t *ref_ptr, int ref_stride); | 607 unsigned int vp9_sad8x16_c(const uint8_t *src_ptr, int source_stride, const uint
8_t *ref_ptr, int ref_stride); |
| 620 unsigned int vp9_sad8x16_mmx(const uint8_t *src_ptr, int source_stride, const ui
nt8_t *ref_ptr, int ref_stride); | |
| 621 unsigned int vp9_sad8x16_sse2(const uint8_t *src_ptr, int source_stride, const u
int8_t *ref_ptr, int ref_stride); | 608 unsigned int vp9_sad8x16_sse2(const uint8_t *src_ptr, int source_stride, const u
int8_t *ref_ptr, int ref_stride); |
| 622 #define vp9_sad8x16 vp9_sad8x16_sse2 | 609 #define vp9_sad8x16 vp9_sad8x16_sse2 |
| 623 | 610 |
| 624 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); | 611 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); |
| 625 unsigned int vp9_sad8x16_avg_sse2(const uint8_t *src_ptr, int source_stride, con
st uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred); | 612 unsigned int vp9_sad8x16_avg_sse2(const uint8_t *src_ptr, int source_stride, con
st uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred); |
| 626 #define vp9_sad8x16_avg vp9_sad8x16_avg_sse2 | 613 #define vp9_sad8x16_avg vp9_sad8x16_avg_sse2 |
| 627 | 614 |
| 628 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); | 615 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); |
| 629 void vp9_sad8x16x3_sse3(const uint8_t *src_ptr, int source_stride, const uint8_t
*ref_ptr, int ref_stride, unsigned int *sad_array); | 616 void vp9_sad8x16x3_sse3(const uint8_t *src_ptr, int source_stride, const uint8_t
*ref_ptr, int ref_stride, unsigned int *sad_array); |
| 630 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); | 617 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); |
| (...skipping 14 matching lines...) Expand all Loading... |
| 645 #define vp9_sad8x4_avg vp9_sad8x4_avg_sse2 | 632 #define vp9_sad8x4_avg vp9_sad8x4_avg_sse2 |
| 646 | 633 |
| 647 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); | 634 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); |
| 648 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); | 635 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); |
| 649 #define vp9_sad8x4x4d vp9_sad8x4x4d_sse2 | 636 #define vp9_sad8x4x4d vp9_sad8x4x4d_sse2 |
| 650 | 637 |
| 651 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); | 638 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); |
| 652 #define vp9_sad8x4x8 vp9_sad8x4x8_c | 639 #define vp9_sad8x4x8 vp9_sad8x4x8_c |
| 653 | 640 |
| 654 unsigned int vp9_sad8x8_c(const uint8_t *src_ptr, int source_stride, const uint8
_t *ref_ptr, int ref_stride); | 641 unsigned int vp9_sad8x8_c(const uint8_t *src_ptr, int source_stride, const uint8
_t *ref_ptr, int ref_stride); |
| 655 unsigned int vp9_sad8x8_mmx(const uint8_t *src_ptr, int source_stride, const uin
t8_t *ref_ptr, int ref_stride); | |
| 656 unsigned int vp9_sad8x8_sse2(const uint8_t *src_ptr, int source_stride, const ui
nt8_t *ref_ptr, int ref_stride); | 642 unsigned int vp9_sad8x8_sse2(const uint8_t *src_ptr, int source_stride, const ui
nt8_t *ref_ptr, int ref_stride); |
| 657 #define vp9_sad8x8 vp9_sad8x8_sse2 | 643 #define vp9_sad8x8 vp9_sad8x8_sse2 |
| 658 | 644 |
| 659 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); | 645 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); |
| 660 unsigned int vp9_sad8x8_avg_sse2(const uint8_t *src_ptr, int source_stride, cons
t uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred); | 646 unsigned int vp9_sad8x8_avg_sse2(const uint8_t *src_ptr, int source_stride, cons
t uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred); |
| 661 #define vp9_sad8x8_avg vp9_sad8x8_avg_sse2 | 647 #define vp9_sad8x8_avg vp9_sad8x8_avg_sse2 |
| 662 | 648 |
| 663 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); | 649 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); |
| 664 void vp9_sad8x8x3_sse3(const uint8_t *src_ptr, int source_stride, const uint8_t
*ref_ptr, int ref_stride, unsigned int *sad_array); | 650 void vp9_sad8x8x3_sse3(const uint8_t *src_ptr, int source_stride, const uint8_t
*ref_ptr, int ref_stride, unsigned int *sad_array); |
| 665 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); | 651 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); |
| (...skipping 169 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 835 | 821 |
| 836 void vp9_v_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *abov
e, const uint8_t *left); | 822 void vp9_v_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *abov
e, const uint8_t *left); |
| 837 void vp9_v_predictor_4x4_sse(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *ab
ove, const uint8_t *left); | 823 void vp9_v_predictor_4x4_sse(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *ab
ove, const uint8_t *left); |
| 838 #define vp9_v_predictor_4x4 vp9_v_predictor_4x4_sse | 824 #define vp9_v_predictor_4x4 vp9_v_predictor_4x4_sse |
| 839 | 825 |
| 840 void vp9_v_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *abov
e, const uint8_t *left); | 826 void vp9_v_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *abov
e, const uint8_t *left); |
| 841 void vp9_v_predictor_8x8_sse(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *ab
ove, const uint8_t *left); | 827 void vp9_v_predictor_8x8_sse(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *ab
ove, const uint8_t *left); |
| 842 #define vp9_v_predictor_8x8 vp9_v_predictor_8x8_sse | 828 #define vp9_v_predictor_8x8 vp9_v_predictor_8x8_sse |
| 843 | 829 |
| 844 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); | 830 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); |
| 845 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); | |
| 846 unsigned int vp9_variance16x16_sse2(const uint8_t *src_ptr, int source_stride, c
onst uint8_t *ref_ptr, int ref_stride, unsigned int *sse); | 831 unsigned int vp9_variance16x16_sse2(const uint8_t *src_ptr, int source_stride, c
onst uint8_t *ref_ptr, int ref_stride, unsigned int *sse); |
| 847 #define vp9_variance16x16 vp9_variance16x16_sse2 | 832 #define vp9_variance16x16 vp9_variance16x16_sse2 |
| 848 | 833 |
| 849 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); | 834 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); |
| 850 unsigned int vp9_variance16x32_sse2(const uint8_t *src_ptr, int source_stride, c
onst uint8_t *ref_ptr, int ref_stride, unsigned int *sse); | 835 unsigned int vp9_variance16x32_sse2(const uint8_t *src_ptr, int source_stride, c
onst uint8_t *ref_ptr, int ref_stride, unsigned int *sse); |
| 851 #define vp9_variance16x32 vp9_variance16x32_sse2 | 836 #define vp9_variance16x32 vp9_variance16x32_sse2 |
| 852 | 837 |
| 853 unsigned int vp9_variance16x8_c(const uint8_t *src_ptr, int source_stride, const
uint8_t *ref_ptr, int ref_stride, unsigned int *sse); | 838 unsigned int vp9_variance16x8_c(const uint8_t *src_ptr, int source_stride, const
uint8_t *ref_ptr, int ref_stride, unsigned int *sse); |
| 854 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); | |
| 855 unsigned int vp9_variance16x8_sse2(const uint8_t *src_ptr, int source_stride, co
nst uint8_t *ref_ptr, int ref_stride, unsigned int *sse); | 839 unsigned int vp9_variance16x8_sse2(const uint8_t *src_ptr, int source_stride, co
nst uint8_t *ref_ptr, int ref_stride, unsigned int *sse); |
| 856 #define vp9_variance16x8 vp9_variance16x8_sse2 | 840 #define vp9_variance16x8 vp9_variance16x8_sse2 |
| 857 | 841 |
| 858 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); | 842 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); |
| 859 unsigned int vp9_variance32x16_sse2(const uint8_t *src_ptr, int source_stride, c
onst uint8_t *ref_ptr, int ref_stride, unsigned int *sse); | 843 unsigned int vp9_variance32x16_sse2(const uint8_t *src_ptr, int source_stride, c
onst uint8_t *ref_ptr, int ref_stride, unsigned int *sse); |
| 860 #define vp9_variance32x16 vp9_variance32x16_sse2 | 844 #define vp9_variance32x16 vp9_variance32x16_sse2 |
| 861 | 845 |
| 862 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); | 846 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); |
| 863 unsigned int vp9_variance32x32_sse2(const uint8_t *src_ptr, int source_stride, c
onst uint8_t *ref_ptr, int ref_stride, unsigned int *sse); | 847 unsigned int vp9_variance32x32_sse2(const uint8_t *src_ptr, int source_stride, c
onst uint8_t *ref_ptr, int ref_stride, unsigned int *sse); |
| 864 #define vp9_variance32x32 vp9_variance32x32_sse2 | 848 #define vp9_variance32x32 vp9_variance32x32_sse2 |
| 865 | 849 |
| 866 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); | 850 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); |
| 867 unsigned int vp9_variance32x64_sse2(const uint8_t *src_ptr, int source_stride, c
onst uint8_t *ref_ptr, int ref_stride, unsigned int *sse); | 851 unsigned int vp9_variance32x64_sse2(const uint8_t *src_ptr, int source_stride, c
onst uint8_t *ref_ptr, int ref_stride, unsigned int *sse); |
| 868 #define vp9_variance32x64 vp9_variance32x64_sse2 | 852 #define vp9_variance32x64 vp9_variance32x64_sse2 |
| 869 | 853 |
| 870 unsigned int vp9_variance4x4_c(const uint8_t *src_ptr, int source_stride, const
uint8_t *ref_ptr, int ref_stride, unsigned int *sse); | 854 unsigned int vp9_variance4x4_c(const uint8_t *src_ptr, int source_stride, const
uint8_t *ref_ptr, int ref_stride, unsigned int *sse); |
| 871 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); | |
| 872 unsigned int vp9_variance4x4_sse2(const uint8_t *src_ptr, int source_stride, con
st uint8_t *ref_ptr, int ref_stride, unsigned int *sse); | 855 unsigned int vp9_variance4x4_sse2(const uint8_t *src_ptr, int source_stride, con
st uint8_t *ref_ptr, int ref_stride, unsigned int *sse); |
| 873 #define vp9_variance4x4 vp9_variance4x4_sse2 | 856 #define vp9_variance4x4 vp9_variance4x4_sse2 |
| 874 | 857 |
| 875 unsigned int vp9_variance4x8_c(const uint8_t *src_ptr, int source_stride, const
uint8_t *ref_ptr, int ref_stride, unsigned int *sse); | 858 unsigned int vp9_variance4x8_c(const uint8_t *src_ptr, int source_stride, const
uint8_t *ref_ptr, int ref_stride, unsigned int *sse); |
| 876 unsigned int vp9_variance4x8_sse2(const uint8_t *src_ptr, int source_stride, con
st uint8_t *ref_ptr, int ref_stride, unsigned int *sse); | 859 unsigned int vp9_variance4x8_sse2(const uint8_t *src_ptr, int source_stride, con
st uint8_t *ref_ptr, int ref_stride, unsigned int *sse); |
| 877 #define vp9_variance4x8 vp9_variance4x8_sse2 | 860 #define vp9_variance4x8 vp9_variance4x8_sse2 |
| 878 | 861 |
| 879 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); | 862 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); |
| 880 unsigned int vp9_variance64x32_sse2(const uint8_t *src_ptr, int source_stride, c
onst uint8_t *ref_ptr, int ref_stride, unsigned int *sse); | 863 unsigned int vp9_variance64x32_sse2(const uint8_t *src_ptr, int source_stride, c
onst uint8_t *ref_ptr, int ref_stride, unsigned int *sse); |
| 881 #define vp9_variance64x32 vp9_variance64x32_sse2 | 864 #define vp9_variance64x32 vp9_variance64x32_sse2 |
| 882 | 865 |
| 883 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); | 866 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); |
| 884 unsigned int vp9_variance64x64_sse2(const uint8_t *src_ptr, int source_stride, c
onst uint8_t *ref_ptr, int ref_stride, unsigned int *sse); | 867 unsigned int vp9_variance64x64_sse2(const uint8_t *src_ptr, int source_stride, c
onst uint8_t *ref_ptr, int ref_stride, unsigned int *sse); |
| 885 #define vp9_variance64x64 vp9_variance64x64_sse2 | 868 #define vp9_variance64x64 vp9_variance64x64_sse2 |
| 886 | 869 |
| 887 unsigned int vp9_variance8x16_c(const uint8_t *src_ptr, int source_stride, const
uint8_t *ref_ptr, int ref_stride, unsigned int *sse); | 870 unsigned int vp9_variance8x16_c(const uint8_t *src_ptr, int source_stride, const
uint8_t *ref_ptr, int ref_stride, unsigned int *sse); |
| 888 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); | |
| 889 unsigned int vp9_variance8x16_sse2(const uint8_t *src_ptr, int source_stride, co
nst uint8_t *ref_ptr, int ref_stride, unsigned int *sse); | 871 unsigned int vp9_variance8x16_sse2(const uint8_t *src_ptr, int source_stride, co
nst uint8_t *ref_ptr, int ref_stride, unsigned int *sse); |
| 890 #define vp9_variance8x16 vp9_variance8x16_sse2 | 872 #define vp9_variance8x16 vp9_variance8x16_sse2 |
| 891 | 873 |
| 892 unsigned int vp9_variance8x4_c(const uint8_t *src_ptr, int source_stride, const
uint8_t *ref_ptr, int ref_stride, unsigned int *sse); | 874 unsigned int vp9_variance8x4_c(const uint8_t *src_ptr, int source_stride, const
uint8_t *ref_ptr, int ref_stride, unsigned int *sse); |
| 893 unsigned int vp9_variance8x4_sse2(const uint8_t *src_ptr, int source_stride, con
st uint8_t *ref_ptr, int ref_stride, unsigned int *sse); | 875 unsigned int vp9_variance8x4_sse2(const uint8_t *src_ptr, int source_stride, con
st uint8_t *ref_ptr, int ref_stride, unsigned int *sse); |
| 894 #define vp9_variance8x4 vp9_variance8x4_sse2 | 876 #define vp9_variance8x4 vp9_variance8x4_sse2 |
| 895 | 877 |
| 896 unsigned int vp9_variance8x8_c(const uint8_t *src_ptr, int source_stride, const
uint8_t *ref_ptr, int ref_stride, unsigned int *sse); | 878 unsigned int vp9_variance8x8_c(const uint8_t *src_ptr, int source_stride, const
uint8_t *ref_ptr, int ref_stride, unsigned int *sse); |
| 897 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); | |
| 898 unsigned int vp9_variance8x8_sse2(const uint8_t *src_ptr, int source_stride, con
st uint8_t *ref_ptr, int ref_stride, unsigned int *sse); | 879 unsigned int vp9_variance8x8_sse2(const uint8_t *src_ptr, int source_stride, con
st uint8_t *ref_ptr, int ref_stride, unsigned int *sse); |
| 899 #define vp9_variance8x8 vp9_variance8x8_sse2 | 880 #define vp9_variance8x8 vp9_variance8x8_sse2 |
| 900 | 881 |
| 901 void vp9_rtcd(void); | 882 void vp9_rtcd(void); |
| 902 | 883 |
| 903 #ifdef RTCD_C | 884 #ifdef RTCD_C |
| 904 #include "vpx_ports/x86.h" | 885 #include "vpx_ports/x86.h" |
| 905 static void setup_rtcd_internal(void) | 886 static void setup_rtcd_internal(void) |
| 906 { | 887 { |
| 907 int flags = x86_simd_caps(); | 888 int flags = x86_simd_caps(); |
| (...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1044 vp9_sub_pixel_variance8x8 = vp9_sub_pixel_variance8x8_sse2; | 1025 vp9_sub_pixel_variance8x8 = vp9_sub_pixel_variance8x8_sse2; |
| 1045 if (flags & HAS_SSSE3) vp9_sub_pixel_variance8x8 = vp9_sub_pixel_variance8x8
_ssse3; | 1026 if (flags & HAS_SSSE3) vp9_sub_pixel_variance8x8 = vp9_sub_pixel_variance8x8
_ssse3; |
| 1046 } | 1027 } |
| 1047 #endif | 1028 #endif |
| 1048 | 1029 |
| 1049 #ifdef __cplusplus | 1030 #ifdef __cplusplus |
| 1050 } // extern "C" | 1031 } // extern "C" |
| 1051 #endif | 1032 #endif |
| 1052 | 1033 |
| 1053 #endif | 1034 #endif |
| OLD | NEW |