| Index: source/config/linux/x64/vp9_rtcd.h
|
| ===================================================================
|
| --- source/config/linux/x64/vp9_rtcd.h (revision 292608)
|
| +++ source/config/linux/x64/vp9_rtcd.h (working copy)
|
| @@ -12,8 +12,8 @@
|
| */
|
|
|
| #include "vpx/vpx_integer.h"
|
| +#include "vp9/common/vp9_common.h"
|
| #include "vp9/common/vp9_enums.h"
|
| -#include "vp9/common/vp9_idct.h"
|
|
|
| struct macroblockd;
|
|
|
| @@ -29,6 +29,10 @@
|
| extern "C" {
|
| #endif
|
|
|
| +unsigned int vp9_avg_8x8_c(const uint8_t *, int p);
|
| +unsigned int vp9_avg_8x8_sse2(const uint8_t *, int p);
|
| +#define vp9_avg_8x8 vp9_avg_8x8_sse2
|
| +
|
| int64_t vp9_block_error_c(const tran_low_t *coeff, const tran_low_t *dqcoeff, intptr_t block_size, int64_t *ssz);
|
| int64_t vp9_block_error_sse2(const tran_low_t *coeff, const tran_low_t *dqcoeff, intptr_t block_size, int64_t *ssz);
|
| #define vp9_block_error vp9_block_error_sse2
|
| @@ -429,6 +433,7 @@
|
| #define vp9_mse8x8 vp9_mse8x8_sse2
|
|
|
| void vp9_quantize_b_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_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_ptr, const int16_t *scan, const int16_t *iscan);
|
| +void vp9_quantize_b_sse2(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_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_ptr, const int16_t *scan, const int16_t *iscan);
|
| void vp9_quantize_b_ssse3(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_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_ptr, const int16_t *scan, const int16_t *iscan);
|
| RTCD_EXTERN void (*vp9_quantize_b)(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_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_ptr, const int16_t *scan, const int16_t *iscan);
|
|
|
| @@ -953,7 +958,7 @@
|
| if (flags & HAS_SSSE3) vp9_idct8x8_12_add = vp9_idct8x8_12_add_ssse3;
|
| vp9_idct8x8_64_add = vp9_idct8x8_64_add_sse2;
|
| if (flags & HAS_SSSE3) vp9_idct8x8_64_add = vp9_idct8x8_64_add_ssse3;
|
| - vp9_quantize_b = vp9_quantize_b_c;
|
| + vp9_quantize_b = vp9_quantize_b_sse2;
|
| if (flags & HAS_SSSE3) vp9_quantize_b = vp9_quantize_b_ssse3;
|
| vp9_quantize_b_32x32 = vp9_quantize_b_32x32_c;
|
| if (flags & HAS_SSSE3) vp9_quantize_b_32x32 = vp9_quantize_b_32x32_ssse3;
|
|
|