Searched refs:height_in_mb (Results 1 – 3 of 3) sorted by relevance
/external/mesa3d/src/gallium/drivers/radeon/ |
D | radeon_uvd.c | 221 unsigned width_in_mb, height_in_mb, ctx_size; in calc_ctx_size_h264_perf() local 229 height_in_mb = align(height / VL_MACROBLOCK_HEIGHT, 2); 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 352 height_in_mb = align(height / VL_MACROBLOCK_HEIGHT, 2); 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 …]
|
D | radeon_vcn_dec.c | 1241 unsigned width_in_mb, height_in_mb, ctx_size; in calc_ctx_size_h264_perf() local 1249 height_in_mb = align(height / VL_MACROBLOCK_HEIGHT, 2); 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 1305 height_in_mb = align(height / VL_MACROBLOCK_HEIGHT, 2); 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() 1375 dpb_size += align(MAX2(width_in_mb, height_in_mb) * 7 * 16, 64); in calc_dpb_size() 1388 dpb_size += width_in_mb * height_in_mb * 64; in calc_dpb_size() [all …]
|
/external/mesa3d/src/gallium/drivers/r600/ |
D | radeon_uvd.c | 238 unsigned width_in_mb, height_in_mb, image_size, dpb_size; in calc_dpb_size() local 254 height_in_mb = align(height / VL_MACROBLOCK_HEIGHT, 2); 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() 329 dpb_size += align(MAX2(width_in_mb, height_in_mb) * 7 * 16, 64); in calc_dpb_size() 342 dpb_size += width_in_mb * height_in_mb * 64; in calc_dpb_size() [all …]
|