]> git.sesse.net Git - ffmpeg/blobdiff - libavfilter/v360.h
avfilter/vf_dnn_processing: fix fate-source
[ffmpeg] / libavfilter / v360.h
index aa0bb948d58d7ecb048433397318e17f461cc8ea..4d78543f602cf73b493dbbf11928bcd9d58cb4d2 100644 (file)
@@ -42,6 +42,7 @@ enum Projections {
     MERCATOR,
     BALL,
     HAMMER,
+    SINUSOIDAL,
     NB_PROJECTIONS,
 };
 
@@ -114,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;
 
@@ -129,6 +131,9 @@ typedef struct V360Context {
     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];
@@ -141,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,