Module: Mesa Branch: master Commit: 2a38a5b2b28aa6e2c5c005bf5a2bfeae11623f22 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=2a38a5b2b28aa6e2c5c005bf5a2bfeae11623f22
Author: Andy Furniss <adf.li...@gmail.com> Date: Tue Dec 6 00:02:21 2016 +0000 radeon/vce Handle H.264 level 5.2 Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=91281 v2: explicitly add case 52 Signed-off-by: Andy Furniss <adf.li...@gmail.com> Reviewed-by: Christian König <christian.koe...@amd.com> --- src/gallium/drivers/radeon/radeon_vce.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/gallium/drivers/radeon/radeon_vce.c b/src/gallium/drivers/radeon/radeon_vce.c index 2f50ef4..aad2ec1 100644 --- a/src/gallium/drivers/radeon/radeon_vce.c +++ b/src/gallium/drivers/radeon/radeon_vce.c @@ -178,14 +178,15 @@ static unsigned get_cpb_num(struct rvce_encoder *enc) case 41: dpb = 32768; break; - default: case 42: dpb = 34816; break; case 50: dpb = 110400; break; + default: case 51: + case 52: dpb = 184320; break; } _______________________________________________ mesa-commit mailing list mesa-commit@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-commit