diff options
Diffstat (limited to 'third_party/libaom/source/libaom/av1/encoder/hybrid_fwd_txfm.h')
-rw-r--r-- | third_party/libaom/source/libaom/av1/encoder/hybrid_fwd_txfm.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/third_party/libaom/source/libaom/av1/encoder/hybrid_fwd_txfm.h b/third_party/libaom/source/libaom/av1/encoder/hybrid_fwd_txfm.h index daabc7119a..30f8a2258b 100644 --- a/third_party/libaom/source/libaom/av1/encoder/hybrid_fwd_txfm.h +++ b/third_party/libaom/source/libaom/av1/encoder/hybrid_fwd_txfm.h @@ -24,6 +24,15 @@ void av1_fwd_txfm(const int16_t *src_diff, tran_low_t *coeff, int diff_stride, void av1_highbd_fwd_txfm(const int16_t *src_diff, tran_low_t *coeff, int diff_stride, TxfmParam *txfm_param); +/*!\brief Apply Hadamard or DCT transform + * + * \callergraph + * DCT and Hadamard transforms are commonly used for quick RD score estimation. + * The coeff buffer's size should be equal to the number of pixels + * corresponding to tx_size. + */ +void av1_quick_txfm(int use_hadamard, TX_SIZE tx_size, BitDepthInfo bd_info, + const int16_t *src_diff, int src_stride, tran_low_t *coeff); #ifdef __cplusplus } // extern "C" #endif |