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

12

/external/libvpx/libvpx/vp9/encoder/
H A Dvp9_encodeintra.h18 TX_SIZE tx_size, void *arg);
H A Dvp9_tokenize.c83 TX_SIZE tx_size; member in struct:tokenize_b_args
88 TX_SIZE tx_size, void *arg) {
93 txfrm_block_to_raster_xy(plane_bsize, tx_size, block, &aoff, &loff);
94 set_contexts(xd, pd, plane_bsize, tx_size, pd->eobs[block] > 0, aoff, loff);
98 TX_SIZE tx_size, void *arg) {
115 vp9_coeff_count *const counts = cpi->coef_counts[tx_size];
116 vp9_coeff_probs_model *const coef_probs = cpi->common.fc.coef_probs[tx_size];
118 const uint8_t *const band_translate = get_band_translate(tx_size);
119 const int seg_eob = get_tx_eob(&cpi->common.seg, segment_id, tx_size);
121 txfrm_block_to_raster_xy(plane_bsize, tx_size, bloc
87 set_entropy_context_b(int plane, int block, BLOCK_SIZE plane_bsize, TX_SIZE tx_size, void *arg) argument
97 tokenize_b(int plane, int block, BLOCK_SIZE plane_bsize, TX_SIZE tx_size, void *arg) argument
170 is_skippable(int plane, int block, BLOCK_SIZE plane_bsize, TX_SIZE tx_size, void *argv) argument
[all...]
H A Dvp9_encodeintra.c23 mbmi->tx_size = use_16x16_pred ? (mbmi->sb_type >= BLOCK_16X16 ? TX_16X16
H A Dvp9_encodemb.c118 TX_SIZE tx_size) {
135 const int default_eob = 16 << (tx_size << 1);
137 const int mul = 1 + (tx_size == TX_32X32);
140 const uint8_t *const band_translate = get_band_translate(tx_size);
145 get_scan(xd, tx_size, type, block, &scan, &nb);
184 mb->token_costs[tx_size][type][ref][band][0][pt]
187 mb->token_costs[tx_size][type][ref][band][0][pt]
235 rate0 += mb->token_costs[tx_size][type][ref][band][!x][pt]
240 rate1 += mb->token_costs[tx_size][type][ref][band][!x][pt]
272 mb->token_costs[tx_size][typ
115 optimize_b(MACROBLOCK *mb, int plane, int block, BLOCK_SIZE plane_bsize, ENTROPY_CONTEXT *a, ENTROPY_CONTEXT *l, TX_SIZE tx_size) argument
319 vp9_optimize_b(int plane, int block, BLOCK_SIZE plane_bsize, TX_SIZE tx_size, MACROBLOCK *mb, struct optimize_ctx *ctx) argument
335 const TX_SIZE tx_size = plane ? get_uv_tx_size(mbmi) : mbmi->tx_size; local
342 vp9_xform_quant(int plane, int block, BLOCK_SIZE plane_bsize, TX_SIZE tx_size, void *arg) argument
415 encode_block(int plane, int block, BLOCK_SIZE plane_bsize, TX_SIZE tx_size, void *arg) argument
471 encode_block_pass1(int plane, int block, BLOCK_SIZE plane_bsize, TX_SIZE tx_size, void *arg) argument
521 vp9_encode_block_intra(int plane, int block, BLOCK_SIZE plane_bsize, TX_SIZE tx_size, void *arg) argument
[all...]
H A Dvp9_encodemb.h44 TX_SIZE tx_size, void *arg);
H A Dvp9_rdopt.h56 void vp9_get_entropy_contexts(TX_SIZE tx_size,
H A Dvp9_bitstream.c190 TX_SIZE tx_size, BLOCK_SIZE bsize,
196 vp9_write(w, tx_size != TX_4X4, tx_probs[0]);
197 if (tx_size != TX_4X4 && max_tx_size >= TX_16X16) {
198 vp9_write(w, tx_size != TX_8X8, tx_probs[1]);
199 if (tx_size != TX_8X8 && max_tx_size >= TX_32X32)
200 vp9_write(w, tx_size != TX_16X16, tx_probs[2]);
415 write_selected_tx_size(cpi, m, mi->tx_size, bsize, bc);
520 write_selected_tx_size(cpi, m, m->mbmi.tx_size, m->mbmi.sb_type, bc);
667 static void build_tree_distribution(VP9_COMP *cpi, TX_SIZE tx_size) { argument
668 vp9_coeff_probs_model *coef_probs = cpi->frame_coef_probs[tx_size];
189 write_selected_tx_size(const VP9_COMP *cpi, MODE_INFO *m, TX_SIZE tx_size, BLOCK_SIZE bsize, vp9_writer *w) argument
712 update_coef_probs_common(vp9_writer* const bc, VP9_COMP *cpi, TX_SIZE tx_size) argument
[all...]
H A Dvp9_rdopt.c414 TX_SIZE tx_size,
426 const int t = 4 << tx_size;
428 if (tx_size == TX_4X4) {
430 } else if (tx_size == TX_8X8) {
432 } else if (tx_size == TX_16X16) {
434 } else if (tx_size == TX_32X32) {
491 TX_SIZE tx_size,
497 const int16_t *band_count = &band_counts[tx_size][1];
502 x->token_costs[tx_size][type][ref];
508 // Check for consistency of tx_size wit
413 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
488 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) argument
556 dist_block(int plane, int block, TX_SIZE tx_size, void *arg) argument
581 rate_block(int plane, int block, BLOCK_SIZE plane_bsize, TX_SIZE tx_size, void *arg) argument
593 block_yrd_txfm(int plane, int block, BLOCK_SIZE plane_bsize, TX_SIZE tx_size, void *arg) argument
630 vp9_get_entropy_contexts(TX_SIZE tx_size, ENTROPY_CONTEXT t_above[16], ENTROPY_CONTEXT t_left[16], const ENTROPY_CONTEXT *above, const ENTROPY_CONTEXT *left, int num_4x4_w, int num_4x4_h) argument
663 init_rdcost_stack(MACROBLOCK *x, TX_SIZE tx_size, const int num_4x4_w, const int num_4x4_h, const int64_t ref_rdcost, struct rdcost_block_args *arg) argument
675 txfm_rd_in_plane(MACROBLOCK *x, struct rdcost_block_args *rd_stack, int *rate, int64_t *distortion, int *skippable, int64_t *sse, int64_t ref_best_rd, int plane, BLOCK_SIZE bsize, TX_SIZE tx_size) argument
[all...]
H A Dvp9_block.h240 TX_SIZE tx_size; member in struct:rdcost_block_args
H A Dvp9_encodeframe.c430 vpx_memcpy(x->zcoeff_blk[mbmi->tx_size], ctx->zcoeff_blk,
2069 TX_SIZE tx_size) {
2074 mi_8x8[y * mis + x]->mbmi.tx_size = tx_size;
2087 if (mbmi->tx_size > max_tx_size) {
2511 context, &cm->counts.tx)[mbmi->tx_size];
2526 sz = mbmi->tx_size;
2534 mi_8x8[mis * y + x]->mbmi.tx_size = sz;
2068 set_txfm_flag(MODE_INFO **mi_8x8, int mis, int ymbs, int xmbs, TX_SIZE tx_size) argument
/external/libvpx/libvpx/vp9/common/
H A Dvp9_reconintra.h18 TX_SIZE tx_size, int mode,
H A Dvp9_blockd.h125 TX_SIZE tx_size; member in struct:__anon21589
279 return MIN(mbmi->tx_size, max_uv_txsize_lookup[mbmi->sb_type]);
301 TX_SIZE tx_size,
312 const TX_SIZE tx_size = plane ? get_uv_tx_size(mbmi)
313 : mbmi->tx_size;
317 const int step = 1 << (tx_size << 1);
341 for (r = 0; r < num_4x4_h; r += (1 << tx_size)) {
342 for (c = 0; c < num_4x4_w; c += (1 << tx_size)) {
344 visit(plane, i, plane_bsize, tx_size, arg);
350 visit(plane, i, plane_bsize, tx_size, ar
[all...]
H A Dvp9_entropy.h129 static const uint8_t *get_band_translate(TX_SIZE tx_size) { argument
130 return tx_size == TX_4X4 ? vp9_coefband_trans_4x4
154 static int get_entropy_context(TX_SIZE tx_size, const ENTROPY_CONTEXT *a, argument
158 switch (tx_size) {
182 static void get_scan(const MACROBLOCKD *xd, TX_SIZE tx_size, argument
185 switch (tx_size) {
H A Dvp9_entropy.c378 static void adapt_coef_probs(VP9_COMMON *cm, TX_SIZE tx_size, argument
383 vp9_coeff_probs_model *dst_coef_probs = cm->fc.coef_probs[tx_size];
384 const vp9_coeff_probs_model *pre_coef_probs = pre_fc->coef_probs[tx_size];
385 vp9_coeff_count_model *coef_counts = cm->counts.coef[tx_size];
387 cm->counts.eob_branch[tx_size];
H A Dvp9_debugmodes.c63 print_mi_data(cm, mvs, "Transform:", offsetof(MB_MODE_INFO, tx_size));
H A Dvp9_reconintra.c318 MB_PREDICTION_MODE mode, TX_SIZE tx_size,
326 const int bs = 4 << tx_size;
365 dc_pred[left_available][up_available][tx_size](dst, dst_stride,
368 pred[mode][tx_size](dst, dst_stride, const_above_row, left_col);
373 TX_SIZE tx_size, int mode,
376 const int bwl = bwl_in - tx_size;
383 build_intra_predictors(ref, ref_stride, dst, dst_stride, mode, tx_size,
316 build_intra_predictors(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) argument
372 vp9_predict_intra_block(const MACROBLOCKD *xd, int block_idx, int bwl_in, TX_SIZE tx_size, int mode, const uint8_t *ref, int ref_stride, uint8_t *dst, int dst_stride) argument
H A Dvp9_loopfilter.c511 const TX_SIZE tx_size_y = mi->mbmi.tx_size;
594 const TX_SIZE tx_size_y = mi->mbmi.tx_size;
907 const TX_SIZE tx_size = (plane->plane_type == PLANE_TYPE_UV) local
909 : mi[0].mbmi.tx_size;
919 if (tx_size == TX_32X32) {
932 } else if (tx_size == TX_16X16) {
948 if (tx_size == TX_8X8 || ((c >> ss_x) & 3) == 0)
955 if (tx_size == TX_8X8 || ((r >> ss_y) & 3) == 0)
961 if (!skip_this && tx_size < TX_8X8 && !skip_border_4x4_c)
H A Dvp9_pred_common.c384 : above_mbmi->tx_size;
388 : left_mbmi->tx_size;
/external/libvpx/libvpx/vp9/decoder/
H A Dvp9_detokenize.h20 int x, int y, TX_SIZE tx_size, vp9_reader *r,
H A Dvp9_detokenize.c80 dq[c > 0] / (1 + (tx_size == TX_32X32)); \
95 TX_SIZE tx_size, const int16_t *dq, int pt,
102 fc->coef_probs[tx_size][type][ref];
107 counts->coef[tx_size][type][ref];
109 counts->eob_branch[tx_size][type][ref];
112 const uint8_t *band_translate = get_band_translate(tx_size);
113 get_scan(xd, tx_size, type, block_idx, &scan, &nb);
221 int x, int y, TX_SIZE tx_size, vp9_reader *r,
225 tx_size);
226 const int pt = get_entropy_context(tx_size, p
92 decode_coefs(VP9_COMMON *cm, const MACROBLOCKD *xd, vp9_reader *r, int block_idx, PLANE_TYPE type, int seg_eob, int16_t *dqcoeff_ptr, TX_SIZE tx_size, const int16_t *dq, int pt, uint8_t *token_cache) argument
219 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, uint8_t *token_cache) argument
[all...]
H A Dvp9_decodframe.c245 TX_SIZE tx_size, int x, int y) {
255 switch (tx_size) {
282 if (tx_type == DCT_DCT && tx_size <= TX_16X16 && eob <= 10)
283 vpx_memset(dqcoeff, 0, 4 * (4 << tx_size) * sizeof(dqcoeff[0]));
284 else if (tx_size == TX_32X32 && eob <= 34)
287 vpx_memset(dqcoeff, 0, (16 << (tx_size << 1)) * sizeof(dqcoeff[0]));
301 TX_SIZE tx_size, void *arg) {
313 txfrm_block_to_raster_xy(plane_bsize, tx_size, block, &x, &y);
317 extend_for_intra(xd, plane_bsize, plane, block, tx_size);
319 vp9_predict_intra_block(xd, block >> (tx_size <<
244 inverse_transform_block(MACROBLOCKD* xd, int plane, int block, TX_SIZE tx_size, int x, int y) argument
299 predict_and_reconstruct_intra_block(int plane, int block, BLOCK_SIZE plane_bsize, TX_SIZE tx_size, void *arg) argument
338 reconstruct_inter_block(int plane, int block, BLOCK_SIZE plane_bsize, TX_SIZE tx_size, void *arg) argument
570 TX_SIZE tx_size; local
[all...]
H A Dvp9_decodemv.c68 TX_SIZE tx_size = vp9_read(r, tx_probs[0]); local
69 if (tx_size != TX_4X4 && max_tx_size >= TX_16X16) {
70 tx_size += vp9_read(r, tx_probs[1]);
71 if (tx_size != TX_8X8 && max_tx_size >= TX_32X32)
72 tx_size += vp9_read(r, tx_probs[2]);
76 ++get_tx_counts(max_tx_size, ctx, &cm->counts.tx)[tx_size];
77 return tx_size;
174 mbmi->tx_size = read_tx_size(cm, xd, cm->tx_mode, bsize, 1, r);
542 mbmi->tx_size = read_tx_size(cm, xd, cm->tx_mode, mbmi->sb_type,
/external/bluetooth/bluedroid/btif/co/
H A Dbta_hl_co.c197 BTIF_TRACE_DEBUG4("%s success=%d max tx_size=%d rx_size=%d",
336 if (p_dcb->tx_size <= buf_size )
338 memcpy(p_buf, p_dcb->p_tx_pkt, p_dcb->tx_size);
340 p_dcb->tx_size = 0;
/external/bluetooth/bluedroid/btif/include/
H A Dbtif_hl.h178 UINT16 tx_size; member in struct:__anon950
/external/bluetooth/bluedroid/btif/src/
H A Dbtif_hl.c3272 BTIF_TRACE_DEBUG1("send success free p_tx_pkt tx_size=%d", p_dcb->tx_size);
3273 p_dcb->tx_size = 0;
4950 BTIF_TRACE_ERROR1("Rcv new pkt but the last pkt is still not been sent tx_size=%d", p_dcb->tx_size);
4964 p_dcb->tx_size = r;
4965 BTIF_TRACE_DEBUG1("btif_hl_select_monitor_callback send data tx_size=%d", p_dcb->tx_size );
4966 BTA_HlSendData(p_dcb->mdl_handle, p_dcb->tx_size );

Completed in 1599 milliseconds

12