/external/libvpx/libvpx/vp9/encoder/x86/ |
D | temporal_filter_sse4.c | 468 unsigned int blk_col = 0, uv_blk_col = 0; in vp9_apply_temporal_filter_luma() local 485 y_src + blk_col, y_src_stride, y_pre + blk_col, y_pre_stride, in vp9_apply_temporal_filter_luma() 488 block_height, ss_x, ss_y, strength, use_whole_blk, y_accum + blk_col, in vp9_apply_temporal_filter_luma() 489 y_count + blk_col, y_dist + blk_col, u_dist + uv_blk_col, in vp9_apply_temporal_filter_luma() 494 y_src + blk_col, y_src_stride, y_pre + blk_col, y_pre_stride, in vp9_apply_temporal_filter_luma() 497 block_height, ss_x, ss_y, strength, use_whole_blk, y_accum + blk_col, in vp9_apply_temporal_filter_luma() 498 y_count + blk_col, y_dist + blk_col, u_dist + uv_blk_col, in vp9_apply_temporal_filter_luma() 509 y_src + blk_col, y_src_stride, y_pre + blk_col, y_pre_stride, in vp9_apply_temporal_filter_luma() 512 use_whole_blk, y_accum + blk_col, y_count + blk_col, y_dist + blk_col, in vp9_apply_temporal_filter_luma() 516 blk_col += blk_col_step; in vp9_apply_temporal_filter_luma() [all …]
|
D | highbd_temporal_filter_sse4.c | 374 unsigned int blk_col = 0, uv_blk_col = 0; in vp9_highbd_apply_temporal_filter_luma() local 387 y_src + blk_col, y_src_stride, y_pre + blk_col, y_pre_stride, in vp9_highbd_apply_temporal_filter_luma() 390 strength, use_whole_blk, y_accum + blk_col, y_count + blk_col, in vp9_highbd_apply_temporal_filter_luma() 391 y_dist + blk_col, u_dist + uv_blk_col, v_dist + uv_blk_col, in vp9_highbd_apply_temporal_filter_luma() 394 blk_col += blk_col_step; in vp9_highbd_apply_temporal_filter_luma() 399 for (; blk_col < mid_width; in vp9_highbd_apply_temporal_filter_luma() 400 blk_col += blk_col_step, uv_blk_col += uv_blk_col_step) { in vp9_highbd_apply_temporal_filter_luma() 402 y_src + blk_col, y_src_stride, y_pre + blk_col, y_pre_stride, in vp9_highbd_apply_temporal_filter_luma() 405 block_height, ss_x, ss_y, strength, use_whole_blk, y_accum + blk_col, in vp9_highbd_apply_temporal_filter_luma() 406 y_count + blk_col, y_dist + blk_col, u_dist + uv_blk_col, in vp9_highbd_apply_temporal_filter_luma() [all …]
|
/external/libaom/libaom/av1/encoder/x86/ |
D | temporal_filter_sse4.c | 532 unsigned int blk_col = 0, uv_blk_col = 0; in apply_temporal_filter_luma() local 549 y_src + blk_col, y_src_stride, y_pre + blk_col, y_pre_stride, in apply_temporal_filter_luma() 552 block_height, ss_x, ss_y, strength, use_whole_blk, y_accum + blk_col, in apply_temporal_filter_luma() 553 y_count + blk_col, y_dist + blk_col, u_dist + uv_blk_col, in apply_temporal_filter_luma() 558 y_src + blk_col, y_src_stride, y_pre + blk_col, y_pre_stride, in apply_temporal_filter_luma() 561 block_height, ss_x, ss_y, strength, use_whole_blk, y_accum + blk_col, in apply_temporal_filter_luma() 562 y_count + blk_col, y_dist + blk_col, u_dist + uv_blk_col, in apply_temporal_filter_luma() 573 y_src + blk_col, y_src_stride, y_pre + blk_col, y_pre_stride, in apply_temporal_filter_luma() 576 use_whole_blk, y_accum + blk_col, y_count + blk_col, y_dist + blk_col, in apply_temporal_filter_luma() 580 blk_col += blk_col_step; in apply_temporal_filter_luma() [all …]
|
/external/libaom/libaom/av1/encoder/ |
D | encodemb.c | 56 int blk_col, int blk_row, TX_SIZE tx_size) { in av1_subtract_txb() argument 65 uint8_t *dst = &pd->dst.buf[(blk_row * dst_stride + blk_col) << MI_SIZE_LOG2]; in av1_subtract_txb() 66 uint8_t *src = &p->src.buf[(blk_row * src_stride + blk_col) << MI_SIZE_LOG2]; in av1_subtract_txb() 68 &p->src_diff[(blk_row * diff_stride + blk_col) << MI_SIZE_LOG2]; in av1_subtract_txb() 266 int blk_col, BLOCK_SIZE plane_bsize, TxfmParam *txfm_param, in av1_xform_quant() argument 280 const int src_offset = (blk_row * diff_stride + blk_col); in av1_xform_quant() 349 static void encode_block(int plane, int block, int blk_row, int blk_col, in encode_block() argument 367 dst = &pd->dst.buf[(blk_row * pd->dst.stride + blk_col) << MI_SIZE_LOG2]; in encode_block() 369 a = &args->ta[blk_col]; in encode_block() 373 if (!is_blk_skip(x, plane, blk_row * bw + blk_col) && !mbmi->skip_mode) { in encode_block() [all …]
|
D | tx_search.c | 367 int blk_row, int blk_col, in pixel_diff_dist() argument 373 get_txb_dimensions(xd, plane, plane_bsize, blk_row, blk_col, tx_bsize, NULL, in pixel_diff_dist() 378 diff += ((blk_row * diff_stride + blk_col) << MI_SIZE_LOG2); in pixel_diff_dist() 543 const AV1_COMP *cpi, MACROBLOCK *x, int blk_row, int blk_col, int block, 751 int blk_row, int blk_col, BLOCK_SIZE plane_bsize, TX_SIZE tx_size, in PrintTransformUnitStats() argument 781 &p->src.buf[(blk_row * src_stride + blk_col) << MI_SIZE_LOG2]; in PrintTransformUnitStats() 784 &pd->dst.buf[(blk_row * dst_stride + blk_col) << MI_SIZE_LOG2]; in PrintTransformUnitStats() 797 &p->src_diff[(blk_row * diff_stride + blk_col) << MI_SIZE_LOG2]; in PrintTransformUnitStats() 1061 int blk_row, int blk_col, in inverse_transform_block_facade() argument 1070 const TX_TYPE tx_type = av1_get_tx_type(xd, plane_type, blk_row, blk_col, in inverse_transform_block_facade() [all …]
|
D | tokenize.c | 134 BLOCK_SIZE plane_bsize, int blk_row, int blk_col, 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() 154 av1_update_and_record_txb_context(plane, block, blk_row, blk_col, in tokenize_vartx() 169 const int offsetc = blk_col + col; in tokenize_vartx() 232 for (int blk_col = idx; blk_col < unit_width; blk_col += bw) { in av1_tokenize_sb_vartx() local 233 tokenize_vartx(td, max_tx_size, plane_bsize, blk_row, blk_col, in av1_tokenize_sb_vartx()
|
D | encodemb.h | 76 int blk_col, BLOCK_SIZE plane_bsize, TxfmParam *txfm_param, 115 int blk_col, int blk_row, TX_SIZE tx_size); 127 void av1_encode_block_intra(int plane, int block, int blk_row, int blk_col,
|
D | encodetxb.h | 68 aom_writer *w, int blk_row, int blk_col, int plane, 78 int blk_col, BLOCK_SIZE plane_bsize,
|
D | encodetxb.c | 506 aom_writer *w, int blk_row, int blk_col, int plane, argument 523 av1_get_tx_type(xd, plane_type, blk_row, blk_col, tx_size, 681 for (int blk_col = col >> pd->subsampling_x; blk_col < unit_width; local 682 blk_col += stepc) { 683 av1_write_coeffs_txb(cm, x, w, blk_row, blk_col, plane, 1910 int blk_row, int blk_col, int block, TX_SIZE tx_size, argument 1917 const TX_TYPE tx_type = av1_get_tx_type(xd, plane_type, blk_row, blk_col, 2001 MACROBLOCKD *xd, int blk_row, int blk_col, argument 2015 const TX_TYPE tx_type = av1_get_tx_type(xd, PLANE_TYPE_Y, blk_row, blk_col, 2072 int blk_col, BLOCK_SIZE plane_bsize, argument [all …]
|
D | bitstream.c | 145 int blk_row, int blk_col, in write_tx_size_vartx() argument 151 if (blk_row >= max_blocks_high || blk_col >= max_blocks_wide) return; in write_tx_size_vartx() 154 txfm_partition_update(xd->above_txfm_context + blk_col, in write_tx_size_vartx() 159 const int ctx = txfm_partition_context(xd->above_txfm_context + blk_col, in write_tx_size_vartx() 163 av1_get_txb_size_index(mbmi->sb_type, blk_row, blk_col); in write_tx_size_vartx() 169 txfm_partition_update(xd->above_txfm_context + blk_col, in write_tx_size_vartx() 180 txfm_partition_update(xd->above_txfm_context + blk_col, in write_tx_size_vartx() 189 int offsetc = blk_col + col; in write_tx_size_vartx() 359 int blk_row, int blk_col, TX_SIZE tx_size, TOKEN_STATS *token_stats) { in pack_txb_tokens() argument 363 if (blk_row >= max_blocks_high || blk_col >= max_blocks_wide) return; in pack_txb_tokens() [all …]
|
D | rdopt_utils.h | 291 int blk_col, BLOCK_SIZE tx_bsize, in get_txb_dimensions() argument 320 clamp(block_cols - (blk_col << MI_SIZE_LOG2), 0, txb_width); in get_txb_dimensions()
|
D | encodeframe.c | 6151 int depth, int blk_row, int blk_col, in update_txfm_count() argument 6157 int ctx = txfm_partition_context(xd->above_txfm_context + blk_col, in update_txfm_count() 6160 const int txb_size_index = av1_get_txb_size_index(bsize, blk_row, blk_col); in update_txfm_count() 6163 if (blk_row >= max_blocks_high || blk_col >= max_blocks_wide) return; in update_txfm_count() 6169 txfm_partition_update(xd->above_txfm_context + blk_col, in update_txfm_count() 6181 txfm_partition_update(xd->above_txfm_context + blk_col, in update_txfm_count() 6198 txfm_partition_update(xd->above_txfm_context + blk_col, in update_txfm_count() 6209 blk_col + offsetc, allow_update_cdf); in update_txfm_count() 6241 int blk_row, int blk_col) { in set_txfm_context() argument 6246 const int txb_size_index = av1_get_txb_size_index(bsize, blk_row, blk_col); in set_txfm_context() [all …]
|
/external/libhevc/encoder/ |
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()
|
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()
|
/external/libhevc/encoder/arm/ |
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()
|
/external/libaom/libaom/av1/common/ |
D | blockd.h | 900 int blk_col) { in av1_get_txb_size_index() argument 912 (blk_col >> tw_w_log2_table[bsize]); in av1_get_txb_size_index() 930 int blk_col) { in av1_get_txk_type_index() argument 942 (blk_col >> tw_w_log2_table[bsize]); in av1_get_txk_type_index() 949 int blk_col, TX_SIZE tx_size, in update_txk_array() argument 952 xd->tx_type_map[blk_row * stride + blk_col] = tx_type; in update_txk_array() 965 xd->tx_type_map[(blk_row + idy) * stride + blk_col + idx] = tx_type; in update_txk_array() 973 int blk_col, TX_SIZE tx_size, in av1_get_tx_type() argument 982 tx_type = xd->tx_type_map[blk_row * xd->tx_type_map_stride + blk_col]; in av1_get_tx_type() 988 blk_col <<= pd->subsampling_x; in av1_get_tx_type() [all …]
|
D | mvref_common.c | 324 int blk_row, int blk_col, int_mv *gm_mv_candidates, in add_tpl_ref_mv() argument 331 mi_pos.col = (mi_col & 0x01) ? blk_col : blk_col + 1; in add_tpl_ref_mv() 361 if (blk_row == 0 && blk_col == 0) { in add_tpl_ref_mv() 389 if (blk_row == 0 && blk_col == 0) { in add_tpl_ref_mv() 565 for (int blk_col = 0; blk_col < blk_col_end; blk_col += step_w) { in setup_ref_mv_list() local 567 blk_col, gm_mv_candidates, refmv_count, in setup_ref_mv_list() 569 if (blk_row == 0 && blk_col == 0) is_available = ret; in setup_ref_mv_list() 577 const int blk_col = tpl_sample_pos[i][1]; in setup_ref_mv_list() local 579 if (!check_sb_border(mi_row, mi_col, blk_row, blk_col)) continue; in setup_ref_mv_list() 580 add_tpl_ref_mv(cm, xd, mi_row, mi_col, ref_frame, blk_row, blk_col, in setup_ref_mv_list() [all …]
|
D | reconintra.h | 27 int plane, int blk_col, int blk_row,
|
D | reconintra.c | 1659 int plane, int blk_col, int blk_row, in av1_predict_intra_block_facade() argument 1664 uint8_t *dst = &pd->dst.buf[(blk_row * dst_stride + blk_col) << MI_SIZE_LOG2]; in av1_predict_intra_block_facade() 1682 assert(blk_col == 0); in av1_predict_intra_block_facade() 1693 dst_stride, dst, dst_stride, blk_col, blk_row, in av1_predict_intra_block_facade() 1707 dst_stride, dst, dst_stride, blk_col, blk_row, plane); in av1_predict_intra_block_facade()
|
D | av1_loopfilter.c | 208 const int blk_col = mi_col & (mi_size_wide[sb_type] - 1); in get_transform_size() local 210 mbmi->inter_tx_size[av1_get_txb_size_index(sb_type, blk_row, blk_col)]; in get_transform_size()
|
/external/libaom/libaom/av1/decoder/ |
D | decodetxb.c | 112 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() 151 xd->tx_type_map[blk_row * xd->tx_type_map_stride + blk_col] = DCT_DCT; in av1_read_coeffs_txb() 158 av1_read_tx_type(cm, xd, blk_row, blk_col, tx_size, r); in av1_read_coeffs_txb() 161 av1_get_tx_type(xd, plane_type, blk_row, blk_col, tx_size, in av1_read_coeffs_txb()
|
D | decodemv.h | 31 int blk_col, TX_SIZE tx_size, aom_reader *r);
|
D | decodetxb.h | 24 const int blk_col, const int plane,
|
D | decodeframe.c | 234 const int plane, const int blk_row, const int blk_col, in inverse_transform_inter_block() argument 241 const TX_TYPE tx_type = av1_get_tx_type(xd, plane_type, blk_row, blk_col, in inverse_transform_inter_block() 245 &pd->dst.buf[(blk_row * pd->dst.stride + blk_col) << MI_SIZE_LOG2]; in inverse_transform_inter_block() 255 mi_to_pixel_loc(&pixel_c, &pixel_r, mi_col, mi_row, blk_col, blk_row, in inverse_transform_inter_block() 273 int blk_col, int block, TX_SIZE tx_size, int *eob_total) { in decode_reconstruct_tx() argument 280 blk_col)]; in decode_reconstruct_tx() 285 if (blk_row >= max_blocks_high || blk_col >= max_blocks_wide) return; in decode_reconstruct_tx() 288 td->read_coeffs_tx_inter_block_visit(cm, xd, r, plane, blk_row, blk_col, in decode_reconstruct_tx() 291 td->inverse_tx_inter_block_visit(cm, xd, r, plane, blk_row, blk_col, in decode_reconstruct_tx() 309 const int offsetc = blk_col + col; in decode_reconstruct_tx() [all …]
|
/external/libvpx/libvpx/vp9/encoder/ |
D | vp9_rdopt.c | 475 int blk_col, const BLOCK_SIZE plane_bsize, in copy_block_visible() argument 482 pd->subsampling_x, blk_col); in copy_block_visible() 536 int blk_col, const BLOCK_SIZE plane_bsize, in pixel_sse() argument 544 pd->subsampling_x, blk_col); in pixel_sse() 574 int blk_row, int blk_col, in sum_squares_visible() argument 583 pd->subsampling_x, blk_col); in sum_squares_visible() 609 int blk_col, TX_SIZE tx_size, int64_t *out_dist, in dist_block() argument 651 const int src_idx = 4 * (blk_row * src_stride + blk_col); in dist_block() 652 const int dst_idx = 4 * (blk_row * dst_stride + blk_col); in dist_block() 661 blk_col, plane_bsize, tx_bsize); in dist_block() [all …]
|