• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
Aucun tag

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

hardware/intel/common/libva


Commit MetaInfo

Révision483bdcc82394943c16a54d2730f17c0c6577fa9b (tree)
l'heure2018-05-14 12:19:16
AuteurMark Thompson <sw@jkqx...>
CommiterXiang, Haihao

Message de Log

Improve documentation for encode framerate parameters

Signed-off-by: Mark Thompson <sw@jkqxz.net>

Change Summary

Modification

--- a/va/va.h
+++ b/va/va.h
@@ -1919,9 +1919,16 @@ typedef struct _VAEncMiscParameterRateControl
19191919 uint32_t va_reserved[VA_PADDING_MEDIUM - 2];
19201920 } VAEncMiscParameterRateControl;
19211921
1922+/** Encode framerate parameters.
1923+ *
1924+ * Sets the encode framerate used by the rate controller. This should be
1925+ * provided in all modes using a bitrate target (variable framerate is not
1926+ * supported).
1927+ */
19221928 typedef struct _VAEncMiscParameterFrameRate
19231929 {
1924- /*
1930+ /** Encode framerate.
1931+ *
19251932 * The framerate is specified as a number of frames per second, as a
19261933 * fraction. The denominator of the fraction is given in the top half
19271934 * (the high two bytes) of the framerate field, and the numerator is
@@ -1944,10 +1951,9 @@ typedef struct _VAEncMiscParameterFrameRate
19441951 {
19451952 struct
19461953 {
1947- /*
1948- * The temporal id the framerate parameters are specified for.
1949- */
1954+ /** The temporal layer that these framerate parameters apply to. */
19501955 uint32_t temporal_id : 8;
1956+ /** Reserved for future use, must be zero. */
19511957 uint32_t reserved : 24;
19521958 } bits;
19531959 uint32_t value;