[Mesa-dev] [PATCH v2] radeon/vce Handle H.264 level 5.2
Andy Furniss
adf.lists at gmail.com
Tue Oct 25 10:30:24 UTC 2016
For gstreamer
Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=91281
v2: explicitly add case 52
Signed-off-by: Andy Furniss <adf.lists at gmail.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 ef93e46..80035ac 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;
}
--
2.7.0
More information about the mesa-dev
mailing list