summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Thompson <sw@jkqxz.net>2018-04-26 20:24:20 +0100
committerXiang, Haihao <haihao.xiang@intel.com>2018-05-14 11:19:16 +0800
commit483bdcc82394943c16a54d2730f17c0c6577fa9b (patch)
treef44d6a48bcd75ff604e4558feb96812b91f3f454
parenta0ec74e194283b1cb8a0d2e5ffa961644fcab31f (diff)
downloadlibva-483bdcc82394943c16a54d2730f17c0c6577fa9b.tar.gz
Improve documentation for encode framerate parameters
Signed-off-by: Mark Thompson <sw@jkqxz.net>
-rw-r--r--va/va.h14
1 files changed, 10 insertions, 4 deletions
diff --git a/va/va.h b/va/va.h
index 63bf8a5..b898d9d 100644
--- a/va/va.h
+++ b/va/va.h
@@ -1919,9 +1919,16 @@ typedef struct _VAEncMiscParameterRateControl
uint32_t va_reserved[VA_PADDING_MEDIUM - 2];
} VAEncMiscParameterRateControl;
+/** Encode framerate parameters.
+ *
+ * Sets the encode framerate used by the rate controller. This should be
+ * provided in all modes using a bitrate target (variable framerate is not
+ * supported).
+ */
typedef struct _VAEncMiscParameterFrameRate
{
- /*
+ /** Encode framerate.
+ *
* The framerate is specified as a number of frames per second, as a
* fraction. The denominator of the fraction is given in the top half
* (the high two bytes) of the framerate field, and the numerator is
@@ -1944,10 +1951,9 @@ typedef struct _VAEncMiscParameterFrameRate
{
struct
{
- /*
- * The temporal id the framerate parameters are specified for.
- */
+ /** The temporal layer that these framerate parameters apply to. */
uint32_t temporal_id : 8;
+ /** Reserved for future use, must be zero. */
uint32_t reserved : 24;
} bits;
uint32_t value;