Searched refs:width_in_mb (Results 1 – 3 of 3) sorted by relevance
/external/mesa3d/src/gallium/drivers/radeon/ |
D | radeon_uvd.c | 230 unsigned width_in_mb, height_in_mb, ctx_size; in calc_ctx_size_h264_perf() local 237 width_in_mb = width / VL_MACROBLOCK_WIDTH; in calc_ctx_size_h264_perf() 241 unsigned fs_in_mb = width_in_mb * height_in_mb; in calc_ctx_size_h264_perf() 271 ctx_size = max_references * align(width_in_mb * height_in_mb * 192, 256); in calc_ctx_size_h264_perf() 276 ctx_size = align(width_in_mb * height_in_mb * max_references * 192, 256); in calc_ctx_size_h264_perf() 343 unsigned width_in_mb, height_in_mb, image_size, dpb_size; in calc_dpb_size() local 358 width_in_mb = width / VL_MACROBLOCK_WIDTH; in calc_dpb_size() 364 unsigned fs_in_mb = width_in_mb * height_in_mb; in calc_dpb_size() 400 dpb_size += max_references * align(width_in_mb * height_in_mb * 192, alignment); in calc_dpb_size() 401 dpb_size += align(width_in_mb * height_in_mb * 32, alignment); in calc_dpb_size() [all …]
|
D | radeon_vcn_dec.c | 867 unsigned width_in_mb, height_in_mb, ctx_size; in calc_ctx_size_h264_perf() local 874 width_in_mb = width / VL_MACROBLOCK_WIDTH; in calc_ctx_size_h264_perf() 877 unsigned fs_in_mb = width_in_mb * height_in_mb; in calc_ctx_size_h264_perf() 907 ctx_size = max_references * align(width_in_mb * height_in_mb * 192, 256); in calc_ctx_size_h264_perf() 915 unsigned width_in_mb, height_in_mb, image_size, dpb_size; in calc_dpb_size() local 930 width_in_mb = width / VL_MACROBLOCK_WIDTH; in calc_dpb_size() 935 unsigned fs_in_mb = width_in_mb * height_in_mb; in calc_dpb_size() 992 dpb_size += width_in_mb * height_in_mb * 128; in calc_dpb_size() 995 dpb_size += width_in_mb * 64; in calc_dpb_size() 998 dpb_size += width_in_mb * 128; in calc_dpb_size() [all …]
|
/external/mesa3d/src/gallium/drivers/r600/ |
D | radeon_uvd.c | 289 unsigned width_in_mb, height_in_mb, image_size, dpb_size; in calc_dpb_size() local 304 width_in_mb = width / VL_MACROBLOCK_WIDTH; in calc_dpb_size() 310 unsigned fs_in_mb = width_in_mb * height_in_mb; in calc_dpb_size() 345 dpb_size += max_references * align(width_in_mb * height_in_mb * 192, alignment); in calc_dpb_size() 346 dpb_size += align(width_in_mb * height_in_mb * 32, alignment); in calc_dpb_size() 355 dpb_size += width_in_mb * height_in_mb * max_references * 192; in calc_dpb_size() 357 dpb_size += width_in_mb * height_in_mb * 32; in calc_dpb_size() 385 dpb_size += width_in_mb * height_in_mb * 128; in calc_dpb_size() 388 dpb_size += width_in_mb * 64; in calc_dpb_size() 391 dpb_size += width_in_mb * 128; in calc_dpb_size() [all …]
|