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

Xiang, Haihao haihao.xiang at intel.com
Fri Jul 1 03:18:29 UTC 2016


On Thu, 2016-06-30 at 09:49 +0800, Pengfei Qu wrote:
> 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;

It would be better to add a prefix "max_" to the above two fields.

>      union
>      {
>          struct


More information about the Libva mailing list