diff options
author | James Almer <jamrial@gmail.com> | 2016-12-06 14:48:45 -0300 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2016-12-07 22:40:59 -0300 |
commit | 445204cd5777e029a6674ed0739777817eda5646 (patch) | |
tree | 95f32d39e2859e1f1fab4a3395b0523c88332c09 /libavformat/matroska.h | |
parent | e3694478a98bc2cd702b3b3f0bfb19a100da737e (diff) | |
download | ffmpeg-445204cd5777e029a6674ed0739777817eda5646.tar.gz |
avformat/matroskadec: add support for Spherical Video elements
Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavformat/matroska.h')
-rw-r--r-- | libavformat/matroska.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/libavformat/matroska.h b/libavformat/matroska.h index 13155e5ed0..83c824614d 100644 --- a/libavformat/matroska.h +++ b/libavformat/matroska.h @@ -153,6 +153,13 @@ #define MATROSKA_ID_VIDEOCOLOR_LUMINANCEMAX 0x55D9 #define MATROSKA_ID_VIDEOCOLOR_LUMINANCEMIN 0x55DA +#define MATROSKA_ID_VIDEOPROJECTION 0x7670 +#define MATROSKA_ID_VIDEOPROJECTIONTYPE 0x7671 +#define MATROSKA_ID_VIDEOPROJECTIONPRIVATE 0x7672 +#define MATROSKA_ID_VIDEOPROJECTIONPOSEYAW 0x7673 +#define MATROSKA_ID_VIDEOPROJECTIONPOSEPITCH 0x7674 +#define MATROSKA_ID_VIDEOPROJECTIONPOSEROLL 0x7675 + /* IDs in the trackaudio master */ #define MATROSKA_ID_AUDIOSAMPLINGFREQ 0xB5 #define MATROSKA_ID_AUDIOOUTSAMPLINGFREQ 0x78B5 @@ -331,6 +338,13 @@ typedef enum { MATROSKA_COLOUR_CHROMASITINGVERT_NB } MatroskaColourChromaSitingVert; +typedef enum { + MATROSKA_VIDEO_PROJECTION_TYPE_RECTANGULAR = 0, + MATROSKA_VIDEO_PROJECTION_TYPE_EQUIRECTANGULAR = 1, + MATROSKA_VIDEO_PROJECTION_TYPE_CUBEMAP = 2, + MATROSKA_VIDEO_PROJECTION_TYPE_MESH = 3, +} MatroskaVideoProjectionType; + /* * Matroska Codec IDs, strings */ |