Paul B Mahol
5a9560dfc6
avfilter/vf_stereo3d: add tb (top-bottom) aliases
5 years ago
Paul B Mahol
7f8f886344
avfilter/vf_v360: refactor dimensions and offsets calculations
5 years ago
Paul B Mahol
45bb80dccc
avfilter/vf_v360: implement stereo 3D support
5 years ago
Paul B Mahol
451cee662c
avfilter/vf_v360: reduce by one cosf call less
5 years ago
Paul B Mahol
2a672a93d2
avfilter/vf_v360: define variables in for loops consistently
5 years ago
Paul B Mahol
f78abca0c2
avfilter/vf_v360: call tanf() once
5 years ago
Paul B Mahol
cb8d6a4e3e
avfilter/vf_v360: implement diagonal field of view
5 years ago
Paul B Mahol
ed4ad6e1ed
avfilter/vf_v360: use always float version instead of double floating-point function
5 years ago
Paul B Mahol
2b3094d61d
avfilter/vf_v360: fix flat projection field of view calculation
5 years ago
Paul B Mahol
e1dd355b3d
avfilter/vf_v360: add dfisheye output
5 years ago
Paul B Mahol
24d4eea921
avfilter/vf_v360: fix setting default height for stereographic
5 years ago
Paul B Mahol
801fd6e410
avfilter/vf_v360: fix errors is comments
5 years ago
Paul B Mahol
b4562301ee
avfilter/vf_v360: fix M_PI_4 usage consistency
5 years ago
Paul B Mahol
efc73b13ac
avfilter/vf_v360: remove pointless special case when allocating stuff
5 years ago
Paul B Mahol
7ce7002664
avfilter/vf_v360: refactor FoV calculation for stereographic
Move in out of loop.
5 years ago
Paul B Mahol
783ea9c1c5
avfilter/vf_v360: extend max limit to vertical fov
5 years ago
Paul B Mahol
cb41c2af92
avfilter/vf_v360: really fix FoV selection
Big thanks to Michael Koch for providing actual formula.
5 years ago
Jun Zhao
944d76a3e0
lavfi/sinc: fix memory leak in error handling path
free work&pi_wraps in error handling path to avoid memory leak.
Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Jun Zhao <barryjzhao@tencent.com>
5 years ago
Jun Zhao
44b55a8c9c
lavfi/anequalizer: fix memory leak in error handling path
free the pad.name in error handling path to avoid memory leak.
Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Jun Zhao <barryjzhao@tencent.com>
5 years ago
Paul B Mahol
0f0f5188ac
avfilter/vf_v360: remove w/h changing for flat output
Fixes crashes with bigger h/v fov.
5 years ago
Paul B Mahol
f705dc9a74
avfilter/vf_v360: increase h_fov max limit
5 years ago
Paul B Mahol
ccaeabd092
avfilter/vf_v360: fix fov calculation for stereographic output
5 years ago
Paul B Mahol
5fcb3cbaf0
avfilter/vf_v360: increase v_fov max limit
5 years ago
Paul B Mahol
329505d908
avfilter/vf_v360: add support for stereographic as input projection
5 years ago
Nikolas Bowe
b794df43f3
avfilter/vf_fps: Avoid inlink fifo build up.
When duplicating frames we need to schedule for activation again, otherwise frames can build up in the inlink fifo.
Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
5 years ago
Paul B Mahol
558265d4bc
avfilter/vf_v360: add padding to u/v/ker
Fixes use of uninitialized variables.
5 years ago
Paul B Mahol
0c9e01011b
avfilter/vf_v360: add guards against NaNs
Also normalize vector after rotation, it might be needed,
otherwise one can get NaNs.
5 years ago
Paul B Mahol
799c07e5c8
avfilter/vf_v360: partialy revert previous commit
roll/pitch can do exactly same thing.
5 years ago
Paul B Mahol
976617c7d2
avfilter/vf_v360: extend stereographic projection
Add option to change central point projection.
5 years ago
Paul B Mahol
7985430c70
avfilter/vf_v360: factor vector normalization out
5 years ago
Jun Zhao
a0abcb4a31
lavfi/concat: fix logic error in framerate check
fix logic error in framerate check, it's introduced by commit
3ad5d4df9c
Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Jun Zhao <barryjzhao@tencent.com>
5 years ago
Paul B Mahol
973051e3bd
avfilter/vf_v360: add stereographic output projection
5 years ago
Paul B Mahol
a13b61b7fd
avfilter/vf_v360: disallow too low h_fov/v_fov
5 years ago
Calvin Walton
3ad5d4df9c
lavfi/concat: allow to support inputs with different frame rates
Right now, the concat filter does not set the frame_rate value on any of
the out links. As a result, the default ffmpeg behaviour kicks in - to
copy the framerate from the first input to the outputs.
If a later input is higher framerate, this results in dropped frames; if
a later input is lower framerate it might cause judder.
This patch checks if all of the video inputs have the same framerate, and
if not it sets the out link to use '1/0' as the frame rate, the value
meaning "unknown/vfr".
A test is added to verify the VFR behaviour. The existing test for CFR
behaviour passes unchanged.
5 years ago
Paul B Mahol
85386c36e3
avfilter/vf_v360: add aliases for some projections
5 years ago
Limin Wang
cbc63d61b2
avfilter/vf_scale: split the scale_frame function from filter_frame for activate function support
Signed-off-by: Limin Wang <lance.lmwang@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
5 years ago
Paul B Mahol
5b12a47e08
avfilter/vf_v360: add options to h/w unflip input video
5 years ago
Paul B Mahol
a06d70350b
avfilter/vf_v360: support transposed input/output
5 years ago
Limin Wang
ede15bf2e3
avfilter/vf_showinfo: display GOP timecode side data
Signed-off-by: Limin Wang <lance.lmwang@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
5 years ago
James Almer
4857688732
x86/vf_v360: use a faster horizontal add in remap4_8bit_line_avx2
Signed-off-by: James Almer <jamrial@gmail.com>
5 years ago
James Almer
2200cf1aca
x86/vf_v360: make remap{1,2}_8bit_line_avx2 work on x86_32
Signed-off-by: James Almer <jamrial@gmail.com>
5 years ago
Paul B Mahol
cb8c353032
avfilter/vf_v360: add option to pick rotation order
5 years ago
Paul B Mahol
d131541445
avfilter/vf_v360: reduce allocations by reusing duplicated remaps
5 years ago
Paul B Mahol
058bbf48c6
avfilter/vf_v360: x86 SIMD for interpolations
5 years ago
Paul B Mahol
f0d8005ec5
avfilter/vf_v360: add asserts to guard against invalid conditions
5 years ago
Paul B Mahol
32dd429bc7
avfilter/vf_v360: stop using floats in interpolation
5 years ago
Paul B Mahol
28dfa1e371
avfilter/vf_v360: rewrite storing of remap positions and interpolations
In preparation of SIMD assembly.
5 years ago
Guo, Yejun
022f50d3fe
libavfilter/dnn: add header into native model file
Signed-off-by: Guo, Yejun <yejun.guo@intel.com>
Signed-off-by: Pedro Arthur <bygrandao@gmail.com>
5 years ago
Paul B Mahol
fbaa395917
avfilter/vf_v360: remove not needed items from ThreadData
5 years ago
Paul B Mahol
6b09030756
avfilter/vf_delogo: unbreak fate
It is not clear what was real intention of previous commit to this filter.
It was not working correctly, hopefully this is fixed now.
It never checked that new x/y/w/h are actually valid, hopeffully this is fixed now.
It uses named variables in expressions that are never set, still not fixed.
It does not set named variables that uses actual frame widht/height, making actual
expressions less usable for our users, still now fixed.
5 years ago