Searched refs:tx_size (Results 1 - 25 of 49) sorted by relevance

12

/external/chromium_org/third_party/libvpx/source/libvpx/vp9/decoder/
H A Dvp9_detokenize.h24 int x, int y, TX_SIZE tx_size, vp9_reader *r);
H A Dvp9_detokenize.c57 tran_low_t *dqcoeff, TX_SIZE tx_size, const int16_t *dq,
60 const int max_eob = 16 << (tx_size << 1);
66 fc->coef_probs[tx_size][type][ref];
69 counts->coef[tx_size][type][ref];
71 counts->eob_branch[tx_size][type][ref];
73 const uint8_t *band_translate = get_band_translate(tx_size);
74 const int dq_shift = (tx_size == TX_32X32);
205 int x, int y, TX_SIZE tx_size, vp9_reader *r) {
207 const int ctx = get_entropy_context(tx_size, pd->above_context + x,
209 const scan_order *so = get_scan(xd, tx_size, p
56 decode_coefs(VP9_COMMON *cm, const MACROBLOCKD *xd, PLANE_TYPE type, tran_low_t *dqcoeff, TX_SIZE tx_size, const int16_t *dq, int ctx, const int16_t *scan, const int16_t *nb, vp9_reader *r) argument
203 vp9_decode_block_tokens(VP9_COMMON *cm, MACROBLOCKD *xd, int plane, int block, BLOCK_SIZE plane_bsize, int x, int y, TX_SIZE tx_size, vp9_reader *r) argument
[all...]
/external/chromium_org/third_party/libvpx/source/libvpx/vp9/encoder/
H A Dvp9_encodemb.h26 BLOCK_SIZE plane_bsize, TX_SIZE tx_size);
28 BLOCK_SIZE plane_bsize, TX_SIZE tx_size);
30 BLOCK_SIZE plane_bsize, TX_SIZE tx_size);
35 BLOCK_SIZE plane_bsize, TX_SIZE tx_size,
H A Dvp9_tokenize.c252 TX_SIZE tx_size, void *arg) {
258 txfrm_block_to_raster_xy(plane_bsize, tx_size, block, &aoff, &loff);
259 vp9_set_contexts(xd, pd, plane_bsize, tx_size, p->eobs[block] > 0,
288 TX_SIZE tx_size) {
289 const int eob_max = 16 << (tx_size << 1);
294 TX_SIZE tx_size, void *arg) {
314 cpi->coef_counts[tx_size][type][ref];
316 cpi->common.fc.coef_probs[tx_size][type][ref];
318 cpi->common.counts.eob_branch[tx_size][type][ref];
319 const uint8_t *const band = get_band_translate(tx_size);
251 set_entropy_context_b(int plane, int block, BLOCK_SIZE plane_bsize, TX_SIZE tx_size, void *arg) argument
287 get_tx_eob(const struct segmentation *seg, int segment_id, TX_SIZE tx_size) argument
293 tokenize_b(int plane, int block, BLOCK_SIZE plane_bsize, TX_SIZE tx_size, void *arg) argument
387 is_skippable(int plane, int block, BLOCK_SIZE plane_bsize, TX_SIZE tx_size, void *argv) argument
[all...]
H A Dvp9_encodemb.c102 TX_SIZE tx_size, int ctx) {
115 const int default_eob = 16 << (tx_size << 1);
116 const int mul = 1 + (tx_size == TX_32X32);
118 const uint8_t *const band_translate = get_band_translate(tx_size);
119 const scan_order *const so = get_scan(xd, tx_size, type, block);
164 rate0 += mb->token_costs[tx_size][type][ref][band][0][pt]
166 rate1 += mb->token_costs[tx_size][type][ref][band][0][pt]
212 rate0 += mb->token_costs[tx_size][type][ref][band][!x][pt]
217 rate1 += mb->token_costs[tx_size][type][ref][band][!x][pt]
249 mb->token_costs[tx_size][typ
101 optimize_b(MACROBLOCK *mb, int plane, int block, TX_SIZE tx_size, int ctx) argument
315 vp9_xform_quant_fp(MACROBLOCK *x, int plane, int block, BLOCK_SIZE plane_bsize, TX_SIZE tx_size) argument
366 vp9_xform_quant_dc(MACROBLOCK *x, int plane, int block, BLOCK_SIZE plane_bsize, TX_SIZE tx_size) argument
413 vp9_xform_quant(MACROBLOCK *x, int plane, int block, BLOCK_SIZE plane_bsize, TX_SIZE tx_size) argument
464 encode_block(int plane, int block, BLOCK_SIZE plane_bsize, TX_SIZE tx_size, void *arg) argument
546 encode_block_pass1(int plane, int block, BLOCK_SIZE plane_bsize, TX_SIZE tx_size, void *arg) argument
588 const TX_SIZE tx_size = plane ? get_uv_tx_size(mbmi, pd) : mbmi->tx_size; local
598 encode_block_intra(int plane, int block, BLOCK_SIZE plane_bsize, TX_SIZE tx_size, void *arg) argument
725 vp9_encode_block_intra(MACROBLOCK *x, int plane, int block, BLOCK_SIZE plane_bsize, TX_SIZE tx_size, int8_t *skip) argument
[all...]
H A Dvp9_pickmode.c233 xd->mi[0].src_mi->mbmi.tx_size =
237 xd->mi[0].src_mi->mbmi.tx_size = TX_8X8;
239 xd->mi[0].src_mi->mbmi.tx_size =
368 TX_SIZE tx_size, void *arg) {
375 const BLOCK_SIZE bsize_tx = txsize_to_bsize[tx_size];
384 txfrm_block_to_raster_xy(plane_bsize, tx_size, block, &i, &j);
391 vp9_predict_intra_block(xd, block >> (2 * tx_size),
393 tx_size, args->mode,
490 mbmi->tx_size = MIN(max_txsize_lookup[bsize],
611 pf_tx_size[filter] = mbmi->tx_size;
367 estimate_block_intra(int plane, int block, BLOCK_SIZE plane_bsize, TX_SIZE tx_size, void *arg) argument
[all...]
H A Dvp9_bitstream.c83 TX_SIZE tx_size, BLOCK_SIZE bsize,
88 vp9_write(w, tx_size != TX_4X4, tx_probs[0]);
89 if (tx_size != TX_4X4 && max_tx_size >= TX_16X16) {
90 vp9_write(w, tx_size != TX_8X8, tx_probs[1]);
91 if (tx_size != TX_8X8 && max_tx_size >= TX_32X32)
92 vp9_write(w, tx_size != TX_16X16, tx_probs[2]);
261 write_selected_tx_size(cm, xd, mbmi->tx_size, bsize, w);
347 write_selected_tx_size(cm, xd, mbmi->tx_size, bsize, w);
488 static void build_tree_distribution(VP9_COMP *cpi, TX_SIZE tx_size, argument
491 vp9_coeff_count *coef_counts = cpi->coef_counts[tx_size];
81 write_selected_tx_size(const VP9_COMMON *cm, const MACROBLOCKD *xd, TX_SIZE tx_size, BLOCK_SIZE bsize, vp9_writer *w) argument
515 update_coef_probs_common(vp9_writer* const bc, VP9_COMP *cpi, TX_SIZE tx_size, vp9_coeff_stats *frame_branch_ct, vp9_coeff_probs_model *new_coef_probs) argument
671 TX_SIZE tx_size; local
[all...]
/external/libvpx/libvpx/vp9/decoder/
H A Dvp9_detokenize.h24 int x, int y, TX_SIZE tx_size, vp9_reader *r);
H A Dvp9_detokenize.c83 int16_t *dqcoeff, TX_SIZE tx_size, const int16_t *dq,
86 const int max_eob = 16 << (tx_size << 1);
92 fc->coef_probs[tx_size][type][ref];
95 counts->coef[tx_size][type][ref];
97 counts->eob_branch[tx_size][type][ref];
100 const uint8_t *band_translate = get_band_translate(tx_size);
101 const int dq_shift = (tx_size == TX_32X32);
199 int x, int y, TX_SIZE tx_size, vp9_reader *r) {
201 const int ctx = get_entropy_context(tx_size, pd->above_context + x,
203 const scan_order *so = get_scan(xd, tx_size, p
82 decode_coefs(VP9_COMMON *cm, const MACROBLOCKD *xd, PLANE_TYPE type, int16_t *dqcoeff, TX_SIZE tx_size, const int16_t *dq, int ctx, const int16_t *scan, const int16_t *nb, vp9_reader *r) argument
197 vp9_decode_block_tokens(VP9_COMMON *cm, MACROBLOCKD *xd, int plane, int block, BLOCK_SIZE plane_bsize, int x, int y, TX_SIZE tx_size, vp9_reader *r) argument
[all...]
/external/libvpx/libvpx/vp9/encoder/
H A Dvp9_encodemb.h27 BLOCK_SIZE plane_bsize, TX_SIZE tx_size);
32 BLOCK_SIZE plane_bsize, TX_SIZE tx_size,
H A Dvp9_encodemb.c109 TX_SIZE tx_size, MACROBLOCK *mb,
128 const int default_eob = 16 << (tx_size << 1);
129 const int mul = 1 + (tx_size == TX_32X32);
132 const uint8_t *const band_translate = get_band_translate(tx_size);
133 const scan_order *so = get_scan(xd, tx_size, type, block);
176 mb->token_costs[tx_size][type][ref][band][0][pt]
179 mb->token_costs[tx_size][type][ref][band][0][pt]
225 rate0 += mb->token_costs[tx_size][type][ref][band][!x][pt]
230 rate1 += mb->token_costs[tx_size][type][ref][band][!x][pt]
262 mb->token_costs[tx_size][typ
108 optimize_b(int plane, int block, BLOCK_SIZE plane_bsize, TX_SIZE tx_size, MACROBLOCK *mb, ENTROPY_CONTEXT *a, ENTROPY_CONTEXT *l) argument
317 vp9_xform_quant(MACROBLOCK *x, int plane, int block, BLOCK_SIZE plane_bsize, TX_SIZE tx_size) argument
367 encode_block(int plane, int block, BLOCK_SIZE plane_bsize, TX_SIZE tx_size, void *arg) argument
428 encode_block_pass1(int plane, int block, BLOCK_SIZE plane_bsize, TX_SIZE tx_size, void *arg) argument
465 const TX_SIZE tx_size = plane ? get_uv_tx_size(mbmi) : mbmi->tx_size; local
475 encode_block_intra(int plane, int block, BLOCK_SIZE plane_bsize, TX_SIZE tx_size, void *arg) argument
601 vp9_encode_block_intra(MACROBLOCK *x, int plane, int block, BLOCK_SIZE plane_bsize, TX_SIZE tx_size, unsigned char *skip) argument
[all...]
H A Dvp9_tokenize.c168 TX_SIZE tx_size, void *arg) {
174 txfrm_block_to_raster_xy(plane_bsize, tx_size, block, &aoff, &loff);
175 vp9_set_contexts(xd, pd, plane_bsize, tx_size, p->eobs[block] > 0,
204 TX_SIZE tx_size) {
205 const int eob_max = 16 << (tx_size << 1);
210 TX_SIZE tx_size, void *arg) {
230 cpi->coef_counts[tx_size][type][ref];
232 cpi->common.fc.coef_probs[tx_size][type][ref];
234 cpi->common.counts.eob_branch[tx_size][type][ref];
236 const uint8_t *const band = get_band_translate(tx_size);
167 set_entropy_context_b(int plane, int block, BLOCK_SIZE plane_bsize, TX_SIZE tx_size, void *arg) argument
203 get_tx_eob(const struct segmentation *seg, int segment_id, TX_SIZE tx_size) argument
209 tokenize_b(int plane, int block, BLOCK_SIZE plane_bsize, TX_SIZE tx_size, void *arg) argument
293 is_skippable(int plane, int block, BLOCK_SIZE plane_bsize, TX_SIZE tx_size, void *argv) argument
[all...]
H A Dvp9_rdopt.c478 TX_SIZE tx_size,
490 const int t = 4 << tx_size;
492 if (tx_size == TX_4X4) {
494 } else if (tx_size == TX_8X8) {
496 } else if (tx_size == TX_16X16) {
498 } else if (tx_size == TX_32X32) {
555 TX_SIZE tx_size,
563 const int16_t *band_count = &band_counts[tx_size][1];
567 x->token_costs[tx_size][type][is_inter_block(mbmi)];
571 // Check for consistency of tx_size wit
477 model_rd_for_sb_y_tx(VP9_COMP *cpi, BLOCK_SIZE bsize, TX_SIZE tx_size, MACROBLOCK *x, MACROBLOCKD *xd, int *out_rate_sum, int64_t *out_dist_sum, int *out_skip) argument
552 cost_coeffs(MACROBLOCK *x, int plane, int block, ENTROPY_CONTEXT *A, ENTROPY_CONTEXT *L, TX_SIZE tx_size, const int16_t *scan, const int16_t *nb, int use_fast_coef_costing) argument
626 dist_block(int plane, int block, TX_SIZE tx_size, struct rdcost_block_args* args) argument
650 rate_block(int plane, int block, BLOCK_SIZE plane_bsize, TX_SIZE tx_size, struct rdcost_block_args* args) argument
661 block_rd_txfm(int plane, int block, BLOCK_SIZE plane_bsize, TX_SIZE tx_size, void *arg) argument
699 vp9_get_entropy_contexts(BLOCK_SIZE bsize, TX_SIZE tx_size, const struct macroblockd_plane *pd, ENTROPY_CONTEXT t_above[16], ENTROPY_CONTEXT t_left[16]) argument
738 txfm_rd_in_plane(MACROBLOCK *x, int *rate, int64_t *distortion, int *skippable, int64_t *sse, int64_t ref_best_rd, int plane, BLOCK_SIZE bsize, TX_SIZE tx_size, int use_fast_coef_casting) argument
956 TX_SIZE tx_size; local
1007 TX_SIZE tx_size; local
[all...]
H A Dvp9_bitstream.c83 TX_SIZE tx_size, BLOCK_SIZE bsize,
89 vp9_write(w, tx_size != TX_4X4, tx_probs[0]);
90 if (tx_size != TX_4X4 && max_tx_size >= TX_16X16) {
91 vp9_write(w, tx_size != TX_8X8, tx_probs[1]);
92 if (tx_size != TX_8X8 && max_tx_size >= TX_32X32)
93 vp9_write(w, tx_size != TX_16X16, tx_probs[2]);
264 write_selected_tx_size(cpi, mbmi->tx_size, bsize, w);
350 write_selected_tx_size(cpi, mbmi->tx_size, bsize, w);
487 static void build_tree_distribution(VP9_COMP *cpi, TX_SIZE tx_size, argument
489 vp9_coeff_probs_model *coef_probs = cpi->frame_coef_probs[tx_size];
82 write_selected_tx_size(const VP9_COMP *cpi, TX_SIZE tx_size, BLOCK_SIZE bsize, vp9_writer *w) argument
514 update_coef_probs_common(vp9_writer* const bc, VP9_COMP *cpi, TX_SIZE tx_size, vp9_coeff_stats *frame_branch_ct) argument
671 TX_SIZE tx_size; local
[all...]
/external/chromium_org/third_party/libvpx/source/libvpx/vp9/common/
H A Dvp9_reconintra.h24 TX_SIZE tx_size, PREDICTION_MODE mode,
H A Dvp9_blockd.c47 const TX_SIZE tx_size = plane ? get_uv_tx_size(mbmi, pd) local
48 : mbmi->tx_size;
52 const int step = 1 << (tx_size << 1);
76 for (r = 0; r < num_4x4_h; r += (1 << tx_size)) {
77 for (c = 0; c < num_4x4_w; c += (1 << tx_size)) {
79 visit(plane, i, plane_bsize, tx_size, arg);
85 visit(plane, i, plane_bsize, tx_size, arg);
100 BLOCK_SIZE plane_bsize, TX_SIZE tx_size, int has_eob,
104 const int tx_size_in_blocks = 1 << tx_size;
99 vp9_set_contexts(const MACROBLOCKD *xd, struct macroblockd_plane *pd, BLOCK_SIZE plane_bsize, TX_SIZE tx_size, int has_eob, int aoff, int loff) argument
H A Dvp9_entropy.h159 static INLINE const uint8_t *get_band_translate(TX_SIZE tx_size) { argument
160 return tx_size == TX_4X4 ? vp9_coefband_trans_4x4
186 static INLINE int get_entropy_context(TX_SIZE tx_size, const ENTROPY_CONTEXT *a, argument
190 switch (tx_size) {
215 static INLINE const scan_order *get_scan(const MACROBLOCKD *xd, TX_SIZE tx_size, argument
220 return &vp9_default_scan_orders[tx_size];
223 return &vp9_scan_orders[tx_size][intra_mode_to_tx_type_lookup[mode]];
H A Dvp9_blockd.h130 TX_SIZE tx_size; member in struct:__anon13106
289 return get_uv_tx_size_impl(mbmi->tx_size, mbmi->sb_type, pd->subsampling_x,
300 TX_SIZE tx_size,
313 TX_SIZE tx_size, int block,
316 const int tx_cols_log2 = bwl - tx_size;
318 const int raster_mb = block >> (tx_size << 1);
319 *x = (raster_mb & (tx_cols - 1)) << tx_size;
320 *y = (raster_mb >> tx_cols_log2) << tx_size;
324 BLOCK_SIZE plane_bsize, TX_SIZE tx_size, int has_eob,
312 txfrm_block_to_raster_xy(BLOCK_SIZE plane_bsize, TX_SIZE tx_size, int block, int *x, int *y) argument
H A Dvp9_entropy.c764 static void adapt_coef_probs(VP9_COMMON *cm, TX_SIZE tx_size, argument
768 vp9_coeff_probs_model *const probs = cm->fc.coef_probs[tx_size];
769 const vp9_coeff_probs_model *const pre_probs = pre_fc->coef_probs[tx_size];
770 vp9_coeff_count_model *counts = cm->counts.coef[tx_size];
772 cm->counts.eob_branch[tx_size];
H A Dvp9_debugmodes.c64 print_mi_data(cm, mvs, "Transform:", offsetof(MB_MODE_INFO, tx_size));
/external/libvpx/libvpx/vp9/common/
H A Dvp9_reconintra.h22 TX_SIZE tx_size, MB_PREDICTION_MODE mode,
H A Dvp9_entropy.h121 static INLINE const uint8_t *get_band_translate(TX_SIZE tx_size) { argument
122 return tx_size == TX_4X4 ? vp9_coefband_trans_4x4
148 static INLINE int get_entropy_context(TX_SIZE tx_size, const ENTROPY_CONTEXT *a, argument
152 switch (tx_size) {
176 static const INLINE scan_order *get_scan(const MACROBLOCKD *xd, TX_SIZE tx_size, argument
181 return &vp9_default_scan_orders[tx_size];
184 return &vp9_scan_orders[tx_size][intra_mode_to_tx_type_lookup[mode]];
H A Dvp9_blockd.c47 const TX_SIZE tx_size = plane ? get_uv_tx_size(mbmi) local
48 : mbmi->tx_size;
52 const int step = 1 << (tx_size << 1);
76 for (r = 0; r < num_4x4_h; r += (1 << tx_size)) {
77 for (c = 0; c < num_4x4_w; c += (1 << tx_size)) {
79 visit(plane, i, plane_bsize, tx_size, arg);
85 visit(plane, i, plane_bsize, tx_size, arg);
100 BLOCK_SIZE plane_bsize, TX_SIZE tx_size, int has_eob,
104 const int tx_size_in_blocks = 1 << tx_size;
99 vp9_set_contexts(const MACROBLOCKD *xd, struct macroblockd_plane *pd, BLOCK_SIZE plane_bsize, TX_SIZE tx_size, int has_eob, int aoff, int loff) argument
H A Dvp9_blockd.h126 TX_SIZE tx_size; member in struct:__anon24896
286 return get_uv_tx_size_impl(mbmi->tx_size, mbmi->sb_type);
298 TX_SIZE tx_size,
311 TX_SIZE tx_size, int block,
314 const int tx_cols_log2 = bwl - tx_size;
316 const int raster_mb = block >> (tx_size << 1);
317 *x = (raster_mb & (tx_cols - 1)) << tx_size;
318 *y = (raster_mb >> tx_cols_log2) << tx_size;
322 BLOCK_SIZE plane_bsize, TX_SIZE tx_size, int has_eob,
H A Dvp9_entropy.c736 static void adapt_coef_probs(VP9_COMMON *cm, TX_SIZE tx_size, argument
740 vp9_coeff_probs_model *const probs = cm->fc.coef_probs[tx_size];
741 const vp9_coeff_probs_model *const pre_probs = pre_fc->coef_probs[tx_size];
742 vp9_coeff_count_model *counts = cm->counts.coef[tx_size];
744 cm->counts.eob_branch[tx_size];

Completed in 1521 milliseconds

12