summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPenne <penne.y.lee@intel.com>2014-09-24 03:54:00 -0700
committerXiang, Haihao <haihao.xiang@intel.com>2014-09-27 10:29:12 +0800
commitb654526a5101a0dc0b1d5698df133c56cfb987f9 (patch)
tree49d3b449bfce0e15d88f8e7d026a54c9004f5008
parent88ab2de10fff33457405728971e1ca0c9115f912 (diff)
downloadlibva-b654526a5101a0dc0b1d5698df133c56cfb987f9.tar.gz
Add a new coded buffer flag
If VA_CODED_BUF_STATUS_CODEC_SPECIFIC is set, codec specific information will be sent out Signed-off-by: Penne <penne.y.lee@intel.com> Signed-off-by: Wang, Ce <ce.wang@intel.com>
-rw-r--r--va/va.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/va/va.h b/va/va.h
index 328cef7..d0ebdd4 100644
--- a/va/va.h
+++ b/va/va.h
@@ -2711,6 +2711,17 @@ VAStatus vaBufferSetNumElements (
#define VA_CODED_BUF_STATUS_FRAME_SIZE_OVERFLOW 0x1000
#define VA_CODED_BUF_STATUS_AIR_MB_OVER_THRESHOLD 0xff0000
+
+/**
+ * \brief Codec specific information will be sent out.
+ *
+ * This flag indicates that the coded buffer segment
+ * VACodedBufferSegment.buf points to a predefined data structure
+ * associated with each codec. And encoder may use this
+ * data structure to convey information back to application.
+ */
+#define VA_CODED_BUF_STATUS_CODEC_SPECIFIC 0x2000
+
/**
* \brief The coded buffer segment contains a single NAL unit.
*