OLD | NEW |
1 #ifndef VP9_RTCD_H_ | 1 #ifndef VP9_RTCD_H_ |
2 #define VP9_RTCD_H_ | 2 #define VP9_RTCD_H_ |
3 | 3 |
4 #ifdef RTCD_C | 4 #ifdef RTCD_C |
5 #define RTCD_EXTERN | 5 #define RTCD_EXTERN |
6 #else | 6 #else |
7 #define RTCD_EXTERN extern | 7 #define RTCD_EXTERN extern |
8 #endif | 8 #endif |
9 | 9 |
10 /* | 10 /* |
(...skipping 239 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
250 RTCD_EXTERN void (*vp9_fdct4x4_1)(const int16_t *input, tran_low_t *output, int
stride); | 250 RTCD_EXTERN void (*vp9_fdct4x4_1)(const int16_t *input, tran_low_t *output, int
stride); |
251 | 251 |
252 void vp9_fdct8x8_c(const int16_t *input, tran_low_t *output, int stride); | 252 void vp9_fdct8x8_c(const int16_t *input, tran_low_t *output, int stride); |
253 void vp9_fdct8x8_sse2(const int16_t *input, tran_low_t *output, int stride); | 253 void vp9_fdct8x8_sse2(const int16_t *input, tran_low_t *output, int stride); |
254 RTCD_EXTERN void (*vp9_fdct8x8)(const int16_t *input, tran_low_t *output, int st
ride); | 254 RTCD_EXTERN void (*vp9_fdct8x8)(const int16_t *input, tran_low_t *output, int st
ride); |
255 | 255 |
256 void vp9_fdct8x8_1_c(const int16_t *input, tran_low_t *output, int stride); | 256 void vp9_fdct8x8_1_c(const int16_t *input, tran_low_t *output, int stride); |
257 void vp9_fdct8x8_1_sse2(const int16_t *input, tran_low_t *output, int stride); | 257 void vp9_fdct8x8_1_sse2(const int16_t *input, tran_low_t *output, int stride); |
258 RTCD_EXTERN void (*vp9_fdct8x8_1)(const int16_t *input, tran_low_t *output, int
stride); | 258 RTCD_EXTERN void (*vp9_fdct8x8_1)(const int16_t *input, tran_low_t *output, int
stride); |
259 | 259 |
260 void vp9_fdct8x8_quant_c(const int16_t *input, int stride, tran_low_t *coeff_ptr
, intptr_t n_coeffs, int skip_block, const int16_t *zbin_ptr, const int16_t *rou
nd_ptr, const int16_t *quant_ptr, const int16_t *quant_shift_ptr, tran_low_t *qc
oeff_ptr, tran_low_t *dqcoeff_ptr, const int16_t *dequant_ptr, int zbin_oq_value
, uint16_t *eob_ptr, const int16_t *scan, const int16_t *iscan); | 260 void vp9_fdct8x8_quant_c(const int16_t *input, int stride, tran_low_t *coeff_ptr
, intptr_t n_coeffs, int skip_block, const int16_t *zbin_ptr, const int16_t *rou
nd_ptr, const int16_t *quant_ptr, const int16_t *quant_shift_ptr, tran_low_t *qc
oeff_ptr, tran_low_t *dqcoeff_ptr, const int16_t *dequant_ptr, uint16_t *eob_ptr
, const int16_t *scan, const int16_t *iscan); |
261 void vp9_fdct8x8_quant_sse2(const int16_t *input, int stride, tran_low_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, tran_low_t
*qcoeff_ptr, tran_low_t *dqcoeff_ptr, const int16_t *dequant_ptr, int zbin_oq_va
lue, uint16_t *eob_ptr, const int16_t *scan, const int16_t *iscan); | 261 void vp9_fdct8x8_quant_sse2(const int16_t *input, int stride, tran_low_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, tran_low_t
*qcoeff_ptr, tran_low_t *dqcoeff_ptr, const int16_t *dequant_ptr, uint16_t *eob_
ptr, const int16_t *scan, const int16_t *iscan); |
262 void vp9_fdct8x8_quant_ssse3(const int16_t *input, int stride, tran_low_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, tran_low_t
*qcoeff_ptr, tran_low_t *dqcoeff_ptr, const int16_t *dequant_ptr, int zbin_oq_v
alue, uint16_t *eob_ptr, const int16_t *scan, const int16_t *iscan); | 262 void vp9_fdct8x8_quant_ssse3(const int16_t *input, int stride, tran_low_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, tran_low_t
*qcoeff_ptr, tran_low_t *dqcoeff_ptr, const int16_t *dequant_ptr, uint16_t *eob
_ptr, const int16_t *scan, const int16_t *iscan); |
263 RTCD_EXTERN void (*vp9_fdct8x8_quant)(const int16_t *input, int stride, tran_low
_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, t
ran_low_t *qcoeff_ptr, tran_low_t *dqcoeff_ptr, const int16_t *dequant_ptr, int
zbin_oq_value, uint16_t *eob_ptr, const int16_t *scan, const int16_t *iscan); | 263 RTCD_EXTERN void (*vp9_fdct8x8_quant)(const int16_t *input, int stride, tran_low
_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, t
ran_low_t *qcoeff_ptr, tran_low_t *dqcoeff_ptr, const int16_t *dequant_ptr, uint
16_t *eob_ptr, const int16_t *scan, const int16_t *iscan); |
264 | 264 |
265 void vp9_fht16x16_c(const int16_t *input, tran_low_t *output, int stride, int tx
_type); | 265 void vp9_fht16x16_c(const int16_t *input, tran_low_t *output, int stride, int tx
_type); |
266 void vp9_fht16x16_sse2(const int16_t *input, tran_low_t *output, int stride, int
tx_type); | 266 void vp9_fht16x16_sse2(const int16_t *input, tran_low_t *output, int stride, int
tx_type); |
267 RTCD_EXTERN void (*vp9_fht16x16)(const int16_t *input, tran_low_t *output, int s
tride, int tx_type); | 267 RTCD_EXTERN void (*vp9_fht16x16)(const int16_t *input, tran_low_t *output, int s
tride, int tx_type); |
268 | 268 |
269 void vp9_fht4x4_c(const int16_t *input, tran_low_t *output, int stride, int tx_t
ype); | 269 void vp9_fht4x4_c(const int16_t *input, tran_low_t *output, int stride, int tx_t
ype); |
270 void vp9_fht4x4_sse2(const int16_t *input, tran_low_t *output, int stride, int t
x_type); | 270 void vp9_fht4x4_sse2(const int16_t *input, tran_low_t *output, int stride, int t
x_type); |
271 RTCD_EXTERN void (*vp9_fht4x4)(const int16_t *input, tran_low_t *output, int str
ide, int tx_type); | 271 RTCD_EXTERN void (*vp9_fht4x4)(const int16_t *input, tran_low_t *output, int str
ide, int tx_type); |
272 | 272 |
273 void vp9_fht8x8_c(const int16_t *input, tran_low_t *output, int stride, int tx_t
ype); | 273 void vp9_fht8x8_c(const int16_t *input, tran_low_t *output, int stride, int tx_t
ype); |
(...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
431 RTCD_EXTERN unsigned int (*vp9_mse16x8)(const uint8_t *src_ptr, int source_stri
de, const uint8_t *ref_ptr, int recon_stride, unsigned int *sse); | 431 RTCD_EXTERN unsigned int (*vp9_mse16x8)(const uint8_t *src_ptr, int source_stri
de, const uint8_t *ref_ptr, int recon_stride, unsigned int *sse); |
432 | 432 |
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); | 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); |
434 unsigned int vp9_mse8x16_sse2(const uint8_t *src_ptr, int source_stride, const
uint8_t *ref_ptr, int recon_stride, unsigned int *sse); | 434 unsigned int vp9_mse8x16_sse2(const uint8_t *src_ptr, int source_stride, const
uint8_t *ref_ptr, int recon_stride, unsigned int *sse); |
435 RTCD_EXTERN unsigned int (*vp9_mse8x16)(const uint8_t *src_ptr, int source_stri
de, const uint8_t *ref_ptr, int recon_stride, unsigned int *sse); | 435 RTCD_EXTERN unsigned int (*vp9_mse8x16)(const uint8_t *src_ptr, int source_stri
de, const uint8_t *ref_ptr, int recon_stride, unsigned int *sse); |
436 | 436 |
437 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 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); |
438 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); | 438 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); |
439 RTCD_EXTERN unsigned int (*vp9_mse8x8)(const uint8_t *src_ptr, int source_strid
e, const uint8_t *ref_ptr, int recon_stride, unsigned int *sse); | 439 RTCD_EXTERN unsigned int (*vp9_mse8x8)(const uint8_t *src_ptr, int source_strid
e, const uint8_t *ref_ptr, int recon_stride, unsigned int *sse); |
440 | 440 |
441 void vp9_quantize_b_c(const tran_low_t *coeff_ptr, intptr_t n_coeffs, int skip_b
lock, const int16_t *zbin_ptr, const int16_t *round_ptr, const int16_t *quant_pt
r, const int16_t *quant_shift_ptr, tran_low_t *qcoeff_ptr, tran_low_t *dqcoeff_p
tr, const int16_t *dequant_ptr, int zbin_oq_value, uint16_t *eob_ptr, const int1
6_t *scan, const int16_t *iscan); | 441 void vp9_quantize_b_c(const tran_low_t *coeff_ptr, intptr_t n_coeffs, int skip_b
lock, const int16_t *zbin_ptr, const int16_t *round_ptr, const int16_t *quant_pt
r, const int16_t *quant_shift_ptr, tran_low_t *qcoeff_ptr, tran_low_t *dqcoeff_p
tr, const int16_t *dequant_ptr, uint16_t *eob_ptr, const int16_t *scan, const in
t16_t *iscan); |
442 void vp9_quantize_b_sse2(const tran_low_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, tran_low_t *qcoeff_ptr, tran_low_t *dqcoef
f_ptr, const int16_t *dequant_ptr, int zbin_oq_value, uint16_t *eob_ptr, const i
nt16_t *scan, const int16_t *iscan); | 442 void vp9_quantize_b_sse2(const tran_low_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, tran_low_t *qcoeff_ptr, tran_low_t *dqcoef
f_ptr, const int16_t *dequant_ptr, uint16_t *eob_ptr, const int16_t *scan, const
int16_t *iscan); |
443 RTCD_EXTERN void (*vp9_quantize_b)(const tran_low_t *coeff_ptr, intptr_t n_coeff
s, int skip_block, const int16_t *zbin_ptr, const int16_t *round_ptr, const int1
6_t *quant_ptr, const int16_t *quant_shift_ptr, tran_low_t *qcoeff_ptr, tran_low
_t *dqcoeff_ptr, const int16_t *dequant_ptr, int zbin_oq_value, uint16_t *eob_pt
r, const int16_t *scan, const int16_t *iscan); | 443 RTCD_EXTERN void (*vp9_quantize_b)(const tran_low_t *coeff_ptr, intptr_t n_coeff
s, int skip_block, const int16_t *zbin_ptr, const int16_t *round_ptr, const int1
6_t *quant_ptr, const int16_t *quant_shift_ptr, tran_low_t *qcoeff_ptr, tran_low
_t *dqcoeff_ptr, const int16_t *dequant_ptr, uint16_t *eob_ptr, const int16_t *s
can, const int16_t *iscan); |
444 | 444 |
445 void vp9_quantize_b_32x32_c(const tran_low_t *coeff_ptr, intptr_t n_coeffs, int
skip_block, const int16_t *zbin_ptr, const int16_t *round_ptr, const int16_t *qu
ant_ptr, const int16_t *quant_shift_ptr, tran_low_t *qcoeff_ptr, tran_low_t *dqc
oeff_ptr, const int16_t *dequant_ptr, int zbin_oq_value, uint16_t *eob_ptr, cons
t int16_t *scan, const int16_t *iscan); | 445 void vp9_quantize_b_32x32_c(const tran_low_t *coeff_ptr, intptr_t n_coeffs, int
skip_block, const int16_t *zbin_ptr, const int16_t *round_ptr, const int16_t *qu
ant_ptr, const int16_t *quant_shift_ptr, tran_low_t *qcoeff_ptr, tran_low_t *dqc
oeff_ptr, const int16_t *dequant_ptr, uint16_t *eob_ptr, const int16_t *scan, co
nst int16_t *iscan); |
446 #define vp9_quantize_b_32x32 vp9_quantize_b_32x32_c | 446 #define vp9_quantize_b_32x32 vp9_quantize_b_32x32_c |
447 | 447 |
448 void vp9_quantize_fp_c(const tran_low_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, tran_low_t *qcoeff_ptr, tran_low_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); | 448 void vp9_quantize_fp_c(const tran_low_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, tran_low_t *qcoeff_ptr, tran_low_t *dqcoeff_
ptr, const int16_t *dequant_ptr, uint16_t *eob_ptr, const int16_t *scan, const i
nt16_t *iscan); |
449 void vp9_quantize_fp_sse2(const tran_low_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, tran_low_t *qcoeff_ptr, tran_low_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); | 449 void vp9_quantize_fp_sse2(const tran_low_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, tran_low_t *qcoeff_ptr, tran_low_t *dqcoe
ff_ptr, const int16_t *dequant_ptr, uint16_t *eob_ptr, const int16_t *scan, cons
t int16_t *iscan); |
450 RTCD_EXTERN void (*vp9_quantize_fp)(const tran_low_t *coeff_ptr, intptr_t n_coef
fs, int skip_block, const int16_t *zbin_ptr, const int16_t *round_ptr, const int
16_t *quant_ptr, const int16_t *quant_shift_ptr, tran_low_t *qcoeff_ptr, tran_lo
w_t *dqcoeff_ptr, const int16_t *dequant_ptr, int zbin_oq_value, uint16_t *eob_p
tr, const int16_t *scan, const int16_t *iscan); | 450 RTCD_EXTERN void (*vp9_quantize_fp)(const tran_low_t *coeff_ptr, intptr_t n_coef
fs, int skip_block, const int16_t *zbin_ptr, const int16_t *round_ptr, const int
16_t *quant_ptr, const int16_t *quant_shift_ptr, tran_low_t *qcoeff_ptr, tran_lo
w_t *dqcoeff_ptr, const int16_t *dequant_ptr, uint16_t *eob_ptr, const int16_t *
scan, const int16_t *iscan); |
451 | 451 |
452 void vp9_quantize_fp_32x32_c(const tran_low_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, tran_low_t *qcoeff_ptr, tran_low_t *dq
coeff_ptr, const int16_t *dequant_ptr, int zbin_oq_value, uint16_t *eob_ptr, con
st int16_t *scan, const int16_t *iscan); | 452 void vp9_quantize_fp_32x32_c(const tran_low_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, tran_low_t *qcoeff_ptr, tran_low_t *dq
coeff_ptr, const int16_t *dequant_ptr, uint16_t *eob_ptr, const int16_t *scan, c
onst int16_t *iscan); |
453 #define vp9_quantize_fp_32x32 vp9_quantize_fp_32x32_c | 453 #define vp9_quantize_fp_32x32 vp9_quantize_fp_32x32_c |
454 | 454 |
455 unsigned int vp9_sad16x16_c(const uint8_t *src_ptr, int source_stride, const uin
t8_t *ref_ptr, int ref_stride); | 455 unsigned int vp9_sad16x16_c(const uint8_t *src_ptr, int source_stride, const uin
t8_t *ref_ptr, int ref_stride); |
456 unsigned int vp9_sad16x16_sse2(const uint8_t *src_ptr, int source_stride, const
uint8_t *ref_ptr, int ref_stride); | 456 unsigned int vp9_sad16x16_sse2(const uint8_t *src_ptr, int source_stride, const
uint8_t *ref_ptr, int ref_stride); |
457 RTCD_EXTERN unsigned int (*vp9_sad16x16)(const uint8_t *src_ptr, int source_stri
de, const uint8_t *ref_ptr, int ref_stride); | 457 RTCD_EXTERN unsigned int (*vp9_sad16x16)(const uint8_t *src_ptr, int source_stri
de, const uint8_t *ref_ptr, int ref_stride); |
458 | 458 |
459 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); | 459 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); |
460 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); | 460 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); |
461 RTCD_EXTERN unsigned int (*vp9_sad16x16_avg)(const uint8_t *src_ptr, int source_
stride, const uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred); | 461 RTCD_EXTERN unsigned int (*vp9_sad16x16_avg)(const uint8_t *src_ptr, int source_
stride, const uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred); |
462 | 462 |
(...skipping 820 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1283 vp9_variance8x8 = vp9_variance8x8_c; | 1283 vp9_variance8x8 = vp9_variance8x8_c; |
1284 if (flags & HAS_SSE2) vp9_variance8x8 = vp9_variance8x8_sse2; | 1284 if (flags & HAS_SSE2) vp9_variance8x8 = vp9_variance8x8_sse2; |
1285 } | 1285 } |
1286 #endif | 1286 #endif |
1287 | 1287 |
1288 #ifdef __cplusplus | 1288 #ifdef __cplusplus |
1289 } // extern "C" | 1289 } // extern "C" |
1290 #endif | 1290 #endif |
1291 | 1291 |
1292 #endif | 1292 #endif |
OLD | NEW |