diff options
author | Paul B Mahol <onemda@gmail.com> | 2019-09-14 18:16:02 +0200 |
---|---|---|
committer | Paul B Mahol <onemda@gmail.com> | 2019-09-14 19:35:13 +0200 |
commit | 45bb80dccc558a38a3539496575694995b38ff64 (patch) | |
tree | 7dcfdd9003f3c6c3e77721b23b1e6aa65409caa4 /libavfilter/v360.h | |
parent | 451cee662c379489f6f3ddeef6561aa201aa51b0 (diff) | |
download | ffmpeg-45bb80dccc558a38a3539496575694995b38ff64.tar.gz |
avfilter/vf_v360: implement stereo 3D support
Diffstat (limited to 'libavfilter/v360.h')
-rw-r--r-- | libavfilter/v360.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/libavfilter/v360.h b/libavfilter/v360.h index 11c1e27e4b..8e8799a89e 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]; |