Home
last modified time | relevance | path

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

/external/mesa3d/src/gallium/drivers/r600/
Dradeon_uvd.c289 unsigned width_in_mb, height_in_mb, image_size, dpb_size; in calc_dpb_size() local
343 dpb_size = image_size * max_references; 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()
352 dpb_size = image_size * max_references; 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()
372dpb_size = align((align(width, get_db_pitch_alignment(dec)) * height * 9) / 4, 256) * max_referenc… in calc_dpb_size()
374dpb_size = align((align(width, get_db_pitch_alignment(dec)) * height * 3) / 2, 256) * max_referenc… in calc_dpb_size()
382 dpb_size = image_size * max_references; in calc_dpb_size()
[all …]
Dradeon_uvd.h359 uint32_t dpb_size; member
371 uint32_t dpb_size; member
/external/mesa3d/src/gallium/drivers/radeon/
Dradeon_uvd.c343 unsigned width_in_mb, height_in_mb, image_size, dpb_size; in calc_dpb_size() local
397 dpb_size = image_size * max_references; 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()
407 dpb_size = image_size * max_references; in calc_dpb_size()
411 dpb_size += width_in_mb * height_in_mb * max_references * 192; in calc_dpb_size()
413 dpb_size += width_in_mb * height_in_mb * 32; in calc_dpb_size()
428dpb_size = align((align(width, get_db_pitch_alignment(dec)) * height * 9) / 4, 256) * max_referenc… in calc_dpb_size()
430dpb_size = align((align(width, get_db_pitch_alignment(dec)) * height * 3) / 2, 256) * max_referenc… in calc_dpb_size()
438 dpb_size = image_size * max_references; in calc_dpb_size()
[all …]
Dradeon_vcn_dec.c649 decode->dpb_size = dec->dpb.res->buf->size; in rvcn_dec_message_decode()
915 unsigned width_in_mb, height_in_mb, image_size, dpb_size; in calc_dpb_size() local
966 dpb_size = image_size * max_references; in calc_dpb_size()
979 dpb_size = align((align(width, 32) * height * 9) / 4, 256) * max_references; in calc_dpb_size()
981 dpb_size = align((align(width, 32) * height * 3) / 2, 256) * max_references; in calc_dpb_size()
989 dpb_size = image_size * max_references; 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()
1001 dpb_size += align(MAX2(width_in_mb, height_in_mb) * 7 * 16, 64); in calc_dpb_size()
[all …]
Dradeon_uvd.h358 uint32_t dpb_size; member
370 uint32_t dpb_size; member
Dradeon_vcn_dec.h140 unsigned int dpb_size; member
/external/libdrm/tests/amdgpu/
Dcs_tests.c272 const unsigned dpb_size = 15923584, dt_size = 737280; in amdgpu_cs_uvd_decode() local
287 req.alloc_size += ALIGN(dpb_size, 4*1024); in amdgpu_cs_uvd_decode()
343 memset(ptr, 0, dpb_size); in amdgpu_cs_uvd_decode()
345 ptr += ALIGN(dpb_size, 4*1024); in amdgpu_cs_uvd_decode()
369 dt_addr = ALIGN(dpb_addr + dpb_size, 4*1024); in amdgpu_cs_uvd_decode()
Dvcn_tests.c282 const unsigned dpb_size = 15923584, dt_size = 737280; in amdgpu_cs_vcn_dec_decode() local
292 size += ALIGN(dpb_size, 4*1024); in amdgpu_cs_vcn_dec_decode()
318 dec += ALIGN(dpb_size, 4*1024); in amdgpu_cs_vcn_dec_decode()
326 dt_addr = ALIGN(dpb_addr + dpb_size, 4*1024); in amdgpu_cs_vcn_dec_decode()