Re: [Mesa-dev] [PATCH] radeon: Fix width align for hevc encode

2019-04-18 Thread Lei Zhou
ell as radeon_vcn_enc_1_2.c:215 > > Thanks, > Boyuan > > > -Original Message- > From: mesa-dev On Behalf Of Lei Zhou > Sent: April 15, 2019 2:24 AM > To: mesa-dev@lists.freedesktop.org > Subject: [Mesa-dev] [PATCH] radeon: Fix width align for hevc encode >

Re: [Mesa-dev] [PATCH] radeon: Fix width align for hevc encode

2019-04-17 Thread Zhang, Boyuan
-dev@lists.freedesktop.org Subject: [Mesa-dev] [PATCH] radeon: Fix width align for hevc encode Before, width is aligned to 16, we get 512x800 when encoding with 480x800, and conformance_window_flag=0 in sps. Signed-off-by: Lei Zhou --- src/gallium/drivers/radeon/radeon_uvd_enc.c | 2 +- src/gallium/dri

[Mesa-dev] [PATCH] radeon: Fix width align for hevc encode

2019-04-15 Thread Lei Zhou
Before, width is aligned to 16, we get 512x800 when encoding with 480x800, and conformance_window_flag=0 in sps. Signed-off-by: Lei Zhou --- src/gallium/drivers/radeon/radeon_uvd_enc.c | 2 +- src/gallium/drivers/radeon/radeon_vcn_enc.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) d