Michael Niedermayer
ea36c44e84
avfilter_graph_queue_command: Allow queueing commands out of order
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Michael Niedermayer
37f9de59d1
avfilter: fix processing multiple commands per frame and filter
...
Found-by: Nicolas George
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Michael Niedermayer
3d8176d2f5
avfilter: Add avfilter_graph_que_command()
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Michael Niedermayer
f782ce3b4d
drawtext: Support changing parameters through reinit command at runtime.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Michael Niedermayer
1e5014c7c7
avfilter: Add command passing support
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Michael Niedermayer
52982dbe47
vf_scale: don't leak SWS context.
...
Signed-off-by: Anton Khirnov <anton@khirnov.net>
14 years ago
Stefano Sabatini
24ddfb2bdb
lavfi: add amovie source - audio movie source
14 years ago
Michael Niedermayer
c8868f28e3
vf_scale: apply the same transform to the aspect during init that is applied per frame
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Diego Biurrun
0249478756
doxygen: fix wrong comment syntax, //< vs. ///<
14 years ago
Stefano Sabatini
276f43be68
lavfi: rename vsrc_movie.c to src_movie.c
...
The file is going to contain the amovie source, so give it a less
specific name.
14 years ago
Stefano Sabatini
e26782a9b4
lavfi: add ff_parse_pixel_format() internal function, and use it
...
Reduce code duplication.
14 years ago
Stefano Sabatini
e0ddc2e953
vsrc_movie: rename video movie specific callbacks, prefix them with "movie"
14 years ago
Stefano Sabatini
df4c7ae9db
asink_abuffer: extend ABufferSinkContext to make it accept lists of formats in input
...
This is required for the pending lavfi indev extension, also
consistent with the video buffer sink.
14 years ago
Stefano Sabatini
3e4666f34c
vsrc_movie: create media agnostic movie init and uninit routines
...
Allow factorization for the pending work on the audio movie source.
14 years ago
Stefano Sabatini
8aa62bb950
af_aformat: use evil ADD_FORMATS macro for cutting out duplicated code
14 years ago
Stefano Sabatini
34c997599e
vsrc_testsrc: allow to set the sample aspect ratio
...
Add the sar option. Useful for debugging/testing purposes.
14 years ago
Stefano Sabatini
c5d9bd1938
asrc_abuffer: pass non-const string to strtok_r in init()
...
Fix GCC warning:
asrc_abuffer.c: In function ‘init’:
asrc_abuffer.c:258: warning: passing argument 1 of ‘strtok_r’ discards qualifiers from pointer target type
14 years ago
Mina Nagy Zaki
587c8ab912
lavfi: add asrc_abuffer - audio buffer source
...
Originally based on code by Stefano Sabatini and S. N. Hemanth.
Signed-off-by: Stefano Sabatini <stefano.sabatini-lala@poste.it>
14 years ago
Stefano Sabatini
e30a0b1b3b
lavfi: add ashowinfo filter
...
Useful for debugging.
14 years ago
Mina Nagy Zaki
3a9e227fb1
lavfi: add aresample filter
...
Based on a patch by Stefano.
Signed-off-by: Stefano Sabatini <stefano.sabatini-lala@poste.it>
14 years ago
Stefano Sabatini
86ca51acb0
af_format: prefer strtok_r() over strsep()
...
strsep() is not POSIX compliant, and thus not supported on some platform.
Fix compilation on Solaris.
14 years ago
Stefano Sabatini
a719679561
lavfi: complain and exit for invalid named values in ff_parse_packing_format()
14 years ago
Michael Niedermayer
abf6b0d1ea
af_aformat: hotfix compile due to strsep()
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Stefano Sabatini
b854c2a709
vf_unsharp: set default chroma size value to 5x5
...
The previous default value 0x0 was not good, since it is not even
valid.
14 years ago
Stefano Sabatini
63b61d55f9
vf_unsharp: fix out-of-buffer read
...
In apply_unsharp(), when y is >= height, prevent out-of-buffer reading
from src, read from the last buffer line in src2 instead.
The check was implemented in the original unsharp libmpcodecs code and
lost in the port.
This also fixes output discrepancy between the two filters.
14 years ago
Stefano Sabatini
6e89bdfecf
lavfi: remove delogo mp wrapper
...
The delogo filter has been natively integrated into libavfilter,
simplify.
14 years ago
Stefano Sabatini
2701f6cc6a
lavfi: port libmpcodecs delogo filter
...
The ported filter supports named option parsing and more YUV formats.
14 years ago
Mina Nagy Zaki
0a2295815d
lavfi: add aformat filter
...
Signed-off-by: Stefano Sabatini <stefano.sabatini-lala@poste.it>
14 years ago
Mina Nagy Zaki
3f07d40ea2
lavfi: add internal functions for parsing format arguments
...
Signed-off-by: Stefano Sabatini <stefano.sabatini-lala@poste.it>
14 years ago
Stefano Sabatini
3560089e12
vsink_buffer: make the buffer cache all the incoming frames
...
Allow to cache more than one frame (e.g. for filters which return
more than one frame when avfilter_request_frame() is called on them),
and do not discard previously cached frames when a new one is added.
14 years ago
Stefano Sabatini
ccd85b869d
vf_unsharp: vertically align lines, for better readability
14 years ago
Stefano Sabatini
09603dcff8
vf_unsharp: store hsub/vsub in the filter context
...
Also drop obfuscating CHROMA_WIDTH/HEIGHT macros.
14 years ago
Stefano Sabatini
53e8638205
vf_unsharp: adopt a more natural order of params in apply_unsharp()
14 years ago
Stefano Sabatini
540181f8e2
vf_unsharp: rename method "unsharpen" to "apply_unsharp"
...
More consistent with the original libmpcodecs code, and the name
"unsharpen" was confusing.
14 years ago
Stefano Sabatini
e72657f83d
lavfi: remove mp test wrapper
...
The source was natively integrated into libavfilter, with the name
mptestsrc.
14 years ago
Stefano Sabatini
1a5e63f924
lavfi: port mp test source
14 years ago
Stefano Sabatini
961e8f31cf
vf_mp: sort listing of vf_info_t symbols
...
This way it's easier for the programmer to look-up for a specific
symbols (e.g. for checking if it's unused).
14 years ago
Stefano Sabatini
fe3cad0e9e
vf_select: reindent after the previous commit
14 years ago
William Yu
30ea0e47b5
vf_select: add NULL-checks in uninit
...
Fix NULL pointer dereference in case of failed initialization.
Signed-off-by: Stefano Sabatini <stefano.sabatini-lala@poste.it>
14 years ago
Stefano Sabatini
43fab7aafc
vf_select: check for isnan when setting t from pts
14 years ago
William Yu
298fccad21
vf_select: set start_t if undefined
...
Previously start_t was never set.
Signed-off-by: Stefano Sabatini <stefano.sabatini-lala@poste.it>
14 years ago
Stefano Sabatini
640a905ece
lavfi: remove gradfun mp wrapper
...
The gradfun filter was already integrated natively in libavfilter.
Both filters issue the same output, and have a comparable performance.
See thread:
Subject: [FFmpeg-devel] [PATCH] lavfi: remove gradfun mp wrapper
Date: Fri, 5 Aug 2011 00:19:04 +0200
14 years ago
Stefano Sabatini
4646ef87b1
lavfi: fix registration name for the buffersink sink
...
Previously both the buffer and buffersink elements were associated to
the "BUFFER" symbol in allfilters.c, so it was not possible to enable
one without the other.
14 years ago
Stefano Sabatini
3c56a421d8
lavfi: avoid void* arithmetic in defaults.c:set_common_formats()
...
void* pointer arithmetic semantics is undefined, use uint8_t* instead.
Also fix GCC warnings:
defaults.c: In function ‘set_common_formats’:
defaults.c:184: warning: pointer of type ‘void *’ used in arithmetic
defaults.c:189: warning: pointer of type ‘void *’ used in arithmetic
14 years ago
Mina Nagy Zaki
a8dcf5eebb
lavfi: add asink_abuffer - audio buffer sink
...
Signed-off-by: Stefano Sabatini <stefano.sabatini-lala@poste.it>
14 years ago
Mina Nagy Zaki
3e12b5893d
lavfi: fix doxygen doc for config_props() callback
...
Update/extend documentation related to the link fields to set, and fix
a pads->filters braino.
Signed-off-by: Stefano Sabatini <stefano.sabatini-lala@poste.it>
14 years ago
Mina Nagy Zaki
5f68a91be2
lavfi: remove default config_props() callback and refactor avfilter_config_links()
...
Link properties have to be checked after config_props() is called to
make sure everything is sane, so the default config_props() for output
links was redundant.
Also remove channel_layout check as it is now negotiated.
Signed-off-by: Stefano Sabatini <stefano.sabatini-lala@poste.it>
14 years ago
Stefano Sabatini
4b7889453e
lavfi: remove avfilter_default_config_input_link() declaration
...
The function is not implemented (and possibly useless).
14 years ago
Stefano Sabatini
82b1516a85
yadif: correct documentation on the parity parameter
...
0 is top-field-first, 1 is bottom-field-first, not the other way
around.
Fix trac issue #380 .
14 years ago
Stefano Sabatini
f1b7c7e697
vf_boxblur: call avfilter_draw_slice() at the end of draw_slice()
14 years ago