summaryrefslogtreecommitdiff
path: root/libavfilter/v360.h
diff options
context:
space:
mode:
authorPaul B Mahol <onemda@gmail.com>2019-09-06 13:14:29 +0200
committerPaul B Mahol <onemda@gmail.com>2019-09-06 14:10:37 +0200
commitcb8c353032abd28dd977802e6d623e2d2854bebe (patch)
tree12382d795fdfb651735d90c302fa5b1e25a2181e /libavfilter/v360.h
parentd131541445005e6533b9870debf8c15e4b9a74f6 (diff)
avfilter/vf_v360: add option to pick rotation order
Diffstat (limited to 'libavfilter/v360.h')
-rw-r--r--libavfilter/v360.h17
1 files changed, 13 insertions, 4 deletions
diff --git a/libavfilter/v360.h b/libavfilter/v360.h
index 624a0bdda4..2da25445f9 100644
--- a/libavfilter/v360.h
+++ b/libavfilter/v360.h
@@ -70,20 +70,29 @@ enum Rotation {
NB_ROTATIONS,
};
+enum RotationOrder {
+ YAW,
+ PITCH,
+ ROLL,
+ NB_RORDERS,
+};
+
typedef struct V360Context {
const AVClass *class;
int in, out;
int interp;
int width, height;
- char* in_forder;
- char* out_forder;
- char* in_frot;
- char* out_frot;
+ char *in_forder;
+ char *out_forder;
+ char *in_frot;
+ char *out_frot;
+ char *rorder;
int in_cubemap_face_order[6];
int out_cubemap_direction_order[6];
int in_cubemap_face_rotation[6];
int out_cubemap_face_rotation[6];
+ int rotation_order[3];
float in_pad, out_pad;