summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXiang, Haihao <haihao.xiang@intel.com>2017-06-01 15:34:41 +0800
committerXiang, Haihao <haihao.xiang@intel.com>2017-09-27 12:48:16 +0800
commit891caae206ebcf8c3a6297b80b36df40f77ef0cd (patch)
treef6874fd14c442865cdbe091da71f96a137ecac9d
parent552c486d87f0857629e110893c911407e98a1693 (diff)
downloadlibva-891caae206ebcf8c3a6297b80b36df40f77ef0cd.tar.gz
Fix a typo in VAConfigAttribValEncROI
The current delat is typo. This fix breaks API, fortunately roi_rc_qp_delat_support isn't used widely This fixes https://github.com/01org/libva/issues/32 Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
-rw-r--r--va/va.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/va/va.h b/va/va.h
index 8eff94f..c5542a7 100644
--- a/va/va.h
+++ b/va/va.h
@@ -688,15 +688,15 @@ typedef union _VAConfigAttribValEncROI {
/**
* \brief A flag indicates whether ROI delta QP is supported
*
- * \ref roi_rc_qp_delat_support equal to 1 specifies the underlying driver supports
+ * \ref roi_rc_qp_delta_support equal to 1 specifies the underlying driver supports
* ROI delta QP when VAConfigAttribRateControl != VA_RC_CQP, user can use \c roi_value
- * in #VAEncROI to set ROI delta QP. \ref roi_rc_qp_delat_support equal to 0 specifies
+ * in #VAEncROI to set ROI delta QP. \ref roi_rc_qp_delta_support equal to 0 specifies
* the underlying driver doesn't support ROI delta QP.
*
- * User should ignore \ref roi_rc_qp_delat_support when VAConfigAttribRateControl == VA_RC_CQP
+ * User should ignore \ref roi_rc_qp_delta_support when VAConfigAttribRateControl == VA_RC_CQP
* because ROI delta QP is always required when VAConfigAttribRateControl == VA_RC_CQP.
*/
- unsigned int roi_rc_qp_delat_support : 1;
+ unsigned int roi_rc_qp_delta_support : 1;
unsigned int reserved : 22;
} bits;
unsigned int value;
@@ -1524,7 +1524,7 @@ typedef struct _VAEncMiscParameterBufferROI {
* in #VAEncROI should be used as ROI priority.
*
* \ref roi_value_is_qp_delta is only available when VAConfigAttribRateControl != VA_RC_CQP,
- * the setting must comply with \c roi_rc_priority_support and \c roi_rc_qp_delat_support in
+ * the setting must comply with \c roi_rc_priority_support and \c roi_rc_qp_delta_support in
* #VAConfigAttribValEncROI. The underlying driver should ignore this field
* when VAConfigAttribRateControl == VA_RC_CQP.
*/