Carl Eugen Hoyos
32601fb821
lavfi/signalstats: Cast the return value of AV_RN16() to int.
...
It is unsigned at least on arm, fixes the following warnings:
libavfilter/vf_signalstats.c:833:21: warning: taking the absolute value of unsigned type 'unsigned int' has no effect
dify += abs(yuv - AV_RN16(prev->data[0] + pw + i * 2));
6 years ago
Paul B Mahol
dd7d6034f1
avfilter/vf_paletteuse: fix flags for alpha_threshold option
6 years ago
Jun Zhao
a271025215
lavfi/vf_scale_vaapi: add scaling mode setting support.
...
before this change, scale_vaapi hard coding the scaling mode, add a
new option "mode" to setting the scaling mode, it can be use to change
scaling algorithm for performance/quality trade off.
Note: VA_FILTER_SCALING_NL_ANAMORPHIC(nolinear ananorphic scaling
algorithm) doesn't support by i965/iHD driver now, add this just for
completeness.
Reviewed-by: Mark Thompson <sw@jkqxz.net>
Signed-off-by: Jun Zhao <mypopydev@gmail.com>
6 years ago
Paul B Mahol
8be56ee211
avfilter/vf_showinfo: allow checksums calculation to be disabled
...
Fixes #6987 .
6 years ago
Jun Zhao
5ecd4f24f0
lavfi/buffersink: fix abuffersink flag setting issue
...
abuffersink need to setting AV_OPT_FLAG_AUDIO_PARAM flag.
Reviewed-by: Nicolas George <george@nsup.org>
Signed-off-by: Jun Zhao <mypopydev@gmail.com>
6 years ago
Paul B Mahol
8440835dbe
avfilter/vf_overlay: fix filtering with negative y
6 years ago
Ruiling Song
416dc9a5e8
lavf: add transpose_opencl filter
...
Signed-off-by: Ruiling Song <ruiling.song@intel.com>
Signed-off-by: Mark Thompson <sw@jkqxz.net>
6 years ago
Carl Eugen Hoyos
1893c72086
lavfi/fps: Avoid duplicating Closed Captions when increasing frame rate.
6 years ago
Jun Zhao
e002ec332b
lavfi/buffersrc: Indent the code.
...
commit b0012de420
missed reindent.
Signed-off-by: Jun Zhao <mypopydev@gmail.com>
6 years ago
Mark Harris
8108064043
avfilter/vf_chromashift: Fix mixed declaration and code
...
Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
6 years ago
James Almer
3913d6f734
x86/scene_sad: fix link errors when HAVE_X86ASM is not defined
...
Reviewed-by: Haihao Xiang <haihao.xiang@intel.com>
Signed-off-by: James Almer <jamrial@gmail.com>
6 years ago
Peter Ross
1ee4b4006b
avfilter/graphmonitor: use SIZE_SPECIFIER for size_t type
6 years ago
Paul B Mahol
57815cfad5
avfilter/vf_overlay: fix crash with negative y
6 years ago
Marton Balint
972ded33c0
avfilter/vf_freezedetect: add filter to detect frozen input
...
Signed-off-by: Marton Balint <cus@passwd.hu>
6 years ago
Paul B Mahol
6da439219d
avfilter: add rgbashift filter
6 years ago
Paul B Mahol
cfd421226c
avfilter: add chromashift filter
6 years ago
Paul B Mahol
ead0d2eb76
avfilter/vf_limiter: remove unused header
6 years ago
Paul B Mahol
f3d8a4ea46
avfilter/vf_limiter: always limit min/max to format depth
6 years ago
Paul B Mahol
72482363d1
avfilter/f_drawgraph: use av_sscanf()
6 years ago
Paul B Mahol
c834f52c00
avfilter/af_aecho: use av_sscanf()
6 years ago
Paul B Mahol
f79750bc32
avfilter/af_ladspa: use av_sscanf()
6 years ago
Paul B Mahol
2de165a92b
avfilter/vf_mix: use av_sscanf()
6 years ago
Paul B Mahol
9b2c325060
avfilter/af_sofalizer: use av_sscanf()
6 years ago
Paul B Mahol
80265dba3d
avfilter/af_afftdn: use av_sscanf()
6 years ago
Paul B Mahol
0c7fb6e4a0
avfilter/af_adelay: use av_sscanf()
6 years ago
Paul B Mahol
a5b28b271a
avfilter/af_acrossover: use av_strtod() to parse single number
6 years ago
Martin Vignali
d3621b2321
avfilter: use av_clip_uintp2 instead of av_clip for 10b and 12b
6 years ago
Paul B Mahol
fbea2ea76e
avfilter/vf_neighbor: fix >8 bit deflate/inflate
6 years ago
Carl Eugen Hoyos
21dd05ee6a
lavfi/minterpolate: Remove declaration of two unused variables.
6 years ago
Paul B Mahol
395508d9b6
avfilter/vf_dedot: initizalize ret variable
6 years ago
Paul B Mahol
4902780d2b
avfilter/vf_lut3d: use av_sscanf
6 years ago
Paul B Mahol
7a73cca254
avfilter: add dedot video filter
6 years ago
Marton Balint
aecd63b926
avfilter/af_afade: fix duration maximum
...
Signed-off-by: Marton Balint <cus@passwd.hu>
6 years ago
Paul B Mahol
662120f2b2
avfilter/vf_convolution: use sqrtf as its faster
6 years ago
Paul B Mahol
1342ec526e
avfilter/vf_blend: add 12bit support
6 years ago
Paul B Mahol
c98a32e4ad
avfilter/vf_blend: add 10bit support
6 years ago
Paul B Mahol
02809e7b06
avfilter/vf_lut2: implement support for different input depths
6 years ago
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.
6 years ago
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.
6 years ago
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
6 years ago
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.
6 years ago
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
.
6 years ago
Paul B Mahol
e96742dd3b
avfilter/af_afftfilt: use first input frame timestamp
6 years ago
Paul B Mahol
29f2893318
avfilter/vf_alphamerge: switch to activate
6 years ago
Paul B Mahol
0f2cfa3d80
avfilter/af_headphone: do not leak input frames on error
6 years ago
Paul B Mahol
a09411a0ee
avfilter/af_afftfilt: calculate all channels FFT values upfront
6 years ago
Paul B Mahol
d03030c071
avfilter/af_afftfilt: add more window types
6 years ago
Paul B Mahol
bdc66c50dd
avfilter/af_afftfilt: extend filter functionality
6 years ago
Marton Balint
936d18fb42
avfilter/vf_minterpolate: use common scene sad functions
...
Signed-off-by: Marton Balint <cus@passwd.hu>
6 years ago
Marton Balint
7748f395de
avfilter/vf_select: use common scene sad functions
...
Signed-off-by: Marton Balint <cus@passwd.hu>
6 years ago