From: Jia Meng <[email protected]>

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 <[email protected]>
Signed-off-by: Pengfei Qu <[email protected]>
---
 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

_______________________________________________
Libva mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libva

Reply via email to