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>2019-08-06 20:59:40 +0300
committerJames Almer <jamrial@gmail.com>2019-08-08 01:39:13 +0300
commit9a9c0c7e78c3c277ebf5f8d10bef9bc81604c7a9 (patch)
treeacc2b2a5b417733fff689a7cba9a65be3bd7cfd3 /include/dav1d/headers.h
parent857232e44513ba2cbbb352a0f68d440c0ecd673e (diff)
Export frame ITU-T T.35 Metadata
Based on a patch by Renato Cassaca.
Diffstat (limited to 'include/dav1d/headers.h')
-rw-r--r--include/dav1d/headers.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/include/dav1d/headers.h b/include/dav1d/headers.h
index 2e0c67f..4e8844a 100644
--- a/include/dav1d/headers.h
+++ b/include/dav1d/headers.h
@@ -28,6 +28,8 @@
#ifndef DAV1D_HEADERS_H
#define DAV1D_HEADERS_H
+#include <stddef.h>
+
// Constants from Section 3. "Symbols and abbreviated terms"
#define DAV1D_MAX_CDEF_STRENGTHS 8
#define DAV1D_MAX_OPERATING_POINTS 32
@@ -176,6 +178,13 @@ typedef struct Dav1dMasteringDisplay {
uint32_t min_luminance;
} Dav1dMasteringDisplay;
+typedef struct Dav1dITUTT35 {
+ uint8_t country_code;
+ uint8_t country_code_extension_byte;
+ size_t payload_size;
+ uint8_t *payload;
+} Dav1dITUTT35;
+
typedef struct Dav1dSequenceHeader {
/**
* Stream profile, 0 for 8-10 bits/component 4:2:0 or monochrome;