Home
last modified time | relevance | path

Searched refs:tx_class (Results 1 – 6 of 6) sorted by relevance

/external/libaom/libaom/av1/common/
Dtxb_common.h164 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/
Dencodetxb.c161 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/
Dscan_test.cc110 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()
Dencodetxb_test.cc38 const TX_CLASS tx_class,
68 const TX_CLASS tx_class = tx_type_to_class[tx_type]; in GetNzMapContextsRun() local
83 tx_class, coeff_contexts_ref_); in GetNzMapContextsRun()
85 tx_class, coeff_contexts_); in GetNzMapContextsRun()
90 << " tx_class " << tx_class << " width " << real_width in GetNzMapContextsRun()
111 const TX_CLASS tx_class = tx_type_to_class[tx_type]; in SpeedTestGetNzMapContextsRun() local
122 tx_class, coeff_contexts_); in SpeedTestGetNzMapContextsRun()
/external/libaom/libaom/av1/decoder/
Ddecodetxb.c87 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()
164 const TX_CLASS tx_class = tx_type_to_class[tx_type]; in av1_read_coeffs_txb() local
176 const int eob_multi_ctx = (tx_class == TX_CLASS_2D) ? 0 : 1; in av1_read_coeffs_txb()
258 const int br_ctx = get_br_ctx_eob(pos, bwl, tx_class); in av1_read_coeffs_txb()
272 if (tx_class == TX_CLASS_2D) { in av1_read_coeffs_txb()
275 read_coeffs_reverse(r, tx_size, tx_class, 0, 0, scan, bwl, levels, in av1_read_coeffs_txb()
278 read_coeffs_reverse(r, tx_size, tx_class, 0, *eob - 1 - 1, scan, bwl, in av1_read_coeffs_txb()
/external/libaom/libaom/av1/encoder/x86/
Dencodetxb_sse2.c437 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()