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

Pengfei Qu Pengfei.Qu at intel.com
Wed Jul 6 03:37:25 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.
v2: change the member name to max_qp_delta_ip/pb

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 e87891c..79b1422 100644
--- a/va/va.h
+++ b/va/va.h
@@ -1162,6 +1162,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 max_qp_delta_ip;
+    unsigned int max_qp_delta_pb;
     union
     {
         struct
-- 
2.7.4



More information about the Libva mailing list