From: Sreerenj Balachandran <[email protected]>
Low power encode through VDENC supports both CBR and VBR.
Make sure vaGetConfigAttribute correctly returns the supported
list of rate control modes in VAEntrypointEncSliceLP entrypoint.
---
src/i965_device_info.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/i965_device_info.c b/src/i965_device_info.c
index 47fd50a..a3a1027 100644
--- a/src/i965_device_info.c
+++ b/src/i965_device_info.c
@@ -361,7 +361,7 @@ static struct hw_codec_info skl_hw_codec_info = {
.has_hevc_encoding = 1,
.has_lp_h264_encoding = 1,
- .lp_h264_brc_mode = VA_RC_CQP,
+ .lp_h264_brc_mode = VA_RC_CQP | VA_RC_CBR | VA_RC_VBR,
.num_filters = 5,
.filters = {
--
2.7.4
_______________________________________________
Libva mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libva