Home
last modified time | relevance | path

Searched refs:blk_col (Results 1 – 25 of 27) sorted by relevance

12

/external/libaom/libaom/av1/encoder/x86/
Dtemporal_filter_sse4.c528 unsigned int blk_col = 0, uv_blk_col = 0; in av1_apply_temporal_filter_luma() local
545 y_src + blk_col, y_src_stride, y_pre + blk_col, y_pre_stride, in av1_apply_temporal_filter_luma()
548 block_height, ss_x, ss_y, strength, use_whole_blk, y_accum + blk_col, in av1_apply_temporal_filter_luma()
549 y_count + blk_col, y_dist + blk_col, u_dist + uv_blk_col, in av1_apply_temporal_filter_luma()
554 y_src + blk_col, y_src_stride, y_pre + blk_col, y_pre_stride, in av1_apply_temporal_filter_luma()
557 block_height, ss_x, ss_y, strength, use_whole_blk, y_accum + blk_col, in av1_apply_temporal_filter_luma()
558 y_count + blk_col, y_dist + blk_col, u_dist + uv_blk_col, in av1_apply_temporal_filter_luma()
569 y_src + blk_col, y_src_stride, y_pre + blk_col, y_pre_stride, in av1_apply_temporal_filter_luma()
572 use_whole_blk, y_accum + blk_col, y_count + blk_col, y_dist + blk_col, in av1_apply_temporal_filter_luma()
576 blk_col += blk_col_step; in av1_apply_temporal_filter_luma()
[all …]
Dhighbd_temporal_filter_sse4.c374 unsigned int blk_col = 0, uv_blk_col = 0; in av1_highbd_apply_temporal_filter_luma() local
387 y_src + blk_col, y_src_stride, y_pre + blk_col, y_pre_stride, in av1_highbd_apply_temporal_filter_luma()
390 strength, use_whole_blk, y_accum + blk_col, y_count + blk_col, in av1_highbd_apply_temporal_filter_luma()
391 y_dist + blk_col, u_dist + uv_blk_col, v_dist + uv_blk_col, in av1_highbd_apply_temporal_filter_luma()
394 blk_col += blk_col_step; in av1_highbd_apply_temporal_filter_luma()
399 for (; blk_col < mid_width; in av1_highbd_apply_temporal_filter_luma()
400 blk_col += blk_col_step, uv_blk_col += uv_blk_col_step) { in av1_highbd_apply_temporal_filter_luma()
402 y_src + blk_col, y_src_stride, y_pre + blk_col, y_pre_stride, in av1_highbd_apply_temporal_filter_luma()
405 block_height, ss_x, ss_y, strength, use_whole_blk, y_accum + blk_col, in av1_highbd_apply_temporal_filter_luma()
406 y_count + blk_col, y_dist + blk_col, u_dist + uv_blk_col, in av1_highbd_apply_temporal_filter_luma()
[all …]
/external/libaom/libaom/av1/encoder/
Dencodemb.c67 int blk_col, int blk_row, TX_SIZE tx_size) { in av1_subtract_txb() argument
77 &pd->dst.buf[(blk_row * dst_stride + blk_col) << tx_size_wide_log2[0]]; in av1_subtract_txb()
79 &p->src.buf[(blk_row * src_stride + blk_col) << tx_size_wide_log2[0]]; in av1_subtract_txb()
81 &p->src_diff[(blk_row * diff_stride + blk_col) << tx_size_wide_log2[0]]; in av1_subtract_txb()
133 int blk_row, int blk_col, BLOCK_SIZE plane_bsize, in av1_xform_quant() argument
158 const int src_offset = (blk_row * diff_stride + blk_col); in av1_xform_quant()
201 static void encode_block(int plane, int block, int blk_row, int blk_col, in encode_block() argument
221 .buf[(blk_row * pd->dst.stride + blk_col) << tx_size_wide_log2[0]]; in encode_block()
223 a = &args->ta[blk_col]; in encode_block()
226 if (!is_blk_skip(x, plane, blk_row * bw + blk_col) && !mbmi->skip_mode) { in encode_block()
[all …]
Dtokenize.c135 int blk_col, int block, int plane, void *arg) { in tokenize_vartx() argument
143 if (blk_row >= max_blocks_high || blk_col >= max_blocks_wide) return; in tokenize_vartx()
149 blk_col)]; in tokenize_vartx()
155 av1_update_and_record_txb_context(plane, block, blk_row, blk_col, in tokenize_vartx()
158 av1_update_txb_context_b(plane, block, blk_row, blk_col, plane_bsize, in tokenize_vartx()
176 const int offsetc = blk_col + col; in tokenize_vartx()
239 int blk_row, blk_col; in av1_tokenize_sb_vartx() local
243 for (blk_col = idx; blk_col < unit_width; blk_col += bw) { in av1_tokenize_sb_vartx()
245 blk_col, block, plane, &arg); in av1_tokenize_sb_vartx()
Drdopt.h42 int blk_col, int txb_coeff_cost) { in av1_update_txb_coeff_cost() argument
44 (void)blk_col; in av1_update_txb_coeff_cost()
54 rd_stats->txb_coeff_cost_map[plane][blk_row + idy][blk_col + idx] = 0; in av1_update_txb_coeff_cost()
56 rd_stats->txb_coeff_cost_map[plane][blk_row][blk_col] = txb_coeff_cost; in av1_update_txb_coeff_cost()
59 assert(blk_col < TXB_COEFF_COST_MAP_SIZE); in av1_update_txb_coeff_cost()
Dencodetxb.h55 aom_writer *w, int blk_row, int blk_col, int plane,
66 void av1_update_txb_context_b(int plane, int block, int blk_row, int blk_col,
71 int blk_col, BLOCK_SIZE plane_bsize,
Dencodemb.h63 int blk_row, int blk_col, BLOCK_SIZE plane_bsize,
72 int blk_col, int blk_row, TX_SIZE tx_size);
84 void av1_encode_block_intra(int plane, int block, int blk_row, int blk_col,
Dencodetxb.c506 aom_writer *w, int blk_row, int blk_col, int plane, argument
515 const TX_TYPE tx_type = av1_get_tx_type(plane_type, xd, blk_row, blk_col,
530 av1_write_tx_type(cm, xd, blk_row, blk_col, plane, tx_size, w);
639 int blk_row, int blk_col, TX_SIZE tx_size) { argument
653 av1_write_coeffs_txb(cm, xd, w, blk_row, blk_col, plane, tx_size, tcoeff, eob,
691 for (int blk_col = col >> pd->subsampling_x; blk_col < unit_width; local
692 blk_col += stepc) {
694 blk_col, tx_size);
1814 int blk_row, int blk_col, int block, TX_SIZE tx_size, argument
1820 const TX_TYPE tx_type = av1_get_tx_type(plane_type, xd, blk_row, blk_col,
[all …]
Dbitstream.h40 int blk_row, int blk_col, int plane, TX_SIZE tx_size,
Drdopt.c1804 int blk_row, int blk_col, TxSetType tx_set_type, in prune_tx_2D() argument
1832 const int16_t *diff = p->src_diff + 4 * blk_row * diff_stride + 4 * blk_col; in prune_tx_2D()
2101 BLOCK_SIZE plane_bsize, int blk_row, int blk_col, in get_txb_dimensions() argument
2123 *visible_width = clamp(block_cols - (blk_col << tx_unit_size), 0, txb_width); in get_txb_dimensions()
2134 int blk_row, int blk_col, in pixel_dist() argument
2140 get_txb_dimensions(xd, plane, plane_bsize, blk_row, blk_col, tx_bsize, in pixel_dist()
2162 int blk_row, int blk_col, in pixel_diff_dist() argument
2168 get_txb_dimensions(xd, plane, plane_bsize, blk_row, blk_col, tx_bsize, NULL, in pixel_diff_dist()
2177 const int src_idx = (blk_row * src_stride + blk_col) in pixel_diff_dist()
2179 const int diff_idx = (blk_row * diff_stride + blk_col) in pixel_diff_dist()
[all …]
Dbitstream.c147 int blk_col, aom_writer *w) { in write_tx_size_vartx() argument
152 if (blk_row >= max_blocks_high || blk_col >= max_blocks_wide) return; in write_tx_size_vartx()
155 txfm_partition_update(xd->above_txfm_context + blk_col, in write_tx_size_vartx()
160 const int ctx = txfm_partition_context(xd->above_txfm_context + blk_col, in write_tx_size_vartx()
164 av1_get_txb_size_index(mbmi->sb_type, blk_row, blk_col); in write_tx_size_vartx()
170 txfm_partition_update(xd->above_txfm_context + blk_col, in write_tx_size_vartx()
181 txfm_partition_update(xd->above_txfm_context + blk_col, in write_tx_size_vartx()
190 int offsetc = blk_col + col; in write_tx_size_vartx()
357 int block, int blk_row, int blk_col, in pack_txb_tokens() argument
362 if (blk_row >= max_blocks_high || blk_col >= max_blocks_wide) return; in pack_txb_tokens()
[all …]
Dencodeframe.c5777 int blk_row, int blk_col, in update_txfm_count() argument
5783 int ctx = txfm_partition_context(xd->above_txfm_context + blk_col, in update_txfm_count()
5786 const int txb_size_index = av1_get_txb_size_index(bsize, blk_row, blk_col); in update_txfm_count()
5789 if (blk_row >= max_blocks_high || blk_col >= max_blocks_wide) return; in update_txfm_count()
5795 txfm_partition_update(xd->above_txfm_context + blk_col, in update_txfm_count()
5807 txfm_partition_update(xd->above_txfm_context + blk_col, in update_txfm_count()
5824 txfm_partition_update(xd->above_txfm_context + blk_col, in update_txfm_count()
5835 blk_col + offsetc, allow_update_cdf); in update_txfm_count()
5864 int blk_col) { in set_txfm_context() argument
5869 const int txb_size_index = av1_get_txb_size_index(bsize, blk_row, blk_col); in set_txfm_context()
[all …]
/external/libhevc/encoder/
Dihevce_enc_sbh_funcs.c123 WORD32 blk_row, blk_col; in ihevce_sign_data_hiding() local
191 blk_col = (pu1_trans_table[trans_unit_idx] & mask_value) * 4; in ihevce_sign_data_hiding()
200 x_pos = (pu1_csb_table[i] & 0x3) + blk_col; in ihevce_sign_data_hiding()
219 x_pos = (pu1_csb_table[first_scan_pos] & 0x3) + blk_col; in ihevce_sign_data_hiding()
236 x_pos = (pu1_csb_table[i] & 0x3) + blk_col; in ihevce_sign_data_hiding()
285 x_pos = (pu1_csb_table[best_pos] & 0x3) + blk_col; in ihevce_sign_data_hiding()
Dihevce_cabac_tu.c2489 WORD32 blk_row, blk_col; in ihevce_cabac_residue_encode_rdoq() local
2515 blk_col = pu1_trans_table[i] & mask_value; /*col of csb*/ in ihevce_cabac_residue_encode_rdoq()
2518 scaled_blk_col = blk_col << 2; in ihevce_cabac_residue_encode_rdoq()
2523 if((blk_col + 1 < trans_size / 4)) /* checking right boundary */ in ihevce_cabac_residue_encode_rdoq()
2526 ->pu1_csbf_buf[pi4_subBlock2csbfId_map[blk_row * trans_size / 4 + blk_col + 1]]) in ihevce_cabac_residue_encode_rdoq()
2535 … ->pu1_csbf_buf[pi4_subBlock2csbfId_map[(blk_row + 1) * trans_size / 4 + blk_col]]) in ihevce_cabac_residue_encode_rdoq()
3346 WORD32 blk_col; in ihevce_find_new_last_csb() local
3368 blk_col = pu1_trans_table[i] & mask_value; in ihevce_find_new_last_csb()
3373 x_pos = (pu1_csb_table[j] & 0x3) + blk_col * 4; in ihevce_find_new_last_csb()
/external/libhevc/encoder/arm/
Dihevce_scan_coeffs_neon.c131 WORD32 blk_row, blk_col; in ihevce_scan_coeffs_neon() local
189 blk_col = pu1_trans_table[trans_unit_idx] & mask_value; in ihevce_scan_coeffs_neon()
191 pi2_temp_quant_coeff += (blk_col * 4 + (blk_row * 4) * trans_size); in ihevce_scan_coeffs_neon()
261 u1_last_x = (pu1_csb_table[pos_last_coded] & 0x3) + blk_col * 4; in ihevce_scan_coeffs_neon()
331 blk_col = pu1_trans_table[trans_unit_idx] & mask_value; /*col of csb*/ in ihevce_scan_coeffs_neon()
347 if((blk_col + 1 < trans_size / 4)) /* checking right boundary */ in ihevce_scan_coeffs_neon()
349 if(pu1_csbf_buf[pi4_subBlock2csbfId_map[blk_row * trans_size / 4 + blk_col + 1]]) in ihevce_scan_coeffs_neon()
357 if(pu1_csbf_buf[pi4_subBlock2csbfId_map[(blk_row + 1) * trans_size / 4 + blk_col]]) in ihevce_scan_coeffs_neon()
382 pi2_quant_coeffs + blk_col * 4 + (blk_row * 4) * trans_size; in ihevce_scan_coeffs_neon()
/external/libaom/libaom/av1/common/
Dblockd.h793 int blk_col) { in av1_get_txb_size_index() argument
802 ((blk_row >> tx_h_log2) << stride_log2) + (blk_col >> tx_w_log2); in av1_get_txb_size_index()
808 int blk_col) { in av1_get_txk_type_index() argument
817 ((blk_row >> tx_h_log2) << stride_log2) + (blk_col >> tx_w_log2); in av1_get_txk_type_index()
823 int blk_row, int blk_col, TX_SIZE tx_size, in update_txk_array() argument
825 const int txk_type_idx = av1_get_txk_type_index(bsize, blk_row, blk_col); in update_txk_array()
840 av1_get_txk_type_index(bsize, blk_row + idy, blk_col + idx); in update_txk_array()
849 int blk_col, TX_SIZE tx_size, in av1_get_tx_type() argument
862 av1_get_txk_type_index(mbmi->sb_type, blk_row, blk_col); in av1_get_tx_type()
867 blk_col <<= pd->subsampling_x; in av1_get_tx_type()
[all …]
Dmvref_common.c328 int blk_row, int blk_col, int_mv *gm_mv_candidates, in add_tpl_ref_mv() argument
337 mi_pos.col = (mi_col & 0x01) ? blk_col : blk_col + 1; in add_tpl_ref_mv()
364 if (blk_row == 0 && blk_col == 0) in add_tpl_ref_mv()
409 if (blk_row == 0 && blk_col == 0) in add_tpl_ref_mv()
584 for (int blk_col = 0; blk_col < blk_col_end; blk_col += step_w) { in setup_ref_mv_list() local
586 blk_col, gm_mv_candidates, refmv_count, in setup_ref_mv_list()
588 if (blk_row == 0 && blk_col == 0) is_available = ret; in setup_ref_mv_list()
596 const int blk_col = tpl_sample_pos[i][1]; in setup_ref_mv_list() local
598 if (!check_sb_border(mi_row, mi_col, blk_row, blk_col)) continue; in setup_ref_mv_list()
599 add_tpl_ref_mv(cm, xd, mi_row, mi_col, ref_frame, blk_row, blk_col, in setup_ref_mv_list()
[all …]
Dav1_loopfilter.c825 int blk_row, int blk_col, in setup_tx_block_mask() argument
829 blk_col <<= ssx; in setup_tx_block_mask()
831 ((mi_col + blk_col) << MI_SIZE_LOG2) >= cm->width) in setup_tx_block_mask()
837 setup_masks(cm, mi_row + blk_row, mi_col + blk_col, plane, ssx, ssy, in setup_tx_block_mask()
858 plane_bsize, blk_row, blk_col)]; in setup_tx_block_mask()
863 blk_col; in setup_tx_block_mask()
872 setup_masks(cm, mi_row + blk_row, mi_col + blk_col, plane, ssx, ssy, in setup_tx_block_mask()
881 const int offsetc = blk_col + col; in setup_tx_block_mask()
935 for (int blk_col = idx; blk_col < unit_width; blk_col += bw) { in setup_fix_block_mask() local
936 setup_tx_block_mask(cm, mi_row, mi_col, blk_row, blk_col, plane_bsize, in setup_fix_block_mask()
[all …]
Dreconintra.h27 int plane, int blk_col, int blk_row,
Dreconintra.c1593 int plane, int blk_col, int blk_row, in av1_predict_intra_block_facade() argument
1599 &pd->dst.buf[(blk_row * dst_stride + blk_col) << tx_size_wide_log2[0]]; in av1_predict_intra_block_facade()
1617 assert(blk_col == 0); in av1_predict_intra_block_facade()
1628 dst_stride, dst, dst_stride, blk_col, blk_row, in av1_predict_intra_block_facade()
1642 dst_stride, dst, dst_stride, blk_col, blk_row, plane); in av1_predict_intra_block_facade()
/external/libaom/libaom/av1/decoder/
Ddecodetxb.c112 const int blk_col, const int plane, in av1_read_coeffs_txb() argument
143 av1_get_txk_type_index(mbmi->sb_type, blk_row, blk_col); in av1_read_coeffs_txb()
152 av1_get_txk_type_index(mbmi->sb_type, blk_row, blk_col); in av1_read_coeffs_txb()
160 av1_read_tx_type(cm, xd, blk_row, blk_col, tx_size, r); in av1_read_coeffs_txb()
162 const TX_TYPE tx_type = av1_get_tx_type(plane_type, xd, blk_row, blk_col, in av1_read_coeffs_txb()
Ddecodemv.h33 int blk_col, TX_SIZE tx_size, aom_reader *r);
Ddecodetxb.h24 const int blk_col, const int plane,
Ddecodeframe.c249 const int blk_row, const int blk_col, in inverse_transform_inter_block() argument
256 const TX_TYPE tx_type = av1_get_tx_type(plane_type, xd, blk_row, blk_col, in inverse_transform_inter_block()
261 .buf[(blk_row * pd->dst.stride + blk_col) << tx_size_wide_log2[0]]; in inverse_transform_inter_block()
269 mi_to_pixel_loc(&pixel_c, &pixel_r, mi_col, mi_row, blk_col, blk_row, in inverse_transform_inter_block()
287 int blk_row, int blk_col, int block, in decode_reconstruct_tx() argument
295 blk_col)]; in decode_reconstruct_tx()
300 if (blk_row >= max_blocks_high || blk_col >= max_blocks_wide) return; in decode_reconstruct_tx()
303 td->read_coeffs_tx_inter_block_visit(cm, xd, r, plane, blk_row, blk_col, in decode_reconstruct_tx()
306 td->inverse_tx_inter_block_visit(cm, xd, r, plane, blk_row, blk_col, in decode_reconstruct_tx()
324 const int offsetc = blk_col + col; in decode_reconstruct_tx()
[all …]
/external/libvpx/libvpx/vp9/encoder/
Dvp9_rdopt.c468 int blk_col, const BLOCK_SIZE plane_bsize, in pixel_sse() argument
476 pd->subsampling_x, blk_col); in pixel_sse()
506 int blk_row, int blk_col, in sum_squares_visible() argument
515 pd->subsampling_x, blk_col); in sum_squares_visible()
541 int blk_col, TX_SIZE tx_size, int64_t *out_dist, in dist_block() argument
583 const int src_idx = 4 * (blk_row * src_stride + blk_col); in dist_block()
584 const int dst_idx = 4 * (blk_row * dst_stride + blk_col); in dist_block()
591 blk_col, plane_bsize, tx_bsize); in dist_block()
645 tmp = pixel_sse(cpi, xd, pd, src, src_stride, recon, 32, blk_row, blk_col, in dist_block()
659 static void block_rd_txfm(int plane, int block, int blk_row, int blk_col, in block_rd_txfm() argument
[all …]

12