Michael Niedermayer
22b0daa1b3
Bump versions for master after 3.3
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years ago
Michael Niedermayer
e1cc7f83df
Bump minor for 3.3
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years ago
Mark Thompson
75afad774b
vf_deinterlace_vaapi: Mark as hwframe-aware
...
Commits ade370a4
and e3fb74f7
were reordered while merging, so this
change got lost.
8 years ago
Michael Niedermayer
58b867a7cf
Bump minor versions for master after release/3.3 branchpoint
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years ago
Michael Niedermayer
fc332f3e29
Bump minor versions for staring release/3.3 branch
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years ago
Michael Niedermayer
55d53cb593
avfilter/avfiltergraph: Check for allocation failure in avfilter_graph_queue_command()
...
Fixes: CID1396538
Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years ago
Michael Niedermayer
5036e214b0
avfilter/vf_zoompan: Free out frame on error
...
Fixes: CID1398578
Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years ago
Michael Niedermayer
477ba8f939
avfilter/af_chorus & aecho: Handle NULL return from av_strtok()
...
Fixes CID1396260
Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years ago
Michael Niedermayer
855305fac2
avfilter/vf_minterpolate: Use dx and dy
...
Fixes CID1396283 and CID1396284
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years ago
Michael Niedermayer
4798237f01
avfilter/deshake_opencl: Remove redundant return
...
Fixes: CID1396846
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years ago
Michael Niedermayer
4064f3f0df
avfilter/af_sofalizer: Fix bad shift
...
Fixes CID1396835
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years ago
Gyan Doshi
2104e3383f
avfilter/avf_abitscope: Correct range for framerate
...
Signed-off-by: Gyan Doshi <gyandoshi@gmail.com>
Signed-off-by: Paul B Mahol <onemda@gmail.com> (via IRC)
8 years ago
Michael Niedermayer
5f019909c0
avfilter: Add AV_OPT_FLAG_FILTERING_PARAM where it is missing
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years ago
Clément Bœsch
247d0339ca
lavfi/signature: fix -Wformat warnings raised by DJGPP
...
This was forgotten due to the non-gpl build used in 549045254
.
8 years ago
Clément Bœsch
549045254c
Fix all -Wformat warnings raised by DJGPP
8 years ago
Clément Bœsch
4606807031
lavfi/xbr: undef PI if defined
...
This conflict with the DJGPP libc math.h which includes a PI macro (to
M_PI).
We cannot make DJGPP POSIX only (using -D_POSIX_SOURCE) to avoid this
kind of symbols conflicts due to the lack of both posix_memalign and
memalign (DJGPP non standard function) in that POSIX mode. We currently
rely on memalign for aligned heap allocation.
8 years ago
Clément Bœsch
4ea8f57548
lavfi/psnr: rename pow2 to pow_2
...
This conflict with the DJGPP libc which includes a pow2 function¹
We cannot make DJGPP POSIX only (using -D_POSIX_SOURCE) to avoid this
kind of symbols conflicts due to the lack of both posix_memalign and
memalign (DJGPP non standard function) in that POSIX mode. We currently
rely on memalign for aligned heap allocation.
[1]: http://www.delorie.com/djgpp/doc/libc-2.02/libc_536.html
8 years ago
Clément Bœsch
8f9edf89d5
lavfi/dynaudnorm: rename pow2 to pow_2
...
This conflict with the DJGPP libc which includes a pow2 function¹
We cannot make DJGPP POSIX only (using -D_POSIX_SOURCE) to avoid this
kind of symbols conflicts due to the lack of both posix_memalign and
memalign (DJGPP non standard function) in that POSIX mode. We currently
rely on memalign for aligned heap allocation.
[1]: http://www.delorie.com/djgpp/doc/libc-2.02/libc_536.html
8 years ago
Clément Bœsch
473f0f75a1
lavfi: fix race when func rets holder is NULL
...
If ret is NULL, a dummy common holder is created to hold *all* the
parallel function returns, which gets written concurrently. This commit
simplify the whole logic by simply not writing to that holder when not
set.
8 years ago
Rostislav Pehlivanov
a8fe8d6b4a
lavfi: remove af_asynts filter
...
Long overdue for removal, af_aresample should be used instead.
Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com>
8 years ago
Michael Niedermayer
eaf6f10f1b
avfilter/vf_signature: Replace uncommon spelling of seperate
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years ago
James Almer
963cd953fb
avfilter: stop using deprecated codec flags
...
Signed-off-by: James Almer <jamrial@gmail.com>
8 years ago
Kieran Kunhya
4cca2f74f2
vf_drawtext: Fix memory leak
8 years ago
Gerion Entrup
5e3a418b60
add signature filter for MPEG7 video signature
...
This filter does not implement all features of MPEG7. Missing features:
- compression of signature files
- work only on (cropped) parts of the video
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years ago
Rostislav Pehlivanov
3796fb2692
lavfi: deprecate AVFilterGraph->resample_lavr_opts
...
Not used by anything at all since we don't auto insert lavr filters.
Reviewed-by: wm4 <nfxjfg@googlemail.com>
Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com>
8 years ago
Alexis Ballier
bbc8f3d20e
lavf/vf_framerate: Fix frame leak when increasing framerate.
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years ago
Paul B Mahol
62c8dc4642
avfilter/vf_lut3d: actually skip lines when encountering DOMAIN_ string
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
8 years ago
Jun Zhao
bf238a6a3c
vf_hwupload: Add missing return value check
...
Add missing return value checks to suppress build warning and
remove noop ff_formats_unref() calling.
Note: most filters using ff_formats_ref() didn't have a suitable
error handling, it's a potential memory leak issue.
Signed-off-by: Jun Zhao <jun.zhao@intel.com>
Signed-off-by: Mark Thompson <sw@jkqxz.net>
8 years ago
Anton Khirnov
807a3b30d2
lavfi: add a QSV scaling filter
...
This merges libav commit ac7bfd6967
,
which was previously skipped.
(cherry picked from commit ac7bfd6967
)
Signed-off-by: Mark Thompson <sw@jkqxz.net>
8 years ago
Muhammad Faiz
0bab78f7e7
avfilter/af_firequalizer: add av_restrict on convolution func
...
slightly improved speed
Reviewed-by: wm4 <nfxjfg@googlemail.com>
Signed-off-by: Muhammad Faiz <mfcc64@gmail.com>
8 years ago
Moritz Barsnick
114bbb0b74
libavfilter/avf_showwaves: make sqrt and cbrt scale option values available to showwavespic by name
...
The 'sqrt' and 'cbrt' scalers were added in commit
80262d8c86
, but their symbolic option values
only made available to the showwaves filter, not showwavespic, despite
the scalers working properly by their numerical option values.
Signed-off-by: Moritz Barsnick <barsnick@gmx.net>
8 years ago
Muhammad Faiz
af7010ad05
avfilter/allfilters: make avfilter_register_all thread safe
...
use ff_thread_once
Suggested-by: wm4 <nfxjfg@googlemail.com>
Signed-off-by: Muhammad Faiz <mfcc64@gmail.com>
8 years ago
Paul B Mahol
dbc7f02a72
avfilter/aeval: trim last frame's number of samples to match requested duration
...
Fixes #6181 .
Signed-off-by: Paul B Mahol <onemda@gmail.com>
8 years ago
Mark Thompson
359586f14f
lavfi: Add VAAPI deinterlacer
...
(cherry picked from commit ade370a4d7
)
(cherry picked from commit 2d518aec4c
)
8 years ago
Rostislav Pehlivanov
42959044ac
lavfi/buffersrc: fix directly setting channel layout
...
When setting the channel layout directly using AVBufferSrcParameters
the channel layout was correctly set however the init function still
expected the old string format to set the number of channels (when it
hadn't already been specified).
Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com>
8 years ago
Pavel Koshevoy
947fdad92d
avfilter/af_atempo: fix drift calculation, ticket #6157
...
ticket #6157
Reported-by: Steven Liu <lq@chinaffmpeg.org>
Signed-off-by: Pavel Koshevoy <pkoshevoy@gmail.com>
8 years ago
Marton Balint
a9f3e4b138
avfilter/f_setcmd: fix null pointer dereference on using dash as interval
...
Fixes Coverity CID 1396259.
Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Marton Balint <cus@passwd.hu>
8 years ago
Paul B Mahol
aa234698e9
avfilter/vf_lut: make it possible to clip pixel values that are out of valid range
...
Previous behavior was not useful at all as such pixels where all mapped to 0.
Signed-off-by: Paul B Mahol <onemda@gmail.com>
8 years ago
Paul B Mahol
72864547f9
avfilter/vf_lut: do not always explicitly clip pixels
...
Old behaviour was not useful at all. New behaviour only emulate
old behaviour with default options.
Signed-off-by: Paul B Mahol <onemda@gmail.com>
8 years ago
Carl Eugen Hoyos
350ce0b9d3
lavfi/minterpolate: Remove an unused variable.
8 years ago
Maksym Veremeyenko
8efb7f5a26
avfilter/vf_scale: Fix chroma positioning for 4:2:0 pixel format
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years ago
Michael Niedermayer
4fcdc9f359
avfilter/vf_midequalizer: Remove duplicate include
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years ago
Marton Balint
e57fd926b0
avfilter/af_pan: fix null pointer dereference on empty token
...
Fixes Coverity CID 1396254.
Signed-off-by: Marton Balint <cus@passwd.hu>
8 years ago
Mark Thompson
326b1ed93e
vf_scale_vaapi: Add missing return value checks
...
Fixes CID 1374119.
8 years ago
Marton Balint
fd57f70c97
avfilter/ebur128: fix relative threshold calculation for multiple contexts
...
This reworks the code a bit and also disallows NULL contexts.
Fixes Coverity CID 1396273, 1396279.
Signed-off-by: Marton Balint <cus@passwd.hu>
8 years ago
Marton Balint
a91cedf79a
avfilter/ebur128: do not allow null ebur128 context in ff_ebur128_relative_threshold
...
The user should supply a proper context.
Fixes Coverity CID 1396246.
Signed-off-by: Marton Balint <cus@passwd.hu>
8 years ago
Paul B Mahol
012dd8c99a
avfilter: add midequalizer filter
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
8 years ago
Michael Niedermayer
c347b28699
avfilter/vf_unsharp: Free out AVFrame on error
...
Fixes memleak
Fixes part of CID1197065
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years ago
Michael Niedermayer
19f567208c
avfilter/vf_perspective: Free out AVFrame on error
...
Fixes memleak
Fixes part of CID1197065
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years ago
Michael Niedermayer
21a07ac191
avfilter/vf_fieldhint: Free out AVFrame on error
...
Fixes memleak
Fixes part of CID1197065
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years ago