Lines Matching refs:blk_col
67 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()
227 TX_TYPE tx_type = av1_get_tx_type(pd->plane_type, xd, blk_row, blk_col, in encode_block()
231 cm, x, plane, block, blk_row, blk_col, plane_bsize, tx_size, tx_type, in encode_block()
242 cm, x, plane, block, blk_row, blk_col, plane_bsize, tx_size, tx_type, in encode_block()
255 TX_TYPE tx_type = av1_get_tx_type(pd->plane_type, xd, blk_row, blk_col, in encode_block()
276 blk_col)] == DCT_DCT); in encode_block()
280 update_txk_array(mbmi->txk_type, plane_bsize, blk_row, blk_col, tx_size, in encode_block()
290 mi_to_pixel_loc(&pixel_c, &pixel_r, mi_col, mi_row, blk_col, blk_row, in encode_block()
299 static void encode_block_inter(int plane, int block, int blk_row, int blk_col, in encode_block_inter() argument
313 if (blk_row >= max_blocks_high || blk_col >= max_blocks_wide) return; in encode_block_inter()
319 blk_col)]; in encode_block_inter()
326 encode_block(plane, block, blk_row, blk_col, plane_bsize, tx_size, arg, in encode_block_inter()
342 const int offsetc = blk_col + col; in encode_block_inter()
375 int blk_row, blk_col; in av1_foreach_transformed_block_in_plane() local
392 for (blk_col = c; blk_col < unit_width; blk_col += txw_unit) { in av1_foreach_transformed_block_in_plane()
393 visit(plane, i, blk_row, blk_col, plane_bsize, tx_size, arg); in av1_foreach_transformed_block_in_plane()
419 static void encode_block_pass1(int plane, int block, int blk_row, int blk_col, in encode_block_pass1() argument
432 .buf[(blk_row * pd->dst.stride + blk_col) << tx_size_wide_log2[0]]; in encode_block_pass1()
433 av1_xform_quant(cm, x, plane, block, blk_row, blk_col, plane_bsize, tx_size, in encode_block_pass1()
525 int blk_row, blk_col; in av1_encode_sb() local
529 for (blk_col = idx; blk_col < unit_width; blk_col += bw) { in av1_encode_sb()
530 encode_block_inter(plane, block, blk_row, blk_col, plane_bsize, in av1_encode_sb()
541 int blk_row, int blk_col, in encode_block_intra_and_set_context() argument
544 av1_encode_block_intra(plane, block, blk_row, blk_col, plane_bsize, tx_size, in encode_block_intra_and_set_context()
549 ENTROPY_CONTEXT *a = &args->ta[blk_col]; in encode_block_intra_and_set_context()
554 void av1_encode_block_intra(int plane, int block, int blk_row, int blk_col, in av1_encode_block_intra() argument
566 const TX_TYPE tx_type = av1_get_tx_type(plane_type, xd, blk_row, blk_col, in av1_encode_block_intra()
571 &pd->dst.buf[(blk_row * dst_stride + blk_col) << tx_size_wide_log2[0]]; in av1_encode_block_intra()
574 av1_predict_intra_block_facade(cm, xd, plane, blk_col, blk_row, tx_size); in av1_encode_block_intra()
577 if (plane == 0 && is_blk_skip(x, plane, blk_row * bw + blk_col)) { in av1_encode_block_intra()
581 av1_subtract_txb(x, plane, plane_bsize, blk_col, blk_row, tx_size); in av1_encode_block_intra()
583 const ENTROPY_CONTEXT *a = &args->ta[blk_col]; in av1_encode_block_intra()
587 cm, x, plane, block, blk_row, blk_col, plane_bsize, tx_size, tx_type, in av1_encode_block_intra()
598 cm, x, plane, block, blk_row, blk_col, plane_bsize, tx_size, tx_type, in av1_encode_block_intra()
618 blk_col)] == DCT_DCT); in av1_encode_block_intra()
621 update_txk_array(mbmi->txk_type, plane_bsize, blk_row, blk_col, tx_size, in av1_encode_block_intra()
630 cfl_store_tx(xd, blk_row, blk_col, tx_size, plane_bsize); in av1_encode_block_intra()