Home
last modified time | relevance | path

Searched refs:coeff_idx (Results 1 – 3 of 3) sorted by relevance

/external/libaom/libaom/av1/common/
Dtxb_common.h263 const int coeff_idx, // raster order in get_nz_map_ctx_from_stats() argument
266 if ((tx_class | coeff_idx) == 0) return 0; in get_nz_map_ctx_from_stats()
282 return ctx + av1_nz_map_ctx_offset[tx_size][coeff_idx]; in get_nz_map_ctx_from_stats()
285 const int row = coeff_idx >> bwl; in get_nz_map_ctx_from_stats()
286 const int col = coeff_idx - (row << bwl); in get_nz_map_ctx_from_stats()
290 const int row = coeff_idx >> bwl; in get_nz_map_ctx_from_stats()
308 static INLINE int get_lower_levels_ctx_2d(const uint8_t *levels, int coeff_idx, in get_lower_levels_ctx_2d() argument
310 assert(coeff_idx > 0); in get_lower_levels_ctx_2d()
313 levels = levels + get_padded_idx(coeff_idx, bwl); in get_lower_levels_ctx_2d()
321 return ctx + av1_nz_map_ctx_offset[tx_size][coeff_idx]; in get_lower_levels_ctx_2d()
[all …]
/external/libaom/libaom/av1/encoder/
Dencodetxb.c110 static INLINE tran_low_t qcoeff_to_dqcoeff(tran_low_t qc, int coeff_idx, in qcoeff_to_dqcoeff() argument
116 ((iqmatrix[coeff_idx] * dqv) + (1 << (AOM_QM_BITS - 1))) >> AOM_QM_BITS; in qcoeff_to_dqcoeff()
268 static INLINE int get_sign_bit_cost(tran_low_t qc, int coeff_idx, argument
271 if (coeff_idx == 0) {
354 const int coeff_idx, const int bwl, argument
365 get_nz_mag(levels + get_padded_idx(coeff_idx, bwl), bwl, tx_class);
366 return get_nz_map_ctx_from_stats(stats, coeff_idx, bwl, tx_size, tx_class);
375 const int coeff_idx = scan[scan_idx]; local
376 const tran_low_t qc = txb_info->qcoeff[coeff_idx];
387 const tran_low_t tqc = txb_info->tcoeff[coeff_idx];
[all …]
/external/libaom/libaom/av1/decoder/
Ddecodetxb.c53 static INLINE int get_dqv(const int16_t *dequant, int coeff_idx, in get_dqv() argument
55 int dqv = dequant[!!coeff_idx]; in get_dqv()
58 ((iqmatrix[coeff_idx] * dqv) + (1 << (AOM_QM_BITS - 1))) >> AOM_QM_BITS; in get_dqv()