OSDN Git Service

Add one flag to use the qp_delta instead of qp priority for ROI under non-CQP mode
authorjialipen <cecilia.peng@intel.com>
Wed, 3 Aug 2016 08:16:43 +0000 (16:16 +0800)
committerSean V Kelley <seanvk@posteo.de>
Thu, 4 Aug 2016 22:43:20 +0000 (15:43 -0700)
commit66c63e6eef3836e2243881f111553344edce54a5
treea5e815547b76ee386f5174f5a6e52a58c8a20ec6
parent1517fd276e12cac14c018d5a30792177eb6c59de
Add one flag to use the qp_delta instead of qp priority for ROI under non-CQP mode

Currently the roi_value in VAEncROI is used as the qp priority when
VAConfigAttribRateControl != VA_RC_CQP. But some customers hope to use
it as qp_delta like CQP mode. In such case one flag is added to indicate
whether it is qp_priority or not. At the same time driver can export it
in VAConfigAttribValEncROI to indicate whether the qp_delta is supported
when VAConfigAttribRateControl != VA_RC_CQP.

v2: update comments in va.h

Signed-off-by: Zhao Yakui <yakui.zhao@intel.com>
Signed-off-by: ceciliapeng <cecilia.peng@intel.com>
Signed-off-by: Pengfei Qu <Pengfei.Qu@intel.com>
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Reviewed-by: Sean V Kelley <seanvk@posteo.de>
va/va.h