]> git.sesse.net Git - ffmpeg/blobdiff - libavfilter/v360.h
avfilter/af_aiir: check for stability
[ffmpeg] / libavfilter / v360.h
index a15ff7dbc45fc0d78e2dcc3763f26bb23fbcad1e..4d78543f602cf73b493dbbf11928bcd9d58cb4d2 100644 (file)
@@ -39,6 +39,10 @@ enum Projections {
     BARREL,
     CUBEMAP_1_6,
     STEREOGRAPHIC,
+    MERCATOR,
+    BALL,
+    HAMMER,
+    SINUSOIDAL,
     NB_PROJECTIONS,
 };
 
@@ -111,6 +115,7 @@ typedef struct V360Context {
     int in_stereo, out_stereo;
 
     float in_pad, out_pad;
+    int fin_pad, fout_pad;
 
     float yaw, pitch, roll;
 
@@ -119,13 +124,16 @@ typedef struct V360Context {
     int in_transpose, out_transpose;
 
     float h_fov, v_fov, d_fov;
-    float flat_range[3];
+    float flat_range[2];
 
     float rot_mat[3][3];
 
     float input_mirror_modifier[2];
     float output_mirror_modifier[3];
 
+    int in_width, in_height;
+    int out_width, out_height;
+
     int pr_width[4], pr_height[4];
 
     int in_offset_w[4], in_offset_h[4];
@@ -138,8 +146,8 @@ typedef struct V360Context {
     int nb_allocated;
     int elements;
 
-    uint16_t *u[4], *v[4];
-    int16_t *ker[4];
+    uint16_t *u[2], *v[2];
+    int16_t *ker[2];
     unsigned map[4];
 
     void (*in_transform)(const struct V360Context *s,