Stefano Sabatini
a9c69362ea
vsink_buffer: fix void pointer dereference in av_vsink_buffer_get_video_buffer_ref()
14 years ago
Stefano Sabatini
22ee131e85
vf_yadif: add support to yuva420p
14 years ago
Michael Niedermayer
595cfdef97
vf_drawtext: add basetime argument to allow specifying the wall clock time of PTS=0
the basetime argument also enables useage of pts instead of time()
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Michael Niedermayer
cc2b4e889d
libavfilter/graphparser: Avoid spaces in filter instance names.
This makes it easier to refer to filters where things are seperated by spaces.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Michael Niedermayer
3016c7f543
vf_drawtext: fix segfault on reinit
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Stefano Sabatini
c70e8523af
vsrc_testsrc: set more properties in the output frames
14 years ago
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