Home
last modified time | relevance | path

Searched refs:TX_SIZE (Results 1 – 25 of 129) sorted by relevance

123456

/external/libaom/test/
Dquantize_func_test.cc83 tuple<FuncType, FuncType, TX_SIZE, QuantType, aom_bit_depth_t>;
266 TX_SIZE tx_size_;
483 static_cast<TX_SIZE>(TX_16X16), TYPE_FP, AOM_BITS_8),
485 static_cast<TX_SIZE>(TX_32X32), TYPE_FP, AOM_BITS_8),
487 static_cast<TX_SIZE>(TX_64X64), TYPE_FP, AOM_BITS_8)
495 static_cast<TX_SIZE>(TX_16X16), TYPE_FP, AOM_BITS_8),
497 static_cast<TX_SIZE>(TX_4X16), TYPE_FP, AOM_BITS_8),
499 static_cast<TX_SIZE>(TX_16X4), TYPE_FP, AOM_BITS_8),
501 static_cast<TX_SIZE>(TX_32X8), TYPE_FP, AOM_BITS_8),
503 static_cast<TX_SIZE>(TX_8X32), TYPE_FP, AOM_BITS_8),
[all …]
Dcfl_test.cc30 make_tuple(static_cast<TX_SIZE>(TX_4X4), &function), \
31 make_tuple(static_cast<TX_SIZE>(TX_4X8), &function), \
32 make_tuple(static_cast<TX_SIZE>(TX_4X16), &function), \
33 make_tuple(static_cast<TX_SIZE>(TX_8X4), &function), \
34 make_tuple(static_cast<TX_SIZE>(TX_8X8), &function), \
35 make_tuple(static_cast<TX_SIZE>(TX_8X16), &function), \
36 make_tuple(static_cast<TX_SIZE>(TX_8X32), &function), \
37 make_tuple(static_cast<TX_SIZE>(TX_16X4), &function), \
38 make_tuple(static_cast<TX_SIZE>(TX_16X8), &function), \
39 make_tuple(static_cast<TX_SIZE>(TX_16X16), &function), \
[all …]
Dav1_fwd_txfm2d_test.cc36 typedef std::tuple<TX_TYPE, TX_SIZE, double, double> AV1FwdTxfm2dParam;
130 TX_SIZE tx_size_;
194 const TX_SIZE tx_size = static_cast<TX_SIZE>(s); in GetTxfm2dParamList()
216 if (libaom_test::IsTxSizeTypeValid(static_cast<TX_SIZE>(tx_size), in TEST()
223 static_cast<TX_SIZE>(tx_size), &cfg); in TEST()
241 void AV1FwdTxfm2dMatchTest(TX_SIZE tx_size, lowbd_fwd_txfm_func target_func) { in AV1FwdTxfm2dMatchTest()
276 param.tx_size = (TX_SIZE)tx_size; in AV1FwdTxfm2dMatchTest()
296 void AV1FwdTxfm2dSpeedTest(TX_SIZE tx_size, lowbd_fwd_txfm_func target_func) { in AV1FwdTxfm2dSpeedTest()
326 param.tx_size = (TX_SIZE)tx_size; in AV1FwdTxfm2dSpeedTest()
358 typedef std::tuple<TX_SIZE, lowbd_fwd_txfm_func> LbdFwdTxfm2dParam;
[all …]
Dencodemb_test.cc25 void ToScanOrder(TX_SIZE tx_size, TX_TYPE tx_type, tran_low_t *qcoeff_lexico, in ToScanOrder()
36 void ToLexicoOrder(TX_SIZE tx_size, TX_TYPE tx_type, tran_low_t *qcoeff_scan, in ToLexicoOrder()
46 void Dropout(TX_SIZE tx_size, TX_TYPE tx_type, int dropout_num_before, in Dropout()
100 const TX_SIZE tx_size = TX_8X4; in TEST()
116 const TX_SIZE tx_size = TX_8X4; in TEST()
132 const TX_SIZE tx_size = TX_8X4; in TEST()
151 const TX_SIZE tx_size = TX_8X4; in TEST()
168 const TX_SIZE tx_size = TX_8X4; in TEST()
188 const TX_SIZE tx_size = TX_8X4; in TEST()
204 const TX_SIZE tx_size = TX_8X4; in TEST()
[all …]
Dencodetxb_test.cc37 const uint16_t eob, const TX_SIZE tx_size,
69 const int bwl = get_txb_bwl((TX_SIZE)tx_size); in GetNzMapContextsRun()
70 const int width = get_txb_wide((TX_SIZE)tx_size); in GetNzMapContextsRun()
71 const int height = get_txb_high((TX_SIZE)tx_size); in GetNzMapContextsRun()
81 av1_get_nz_map_contexts_c(levels_, scan, eob, (TX_SIZE)tx_size, in GetNzMapContextsRun()
83 get_nz_map_contexts_func_(levels_, scan, eob, (TX_SIZE)tx_size, in GetNzMapContextsRun()
105 const int bwl = get_txb_bwl((TX_SIZE)tx_size); in SpeedTestGetNzMapContextsRun()
106 const int width = get_txb_wide((TX_SIZE)tx_size); in SpeedTestGetNzMapContextsRun()
107 const int height = get_txb_high((TX_SIZE)tx_size); in SpeedTestGetNzMapContextsRun()
121 av1_get_nz_map_contexts_c(levels_, scan, eob, (TX_SIZE)tx_size, in SpeedTestGetNzMapContextsRun()
[all …]
Dav1_txfm_test.h41 int get_txfm1d_size(TX_SIZE tx_size);
52 double get_amplification_factor(TX_TYPE tx_type, TX_SIZE tx_size);
55 TX_SIZE tx_size);
81 TX_SIZE, int);
86 static INLINE bool IsTxSizeTypeValid(TX_SIZE tx_size, TX_TYPE tx_type) { in IsTxSizeTypeValid()
87 const TX_SIZE tx_size_sqr_up = txsize_sqr_up_map[tx_size]; in IsTxSizeTypeValid()
Dscan_test.cc99 const int org_rows = tx_size_high[(TX_SIZE)tx_size]; in TEST()
100 const int org_cols = tx_size_wide[(TX_SIZE)tx_size]; in TEST()
101 const int rows = get_txb_high((TX_SIZE)tx_size); in TEST()
102 const int cols = get_txb_wide((TX_SIZE)tx_size); in TEST()
104 if (libaom_test::IsTxSizeTypeValid(static_cast<TX_SIZE>(tx_size), in TEST()
126 get_default_scan((TX_SIZE)tx_size, (TX_TYPE)tx_type); in TEST()
Dav1_highbd_iht_test.cc204 void RunAV1InvTxfm2dTest(TX_TYPE tx_type, TX_SIZE tx_size, int run_times,
212 void AV1HighbdInvTxfm2d::RunAV1InvTxfm2dTest(TX_TYPE tx_type_, TX_SIZE tx_size_, in RunAV1InvTxfm2dTest()
317 if (libaom_test::IsTxSizeTypeValid(static_cast<TX_SIZE>(j), in TEST_P()
319 RunAV1InvTxfm2dTest(static_cast<TX_TYPE>(i), static_cast<TX_SIZE>(j), in TEST_P()
335 const TX_SIZE sz = static_cast<TX_SIZE>(j); in TEST_P()
352 if (libaom_test::IsTxSizeTypeValid(static_cast<TX_SIZE>(j), in TEST_P()
354 RunAV1InvTxfm2dTest(static_cast<TX_TYPE>(i), static_cast<TX_SIZE>(j), in TEST_P()
Dfilterintra_test.cc28 typedef void (*Predictor)(uint8_t *dst, ptrdiff_t stride, TX_SIZE tx_size,
36 typedef tuple<PredFuncMode, TX_SIZE> PredParams;
138 TX_SIZE txSize_;
163 const TX_SIZE kTxSize[] = { TX_4X4, TX_8X8, TX_16X16, TX_32X32, TX_4X8,
187 const TX_SIZE kTxSizeNEON[] = { TX_4X4, TX_8X8, TX_16X16, TX_32X32, TX_4X8,
/external/libaom/av1/encoder/
Dencodemb.h76 void av1_setup_xform(const AV1_COMMON *cm, MACROBLOCK *x, TX_SIZE tx_size,
78 void av1_setup_quant(TX_SIZE tx_size, int use_optimize_b, int xform_quant_idx,
81 const MACROBLOCKD *xd, int plane, TX_SIZE tx_size,
98 int block, TX_SIZE tx_size, TX_TYPE tx_type,
124 void av1_dropout_qcoeff(MACROBLOCK *mb, int plane, int block, TX_SIZE tx_size,
129 TX_SIZE tx_size, TX_TYPE tx_type,
138 int blk_col, int blk_row, TX_SIZE tx_size);
143 TX_SIZE tx_size, ENTROPY_CONTEXT *a, in av1_set_txb_context()
151 BLOCK_SIZE plane_bsize, TX_SIZE tx_size, void *arg);
Dencodetxb.h91 int block, TX_SIZE tx_size);
186 TX_SIZE tx_size, void *arg);
221 BLOCK_SIZE plane_bsize, TX_SIZE tx_size, void *arg);
256 TX_SIZE tx_size) { in av1_cost_skip_txb()
257 const TX_SIZE txs_ctx = get_txsize_entropy_ctx(tx_size); in av1_cost_skip_txb()
Dtxb_rdopt.h54 int block, TX_SIZE tx_size, TX_TYPE tx_type,
78 const TX_SIZE tx_size, const TX_TYPE tx_type,
117 const int block, const TX_SIZE tx_size,
153 const int block, const TX_SIZE tx_size,
Dtx_search.h37 TX_SIZE tx_size) { in tx_size_cost()
52 BLOCK_SIZE bs, TX_SIZE tx_size);
75 BLOCK_SIZE bs, TX_SIZE tx_size,
166 TX_SIZE tx_size, FAST_TX_SEARCH_MODE ftxs_mode,
/external/libvpx/vp9/common/
Dvp9_enums.h77 typedef uint8_t TX_SIZE; typedef
78 #define TX_4X4 ((TX_SIZE)0) // 4x4 transform
79 #define TX_8X8 ((TX_SIZE)1) // 8x8 transform
80 #define TX_16X16 ((TX_SIZE)2) // 16x16 transform
81 #define TX_32X32 ((TX_SIZE)3) // 32x32 transform
82 #define TX_SIZES ((TX_SIZE)4)
Dvp9_common_data.h32 extern const TX_SIZE max_txsize_lookup[BLOCK_SIZES];
34 extern const TX_SIZE tx_mode_to_biggest_tx_size[TX_MODES];
36 extern const TX_SIZE uv_txsize_lookup[BLOCK_SIZES][TX_SIZES][2][2];
/external/libaom/av1/common/
Dblockd.h290 TX_SIZE tx_size;
292 TX_SIZE inter_tx_size[INTER_TX_SIZE_BUF_LEN];
1029 static INLINE int is_rect_tx(TX_SIZE tx_size) { return tx_size >= TX_SIZES; } in is_rect_tx()
1101 static INLINE TxSetType av1_get_ext_tx_set_type(TX_SIZE tx_size, int is_inter, in av1_get_ext_tx_set_type()
1103 const TX_SIZE tx_size_sqr_up = txsize_sqr_up_map[tx_size]; in av1_get_ext_tx_set_type()
1109 const TX_SIZE tx_size_sqr = txsize_sqr_map[tx_size]; in av1_get_ext_tx_set_type()
1121 static INLINE int get_ext_tx_set(TX_SIZE tx_size, int is_inter, in get_ext_tx_set()
1128 static INLINE int get_ext_tx_types(TX_SIZE tx_size, int is_inter, in get_ext_tx_types()
1138 static INLINE TX_SIZE tx_size_from_tx_mode(BLOCK_SIZE bsize, TX_MODE tx_mode) { in tx_size_from_tx_mode()
1139 const TX_SIZE largest_tx_size = tx_mode_to_biggest_tx_size[tx_mode]; in tx_size_from_tx_mode()
[all …]
Dcommon_data.h105 static const TX_SIZE max_txsize_lookup[BLOCK_SIZES_ALL] = {
126 static const TX_SIZE max_txsize_rect_lookup[BLOCK_SIZES_ALL] = {
165 static const TX_SIZE sub_tx_size_map[TX_SIZES_ALL] = {
187 static const TX_SIZE txsize_horz_map[TX_SIZES_ALL] = {
209 static const TX_SIZE txsize_vert_map[TX_SIZES_ALL] = {
302 static const TX_SIZE txsize_sqr_map[TX_SIZES_ALL] = {
324 static const TX_SIZE txsize_sqr_up_map[TX_SIZES_ALL] = {
368 static const TX_SIZE tx_mode_to_biggest_tx_size[TX_MODES] = {
Dav1_loopfilter.h89 TX_SIZE tx_buf[MAX_MIB_SIZE];
117 TX_SIZE *tx_buf, int num_mis_in_lpf_unit_height_log2);
123 TX_SIZE *tx_buf, int plane, bool joint_filter_chroma,
130 TX_SIZE *tx_buf, int num_mis_in_lpf_unit_height_log2);
136 TX_SIZE *tx_buf, int plane, bool joint_filter_chroma,
Dquant_common.h66 int qmlevel, int plane, TX_SIZE tx_size);
69 int qmlevel, int plane, TX_SIZE tx_size);
74 TX_SIZE tx_size, TX_TYPE tx_type);
78 TX_SIZE tx_size, TX_TYPE tx_type);
Dav1_txfm.h133 TX_SIZE tx_size;
211 const TXFM_2D_FLIP_CFG *cfg, TX_SIZE tx_size,
214 void av1_get_fwd_txfm_cfg(TX_TYPE tx_type, TX_SIZE tx_size,
216 void av1_get_inv_txfm_cfg(TX_TYPE tx_type, TX_SIZE tx_size,
220 static INLINE int get_txw_idx(TX_SIZE tx_size) { in get_txw_idx()
223 static INLINE int get_txh_idx(TX_SIZE tx_size) { in get_txh_idx()
Dquant_common.c235 int plane, TX_SIZE tx_size) { in av1_iqmatrix()
241 int plane, TX_SIZE tx_size) { in av1_qmatrix()
253 TX_SIZE tx_size, TX_TYPE tx_type) { in av1_get_iqmatrix()
257 const TX_SIZE qm_tx_size = av1_get_adjusted_tx_size(tx_size); in av1_get_iqmatrix()
266 TX_SIZE tx_size, TX_TYPE tx_type) { in av1_get_qmatrix()
270 const TX_SIZE qm_tx_size = av1_get_adjusted_tx_size(tx_size); in av1_get_qmatrix()
Dtxb_common.h58 static INLINE int get_txb_bwl(TX_SIZE tx_size) { in get_txb_bwl()
63 static INLINE int get_txb_wide(TX_SIZE tx_size) { in get_txb_wide()
68 static INLINE int get_txb_high(TX_SIZE tx_size) { in get_txb_high()
200 const int bwl, const TX_SIZE tx_size, const TX_CLASS tx_class) { in get_nz_map_ctx_from_stats()
245 int bwl, TX_SIZE tx_size) { in get_lower_levels_ctx_2d()
261 TX_SIZE tx_size, in get_lower_levels_ctx()
271 int coeff_idx, TX_SIZE tx_size, in get_lower_levels_ctx_general()
290 const TX_SIZE tx_size, const int plane, in get_txb_ctx_general()
388 const TX_SIZE tx_size = TX_##w##X##h; \
455 const TX_SIZE tx_size, const int plane, in get_txb_ctx()
Dentropy.h87 static INLINE int get_entropy_context(TX_SIZE tx_size, const ENTROPY_CONTEXT *a, in get_entropy_context()
173 static INLINE TX_SIZE get_txsize_entropy_ctx(TX_SIZE txsize) { in get_txsize_entropy_ctx()
174 return (TX_SIZE)((txsize_sqr_map[txsize] + txsize_sqr_up_map[txsize] + 1) >> in get_txsize_entropy_ctx()
Dcfl.c66 TX_SIZE tx_size, CFL_PRED_TYPE pred_plane) { in cfl_load_dc_pred()
179 static void cfl_compute_parameters(MACROBLOCKD *const xd, TX_SIZE tx_size) { in CFL_PREDICT_FN()
190 TX_SIZE tx_size, int plane) { in cfl_predict_block()
303 static INLINE cfl_subsample_hbd_fn cfl_subsampling_hbd(TX_SIZE tx_size, in CFL_GET_SUBSAMPLE_FUNCTION()
315 static INLINE cfl_subsample_lbd_fn cfl_subsampling_lbd(TX_SIZE tx_size, in cfl_subsampling_lbd()
327 int row, int col, TX_SIZE tx_size, int use_hbd) { in cfl_store()
391 void cfl_store_tx(MACROBLOCKD *const xd, int row, int col, TX_SIZE tx_size, in cfl_store_tx()
408 TX_SIZE tx_size) { in max_intra_block_width()
416 TX_SIZE tx_size) { in max_intra_block_height()
422 void cfl_store_block(MACROBLOCKD *const xd, BLOCK_SIZE bsize, TX_SIZE tx_size) { in cfl_store_block()
/external/libvpx/vp9/encoder/
Dvp9_encodemb.h33 int vp9_optimize_b(MACROBLOCK *mb, int plane, int block, TX_SIZE tx_size,
39 BLOCK_SIZE plane_bsize, TX_SIZE tx_size);
41 BLOCK_SIZE plane_bsize, TX_SIZE tx_size);
43 BLOCK_SIZE plane_bsize, TX_SIZE tx_size);
48 BLOCK_SIZE plane_bsize, TX_SIZE tx_size, void *arg);

123456