From cb8c353032abd28dd977802e6d623e2d2854bebe Mon Sep 17 00:00:00 2001 From: Paul B Mahol Date: Fri, 6 Sep 2019 13:14:29 +0200 Subject: avfilter/vf_v360: add option to pick rotation order --- libavfilter/v360.h | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) (limited to 'libavfilter/v360.h') 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; -- cgit v1.2.3