/external/libaom/libaom/av1/common/ |
D | txb_common.h | 164 const TX_CLASS tx_class) { in get_br_ctx_eob() argument 168 if ((tx_class == TX_CLASS_2D && row < 2 && col < 2) || in get_br_ctx_eob() 169 (tx_class == TX_CLASS_HORIZ && col == 0) || in get_br_ctx_eob() 170 (tx_class == TX_CLASS_VERT && row == 0)) in get_br_ctx_eob() 177 const int bwl, const TX_CLASS tx_class) { in get_br_ctx() argument 184 switch (tx_class) { in get_br_ctx() 223 const int bwl, const TX_CLASS tx_class) { in get_nz_mag() argument 230 if (tx_class == TX_CLASS_2D) { in get_nz_mag() 234 } else if (tx_class == TX_CLASS_VERT) { in get_nz_mag() 264 const int bwl, const TX_SIZE tx_size, const TX_CLASS tx_class) { in get_nz_map_ctx_from_stats() argument [all …]
|
/external/libaom/libaom/av1/encoder/ |
D | encodetxb.c | 161 TX_CLASS tx_class, PLANE_TYPE plane, argument 165 void av1_update_eob_context(int eob, TX_SIZE tx_size, TX_CLASS tx_class, 174 const int eob_multi_ctx = (tx_class == TX_CLASS_2D) ? 0 : 1; 250 const LV_MAP_COEFF_COST *txb_costs, TX_CLASS tx_class) { argument 254 const int eob_multi_ctx = (tx_class == TX_CLASS_2D) ? 0 : 1; 327 const int coeff_ctx, const TX_CLASS tx_class) { argument 346 get_br_ctx(txb_info->levels, pos, txb_info->bwl, tx_class); 357 const TX_CLASS tx_class) { 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); [all …]
|
/external/libaom/libaom/test/ |
D | scan_test.cc | 110 TX_CLASS tx_class = tx_type_to_class[(TX_TYPE)tx_type]; in TEST() local 111 if (tx_class == TX_CLASS_2D) { in TEST() 119 } else if (tx_class == TX_CLASS_VERT) { in TEST() 122 assert(tx_class == TX_CLASS_HORIZ); in TEST() 128 << "scan mismatch tx_class " << tx_class << " tx_type " << tx_type in TEST()
|
D | encodetxb_test.cc | 39 const TX_CLASS tx_class, 69 const TX_CLASS tx_class = tx_type_to_class[tx_type]; in GetNzMapContextsRun() local 84 tx_class, coeff_contexts_ref_); in GetNzMapContextsRun() 86 tx_class, coeff_contexts_); in GetNzMapContextsRun() 91 << " tx_class " << tx_class << " width " << real_width in GetNzMapContextsRun() 112 const TX_CLASS tx_class = tx_type_to_class[tx_type]; in SpeedTestGetNzMapContextsRun() local 123 tx_class, coeff_contexts_); in SpeedTestGetNzMapContextsRun()
|
/external/libaom/libaom/av1/decoder/ |
D | decodetxb.c | 87 TX_CLASS tx_class, int start_si, in read_coeffs_reverse() argument 94 get_lower_levels_ctx(levels, pos, bwl, tx_size, tx_class); in read_coeffs_reverse() 98 const int br_ctx = get_br_ctx(levels, pos, bwl, tx_class); in read_coeffs_reverse() 163 const TX_CLASS tx_class = tx_type_to_class[tx_type]; in av1_read_coeffs_txb() local 172 const int eob_multi_ctx = (tx_class == TX_CLASS_2D) ? 0 : 1; in av1_read_coeffs_txb() 254 const int br_ctx = get_br_ctx_eob(pos, bwl, tx_class); in av1_read_coeffs_txb() 268 if (tx_class == TX_CLASS_2D) { in av1_read_coeffs_txb() 271 read_coeffs_reverse(r, tx_size, tx_class, 0, 0, scan, bwl, levels, in av1_read_coeffs_txb() 274 read_coeffs_reverse(r, tx_size, tx_class, 0, *eob - 1 - 1, scan, bwl, in av1_read_coeffs_txb()
|
/external/libgav1/libgav1/src/ |
D | reconstruction.cc | 57 const TransformClass tx_class = GetTransformClass(tx_type); in GetNumRows() local 59 switch (tx_class) { in GetNumRows() 96 assert(tx_class == kTransformClassVertical); in GetNumRows()
|
/external/libaom/libaom/av1/encoder/x86/ |
D | encodetxb_sse2.c | 437 const TX_CLASS tx_class, in av1_get_nz_map_contexts_sse2() argument 455 if (tx_class == TX_CLASS_2D) { in av1_get_nz_map_contexts_sse2() 471 } else if (tx_class == TX_CLASS_HORIZ) { in av1_get_nz_map_contexts_sse2()
|
/external/libgav1/libgav1/src/tile/ |
D | tile.cc | 397 TransformClass tx_class) { in GetCoeffBaseRangeContextEob() argument 408 return 14 >> ((static_cast<int>(tx_class == kTransformClass2D) & in GetCoeffBaseRangeContextEob() 410 (tx_class & static_cast<int>(column == 0)) | in GetCoeffBaseRangeContextEob() 411 ((tx_class >> 1) & static_cast<int>(row == 0))); in GetCoeffBaseRangeContextEob() 1413 const TransformClass tx_class = GetTransformClass(*tx_type); in ReadTransformCoefficients() local 1414 context = static_cast<int>(tx_class != kTransformClass2D); in ReadTransformCoefficients() 1462 const uint16_t* scan = kScan[tx_class][tx_size]; in ReadTransformCoefficients() 1479 adjusted_tx_width_log2, pos, tx_class)]); in ReadTransformCoefficients() 1497 (this->*kGetCoeffBaseFunc[tx_class])( in ReadTransformCoefficients()
|