Paul B Mahol
a09213da23
avfilter/vf_v360: reverse order of remap for loops
2019-09-16 18:03:16 +02:00
Paul B Mahol
cf62110a83
avfilter/vf_v360: simplify allocating remap data
2019-09-16 17:58:08 +02:00
Paul B Mahol
c271d88257
avfilter/vf_v360: move some local variables to private filter context
2019-09-16 17:53:58 +02:00
Paul B Mahol
d87db83e1c
avfilter/vf_v360: rename r_tmp variables
2019-09-16 17:50:16 +02:00
Paul B Mahol
94f187d382
avfilter/vf_stereo3d: assert that out variable is valid
2019-09-16 11:45:28 +02:00
Paul B Mahol
34a12b9978
avfilter/vf_stereo3d: merge same code in case branches
2019-09-16 11:41:50 +02:00
Paul B Mahol
ea8391e519
avfilter/vf_shuffleplanes: remove not needed line
2019-09-16 11:28:03 +02:00
Paul B Mahol
f70690e8ec
avfilter/vf_ciescope: remove dead assignments
2019-09-16 11:22:16 +02:00
Paul B Mahol
fa045c3ce2
avfilter/window_func: clarify intention in dolph window calculation
2019-09-16 10:57:09 +02:00
Paul B Mahol
654601dd1d
avfilter/vf_v360: add missing av_assert0()
2019-09-16 10:40:47 +02:00
Paul B Mahol
7a7aa4f79e
avfilter/vf_avgblur: remove dupe assignment
2019-09-16 10:31:05 +02:00
Paul B Mahol
dc33250765
avfilter/af_headphone: return on error immediately
2019-09-16 10:27:42 +02:00
Paul B Mahol
921eb21b1d
avfilter/x86/vf_360: add most of >8 depth asm
2019-09-16 10:21:16 +02:00
Paul B Mahol
5a9560dfc6
avfilter/vf_stereo3d: add tb (top-bottom) aliases
2019-09-15 10:54:00 +02:00
Paul B Mahol
7f8f886344
avfilter/vf_v360: refactor dimensions and offsets calculations
2019-09-15 10:37:42 +02:00
Paul B Mahol
45bb80dccc
avfilter/vf_v360: implement stereo 3D support
2019-09-14 19:35:13 +02:00
Paul B Mahol
451cee662c
avfilter/vf_v360: reduce by one cosf call less
2019-09-14 17:40:46 +02:00
Paul B Mahol
2a672a93d2
avfilter/vf_v360: define variables in for loops consistently
2019-09-14 17:33:31 +02:00
Paul B Mahol
f78abca0c2
avfilter/vf_v360: call tanf() once
2019-09-14 13:33:24 +02:00
Paul B Mahol
cb8d6a4e3e
avfilter/vf_v360: implement diagonal field of view
2019-09-14 10:47:01 +02:00
Paul B Mahol
ed4ad6e1ed
avfilter/vf_v360: use always float version instead of double floating-point function
2019-09-13 12:32:35 +02:00
Paul B Mahol
2b3094d61d
avfilter/vf_v360: fix flat projection field of view calculation
2019-09-13 11:31:11 +02:00
Paul B Mahol
e1dd355b3d
avfilter/vf_v360: add dfisheye output
2019-09-12 20:07:26 +02:00
Paul B Mahol
24d4eea921
avfilter/vf_v360: fix setting default height for stereographic
2019-09-12 18:37:38 +02:00
Paul B Mahol
801fd6e410
avfilter/vf_v360: fix errors is comments
2019-09-12 18:37:38 +02:00
Paul B Mahol
b4562301ee
avfilter/vf_v360: fix M_PI_4 usage consistency
2019-09-12 18:37:38 +02:00
Paul B Mahol
efc73b13ac
avfilter/vf_v360: remove pointless special case when allocating stuff
2019-09-11 16:43:10 +02:00
Paul B Mahol
7ce7002664
avfilter/vf_v360: refactor FoV calculation for stereographic
...
Move in out of loop.
2019-09-11 16:25:21 +02:00
Paul B Mahol
783ea9c1c5
avfilter/vf_v360: extend max limit to vertical fov
2019-09-11 15:12:56 +02:00
Paul B Mahol
cb41c2af92
avfilter/vf_v360: really fix FoV selection
...
Big thanks to Michael Koch for providing actual formula.
2019-09-11 15:12:56 +02:00
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>
2019-09-11 10:36:34 +08:00
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>
2019-09-11 10:36:34 +08:00
Paul B Mahol
0f0f5188ac
avfilter/vf_v360: remove w/h changing for flat output
...
Fixes crashes with bigger h/v fov.
2019-09-11 00:37:02 +02:00
Paul B Mahol
f705dc9a74
avfilter/vf_v360: increase h_fov max limit
2019-09-11 00:37:02 +02:00
Paul B Mahol
ccaeabd092
avfilter/vf_v360: fix fov calculation for stereographic output
2019-09-11 00:37:02 +02:00
Paul B Mahol
5fcb3cbaf0
avfilter/vf_v360: increase v_fov max limit
2019-09-10 20:18:10 +02:00
Paul B Mahol
329505d908
avfilter/vf_v360: add support for stereographic as input projection
2019-09-10 18:58:51 +02:00
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>
2019-09-10 17:21:54 +02:00
Paul B Mahol
558265d4bc
avfilter/vf_v360: add padding to u/v/ker
...
Fixes use of uninitialized variables.
2019-09-09 18:40:39 +02:00
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.
2019-09-09 18:03:17 +02:00
Paul B Mahol
799c07e5c8
avfilter/vf_v360: partialy revert previous commit
...
roll/pitch can do exactly same thing.
2019-09-09 17:47:03 +02:00
Paul B Mahol
976617c7d2
avfilter/vf_v360: extend stereographic projection
...
Add option to change central point projection.
2019-09-09 14:17:22 +02:00
Paul B Mahol
7985430c70
avfilter/vf_v360: factor vector normalization out
2019-09-09 11:07:39 +02:00
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>
2019-09-09 16:03:17 +08:00
Paul B Mahol
973051e3bd
avfilter/vf_v360: add stereographic output projection
2019-09-08 21:07:59 +02:00
Paul B Mahol
a13b61b7fd
avfilter/vf_v360: disallow too low h_fov/v_fov
2019-09-08 21:07:59 +02:00
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.
2019-09-08 16:48:28 +02:00
Paul B Mahol
85386c36e3
avfilter/vf_v360: add aliases for some projections
2019-09-08 10:52:35 +02:00
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>
2019-09-08 02:15:46 +02:00
Paul B Mahol
5b12a47e08
avfilter/vf_v360: add options to h/w unflip input video
2019-09-07 22:36:28 +02:00