Michael Niedermayer
568e1b229b
avfilter/scene_sad: Fix funtions typos
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2018-12-18 14:18:05 +01:00
Paul B Mahol
d54276f9de
avfilter/af_apad: add pad_dur and whole_dur options
2018-12-17 19:14:36 +01:00
Carl Eugen Hoyos
826655d8d1
lavfi/program_opencl: Do not use format specifier "z" on Windows.
2018-12-17 14:44:10 +01:00
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));
2018-12-12 23:54:14 +01:00
Paul B Mahol
dd7d6034f1
avfilter/vf_paletteuse: fix flags for alpha_threshold option
2018-12-11 17:55:05 +01:00
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>
2018-12-10 15:24:47 +08:00
Paul B Mahol
8be56ee211
avfilter/vf_showinfo: allow checksums calculation to be disabled
...
Fixes #6987 .
2018-12-09 18:46:36 +01:00
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>
2018-12-09 23:13:55 +08:00
Paul B Mahol
8440835dbe
avfilter/vf_overlay: fix filtering with negative y
2018-12-03 10:32:59 +01:00
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>
2018-12-02 23:39:37 +00:00
Carl Eugen Hoyos
1893c72086
lavfi/fps: Avoid duplicating Closed Captions when increasing frame rate.
2018-11-27 18:38:03 +01:00
Jun Zhao
e002ec332b
lavfi/buffersrc: Indent the code.
...
commit b0012de420
missed reindent.
Signed-off-by: Jun Zhao <mypopydev@gmail.com>
2018-11-27 10:45:25 +08:00
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>
2018-11-26 23:47:29 +01:00
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>
2018-11-21 22:26:07 -03:00
Peter Ross
1ee4b4006b
avfilter/graphmonitor: use SIZE_SPECIFIER for size_t type
2018-11-21 23:26:29 +11:00
Paul B Mahol
57815cfad5
avfilter/vf_overlay: fix crash with negative y
2018-11-20 23:18:47 +01:00
Marton Balint
972ded33c0
avfilter/vf_freezedetect: add filter to detect frozen input
...
Signed-off-by: Marton Balint <cus@passwd.hu>
2018-11-19 22:11:42 +01:00
Paul B Mahol
6da439219d
avfilter: add rgbashift filter
2018-11-19 14:55:49 +01:00
Paul B Mahol
cfd421226c
avfilter: add chromashift filter
2018-11-19 14:46:45 +01:00
Paul B Mahol
ead0d2eb76
avfilter/vf_limiter: remove unused header
2018-11-18 22:20:34 +01:00
Paul B Mahol
f3d8a4ea46
avfilter/vf_limiter: always limit min/max to format depth
2018-11-18 22:20:34 +01:00
Paul B Mahol
72482363d1
avfilter/f_drawgraph: use av_sscanf()
2018-11-18 21:21:18 +01:00
Paul B Mahol
c834f52c00
avfilter/af_aecho: use av_sscanf()
2018-11-18 21:21:18 +01:00
Paul B Mahol
f79750bc32
avfilter/af_ladspa: use av_sscanf()
2018-11-18 21:21:18 +01:00
Paul B Mahol
2de165a92b
avfilter/vf_mix: use av_sscanf()
2018-11-18 21:21:18 +01:00
Paul B Mahol
9b2c325060
avfilter/af_sofalizer: use av_sscanf()
2018-11-18 21:21:18 +01:00
Paul B Mahol
80265dba3d
avfilter/af_afftdn: use av_sscanf()
2018-11-18 21:21:18 +01:00
Paul B Mahol
0c7fb6e4a0
avfilter/af_adelay: use av_sscanf()
2018-11-18 21:21:18 +01:00
Paul B Mahol
a5b28b271a
avfilter/af_acrossover: use av_strtod() to parse single number
2018-11-18 20:44:27 +01:00
Martin Vignali
d3621b2321
avfilter: use av_clip_uintp2 instead of av_clip for 10b and 12b
2018-11-17 18:06:58 +01:00
Paul B Mahol
fbea2ea76e
avfilter/vf_neighbor: fix >8 bit deflate/inflate
2018-11-17 11:09:37 +01:00
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