Home
last modified time | relevance | path

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

/external/mesa3d/src/gallium/drivers/radeon/
Dradeon_uvd.c221 unsigned width_in_mb, height_in_mb, ctx_size; in calc_ctx_size_h264_perf() local
228 width_in_mb = width / VL_MACROBLOCK_WIDTH; in calc_ctx_size_h264_perf()
232 unsigned fs_in_mb = width_in_mb * height_in_mb; in calc_ctx_size_h264_perf()
262 ctx_size = max_references * align(width_in_mb * height_in_mb * 192, 256); in calc_ctx_size_h264_perf()
267 ctx_size = align(width_in_mb * height_in_mb * max_references * 192, 256); in calc_ctx_size_h264_perf()
336 unsigned width_in_mb, height_in_mb, image_size, dpb_size; in calc_dpb_size() local
351 width_in_mb = width / VL_MACROBLOCK_WIDTH; in calc_dpb_size()
357 unsigned fs_in_mb = width_in_mb * height_in_mb; in calc_dpb_size()
393 dpb_size += max_references * align(width_in_mb * height_in_mb * 192, alignment); in calc_dpb_size()
394 dpb_size += align(width_in_mb * height_in_mb * 32, alignment); in calc_dpb_size()
[all …]
Dradeon_vcn_dec.c1241 unsigned width_in_mb, height_in_mb, ctx_size; in calc_ctx_size_h264_perf() local
1248 width_in_mb = width / VL_MACROBLOCK_WIDTH; in calc_ctx_size_h264_perf()
1251 unsigned fs_in_mb = width_in_mb * height_in_mb; in calc_ctx_size_h264_perf()
1281 ctx_size = max_references * align(width_in_mb * height_in_mb * 192, 256); in calc_ctx_size_h264_perf()
1289 unsigned width_in_mb, height_in_mb, image_size, dpb_size; in calc_dpb_size() local
1304 width_in_mb = width / VL_MACROBLOCK_WIDTH; in calc_dpb_size()
1309 unsigned fs_in_mb = width_in_mb * height_in_mb; in calc_dpb_size()
1366 dpb_size += width_in_mb * height_in_mb * 128; in calc_dpb_size()
1369 dpb_size += width_in_mb * 64; in calc_dpb_size()
1372 dpb_size += width_in_mb * 128; in calc_dpb_size()
[all …]
/external/mesa3d/src/gallium/drivers/r600/
Dradeon_uvd.c238 unsigned width_in_mb, height_in_mb, image_size, dpb_size; in calc_dpb_size() local
253 width_in_mb = width / VL_MACROBLOCK_WIDTH; in calc_dpb_size()
259 unsigned fs_in_mb = width_in_mb * height_in_mb; in calc_dpb_size()
294 dpb_size += max_references * align(width_in_mb * height_in_mb * 192, alignment); in calc_dpb_size()
295 dpb_size += align(width_in_mb * height_in_mb * 32, alignment); in calc_dpb_size()
304 dpb_size += width_in_mb * height_in_mb * max_references * 192; in calc_dpb_size()
306 dpb_size += width_in_mb * height_in_mb * 32; in calc_dpb_size()
320 dpb_size += width_in_mb * height_in_mb * 128; in calc_dpb_size()
323 dpb_size += width_in_mb * 64; in calc_dpb_size()
326 dpb_size += width_in_mb * 128; in calc_dpb_size()
[all …]