Diego Biurrun
45dd1ae1b3
avfilter: Add some missing FF_API_AVFILTERBUFFER ifdefs
12 years ago
Michael Niedermayer
1bbf94d84f
avfilter/af_compand: %f is for printing doubles
...
Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Paul B Mahol
6b68e2a43b
lavfi: add compand filter
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
12 years ago
Diego Biurrun
0e8c6f221a
avisynth: Fix a "AVISynth" vs. "AviSynth" struct name typo
...
Also fix some similar typos in comments and documentation.
12 years ago
Diego Biurrun
bf4b0ed1d5
Add missing deprecation attributes
12 years ago
Diego Biurrun
966689442e
buffersink: K&R formatting cosmetics
12 years ago
Michael Niedermayer
8720d3ac21
avfilter/vf_scale: set in_color_matrix default to "auto"
12 years ago
Michael Niedermayer
f3f4e133d6
avfilter/vf_scale: use sws_getCoefficients()
...
Found-by: wm4
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Paul B Mahol
be7d6710b4
lavfi/frei0r: use AV_OPT_TYPE_IMAGE_SIZE
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
12 years ago
Hendrik Leppkes
779e6c2b98
lavfi: add attribute_align_arg to all public entry points
...
Previously it was partly only added to central functions called
internally, however if GCC would inline these into the public fuction, the
alignment attribute would not take effect.
Instead, add it to all public entry points to avoid these problems.
Signed-off-by: Martin Storsjö <martin@martin.st>
12 years ago
Paul B Mahol
7ac736afbd
lavfi/frei0r: use AV_OPT_TYPE_VIDEO_RATE
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
12 years ago
Paul B Mahol
a4b899f588
lavfi/gradfun: remove nv21/nv12 as they are not supported
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
12 years ago
Hendrik Leppkes
af2a196e66
lavfi: add attribute_align_arg to all public entry points
...
Previously it was partly only added to central functions called
internally, however if GCC would inline these into the public fuction, the
alignment attribute would not take effect.
Instead, add it to all public entry points to avoid these problems.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Paul B Mahol
2a1a599bcb
lavfi/buffersrc: remove unused item from BufferSourceContext
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
12 years ago
Michael Niedermayer
de0a1f63df
avfilter/can_merge_formats: fix memleak
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
6bde1e9d14
avfilter/avfiltergraph: fix check using the wrong variables
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
5156d482cd
avfilter/vf_scale: use the inputs color range when its set and its not overridden
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
24a4367ae9
vf_scale: add input h/v_chr_pos parameters
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
e31d20255d
vf_scale: add output h/v_chr_pos parameterss
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
6a0b72f94f
avfilter/avfiltergraph: minor cosmetic
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
fe328f0807
avfilter: Dont partially merge lists
...
This prevents the unneeded insertion of multiple aresample filters in some cases
The format merging is moved to avoid having to call the channel layout
merge twice. The channel layout merge code uses different structures and
is not compatible with the added dry run wrappers.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
5169111145
avfilter/REDUCE_FORMATS: fix bug that ended reducing too early
...
Prior to this it was possible that format reduction was ended
before it fully propagated leading to failure later in picking
formats.
No testcase with unmodified source exists, the case was reproduced
with less aggressive list merging though.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
1f7acf3cff
vfilter/vf_scale: avoid using "{}"
...
Should fix compile issues with MSVC
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
3242747df3
avfilter/vf_scale; fix indent
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
835eee88ec
avfilter/vf_scale: add in/out color range option
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
bbf6cb754c
avfilter/vf_scale: Add in/out yuv color matrix option
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
74561680cd
avfilter/vf_separatefields: fix ;;
...
Found-by: llogan
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
wm4
122536e01a
avfilter: fix preprocessor condition
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
8589d7a61c
avfilter/vf_yadif:remove unneeded include assert.h
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Vittorio Giovara
6756d98cec
lavfi: filtfmts: use newer avfilter APIs
...
Signed-off-by: Martin Storsjö <martin@martin.st>
12 years ago
Carl Eugen Hoyos
36b21e17a2
lavf/concat: Never fail for sample aspect ratio 0:1.
...
Fixes ticket #2456 .
Reviewed-by: Nicolas George
12 years ago
Carl Eugen Hoyos
42272e86fe
lut3d: Fix reading 3dl files with leading comments.
...
Fixes ticket #2787 .
12 years ago
Nicolas George
ebaf20e94b
lavfi/scale: allocate interlaced scalers only if needed.
...
Fix "Value 0.000000 for parameter 'srch' out of range"
error message when source or destination height is 1.
Note: since the av_opt_set_int() calls are not checked for
failure and the interlaced scalers are not actually used,
this error has no consequence apart from a frightening message
in the log.
12 years ago
Michael Niedermayer
37ded53037
vf_scale: use sws_init_context()
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Diego Biurrun
3ac7fa81b2
Consistently use "cpu_flags" as variable/parameter name for CPU flags
12 years ago
Sean McGovern
50612484e0
pthread: Rename thread_init to avoid symbol collision
...
The AIX threads library exposes a function with the same name.
Signed-off-by: Martin Storsjö <martin@martin.st>
12 years ago
Paul B Mahol
5999db97cf
lavfi/scale: remove av_opt_free()
...
Generic code calls it already.
Signed-off-by: Paul B Mahol <onemda@gmail.com>
12 years ago
Michael Niedermayer
3ea765b033
avfilter/avf_concat: fix AVOption flags typo
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Paul B Mahol
85a22099a7
lavfi/stereo3d: subsampled yuv support for non-anaglyph outputs
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
12 years ago
Paul B Mahol
d5598c0963
lavfi/drawutils: set subsampling for rgb too
...
Otherwise it is incorrectly set to 1.
Signed-off-by: Paul B Mahol <onemda@gmail.com>
12 years ago
Paul B Mahol
ed448efe61
lavfi/mp: remove mp=perspective
...
The filter was ported to a native libavfilter filter.
Signed-off-by: Paul B Mahol <onemda@gmail.com>
12 years ago
Paul B Mahol
80c6445932
lavfi: port perspective filter from libmpcodecs
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
12 years ago
Paul B Mahol
fc6ca37316
lavfi/aecho: fix invalid free
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
12 years ago
Paul B Mahol
f486d7e924
lavfi/silencedetect: unbreak for unknown channel layouts
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
12 years ago
Paul B Mahol
099dfcaa0e
lavfi/ashowinfo: unbreak for >8 channels
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
12 years ago
Paul B Mahol
729709b890
lavfi/asetnsamples: unbreak for >8 channels
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
12 years ago
Paul B Mahol
e9678631f1
lavfi/trim: fix sample copy for >8 channels
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
12 years ago
Paul B Mahol
6347824d53
lavfi/showwaves: fix floating exception with >8 channels
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
12 years ago
Michael Niedermayer
aac57c765f
avfilter/asrc_aevalsrc: fix cases of unknown channel layout
...
Fixes >8 channels
Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Jean Delvare
b6d0bb6086
lavfi/delogo: Fix sign extension issue
...
Coverity complains about a possible sign extension issue in
apply_delogo(). While it is extremely unlikely to happen, it is easy
to fix so let's just do that. Using unsigned variables even makes the
binary code smaller.
Fixes Coverity CID 1046439.
Signed-off-by: Jean Delvare <khali@linux-fr.org>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago