Home
last modified time | relevance | path

Searched refs:plane_bsize (Results 1 – 10 of 10) sorted by relevance

/external/libvpx/libvpx/vp9/common/
Dvp9_blockd.c49 const BLOCK_SIZE plane_bsize = get_plane_block_size(bsize, pd); in vp9_foreach_transformed_block_in_plane() local
50 const int num_4x4_w = num_4x4_blocks_wide_lookup[plane_bsize]; in vp9_foreach_transformed_block_in_plane()
51 const int num_4x4_h = num_4x4_blocks_high_lookup[plane_bsize]; in vp9_foreach_transformed_block_in_plane()
69 visit(plane, i, plane_bsize, tx_size, arg); in vp9_foreach_transformed_block_in_plane()
87 BLOCK_SIZE plane_bsize, TX_SIZE tx_size, int has_eob, in vp9_set_contexts() argument
96 const int blocks_wide = num_4x4_blocks_wide_lookup[plane_bsize] + in vp9_set_contexts()
113 const int blocks_high = num_4x4_blocks_high_lookup[plane_bsize] + in vp9_set_contexts()
Dvp9_blockd.h240 const BLOCK_SIZE plane_bsize = ss_size_lookup[bsize][xss][yss]; in get_uv_tx_size_impl() local
241 return VPXMIN(y_tx_size, max_txsize_lookup[plane_bsize]); in get_uv_tx_size_impl()
260 const BLOCK_SIZE plane_bsize = get_plane_block_size(bsize, pd); in reset_skip_context() local
262 sizeof(ENTROPY_CONTEXT) * num_4x4_blocks_wide_lookup[plane_bsize]); in reset_skip_context()
264 sizeof(ENTROPY_CONTEXT) * num_4x4_blocks_high_lookup[plane_bsize]); in reset_skip_context()
278 BLOCK_SIZE plane_bsize,
291 static INLINE void txfrm_block_to_raster_xy(BLOCK_SIZE plane_bsize, in txfrm_block_to_raster_xy() argument
294 const int bwl = b_width_log2_lookup[plane_bsize]; in txfrm_block_to_raster_xy()
303 BLOCK_SIZE plane_bsize, TX_SIZE tx_size, int has_eob,
Dvp9_reconinter.c240 const BLOCK_SIZE plane_bsize = get_plane_block_size(bsize, in build_inter_predictors_for_planes() local
242 const int num_4x4_w = num_4x4_blocks_wide_lookup[plane_bsize]; in build_inter_predictors_for_planes()
243 const int num_4x4_h = num_4x4_blocks_high_lookup[plane_bsize]; in build_inter_predictors_for_planes()
/external/libvpx/libvpx/vp9/encoder/
Dvp9_encodemb.h29 BLOCK_SIZE plane_bsize, TX_SIZE tx_size);
31 BLOCK_SIZE plane_bsize, TX_SIZE tx_size);
33 BLOCK_SIZE plane_bsize, TX_SIZE tx_size);
37 void vp9_encode_block_intra(int plane, int block, BLOCK_SIZE plane_bsize,
Dvp9_tokenize.c419 static void set_entropy_context_b(int plane, int block, BLOCK_SIZE plane_bsize, in set_entropy_context_b() argument
428 txfrm_block_to_raster_xy(plane_bsize, tx_size, block, &aoff, &loff); in set_entropy_context_b()
429 vp9_set_contexts(xd, pd, plane_bsize, tx_size, p->eobs[block] > 0, in set_entropy_context_b()
463 static void tokenize_b(int plane, int block, BLOCK_SIZE plane_bsize, in tokenize_b() argument
496 txfrm_block_to_raster_xy(plane_bsize, tx_size, block, &aoff, &loff); in tokenize_b()
540 vp9_set_contexts(xd, pd, plane_bsize, tx_size, c > 0, aoff, loff); in tokenize_b()
548 BLOCK_SIZE plane_bsize, TX_SIZE tx_size, in is_skippable() argument
552 (void)plane_bsize; in is_skippable()
568 BLOCK_SIZE plane_bsize, TX_SIZE tx_size, in has_high_freq_coeff() argument
573 (void) plane_bsize; in has_high_freq_coeff()
Dvp9_encodemb.c37 const BLOCK_SIZE plane_bsize = get_plane_block_size(bsize, pd); in vp9_subtract_plane() local
38 const int bw = 4 * num_4x4_blocks_wide_lookup[plane_bsize]; in vp9_subtract_plane()
39 const int bh = 4 * num_4x4_blocks_high_lookup[plane_bsize]; in vp9_subtract_plane()
326 BLOCK_SIZE plane_bsize, TX_SIZE tx_size) { in vp9_xform_quant_fp() argument
335 const int diff_stride = 4 * num_4x4_blocks_wide_lookup[plane_bsize]; in vp9_xform_quant_fp()
338 txfrm_block_to_raster_xy(plane_bsize, tx_size, block, &i, &j); in vp9_xform_quant_fp()
416 BLOCK_SIZE plane_bsize, TX_SIZE tx_size) { in vp9_xform_quant_dc() argument
424 const int diff_stride = 4 * num_4x4_blocks_wide_lookup[plane_bsize]; in vp9_xform_quant_dc()
428 txfrm_block_to_raster_xy(plane_bsize, tx_size, block, &i, &j); in vp9_xform_quant_dc()
497 BLOCK_SIZE plane_bsize, TX_SIZE tx_size) { in vp9_xform_quant() argument
[all …]
Dvp9_rd.c419 const BLOCK_SIZE plane_bsize = get_plane_block_size(bsize, pd); in vp9_get_entropy_contexts() local
420 const int num_4x4_w = num_4x4_blocks_wide_lookup[plane_bsize]; in vp9_get_entropy_contexts()
421 const int num_4x4_h = num_4x4_blocks_high_lookup[plane_bsize]; in vp9_get_entropy_contexts()
533 int vp9_raster_block_offset(BLOCK_SIZE plane_bsize, in vp9_raster_block_offset() argument
535 const int bw = b_width_log2_lookup[plane_bsize]; in vp9_raster_block_offset()
541 int16_t* vp9_raster_block_offset_int16(BLOCK_SIZE plane_bsize, in vp9_raster_block_offset_int16() argument
543 const int stride = 4 * num_4x4_blocks_wide_lookup[plane_bsize]; in vp9_raster_block_offset_int16()
544 return base + vp9_raster_block_offset(plane_bsize, raster_block, stride); in vp9_raster_block_offset_int16()
Dvp9_rd.h142 int vp9_raster_block_offset(BLOCK_SIZE plane_bsize,
145 int16_t* vp9_raster_block_offset_int16(BLOCK_SIZE plane_bsize,
Dvp9_rdopt.c478 static int rate_block(int plane, int block, BLOCK_SIZE plane_bsize, in rate_block() argument
481 txfrm_block_to_raster_xy(plane_bsize, tx_size, block, &x_idx, &y_idx); in rate_block()
489 static void block_rd_txfm(int plane, int block, BLOCK_SIZE plane_bsize, in block_rd_txfm() argument
505 vp9_encode_block_intra(plane, block, plane_bsize, tx_size, &arg); in block_rd_txfm()
507 } else if (max_txsize_lookup[plane_bsize] == tx_size) { in block_rd_txfm()
511 vp9_xform_quant(x, plane, block, plane_bsize, tx_size); in block_rd_txfm()
518 vp9_xform_quant_dc(x, plane, block, plane_bsize, tx_size); in block_rd_txfm()
542 vp9_xform_quant(x, plane, block, plane_bsize, tx_size); in block_rd_txfm()
552 rate = rate_block(plane, block, plane_bsize, tx_size, args); in block_rd_txfm()
1333 const BLOCK_SIZE plane_bsize = get_plane_block_size(mi->mbmi.sb_type, pd); in encode_inter_mb_segment() local
[all …]
Dvp9_pickmode.c691 static void model_rd_for_sb_uv(VP9_COMP *cpi, BLOCK_SIZE plane_bsize, in model_rd_for_sb_uv() argument
712 const BLOCK_SIZE bs = plane_bsize; in model_rd_for_sb_uv()
881 static void estimate_block_intra(int plane, int block, BLOCK_SIZE plane_bsize, in estimate_block_intra() argument
898 txfrm_block_to_raster_xy(plane_bsize, tx_size, block, &i, &j); in estimate_block_intra()
903 vp9_predict_intra_block(xd, b_width_log2_lookup[plane_bsize], in estimate_block_intra()
921 model_rd_for_sb_uv(cpi, plane_bsize, x, xd, &rate, &dist, &var, &sse, in estimate_block_intra()