Home
last modified time | relevance | path

Searched refs:height_in_mb (Results 1 – 2 of 2) sorted by relevance

/drivers/gpu/drm/amd/amdgpu/
Damdgpu_uvd.c564 unsigned height_in_mb = ALIGN(height / 16, 2); in amdgpu_uvd_cs_msg_decode() local
565 unsigned fs_in_mb = width_in_mb * height_in_mb; in amdgpu_uvd_cs_msg_decode()
610 min_dpb_size += width_in_mb * height_in_mb * num_dpb_buffer * 192; in amdgpu_uvd_cs_msg_decode()
613 min_dpb_size += width_in_mb * height_in_mb * 32; in amdgpu_uvd_cs_msg_decode()
622 min_dpb_size += width_in_mb * height_in_mb * 128; in amdgpu_uvd_cs_msg_decode()
631 tmp = max(width_in_mb, height_in_mb); in amdgpu_uvd_cs_msg_decode()
647 min_dpb_size += width_in_mb * height_in_mb * 64; in amdgpu_uvd_cs_msg_decode()
650 min_dpb_size += ALIGN(width_in_mb * height_in_mb * 32, 64); in amdgpu_uvd_cs_msg_decode()
690 width_in_mb * height_in_mb * num_dpb_buffer * 192; in amdgpu_uvd_cs_msg_decode()
693 min_dpb_size += width_in_mb * height_in_mb * 32; in amdgpu_uvd_cs_msg_decode()
[all …]
/drivers/gpu/drm/radeon/
Dradeon_uvd.c363 unsigned height_in_mb = ALIGN(height / 16, 2); in radeon_uvd_cs_msg_decode() local
378 min_dpb_size += width_in_mb * height_in_mb * 17 * 192; in radeon_uvd_cs_msg_decode()
381 min_dpb_size += width_in_mb * height_in_mb * 32; in radeon_uvd_cs_msg_decode()
390 min_dpb_size += width_in_mb * height_in_mb * 128; in radeon_uvd_cs_msg_decode()
399 tmp = max(width_in_mb, height_in_mb); in radeon_uvd_cs_msg_decode()
415 min_dpb_size += width_in_mb * height_in_mb * 64; in radeon_uvd_cs_msg_decode()
418 min_dpb_size += ALIGN(width_in_mb * height_in_mb * 32, 64); in radeon_uvd_cs_msg_decode()