diff options
author | James Almer <jamrial@gmail.com> | 2019-02-16 01:49:08 +0300 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2019-02-17 17:41:48 +0300 |
commit | 6bf2a0c6cdf6b2062ba56efb34abc73a2b744b73 (patch) | |
tree | 8490f3a4d971c7c216a17088c97e4f60a0c37caa /include/dav1d/headers.h | |
parent | d5171f95441276ebaba6ae24b340a822e12c4296 (diff) |
headers: reorder and improve the doxy for some fields
Diffstat (limited to 'include/dav1d/headers.h')
-rw-r--r-- | include/dav1d/headers.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/include/dav1d/headers.h b/include/dav1d/headers.h index 8d217b0..3ad419f 100644 --- a/include/dav1d/headers.h +++ b/include/dav1d/headers.h @@ -195,6 +195,14 @@ typedef struct Dav1dSequenceHeader { enum Dav1dMatrixCoefficients mtrx; ///< matrix coefficients (av1) enum Dav1dChromaSamplePosition chr; ///< chroma sample position (av1) /** + * 0, 1 and 2 mean 8, 10 or 12 bits/component, respectively. This is not + * exactly the same as 'hbd' from the spec; the spec's hbd distinguishes + * between 8 (0) and 10-12 (1) bits/component, and another element + * (twelve_bit) to distinguish between 10 and 12 bits/component. To get + * the spec's hbd, use !!our_hbd, and to get twelve_bit, use hbd == 2. + */ + int hbd; + /** * Pixel data uses JPEG pixel range ([0,255] for 8bits) instead of * MPEG pixel range ([16,235] for 8bits luma, [16,240] for 8bits chroma). */ @@ -246,14 +254,6 @@ typedef struct Dav1dSequenceHeader { int super_res; int cdef; int restoration; - /** - * 0, 1 and 2 mean 8, 10 or 12 bits/component, respectively. This is not - * exactly the same as 'hbd' from the spec; the spec's hbd distinguishes - * between 8 (0) and 10-12 (1) bits/component, and another element - * (twelve_bit) to distinguish between 10 and 12 bits/component. To get - * the spec's hbd, use !!our_hbd, and to get twelve_bit, use hbd == 2. - */ - int hbd; int ss_hor, ss_ver, monochrome; int color_description_present; int separate_uv_delta_q; |