hardware/intel/common/libva
Revision | 483bdcc82394943c16a54d2730f17c0c6577fa9b (tree) |
---|---|
Time | 2018-05-14 12:19:16 |
Author | Mark Thompson <sw@jkqx...> |
Commiter | Xiang, Haihao |
Improve documentation for encode framerate parameters
Signed-off-by: Mark Thompson <sw@jkqxz.net>
@@ -1919,9 +1919,16 @@ typedef struct _VAEncMiscParameterRateControl | ||
1919 | 1919 | uint32_t va_reserved[VA_PADDING_MEDIUM - 2]; |
1920 | 1920 | } VAEncMiscParameterRateControl; |
1921 | 1921 | |
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 | + */ | |
1922 | 1928 | typedef struct _VAEncMiscParameterFrameRate |
1923 | 1929 | { |
1924 | - /* | |
1930 | + /** Encode framerate. | |
1931 | + * | |
1925 | 1932 | * The framerate is specified as a number of frames per second, as a |
1926 | 1933 | * fraction. The denominator of the fraction is given in the top half |
1927 | 1934 | * (the high two bytes) of the framerate field, and the numerator is |
@@ -1944,10 +1951,9 @@ typedef struct _VAEncMiscParameterFrameRate | ||
1944 | 1951 | { |
1945 | 1952 | struct |
1946 | 1953 | { |
1947 | - /* | |
1948 | - * The temporal id the framerate parameters are specified for. | |
1949 | - */ | |
1954 | + /** The temporal layer that these framerate parameters apply to. */ | |
1950 | 1955 | uint32_t temporal_id : 8; |
1956 | + /** Reserved for future use, must be zero. */ | |
1951 | 1957 | uint32_t reserved : 24; |
1952 | 1958 | } bits; |
1953 | 1959 | uint32_t value; |