aboutsummaryrefslogtreecommitdiffstats
path: root/libavfilter/v360.h
diff options
context:
space:
mode:
authorPaul B Mahol <onemda@gmail.com>2020-10-06 13:51:52 +0200
committerPaul B Mahol <onemda@gmail.com>2020-10-07 01:54:05 +0200
commita086b73e1f7ae90f7ab17b3a0c40c40c1ff2c8a0 (patch)
tree34be00ba5833e51da221b963f241af93ef0164d6 /libavfilter/v360.h
parenta48adcd1369131ebadd1c928fe790c72795182a7 (diff)
downloadffmpeg-a086b73e1f7ae90f7ab17b3a0c40c40c1ff2c8a0.tar.gz
avfilter/vf_v360: use quaternions for rotation
Fixes gimbal lock issues, and round-off errors.
Diffstat (limited to 'libavfilter/v360.h')
-rw-r--r--libavfilter/v360.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/v360.h b/libavfilter/v360.h
index b64d4827f8..87770664a3 100644
--- a/libavfilter/v360.h
+++ b/libavfilter/v360.h
@@ -150,7 +150,7 @@ typedef struct V360Context {
float flat_range[2];
float iflat_range[2];
- float rot_mat[3][3];
+ float rot_quaternion[2][4];
float output_mirror_modifier[3];