]> git.sesse.net Git - ffmpeg/commit
avfilter/vf_v360: fix several problems with 'perspective' output
authorMichael Koch <astroelectronic@t-online.de>
Fri, 4 Dec 2020 18:43:26 +0000 (19:43 +0100)
committerPaul B Mahol <onemda@gmail.com>
Fri, 4 Dec 2020 18:50:10 +0000 (19:50 +0100)
commitce8f45aaba82a150f72db943d447c1e068c474b0
tree3e6a73987ad182872441a9343ad4b0fadd7117df
parentdbf8a1639f0e5fee9108e95a6d06c9d39dc9740a
avfilter/vf_v360: fix several problems with 'perspective' output

The image center wasn't preserved, the output image was mirror reversed,
and rotations were made around wrong axes.
I did also remove the vector normalization, because it's sure that the vector
is already normalized if it's calculated from sin() and cos() terms.
libavfilter/vf_v360.c