Carl Eugen Hoyos
21dd05ee6a
lavfi/minterpolate: Remove declaration of two unused variables.
2018-11-16 21:45:49 +01:00
Paul B Mahol
395508d9b6
avfilter/vf_dedot: initizalize ret variable
2018-11-16 21:39:37 +01:00
Paul B Mahol
4902780d2b
avfilter/vf_lut3d: use av_sscanf
2018-11-16 20:24:52 +01:00
Paul B Mahol
7a73cca254
avfilter: add dedot video filter
2018-11-16 20:19:08 +01:00
Marton Balint
aecd63b926
avfilter/af_afade: fix duration maximum
...
Signed-off-by: Marton Balint <cus@passwd.hu>
2018-11-15 22:16:32 +01:00
Paul B Mahol
662120f2b2
avfilter/vf_convolution: use sqrtf as its faster
2018-11-15 19:09:20 +01:00
Paul B Mahol
1342ec526e
avfilter/vf_blend: add 12bit support
2018-11-15 15:03:05 +01:00
Paul B Mahol
c98a32e4ad
avfilter/vf_blend: add 10bit support
2018-11-15 14:44:24 +01:00
Paul B Mahol
02809e7b06
avfilter/vf_lut2: implement support for different input depths
2018-11-15 11:47:58 +01:00
Philip Langdale
1096614c42
avfilter/vf_bwdif: Use common yadif frame management logic
...
After adding field type management to the common yadif logic, we can
remove the duplicate copy of that logic from bwdif.
2018-11-14 17:41:01 -08:00
Philip Langdale
fa74e4aef2
avfilter/yadif_common: Add field type tracking to help bwdif
...
The bwdif filter can use common yadif frame management if we track
when a field is the first or last field in a sequence. While this
information is not used by yadif, the added benefit of removing the
duplicated frame management logic makes it worth tracking this state
in the common code.
2018-11-14 17:41:01 -08:00
Philip Langdale
19d3d0c057
avutil/hwcontext_cuda: Define and use common CHECK_CU()
...
We have a pattern of wrapping CUDA calls to print errors and
normalise return values that is used in a couple of places. To
avoid duplication and increase consistency, let's put the wrapper
implementation in a shared place and use it everywhere.
Affects:
* avcodec/cuviddec
* avcodec/nvdec
* avcodec/nvenc
* avfilter/vf_scale_cuda
* avfilter/vf_scale_npp
* avfilter/vf_thumbnail_cuda
* avfilter/vf_transpose_npp
* avfilter/vf_yadif_cuda
2018-11-14 17:39:42 -08:00
Paul B Mahol
23f589e073
avfilter/vf_alphamerge: do not check for ret value if all wanted frames are present
...
It is not needed and may be uninitialized.
2018-11-12 22:07:13 +01:00
Mark Harris
ae4323548a
avfilter/vf_fade: fix start/duration max value
...
A fade out (usually at the end of a video) can easily start beyond
INT32_MAX (about 36 minutes). Regression since d40dc64173
.
2018-11-12 12:42:42 +01:00
Paul B Mahol
e96742dd3b
avfilter/af_afftfilt: use first input frame timestamp
2018-11-12 12:35:24 +01:00
Paul B Mahol
29f2893318
avfilter/vf_alphamerge: switch to activate
2018-11-12 10:47:50 +01:00
Paul B Mahol
0f2cfa3d80
avfilter/af_headphone: do not leak input frames on error
2018-11-12 09:38:30 +01:00
Paul B Mahol
a09411a0ee
avfilter/af_afftfilt: calculate all channels FFT values upfront
2018-11-12 09:27:08 +01:00
Paul B Mahol
d03030c071
avfilter/af_afftfilt: add more window types
2018-11-11 21:23:24 +01:00
Paul B Mahol
bdc66c50dd
avfilter/af_afftfilt: extend filter functionality
2018-11-11 21:23:24 +01:00
Marton Balint
936d18fb42
avfilter/vf_minterpolate: use common scene sad functions
...
Signed-off-by: Marton Balint <cus@passwd.hu>
2018-11-11 20:30:50 +01:00
Marton Balint
7748f395de
avfilter/vf_select: use common scene sad functions
...
Signed-off-by: Marton Balint <cus@passwd.hu>
2018-11-11 20:30:50 +01:00
Marton Balint
6c2a7a8e9a
avfilter/vf_framerate: factorize SAD functions which compute SAD for a whole frame
...
Also add SIMD which works on lines because it is faster then calculating it on
8x8 blocks using pixelutils.
Signed-off-by: Marton Balint <cus@passwd.hu>
2018-11-11 20:30:50 +01:00
Paul B Mahol
8860d30731
avfilter/vf_lut3d: ignore last whitespace when comparing LUT size string
...
In some situations it might be tab character and in others normal space.
2018-11-11 13:36:45 +01:00
Paul B Mahol
c47b48c0a6
avfilter/vf_lut3d: add spline 1D interpolation
2018-11-10 22:08:42 +01:00
Paul B Mahol
0bc2326b90
avfilter/vf_lut3d: add cosine 1D interpolation
2018-11-10 21:44:35 +01:00
Martin Vignali
75625c555c
avfilter/af_headphone : fix mem leak
...
report by coverity
CID 1439934
CID 1439935
2018-11-09 21:55:32 +01:00
Paul B Mahol
29fdaaa80d
avfilter/af_afir: fix hang because video is first requested
2018-11-09 18:51:21 +01:00
Paul B Mahol
16d91b7e99
avfilter/af_afir: kill useless code which increases latency for no reason
2018-11-09 10:40:16 +01:00
Paul B Mahol
36348d77b8
avfilter/af_afir: add minp/maxp options to control latency and speed
2018-11-08 22:07:14 +01:00
Paul B Mahol
698e67bef2
avfilter/af_afir: do not leak frame and clear pointer to freed frame
2018-11-08 21:34:49 +01:00
Paul B Mahol
70463b7026
avfilter/avf_showspectrum: add terrain color map
2018-11-08 17:59:48 +01:00
Paul B Mahol
09fdfc11b7
avfilter/avf_showspectrum: add cividis colormap
2018-11-08 15:08:43 +01:00
Paul B Mahol
0f0f840716
avfilter/af_aiir: implement rate option
2018-11-08 13:05:08 +01:00
Paul B Mahol
1d9fe1fdf6
avfilter/af_afir: implement rate option
2018-11-08 13:05:08 +01:00
Paul B Mahol
8dc5eb43b0
avfilter/af_afir: return early when giving video frame
2018-11-08 13:05:08 +01:00
Paul B Mahol
fcbde5e6a4
avfilter/af_afir: remove redundant code
2018-11-08 11:14:04 +01:00
Paul B Mahol
0c6d4e7ba4
avfilter/avf_showspectrum: add plasma color map
2018-11-07 18:56:21 +01:00
Paul B Mahol
ed58db4237
avfilter/avf_showspectrum: add viridis color map
2018-11-07 17:55:34 +01:00
Paul B Mahol
975510758c
avfilter/avf_showspectrum: improve magma colors
2018-11-07 17:18:44 +01:00
Zhong Li
d96ae9d5ea
lavc/qsv_overlay: suppress code scan complain
...
Suppress the complain "variables 'pix_fmt' is used but maybe
uninitialized".
Signed-off-by: Zhong Li <zhong.li@intel.com>
2018-11-06 17:42:31 +08:00
Paul B Mahol
63fbec7477
avfilter/af_afade: remove unused code
2018-11-04 15:01:56 +01:00
Paul B Mahol
242f7bf202
avfilter/split: use ff_outlink_get_status()
2018-11-03 18:24:35 +01:00
Paul B Mahol
c8625e5c6f
avfilter/af_afade: do not use framequeue directly
2018-11-03 18:24:35 +01:00
Paul B Mahol
4b82b71041
avfilter/af_amerge: use ff_inlink_queued_samples()
2018-11-03 18:24:35 +01:00
Paul B Mahol
decc008929
avfilter/af_amultiply: make use of ff_inlink_queued_samples()
2018-11-03 18:24:35 +01:00
Paul B Mahol
639694eaa5
avfilter/vf_extractplanes: use ff_outlink_get_status()
2018-11-03 18:24:19 +01:00
Philip Langdale
8e50215b5e
avfilter/vf_cuda_yadif: Avoid new syntax for vector initialisation
...
This requires a newer version of CUDA than we want to require.
2018-11-02 14:34:38 -07:00
Philip Langdale
d5272e94ab
avfilter/vf_yadif_cuda: CUDA accelerated yadif deinterlacer
...
This is a cuda implementation of yadif, which gives us a way to
do deinterlacing when using the nvdec hwaccel. In that scenario
we don't have access to the nvidia deinterlacer.
2018-11-02 11:26:30 -07:00
Philip Langdale
598f0f3927
libavfilter/vf_yadif: Make frame management logic and options shareable
...
I'm writing a cuda implementation of yadif, and while this
obviously has a very different implementation of the actual
filtering, all the frame management is unchanged. To avoid
duplicating that logic, let's make it shareable.
From the perspective of the existing filter, the only real change
is introducing a function pointer for the filter() function so it
can be specified for the specific filter.
2018-11-02 11:24:05 -07:00