Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/videolan/dav1d.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Almer <jamrial@gmail.com>2018-11-26 01:14:42 +0300
committerJames Almer <jamrial@gmail.com>2018-11-26 02:53:49 +0300
commit041f653545a5c6b677c1f099e9f98634c2cb1601 (patch)
treef879b48cea642427ec82cc0246ba242e9ed45889 /include
parent513dfa990804496780a7fa9ee0707b84e1976c13 (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.h1
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)