summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHongbo <hongbo.lv@intel.com>2017-10-30 22:31:24 +0800
committerXiang, Haihao <haihao.xiang@intel.com>2018-01-02 15:24:16 +0800
commitab0dd0e7e1924d015e6c3331d550f692bf5aec2f (patch)
tree35a1f04ef127b353827a9ffa0aafb8188ffe4217
parent0d2c0ca1bc779972f67ca36cedbfe82bf41c0505 (diff)
downloadlibva-ab0dd0e7e1924d015e6c3331d550f692bf5aec2f.tar.gz
Expose the encode passes interface.
-rw-r--r--va/va.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/va/va.h b/va/va.h
index 38da45c..62aaaa2 100644
--- a/va/va.h
+++ b/va/va.h
@@ -3126,6 +3126,16 @@ VAStatus vaBufferSetNumElements (
#define VA_CODED_BUF_STATUS_AIR_MB_OVER_THRESHOLD 0xff0000
/**
+ * \brief The coded buffer segment status contains frame encoding passes number
+ *
+ * This is the mask to get the number of encoding passes from the coded
+ * buffer segment status.
+ * NUMBER_PASS(bit24~bit27): the number for encoding passes executed for the coded frame.
+ *
+ */
+#define VA_CODED_BUF_STATUS_NUMBER_PASSES_MASK 0xf000000
+
+/**
* \brief The coded buffer segment contains a single NAL unit.
*
* This flag indicates that the coded buffer segment contains a