Home
last modified time | relevance | path

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

/external/mesa3d/src/gallium/drivers/radeon/
Dradeon_uvd.c328 unsigned width_in_mb, height_in_mb, image_size, dpb_size; in calc_dpb_size() local
382 dpb_size = image_size * max_references; in calc_dpb_size()
385 dpb_size += max_references * align(width_in_mb * height_in_mb * 192, alignment); in calc_dpb_size()
386 dpb_size += align(width_in_mb * height_in_mb * 32, alignment); in calc_dpb_size()
392 dpb_size = image_size * max_references; in calc_dpb_size()
396 dpb_size += width_in_mb * height_in_mb * max_references * 192; in calc_dpb_size()
398 dpb_size += width_in_mb * height_in_mb * 32; in calc_dpb_size()
413 dpb_size = align((width * height * 9) / 4, 256) * max_references; in calc_dpb_size()
415 dpb_size = align((width * height * 3) / 2, 256) * max_references; in calc_dpb_size()
423 dpb_size = image_size * max_references; in calc_dpb_size()
[all …]
Dradeon_uvd.h353 uint32_t dpb_size; member
365 uint32_t dpb_size; member
/external/libdrm/tests/amdgpu/
Dcs_tests.c253 const unsigned dpb_size = 15923584, ctx_size = 5287680, dt_size = 737280; in amdgpu_cs_uvd_decode() local
268 req.alloc_size += ALIGN(dpb_size, 4*1024); in amdgpu_cs_uvd_decode()
320 memset(ptr, 0, dpb_size); in amdgpu_cs_uvd_decode()
322 ptr += ALIGN(dpb_size, 4*1024); in amdgpu_cs_uvd_decode()
343 dt_addr = ALIGN(dpb_addr + dpb_size, 4*1024); in amdgpu_cs_uvd_decode()