Diego Biurrun
01c5779f56
x86: Drop some unnecessary YASM ifdefs
...
Dead code elimination is enough to avoid undefined references in these cases.
11 years ago
Anton Khirnov
9c21c08fa7
af_ashowinfo: print a more descriptive name for AV_MATRIX_ENCODING_DOLBY
11 years ago
Alessandro Ghedini
a49aa440c9
af_volume: implement replaygain pre-amplification
...
This adds a new "replaygain_preamp" option to the filter, and simply adds its
value to the replaygain gain value.
Signed-off-by: Anton Khirnov <anton@khirnov.net>
11 years ago
Roman Fietze
f5d718ac7e
avfilter.h, buffer.c: use const src pointer in avfilter_copy_buffer_ref_props
...
Signed-off-by: Roman Fietze <roman.fietze@telemotive.de>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Katerina Barone-Adesi
b33c64e4c2
vf_settb: rename to settb
...
An audio version of settb (asettb) will be added to this file.
Signed-off-by: Diego Biurrun <diego@biurrun.de>
11 years ago
Michael Niedermayer
e818ee090a
avfilter/vf_pullup: fix gray8
...
Fixes segfault
Fixes Ticket3469
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Michael Niedermayer
de96e20be9
avfilter/lavfutils: call av_find_stream_info() before reading various information about the stream
...
No testcase with unmodified source is known
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Michael Niedermayer
3017239d3a
avfilter/vf_pullup: add comment to explain memset(0)
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Michael Niedermayer
a44409e692
avfilter/vf_pullup: zero freed memory for saftey
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
wm4
5b0ce5d4e3
vf_pullup: simplify, fix double free error
...
The memory allocation for f->diffs was freed multiple times in some
corner cases. Simplify the code so that this doesn't happen.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Vittorio Giovara
6ee55c7b11
vf_transpose: K&R formatting cosmetics
11 years ago
Anton Khirnov
b4679ecdbd
{v,a}f_showinfo: print frame side data
11 years ago
Anton Khirnov
06c3cd3c01
af_volume: support using replaygain frame side data
11 years ago
Diego Biurrun
7513234bdd
avfilter: more correct printf format specifiers
11 years ago
Michael Niedermayer
48f7d5f0cf
avfilter/src_movie: Check that the pixel format hasnt changed
...
Fixes assertion failure
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Jasper Taylor
0d5ae023b2
avfilter/vf_tinterlace: Fix vf_tinterlace mode 6 (interlacex2)
...
The purpose of this filter mode is to allow interlaced content to
display properly in interlaced video modes, as described in
http://forum.xbmc.org/showthread.php?tid=81834 and
https://github.com/mpv-player/mpv/issues/624#issuecomment-37685195 . The
filter doubles the video frame rate, but does not work properly because:
(1) it does not set the properties of the output stream to indicate the
doubled frame rate, and
(2) it does not set an appropriate PTS on the extra frames.
The attached patch fixes these problems by settling these values the
same way they are set in vf_yadif mode 1 (field) which also doubles the
frame rate.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Anton Khirnov
e843612695
af_channelmap: fix ONE_STR mapping mode
...
get_channel() returns 0 on success
CC:libav-stable@libav.org
11 years ago
Yu Xiaolei
fbe9ae482d
avfilter: make avfilter_graph_get_filter use const string name
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Nicolas George
bc6901c949
lavfi/af_atempo: clear references before returning error.
...
Once the frame has been given to ff_filter_frame(), it can
no longer be used, even on error.
Fix trac ticket #3430 .
11 years ago
Michael Niedermayer
ffe7e7c195
avfilter/vf_shuffleplanes: Fix flags / add AV_OPT_FLAG_FILTERING_PARAM
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Anton Khirnov
713d3f98c8
vf_shuffleplanes: fix the type of the mapping indices
...
They are TYPE_INT AVOptions, so they must be ints
11 years ago
Anton Khirnov
599b81ca9a
lavfi: add shuffleplanes filter
11 years ago
Anton Khirnov
bba2a7cc5f
lavfi: use the correct filter context for logging an error.
11 years ago
Luca Barbato
e995cf1bcc
avfilter: Add missing emms_c when needed
...
Arch specific calls should have an emms_c following to keep the cpu
state consistent.
Reported-By: wm4
CC: libav-stable@libav.org
11 years ago
Vittorio Giovara
4c41a7a179
vf_frei0r: fix missing end of line character
...
Error introduced in 61b323ce7c
.
11 years ago
Vittorio Giovara
61b323ce7c
vf_frei0r: refactor library loading from env variable
...
strtok_r is not needed any more, so remove it from configure.
11 years ago
Vittorio Giovara
4e0be9c86f
vf_frei0r: prevent a segfault when filter parameters are not set
11 years ago
Vittorio Giovara
8accddeb58
vf_frei0r: adjust error messages
11 years ago
Anton Khirnov
bc6461c286
af_compand: replace strtok_r() with av_get_token()
11 years ago
Marton Balint
ead0dd3cf6
lavfi/frei0r: factorize plugin loading with static path
...
Reviewed-by: Michael Niedermayer <michaelni@gmx.at>
Signed-off-by: Marton Balint <cus@passwd.hu>
11 years ago
Marton Balint
35ead1f281
lavfi/frei0r: search plugins in lib64 dirs on all architectures
...
As Reimar Döffinger pointed out there are non-x86 64bit architectures as well.
Reviewed-by: Michael Niedermayer <michaelni@gmx.at>
Signed-off-by: Marton Balint <cus@passwd.hu>
11 years ago
Paul B Mahol
9f2a3bcee7
avfilter: remove superflous lines
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
11 years ago
Paul B Mahol
a2e4b4e968
avfilter/af_compand: some more cosmetics to decrease difference with qatar
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
11 years ago
Michael Niedermayer
8f946ac8ea
avfilter: remove af_compand_fork
...
All relevant changes except the float/double one have been merged
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Michael Niedermayer
c62d83a5e7
avfilter/af_compand: more cosmetics from libavfilter/af_compand_fork.c
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Michael Niedermayer
05412f4cd4
avfilter/af_compand: cosmetics from libavfilter/af_compand_fork.c
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Michael Niedermayer
5e02ff3e3d
avfilter/af_compand: switch defaults to libavfilter/af_compand_fork.c
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Michael Niedermayer
619d6b8f55
avfilter/af_compand: "use local variable for channels" from libavfilter/af_compand_fork.c
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Michael Niedermayer
e509df4bc8
avfilter/af_compand: error checks from libavfilter/af_compand_fork.c
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Michael Niedermayer
4b87975147
avfilter/af_compand: pts init code from libavfilter/af_compand_fork.c
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Michael Niedermayer
5c78fe08b0
avfilter/af_compand: cosmetics and doxy comment from libavfilter/af_compand_fork.c
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Michael Niedermayer
66ad3292eb
avfilter/af_compand: add Andrew Kelley to the copyright
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Michael Niedermayer
86a191e25b
avfilter/af_compand: merge avframe code from af_compand_fork
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Michael Niedermayer
27ba05adbc
avfilter/af_compand: merge uninit() calls on error from af_compand_fork.c
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Michael Niedermayer
8b80485960
avfilter/af_compand: also support '|' as seperator
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Michael Niedermayer
1df1a1fe61
avfilter/af_compand_fork: avoid strtok_r() so as not to break build
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Michael Niedermayer
22307f170f
avfilter/af_compand: whitespace changes from af_compand_fork
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Andrew Kelley
738f83582a
lavfi: add compand audio filter
...
Signed-off-by: Anton Khirnov <anton@khirnov.net>
11 years ago
Andrew Kelley
9e329185d7
avfilter/af_compand: fix invalid read
...
Fixes #3383 .
11 years ago
Anton Khirnov
39c2880eea
af_volume: preserve frame properties
11 years ago