summaryrefslogtreecommitdiffstats
path: root/libavfilter/v360.h
diff options
context:
space:
mode:
Diffstat (limited to 'libavfilter/v360.h')
-rw-r--r--libavfilter/v360.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/libavfilter/v360.h b/libavfilter/v360.h
index 11c1e27..8e8799a 100644
--- a/libavfilter/v360.h
+++ b/libavfilter/v360.h
@@ -22,6 +22,13 @@
#define AVFILTER_V360_H
#include "avfilter.h"
+enum StereoFormats {
+ STEREO_2D,
+ STEREO_SBS,
+ STEREO_TB,
+ NB_STEREO_FMTS,
+};
+
enum Projections {
EQUIRECTANGULAR,
CUBEMAP_3_2,
@@ -95,6 +102,8 @@ typedef struct V360Context {
int out_cubemap_face_rotation[6];
int rotation_order[3];
+ int in_stereo, out_stereo;
+
float in_pad, out_pad;
float yaw, pitch, roll;
@@ -108,6 +117,11 @@ typedef struct V360Context {
float input_mirror_modifier[2];
+ int pr_width[4], pr_height[4];
+
+ int in_offset_w[4], in_offset_h[4];
+ int out_offset_w[4], out_offset_h[4];
+
int planewidth[4], planeheight[4];
int inplanewidth[4], inplaneheight[4];
int uv_linesize[4];
OpenPOWER on IntegriCloud