/hardware/intel/common/omx-components/videocodec/libvpx_internal/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...] |
H A D | vp9_decodeframe.c | 193 TX_SIZE tx_size, uint8_t *dst, int stride, 200 switch (tx_size) { 227 if (tx_type == DCT_DCT && tx_size <= TX_16X16 && eob <= 10) 228 vpx_memset(dqcoeff, 0, 4 * (4 << tx_size) * sizeof(dqcoeff[0])); 229 else if (tx_size == TX_32X32 && eob <= 34) 232 vpx_memset(dqcoeff, 0, (16 << (tx_size << 1)) * sizeof(dqcoeff[0])); 245 TX_SIZE tx_size, void *arg) { 255 txfrm_block_to_raster_xy(plane_bsize, tx_size, block, &x, &y); 258 vp9_predict_intra_block(xd, block >> (tx_size << 1), 259 b_width_log2(plane_bsize), tx_size, mod 192 inverse_transform_block(MACROBLOCKD* xd, int plane, int block, TX_SIZE tx_size, uint8_t *dst, int stride, int eob) argument 243 predict_and_reconstruct_intra_block(int plane, int block, BLOCK_SIZE plane_bsize, TX_SIZE tx_size, void *arg) argument 279 reconstruct_inter_block(int plane, int block, BLOCK_SIZE plane_bsize, TX_SIZE tx_size, void *arg) argument 485 TX_SIZE tx_size; local [all...] |
H A D | vp9_decodemv.c | 66 int tx_size = vp9_read(r, tx_probs[0]); local 67 if (tx_size != TX_4X4 && max_tx_size >= TX_16X16) { 68 tx_size += vp9_read(r, tx_probs[1]); 69 if (tx_size != TX_8X8 && max_tx_size >= TX_32X32) 70 tx_size += vp9_read(r, tx_probs[2]); 74 ++get_tx_counts(max_tx_size, ctx, &cm->counts.tx)[tx_size]; 75 return (TX_SIZE)tx_size; 173 mbmi->tx_size = read_tx_size(cm, xd, cm->tx_mode, bsize, 1, r); 527 mbmi->tx_size = read_tx_size(cm, xd, cm->tx_mode, mbmi->sb_type,
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/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...] |
H A D | vp9_rdopt.h | 79 void vp9_get_entropy_contexts(BLOCK_SIZE bsize, TX_SIZE tx_size,
|
H A D | vp9_pickmode.c | 250 mbmi->tx_size = MIN(max_txsize_lookup[bsize], 349 mbmi->tx_size, this_mode,
|
H A D | vp9_encodeframe.c | 918 vpx_memcpy(x->zcoeff_blk[mbmi->tx_size], ctx->zcoeff_blk, 2488 if (mi_ptr[mi_col]->mbmi.tx_size > txfm_max) 2489 mi_ptr[mi_col]->mbmi.tx_size = txfm_max; 2554 mbmi->tx_size = max_txsize_lookup[bsize]; 3493 &cm->counts.tx)[mbmi->tx_size]; 3496 TX_SIZE tx_size; local 3499 tx_size = MIN(tx_mode_to_biggest_tx_size[cm->tx_mode], 3502 tx_size = (bsize >= BLOCK_8X8) ? mbmi->tx_size : TX_4X4; 3508 mi_8x8[mis * y + x]->mbmi.tx_size [all...] |
H A D | vp9_firstpass.c | 714 xd->mi[0]->mbmi.tx_size = TX_4X4;
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/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 INLINE static const 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:__anon1104 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 | 63 print_mi_data(cm, mvs, "Transform:", offsetof(MB_MODE_INFO, tx_size));
|
H A D | vp9_reconintra.c | 316 MB_PREDICTION_MODE mode, TX_SIZE tx_size, 325 const int bs = 4 << tx_size; 431 dc_pred[left_available][up_available][tx_size](dst, dst_stride, 434 pred[mode][tx_size](dst, dst_stride, const_above_row, left_col); 439 TX_SIZE tx_size, MB_PREDICTION_MODE mode, 443 const int bwl = bwl_in - tx_size; 452 build_intra_predictors(xd, ref, ref_stride, dst, dst_stride, mode, tx_size, 314 build_intra_predictors(const MACROBLOCKD *xd, const uint8_t *ref, int ref_stride, uint8_t *dst, int dst_stride, MB_PREDICTION_MODE mode, TX_SIZE tx_size, int up_available, int left_available, int right_available, int x, int y, int plane) argument 438 vp9_predict_intra_block(const MACROBLOCKD *xd, int block_idx, int bwl_in, TX_SIZE tx_size, MB_PREDICTION_MODE mode, const uint8_t *ref, int ref_stride, uint8_t *dst, int dst_stride, int aoff, int loff, int plane) argument
|
H A D | vp9_loopfilter.c | 504 const TX_SIZE tx_size_y = mbmi->tx_size; 583 const TX_SIZE tx_size_y = mbmi->tx_size; 941 const TX_SIZE tx_size = (plane->plane_type == PLANE_TYPE_UV) local 943 : mi[0].mbmi.tx_size; 953 if (tx_size == TX_32X32) { 966 } else if (tx_size == TX_16X16) { 982 if (tx_size == TX_8X8 || ((c >> ss_x) & 3) == 0) 989 if (tx_size == TX_8X8 || ((r >> ss_y) & 3) == 0) 995 if (!skip_this && tx_size < TX_8X8 && !skip_border_4x4_c)
|
H A D | vp9_pred_common.c | 356 int above_ctx = (has_above && !above_mbmi->skip) ? (int)above_mbmi->tx_size 358 int left_ctx = (has_left && !left_mbmi->skip) ? (int)left_mbmi->tx_size
|