[Libva] [PATCH 3/3] add ip/pb qp diff configuration

Pengfei Qu Pengfei.Qu at intel.com
Thu Jun 30 01:49:17 UTC 2016


From: Jia Meng <jia.meng at intel.com>

v1: add the interface for max QP delta between frames, such as IP frame and PB frame.
is is used in CBR mode.

Signed-off-by: Jia Meng <jia.meng at intel.com>
Signed-off-by: Pengfei Qu <Pengfei.Qu at intel.com>
---
 va/va.h | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/va/va.h b/va/va.h
index 8373737..e5b0e82 100644
--- a/va/va.h
+++ b/va/va.h
@@ -1159,6 +1159,9 @@ typedef struct _VAEncMiscParameterRateControl
     unsigned int initial_qp;
     unsigned int min_qp;
     unsigned int basic_unit_size;
+    /* max qp delta/difference between adjacent I/P, P/B frames in CBR mode*/
+    unsigned int qp_diff_ip;
+    unsigned int qp_diff_pb;
     union
     {
         struct
-- 
2.7.4



More information about the Libva mailing list