/external/chromium_org/third_party/libvpx/source/libvpx/vp9/decoder/ |
H A D | vp9_detokenize.h | 24 int x, int y, TX_SIZE tx_size, vp9_reader *r);
|
H A D | vp9_detokenize.c | 83 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/decoder/ |
H A D | vp9_detokenize.h | 24 int x, int y, TX_SIZE tx_size, vp9_reader *r);
|
H A D | vp9_detokenize.c | 83 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/chromium_org/third_party/libvpx/source/libvpx/vp9/encoder/ |
H A D | vp9_encodemb.h | 27 BLOCK_SIZE plane_bsize, TX_SIZE tx_size); 32 BLOCK_SIZE plane_bsize, TX_SIZE tx_size,
|
H A D | vp9_tokenize.c | 168 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]; 235 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 292 is_skippable(int plane, int block, BLOCK_SIZE plane_bsize, TX_SIZE tx_size, void *argv) argument [all...] |
H A D | vp9_encodemb.c | 102 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 304 vp9_xform_quant(MACROBLOCK *x, int plane, int block, BLOCK_SIZE plane_bsize, TX_SIZE tx_size) argument 354 encode_block(int plane, int block, BLOCK_SIZE plane_bsize, TX_SIZE tx_size, void *arg) argument 416 encode_block_pass1(int plane, int block, BLOCK_SIZE plane_bsize, TX_SIZE tx_size, void *arg) argument 453 const TX_SIZE tx_size = plane ? get_uv_tx_size(mbmi) : mbmi->tx_size; local 463 encode_block_intra(int plane, int block, BLOCK_SIZE plane_bsize, TX_SIZE tx_size, void *arg) argument 589 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 D | vp9_rdopt.c | 480 TX_SIZE tx_size, 492 const int t = 4 << tx_size; 494 if (tx_size == TX_4X4) { 496 } else if (tx_size == TX_8X8) { 498 } else if (tx_size == TX_16X16) { 500 } else if (tx_size == TX_32X32) { 557 TX_SIZE tx_size, 565 const int16_t *band_count = &band_counts[tx_size][1]; 569 x->token_costs[tx_size][type][is_inter_block(mbmi)]; 573 // Check for consistency of tx_size wit 479 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 554 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 628 dist_block(int plane, int block, TX_SIZE tx_size, struct rdcost_block_args* args) argument 652 rate_block(int plane, int block, BLOCK_SIZE plane_bsize, TX_SIZE tx_size, struct rdcost_block_args* args) argument 663 block_rd_txfm(int plane, int block, BLOCK_SIZE plane_bsize, TX_SIZE tx_size, void *arg) argument 701 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 740 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 959 TX_SIZE tx_size; local 1010 TX_SIZE tx_size; local [all...] |
H A D | vp9_bitstream.c | 83 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 490 vp9_coeff_count *coef_counts = cpi->coef_counts[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, vp9_coeff_probs_model *new_coef_probs) argument 670 TX_SIZE tx_size; local [all...] |
/external/libvpx/libvpx/vp9/encoder/ |
H A D | vp9_encodemb.h | 27 BLOCK_SIZE plane_bsize, TX_SIZE tx_size); 32 BLOCK_SIZE plane_bsize, TX_SIZE tx_size,
|
H A D | vp9_encodemb.c | 109 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 D | vp9_tokenize.c | 168 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 D | vp9_rdopt.c | 478 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 D | vp9_bitstream.c | 83 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 D | vp9_reconintra.h | 22 TX_SIZE tx_size, PREDICTION_MODE mode,
|
H A D | vp9_entropy.h | 121 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 D | vp9_blockd.c | 47 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 D | vp9_blockd.h | 126 TX_SIZE tx_size; member in struct:__anon12127 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 D | vp9_entropy.c | 736 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];
|
H A D | vp9_debugmodes.c | 62 print_mi_data(cm, mvs, "Transform:", offsetof(MB_MODE_INFO, tx_size));
|
/external/libvpx/libvpx/vp9/common/ |
H A D | vp9_reconintra.h | 22 TX_SIZE tx_size, MB_PREDICTION_MODE mode,
|
H A D | vp9_entropy.h | 121 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 D | vp9_blockd.c | 47 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 D | vp9_blockd.h | 126 TX_SIZE tx_size; member in struct:__anon24092 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 D | vp9_entropy.c | 736 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];
|