/aosp_15_r20/external/libvpx/vp9/encoder/x86/ |
H A D | temporal_filter_sse4.c | 452 unsigned int blk_col = 0, uv_blk_col = 0; in vp9_apply_temporal_filter_luma() local 469 y_pre + blk_col, y_pre_stride, 16, block_height, ss_x, ss_y, strength, in vp9_apply_temporal_filter_luma() 470 use_whole_blk, y_accum + blk_col, y_count + blk_col, y_dist + blk_col, in vp9_apply_temporal_filter_luma() 475 y_pre + blk_col, y_pre_stride, 16, block_height, ss_x, ss_y, strength, in vp9_apply_temporal_filter_luma() 476 use_whole_blk, y_accum + blk_col, y_count + blk_col, y_dist + blk_col, in vp9_apply_temporal_filter_luma() 488 y_pre + blk_col, y_pre_stride, 16, block_height, ss_x, ss_y, strength, in vp9_apply_temporal_filter_luma() 489 use_whole_blk, y_accum + blk_col, y_count + blk_col, y_dist + blk_col, in vp9_apply_temporal_filter_luma() 493 blk_col += blk_col_step; in vp9_apply_temporal_filter_luma() 498 for (; blk_col < mid_width; in vp9_apply_temporal_filter_luma() 499 blk_col += blk_col_step, uv_blk_col += uv_blk_col_step) { in vp9_apply_temporal_filter_luma() [all …]
|
H A D | highbd_temporal_filter_sse4.c | 360 unsigned int blk_col = 0, uv_blk_col = 0; in vp9_highbd_apply_temporal_filter_luma() local 373 y_pre + blk_col, y_pre_stride, blk_col_step, block_height, ss_x, ss_y, in vp9_highbd_apply_temporal_filter_luma() 374 strength, use_whole_blk, y_accum + blk_col, y_count + blk_col, in vp9_highbd_apply_temporal_filter_luma() 375 y_dist + blk_col, u_dist + uv_blk_col, v_dist + uv_blk_col, in vp9_highbd_apply_temporal_filter_luma() 378 blk_col += blk_col_step; in vp9_highbd_apply_temporal_filter_luma() 383 for (; blk_col < mid_width; in vp9_highbd_apply_temporal_filter_luma() 384 blk_col += blk_col_step, uv_blk_col += uv_blk_col_step) { in vp9_highbd_apply_temporal_filter_luma() 386 y_pre + blk_col, y_pre_stride, blk_col_step, block_height, ss_x, ss_y, in vp9_highbd_apply_temporal_filter_luma() 387 strength, use_whole_blk, y_accum + blk_col, y_count + blk_col, in vp9_highbd_apply_temporal_filter_luma() 388 y_dist + blk_col, u_dist + uv_blk_col, v_dist + uv_blk_col, in vp9_highbd_apply_temporal_filter_luma() [all …]
|
/aosp_15_r20/external/libvpx/vp9/encoder/arm/neon/ |
H A D | vp9_temporal_filter_neon.c | 428 unsigned int blk_col = 0, uv_blk_col = 0; in apply_temporal_filter_luma() local 445 y_pre + blk_col, y_pre_stride, 16, block_height, ss_x, ss_y, strength, in apply_temporal_filter_luma() 446 use_whole_blk, y_accum + blk_col, y_count + blk_col, y_dist + blk_col, in apply_temporal_filter_luma() 451 y_pre + blk_col, y_pre_stride, 16, block_height, ss_x, ss_y, strength, in apply_temporal_filter_luma() 452 use_whole_blk, y_accum + blk_col, y_count + blk_col, y_dist + blk_col, in apply_temporal_filter_luma() 464 y_pre + blk_col, y_pre_stride, 16, block_height, ss_x, ss_y, strength, in apply_temporal_filter_luma() 465 use_whole_blk, y_accum + blk_col, y_count + blk_col, y_dist + blk_col, in apply_temporal_filter_luma() 469 blk_col += blk_col_step; in apply_temporal_filter_luma() 474 for (; blk_col < mid_width; in apply_temporal_filter_luma() 475 blk_col += blk_col_step, uv_blk_col += uv_blk_col_step) { in apply_temporal_filter_luma() [all …]
|
H A D | vp9_highbd_temporal_filter_neon.c | 334 unsigned int blk_col = 0, uv_blk_col = 0; in highbd_apply_temporal_filter_luma() local 347 y_pre + blk_col, y_pre_stride, blk_col_step, block_height, ss_x, ss_y, in highbd_apply_temporal_filter_luma() 348 strength, use_whole_blk, y_accum + blk_col, y_count + blk_col, in highbd_apply_temporal_filter_luma() 349 y_dist + blk_col, u_dist + uv_blk_col, v_dist + uv_blk_col, in highbd_apply_temporal_filter_luma() 352 blk_col += blk_col_step; in highbd_apply_temporal_filter_luma() 357 for (; blk_col < mid_width; in highbd_apply_temporal_filter_luma() 358 blk_col += blk_col_step, uv_blk_col += uv_blk_col_step) { in highbd_apply_temporal_filter_luma() 360 y_pre + blk_col, y_pre_stride, blk_col_step, block_height, ss_x, ss_y, in highbd_apply_temporal_filter_luma() 361 strength, use_whole_blk, y_accum + blk_col, y_count + blk_col, in highbd_apply_temporal_filter_luma() 362 y_dist + blk_col, u_dist + uv_blk_col, v_dist + uv_blk_col, in highbd_apply_temporal_filter_luma() [all …]
|
/aosp_15_r20/external/libaom/av1/encoder/ |
H A D | encodemb.c | 56 int blk_col, int blk_row, TX_SIZE tx_size) { in av1_subtract_txb() argument 66 uint8_t *dst = &pd->dst.buf[(blk_row * dst_stride + blk_col) << MI_SIZE_LOG2]; in av1_subtract_txb() 67 uint8_t *src = &p->src.buf[(blk_row * src_stride + blk_col) << MI_SIZE_LOG2]; in av1_subtract_txb() 69 &p->src_diff[(blk_row * diff_stride + blk_col) << MI_SIZE_LOG2]; in av1_subtract_txb() 297 int blk_col, BLOCK_SIZE plane_bsize, TxfmParam *txfm_param, in av1_xform_quant() argument 299 av1_xform(x, plane, block, blk_row, blk_col, plane_bsize, txfm_param); in av1_xform_quant() 303 void av1_xform(MACROBLOCK *x, int plane, int block, int blk_row, int blk_col, in av1_xform() argument 310 const int src_offset = (blk_row * diff_stride + blk_col); in av1_xform() 390 static void encode_block(int plane, int block, int blk_row, int blk_col, in encode_block() argument 408 dst = &pd->dst.buf[(blk_row * pd->dst.stride + blk_col) << MI_SIZE_LOG2]; in encode_block() [all …]
|
H A D | tx_search.c | 122 int blk_col, const BLOCK_SIZE plane_bsize, in av1_pixel_diff_dist() argument 127 get_txb_dimensions(xd, plane, plane_bsize, blk_row, blk_col, tx_bsize, NULL, in av1_pixel_diff_dist() 132 diff += ((blk_row * diff_stride + blk_col) << MI_SIZE_LOG2); in av1_pixel_diff_dist() 148 MACROBLOCK *x, int plane, int blk_row, int blk_col, in pixel_diff_stats() argument 153 get_txb_dimensions(xd, plane, plane_bsize, blk_row, blk_col, tx_bsize, NULL, in pixel_diff_stats() 158 diff += ((blk_row * diff_stride + blk_col) << MI_SIZE_LOG2); in pixel_diff_stats() 330 const AV1_COMP *cpi, MACROBLOCK *x, int blk_row, int blk_col, int block, 537 int blk_row, int blk_col, BLOCK_SIZE plane_bsize, TX_SIZE tx_size, in PrintTransformUnitStats() argument 567 &p->src.buf[(blk_row * src_stride + blk_col) << MI_SIZE_LOG2]; in PrintTransformUnitStats() 570 &pd->dst.buf[(blk_row * dst_stride + blk_col) << MI_SIZE_LOG2]; in PrintTransformUnitStats() [all …]
|
H A D | tokenize.c | 281 BLOCK_SIZE plane_bsize, int blk_row, int blk_col, in tokenize_vartx() argument 290 if (blk_row >= max_blocks_high || blk_col >= max_blocks_wide) return; in tokenize_vartx() 296 blk_col)]; in tokenize_vartx() 304 av1_update_and_record_txb_context(plane, block, blk_row, blk_col, in tokenize_vartx() 307 av1_record_txb_context(plane, block, blk_row, blk_col, plane_bsize, in tokenize_vartx() 319 AOMMIN(tx_size_wide_unit[tx_size], max_blocks_wide - blk_col); in tokenize_vartx() 326 const int offsetc = blk_col + col; in tokenize_vartx() 387 for (int blk_col = idx; blk_col < unit_width; blk_col += bw) { in av1_tokenize_sb_vartx() local 388 tokenize_vartx(td, max_tx_size, plane_bsize, blk_row, blk_col, in av1_tokenize_sb_vartx()
|
H A D | encodetxb.c | 293 aom_writer *w, int blk_row, int blk_col, int plane, argument 310 av1_get_tx_type(xd, plane_type, blk_row, blk_col, tx_size, 462 for (int blk_col = col >> pd->subsampling_x; blk_col < unit_width; local 463 blk_col += stepc) { 464 av1_write_coeffs_txb(cm, x, w, blk_row, blk_col, plane, 493 MACROBLOCKD *xd, int blk_row, int blk_col, argument 507 const TX_TYPE tx_type = av1_get_tx_type(xd, PLANE_TYPE_Y, blk_row, blk_col, 571 int blk_col, BLOCK_SIZE plane_bsize, argument 586 av1_get_tx_type(xd, plane_type, blk_row, blk_col, tx_size, 595 pd->above_entropy_context + blk_col, [all …]
|
H A D | encodetxb.h | 90 aom_writer *w, int blk_row, int blk_col, int plane, 185 int blk_col, BLOCK_SIZE plane_bsize, 220 void av1_record_txb_context(int plane, int block, int blk_row, int blk_col,
|
H A D | encodemb.h | 87 int blk_col, BLOCK_SIZE plane_bsize, TxfmParam *txfm_param, 90 void av1_xform(MACROBLOCK *x, int plane, int block, int blk_row, int blk_col, 137 int blk_col, int blk_row, TX_SIZE tx_size);
|
H A D | bitstream.c | 154 int blk_col, aom_writer *w) { in write_tx_size_vartx() argument 159 if (blk_row >= max_blocks_high || blk_col >= max_blocks_wide) return; in write_tx_size_vartx() 162 txfm_partition_update(xd->above_txfm_context + blk_col, in write_tx_size_vartx() 167 const int ctx = txfm_partition_context(xd->above_txfm_context + blk_col, in write_tx_size_vartx() 171 av1_get_txb_size_index(mbmi->bsize, blk_row, blk_col); in write_tx_size_vartx() 177 txfm_partition_update(xd->above_txfm_context + blk_col, in write_tx_size_vartx() 188 txfm_partition_update(xd->above_txfm_context + blk_col, in write_tx_size_vartx() 197 const int offsetc = blk_col + col; in write_tx_size_vartx() 374 int blk_row, int blk_col, TX_SIZE tx_size, TOKEN_STATS *token_stats) { in pack_txb_tokens() argument 378 if (blk_row >= max_blocks_high || blk_col >= max_blocks_wide) return; in pack_txb_tokens() [all …]
|
H A D | firstpass.c | 416 int blk_row, int blk_col, in first_pass_intra_pred_and_calc_diff() argument 426 uint8_t *dst = &pd->dst.buf[(blk_row * dst_stride + blk_col) << MI_SIZE_LOG2]; in first_pass_intra_pred_and_calc_diff() 430 uint8_t *src = &p->src.buf[(blk_row * src_stride + blk_col) << MI_SIZE_LOG2]; in first_pass_intra_pred_and_calc_diff() 435 src_stride, dst, dst_stride, blk_col, blk_row, plane); in first_pass_intra_pred_and_calc_diff() 437 av1_subtract_txb(x, plane, plane_bsize, blk_col, blk_row, tx_size); in first_pass_intra_pred_and_calc_diff()
|
H A D | tx_search.h | 67 int blk_col, const BLOCK_SIZE plane_bsize,
|
/aosp_15_r20/external/libhevc/encoder/arm/ |
H A D | ihevce_scan_coeffs_neon.c | 131 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()
|
/aosp_15_r20/external/libhevc/encoder/ |
H A D | ihevce_enc_sbh_funcs.c | 123 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()
|
H A D | ihevce_cabac_tu.c | 2489 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()
|
/aosp_15_r20/external/libaom/av1/common/ |
H A D | mvref_common.c | 330 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() 367 if (blk_row == 0 && blk_col == 0) { in add_tpl_ref_mv() 395 if (blk_row == 0 && blk_col == 0) { in add_tpl_ref_mv() 571 for (int blk_col = 0; blk_col < blk_col_end; blk_col += step_w) { in setup_ref_mv_list() local 573 blk_col, gm_mv_candidates, refmv_count, in setup_ref_mv_list() 575 if (blk_row == 0 && blk_col == 0) is_available = ret; in setup_ref_mv_list() 583 const int blk_col = tpl_sample_pos[i][1]; in setup_ref_mv_list() local 585 if (!check_sb_border(mi_row, mi_col, blk_row, blk_col)) continue; in setup_ref_mv_list() 586 add_tpl_ref_mv(cm, xd, mi_row, mi_col, ref_frame, blk_row, blk_col, in setup_ref_mv_list() [all …]
|
H A D | blockd.h | 1207 int blk_col) { in av1_get_txb_size_index() argument 1219 (blk_col >> tw_w_log2_table[bsize]); in av1_get_txb_size_index() 1237 int blk_col) { in av1_get_txk_type_index() argument 1249 (blk_col >> tw_w_log2_table[bsize]); in av1_get_txk_type_index() 1256 int blk_col, TX_SIZE tx_size, in update_txk_array() argument 1259 xd->tx_type_map[blk_row * stride + blk_col] = tx_type; in update_txk_array() 1272 xd->tx_type_map[(blk_row + idy) * stride + blk_col + idx] = tx_type; in update_txk_array() 1280 int blk_col, TX_SIZE tx_size, in av1_get_tx_type() argument 1289 tx_type = xd->tx_type_map[blk_row * xd->tx_type_map_stride + blk_col]; in av1_get_tx_type() 1295 blk_col <<= pd->subsampling_x; in av1_get_tx_type() [all …]
|
H A D | reconintra.h | 27 int plane, int blk_col, int blk_row,
|
H A D | reconintra.c | 1837 int plane, int blk_col, int blk_row, in av1_predict_intra_block_facade() argument 1842 uint8_t *dst = &pd->dst.buf[(blk_row * dst_stride + blk_col) << MI_SIZE_LOG2]; in av1_predict_intra_block_facade() 1862 assert(blk_col == 0); in av1_predict_intra_block_facade() 1875 dst, dst_stride, blk_col, blk_row, plane); in av1_predict_intra_block_facade() 1890 dst, dst_stride, dst, dst_stride, blk_col, blk_row, plane); in av1_predict_intra_block_facade()
|
/aosp_15_r20/external/libaom/av1/decoder/ |
H A D | decodetxb.c | 112 const int blk_row, const int blk_col, in read_coeffs_txb() argument 144 av1_get_txk_type_index(mbmi->bsize, blk_row, blk_col); in read_coeffs_txb() 152 xd->tx_type_map[blk_row * xd->tx_type_map_stride + blk_col] = DCT_DCT; in read_coeffs_txb() 159 av1_read_tx_type(cm, xd, blk_row, blk_col, tx_size, r); in read_coeffs_txb() 162 av1_get_tx_type(xd, plane_type, blk_row, blk_col, tx_size, in read_coeffs_txb()
|
H A D | decodeframe.c | 244 const int plane, const int blk_row, const int blk_col, in inverse_transform_inter_block() argument 252 const TX_TYPE tx_type = av1_get_tx_type(xd, plane_type, blk_row, blk_col, in inverse_transform_inter_block() 256 &pd->dst.buf[(blk_row * pd->dst.stride + blk_col) << MI_SIZE_LOG2]; in inverse_transform_inter_block() 266 mi_to_pixel_loc(&pixel_c, &pixel_r, mi_col, mi_row, blk_col, blk_row, in inverse_transform_inter_block() 285 int blk_col, int block, in decode_reconstruct_tx() argument 294 blk_col)]; in decode_reconstruct_tx() 299 if (blk_row >= max_blocks_high || blk_col >= max_blocks_wide) return; in decode_reconstruct_tx() 302 td->read_coeffs_tx_inter_block_visit(cm, dcb, r, plane, blk_row, blk_col, in decode_reconstruct_tx() 305 td->inverse_tx_inter_block_visit(cm, dcb, r, plane, blk_row, blk_col, in decode_reconstruct_tx() 320 AOMMIN(tx_size_wide_unit[tx_size], max_blocks_wide - blk_col); in decode_reconstruct_tx() [all …]
|
H A D | decodemv.h | 33 int blk_col, TX_SIZE tx_size, aom_reader *r);
|
/aosp_15_r20/external/libvpx/vp9/encoder/ |
H A D | vp9_rdopt.c | 466 int blk_col, const BLOCK_SIZE plane_bsize, in copy_block_visible() argument 473 pd->subsampling_x, blk_col); in copy_block_visible() 527 int blk_col, const BLOCK_SIZE plane_bsize, in pixel_sse() argument 535 pd->subsampling_x, blk_col); in pixel_sse() 563 int blk_col, TX_SIZE tx_size, int64_t *out_dist, in dist_block() argument 606 const int src_idx = 4 * (blk_row * src_stride + blk_col); in dist_block() 607 const int dst_idx = 4 * (blk_row * dst_stride + blk_col); in dist_block() 619 blk_col, plane_bsize, tx_bsize); in dist_block() 623 const int out_recon_idx = 4 * (blk_row * out_recon->stride + blk_col); in dist_block() 626 out_recon->stride, blk_row, blk_col, plane_bsize, in dist_block() [all …]
|
H A D | vp9_encoder.h | 1558 int blk_row, int blk_col, in sum_squares_visible() argument 1568 plane_4x4_w, xd->mb_to_right_edge, pd->subsampling_x, blk_col); in sum_squares_visible() 1599 int blk_row, int blk_col, in do_trellis_opt() argument 1635 blk_col, plane_bsize, tx_bsize, &visible_width, in do_trellis_opt()
|