diff options
author | Andy Furniss <[email protected]> | 2016-12-06 00:02:21 +0000 |
---|---|---|
committer | Leo Liu <[email protected]> | 2016-12-05 19:39:47 -0500 |
commit | 2a38a5b2b28aa6e2c5c005bf5a2bfeae11623f22 (patch) | |
tree | 146a3bc45066c061ae0709f8136d610d49e53735 /src | |
parent | 7db009b59ee9df3a106f2f7e440a3ff9223b268f (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')
-rw-r--r-- | src/gallium/drivers/radeon/radeon_vce.c | 3 |
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; } |