summaryrefslogtreecommitdiffstats
path: root/src/gallium
diff options
context:
space:
mode:
authorAndy Furniss <[email protected]>2016-12-06 00:02:21 +0000
committerLeo Liu <[email protected]>2016-12-05 19:39:47 -0500
commit2a38a5b2b28aa6e2c5c005bf5a2bfeae11623f22 (patch)
tree146a3bc45066c061ae0709f8136d610d49e53735 /src/gallium
parent7db009b59ee9df3a106f2f7e440a3ff9223b268f (diff)
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 <[email protected]> Reviewed-by: Christian König <[email protected]>
Diffstat (limited to 'src/gallium')
-rw-r--r--src/gallium/drivers/radeon/radeon_vce.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gallium/drivers/radeon/radeon_vce.c b/src/gallium/drivers/radeon/radeon_vce.c
index 2f50ef4a748..aad2ec192f9 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;
}