diff options
author | Paul B Mahol <onemda@gmail.com> | 2020-10-06 13:51:52 +0200 |
---|---|---|
committer | Paul B Mahol <onemda@gmail.com> | 2020-10-07 01:54:05 +0200 |
commit | a086b73e1f7ae90f7ab17b3a0c40c40c1ff2c8a0 (patch) | |
tree | 34be00ba5833e51da221b963f241af93ef0164d6 /libavfilter/v360.h | |
parent | a48adcd1369131ebadd1c928fe790c72795182a7 (diff) | |
download | ffmpeg-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.h | 2 |
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]; |