Home
last modified time | relevance | path

Searched refs:num_tile_cols (Results 1 – 3 of 3) sorted by relevance

/openbmc/linux/drivers/media/platform/verisilicon/
H A Dhantro_hevc.c77 unsigned int num_tile_cols = pps->num_tile_columns_minus1 + 1; in tile_buffer_reallocate() local
81 if (num_tile_cols <= 1 || in tile_buffer_reallocate()
82 num_tile_cols <= hevc_dec->num_tile_cols_allocated) in tile_buffer_reallocate()
107 size = (VERT_FILTER_RAM_SIZE * height64 * (num_tile_cols - 1) * ctx->bit_depth) / 8; in tile_buffer_reallocate()
115 size = (VERT_SAO_RAM_SIZE * height64 * (num_tile_cols - 1) * ctx->bit_depth) / 8; in tile_buffer_reallocate()
123 size = BSD_CTRL_RAM_SIZE * height64 * (num_tile_cols - 1); in tile_buffer_reallocate()
131 hevc_dec->num_tile_cols_allocated = num_tile_cols; in tile_buffer_reallocate()
H A Dhantro_g2_hevc_dec.c33 unsigned int num_tile_cols = pps->num_tile_columns_minus1 + 1; in prepare_tile_info_buffer() local
58 vpu_debug(1, "Tiles enabled! %dx%d\n", num_tile_cols, num_tile_rows); in prepare_tile_info_buffer()
61 hantro_reg_write(vpu, &g2_num_tile_cols, num_tile_cols); in prepare_tile_info_buffer()
75 for (j = 0, tmp_w = 0; j < num_tile_cols - 1; j++) { in prepare_tile_info_buffer()
95 for (j = 0, prev_w = 0; j < num_tile_cols; j++) { in prepare_tile_info_buffer()
96 tmp = (j + 1) * pic_width_in_ctbs / num_tile_cols; in prepare_tile_info_buffer()
H A Drockchip_vpu981_hw_av1_dec.c260 unsigned int num_tile_cols = 1 << ctrls->tile_group_entry->tile_col; in rockchip_vpu981_av1_dec_tiles_reallocate() local
267 ALIGN(height * 12 * ctx->bit_depth / 8, 128) * num_tile_cols) in rockchip_vpu981_av1_dec_tiles_reallocate()
272 size = ALIGN(height * 12 * ctx->bit_depth / 8, 128) * num_tile_cols; in rockchip_vpu981_av1_dec_tiles_reallocate()
280 size = ALIGN(height * 2 * 16 / 4, 128) * num_tile_cols; in rockchip_vpu981_av1_dec_tiles_reallocate()
288 size = ALIGN(height_in_sb * 44 * ctx->bit_depth * 16 / 8, 128) * num_tile_cols; in rockchip_vpu981_av1_dec_tiles_reallocate()
296 size = ALIGN(height_in_sb * (3040 + 1280), 128) * num_tile_cols; in rockchip_vpu981_av1_dec_tiles_reallocate()
304 size = ALIGN(stripe_num * 1536 * ctx->bit_depth / 8, 128) * num_tile_cols; in rockchip_vpu981_av1_dec_tiles_reallocate()
312 av1_dec->num_tile_cols_allocated = num_tile_cols; in rockchip_vpu981_av1_dec_tiles_reallocate()