Paul B Mahol
6f4ec4d909
avfilter/vf_v360: add slice threading to remap calculation
5 years ago
Paul B Mahol
05ffaa252e
avfilter/vf_v360: refactor creation of remap data
5 years ago
Paul B Mahol
a09213da23
avfilter/vf_v360: reverse order of remap for loops
5 years ago
Paul B Mahol
cf62110a83
avfilter/vf_v360: simplify allocating remap data
5 years ago
Paul B Mahol
c271d88257
avfilter/vf_v360: move some local variables to private filter context
5 years ago
Paul B Mahol
d87db83e1c
avfilter/vf_v360: rename r_tmp variables
5 years ago
Paul B Mahol
94f187d382
avfilter/vf_stereo3d: assert that out variable is valid
5 years ago
Paul B Mahol
34a12b9978
avfilter/vf_stereo3d: merge same code in case branches
5 years ago
Paul B Mahol
ea8391e519
avfilter/vf_shuffleplanes: remove not needed line
5 years ago
Paul B Mahol
f70690e8ec
avfilter/vf_ciescope: remove dead assignments
5 years ago
Paul B Mahol
fa045c3ce2
avfilter/window_func: clarify intention in dolph window calculation
5 years ago
Paul B Mahol
654601dd1d
avfilter/vf_v360: add missing av_assert0()
5 years ago
Paul B Mahol
7a7aa4f79e
avfilter/vf_avgblur: remove dupe assignment
5 years ago
Paul B Mahol
dc33250765
avfilter/af_headphone: return on error immediately
5 years ago
Paul B Mahol
921eb21b1d
avfilter/x86/vf_360: add most of >8 depth asm
5 years ago
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