aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/isom.h
diff options
context:
space:
mode:
authorVittorio Giovara <vittorio.giovara@gmail.com>2016-11-11 17:47:44 -0500
committerVittorio Giovara <vittorio.giovara@gmail.com>2016-12-07 14:40:59 -0500
commit4dcdecf4719a9893f3825ebbad80b2af5aa23613 (patch)
tree928e791803639abb660aab67456be885f4c2fa75 /libavformat/isom.h
parente7a6f8c972a0b5b98ef7bbf393e95c434e9e2539 (diff)
downloadffmpeg-4dcdecf4719a9893f3825ebbad80b2af5aa23613.tar.gz
mov: Export spherical information
This implements Spherical Video V1 and V2, as described in the spatial-media collection by Google. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
Diffstat (limited to 'libavformat/isom.h')
-rw-r--r--libavformat/isom.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/libavformat/isom.h b/libavformat/isom.h
index 02bfedd048..0fd9eb082b 100644
--- a/libavformat/isom.h
+++ b/libavformat/isom.h
@@ -24,6 +24,9 @@
#ifndef AVFORMAT_ISOM_H
#define AVFORMAT_ISOM_H
+#include "libavutil/spherical.h"
+#include "libavutil/stereo3d.h"
+
#include "avio.h"
#include "internal.h"
#include "dv.h"
@@ -177,6 +180,10 @@ typedef struct MOVStreamContext {
int stsd_count;
int32_t *display_matrix;
+ AVStereo3D *stereo3d;
+ AVSphericalMapping *spherical;
+ size_t spherical_size;
+
uint32_t format;
int has_sidx; // If there is an sidx entry for this stream.