diff options
author | James Almer <jamrial@gmail.com> | 2018-11-26 01:14:42 +0300 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2018-11-26 02:53:49 +0300 |
commit | 041f653545a5c6b677c1f099e9f98634c2cb1601 (patch) | |
tree | f879b48cea642427ec82cc0246ba242e9ed45889 /include | |
parent | 513dfa990804496780a7fa9ee0707b84e1976c13 (diff) |
Put layout back in Dav1dSequenceHeader
This partially reverts commit b6bb8536ad299d52a5ff49a4f0317b923ce6b8bb.
Relegating the work of deriving this value to the library user from
ss_hor, ss_ver and monochrome in functions that don't return a
Dav1dPictureParameters is not a good idea.
Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/dav1d/headers.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/dav1d/headers.h b/include/dav1d/headers.h index bf8c5ae..bf5eb63 100644 --- a/include/dav1d/headers.h +++ b/include/dav1d/headers.h @@ -173,6 +173,7 @@ typedef struct Dav1dSequenceHeader { * a normative requirement. */ int max_width, max_height; + enum Dav1dPixelLayout layout; ///< format of the picture enum Dav1dColorPrimaries pri; ///< color primaries (av1) enum Dav1dTransferCharacteristics trc; ///< transfer characteristics (av1) enum Dav1dMatrixCoefficients mtrx; ///< matrix coefficients (av1) |