Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/gpu/drm/amd/amdgpu/
Damdgpu_uvd.c629 unsigned int height_in_mb = ALIGN(height / 16, 2); in amdgpu_uvd_cs_msg_decode() local
630 unsigned int fs_in_mb = width_in_mb * height_in_mb; in amdgpu_uvd_cs_msg_decode()
675 min_dpb_size += width_in_mb * height_in_mb * num_dpb_buffer * 192; in amdgpu_uvd_cs_msg_decode()
678 min_dpb_size += width_in_mb * height_in_mb * 32; in amdgpu_uvd_cs_msg_decode()
687 min_dpb_size += width_in_mb * height_in_mb * 128; in amdgpu_uvd_cs_msg_decode()
696 tmp = max(width_in_mb, height_in_mb); in amdgpu_uvd_cs_msg_decode()
712 min_dpb_size += width_in_mb * height_in_mb * 64; in amdgpu_uvd_cs_msg_decode()
715 min_dpb_size += ALIGN(width_in_mb * height_in_mb * 32, 64); in amdgpu_uvd_cs_msg_decode()
755 width_in_mb * height_in_mb * num_dpb_buffer * 192; in amdgpu_uvd_cs_msg_decode()
758 min_dpb_size += width_in_mb * height_in_mb * 32; in amdgpu_uvd_cs_msg_decode()
[all …]
/linux-6.12.1/drivers/gpu/drm/radeon/
Dradeon_uvd.c364 unsigned height_in_mb = ALIGN(height / 16, 2); in radeon_uvd_cs_msg_decode() local
379 min_dpb_size += width_in_mb * height_in_mb * 17 * 192; in radeon_uvd_cs_msg_decode()
382 min_dpb_size += width_in_mb * height_in_mb * 32; in radeon_uvd_cs_msg_decode()
391 min_dpb_size += width_in_mb * height_in_mb * 128; in radeon_uvd_cs_msg_decode()
400 tmp = max(width_in_mb, height_in_mb); in radeon_uvd_cs_msg_decode()
416 min_dpb_size += width_in_mb * height_in_mb * 64; in radeon_uvd_cs_msg_decode()
419 min_dpb_size += ALIGN(width_in_mb * height_in_mb * 32, 64); in radeon_uvd_cs_msg_decode()