summaryrefslogtreecommitdiff
path: root/libavfilter
Commit message (Collapse)AuthorAge
* avfiltergraph: reindentAnton Khirnov2012-05-14
|
* lavfi: add channel layout/sample rate negotiation.Anton Khirnov2012-05-14
|
* lavfi: add types and functions for channel layout/samplerate negotiationAnton Khirnov2012-05-14
|
* yadif: Flush filter on eof.Robert Nagy2012-05-14
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* yadif: Improve pts accuracy.Robert Nagy2012-05-14
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* lavfi: autoinsert resample filter when necessary.Anton Khirnov2012-05-12
|
* lavfi: add lavr-based audio resampling filter.Anton Khirnov2012-05-12
|
* lavfi: move audio-related functions to a separate file.Anton Khirnov2012-05-09
| | | | | This is easier to follow than having them randomly scattered in avfilter.c and defaults.c.
* lavfi: remove some audio-related function from public API.Anton Khirnov2012-05-09
| | | | | | | | Those functions are only useful inside filters. It is better to not support user filters until the API is more stable. This breaks audio filtering API and ABI in theory, but since it's unusable right now this shouldn't be a problem.
* lavfi: change AVFilterLink.sample_rate from int64_t to int on next bumpAnton Khirnov2012-05-09
| | | | | There is no real reason for it to be 64bit, it's just a plain int in the rest of Libav.
* lavfi: change AVFilterBufferRefAudioProps.sample_rate from uint32_t to intAnton Khirnov2012-05-09
| | | | | | | | There's no reason for it to be explicitly 32 bits. It's declared as a plain int in all other places in Libav. This breaks audio filtering API and ABI in theory, but since it's unusable right now this shouldn't be a problem.
* lavfi: simplify signature for avfilter_get_audio_buffer() and friendsStefano Sabatini2012-05-09
| | | | | | | | | | | | The additional parameters are just complicating the function interface. Assume that a requested samples buffer will *always* have the format specified in the requested link. This breaks audio filtering API and ABI in theory, but since it's unusable right now this shouldn't be a problem. Signed-off-by: Anton Khirnov <anton@khirnov.net>
* lavfi: use avfilter_get_audio_buffer_ref_from_arrays() in ↵Stefano Sabatini2012-05-09
| | | | avfilter_default_get_audio_buffer
* lavfi: cleanup avfilter_get_audio_buffer() and pals.Stefano Sabatini2012-05-09
| | | | | | | | | | | | | | | Remove AVFilterBufferRefAudioProps.size, and use nb_samples in its place everywhere. This is required as the size in the audio buffer may be aligned, so it may not contain a well defined number of samples. Also remove the useless planar parameter, which can be deduced from the sample format. This is technically an API and ABI break, but since the audio part of lavfi is not usable now, this should not be a problem in practice. Signed-off-by: Anton Khirnov <anton@khirnov.net>
* lavfi: add avfilter_get_audio_buffer_ref_from_arrays().Stefano Sabatini2012-05-09
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* lavfi: add extended_data to AVFilterBuffer.Anton Khirnov2012-05-09
| | | | | This is similar to what has previously been done in AVFrame to allow dealing with more than 8 channels.
* lavfi: add video buffer sink, and use it in avtoolsAnton Khirnov2012-05-09
| | | | | | Also add the public interface libavfilter/buffersink.h. Based on a commit by Stefano Sabatini.
* lavfi: add a function for copying properties from AVFilterBufferRef->AVFrameAnton Khirnov2012-05-09
| | | | Based on a commit by Stefano Sabatini <stefano.sabatini-lala@poste.it>
* lavfi: uninline avfilter_copy_buffer_ref_props().Anton Khirnov2012-05-07
| | | | | A nontrivial public function such as this should most certainly NOT be inline.
* build: cosmetics: Add missing end-of-line backslashes to item lists.Diego Biurrun2012-05-07
|
* build: cosmetics: Split HEADERS/OBJS/PROGS lists into one entry per line.Diego Biurrun2012-05-07
|
* vf_yadif: fix missing error handling for avfilter_poll_frame()Robert Nagy2012-05-07
|
* lavfi: support audio in avfilter_copy_frame_props().Anton Khirnov2012-05-07
|
* lavfi: avfilter_merge_formats: handle case where inputs are sameMina Nagy Zaki2012-05-07
| | | | | | | This fixes a double-free crash if lists are the same due to the two merge_ref() calls at the end of the (useless) merging that happens. Signed-off-by: Anton Khirnov <anton@khirnov.net>
* lavfi/formats: use sizeof(var) instead of sizeof(type).Anton Khirnov2012-05-06
|
* lavfi: remove avfilter_default_config_input_link() declarationStefano Sabatini2012-05-06
| | | | The function is not implemented (and possibly useless).
* lavfi: always enable the scale filter and depend on sws.Anton Khirnov2012-05-06
| | | | | The scale filter is used for internal colorspace conversions, so it must always be present.
* vf_split: support user-specifiable number of outputs.Anton Khirnov2012-05-06
|
* vsrc_buffer: return EAGAIN if no frame is available.Nicolas George2012-05-05
| | | | | | This is not an erroneous condition, do not print a warning. Signed-off-by: Anton Khirnov <anton@khirnov.net>
* graphparser: set next to NULL on an entry extracted from inputs listAnton Khirnov2012-04-16
| | | | Prevents it from referring to the rest of the list.
* graphparser: fix the order in which unlabeled input links are returned.Anton Khirnov2012-04-15
|
* vsrc_buffer: fix check from 7ae7c41.Anton Khirnov2012-04-14
| | | | The user submitted variable in this function is frame, not buf.
* avfiltergraph: make the AVFilterInOut alloc/free API publicStefano Sabatini2012-04-14
| | | | | | | This is required for letting applications to create and destroy AVFilterInOut structs in a convenient way. Signed-off-by: Anton Khirnov <anton@khirnov.net>
* graphparser: allow specifying sws flags in the graph description.Anton Khirnov2012-04-14
|
* graphparser: fix the order of connecting unlabeled links.Anton Khirnov2012-04-14
| | | | | | | | | | | | | | | | Right now, e.g. scale,[in]overlay would connect scale to the first overlay input and [in] to the second, which goes against the documentation and is unintuitive. The bug happens because of the ordering mess in curr_inputs variable: 1) the unlabeled links from the previous filter are added to it in correct order 2) input labels are parsed and inserted to the beginning one by one (i.e. in reverse order) 3) curr_inputs is matched against filter inputs in reverse order Fix the problem by always using proper ordering without trying to be clever.
* graphparser: add avfilter_graph_parse2().Anton Khirnov2012-04-14
| | | | | | Unlike avfilter_graph_parse(), it returns unlinked inputs and outputs to the caller, which allows parsing of graphs where inputs/outputs are not known in advance.
* vsrc_buffer: allow using a NULL buffer to signal EOF.Anton Khirnov2012-04-14
|
* vf_overlay: implement poll_frame()Anton Khirnov2012-04-09
| | | | | | Signal that it can output a frame when there are frames on the main input and EOF on the overlay input, but a frame is buffered -- e.g. single picture overlay.
* vf_scale: support named constants for sws flags.Anton Khirnov2012-04-09
|
* vsrc_buffer: when no frame is available, return an error instead of segfaulting.Anton Khirnov2012-04-05
|
* vf_unsharp: Mark readonly variable as const.Diego Biurrun2012-04-04
| | | | | This fixes the following warning: libavfilter/vf_unsharp.c:106: warning: initialization discards qualifiers from pointer target type
* vsrc_buffer: allow buffering arbitrary number of frames.Anton Khirnov2012-04-01
|
* vf_scale: avoid a pointless memcpy in no-op conversion.Anton Khirnov2012-04-01
| | | | I.e. just pass the buffer along when src parameters == dst parameters.
* avfiltergraph: try to reduce format conversions in filters.Anton Khirnov2012-04-01
| | | | | | | | | | | | | Current code, with a filterchain such as (input - yuv411) -> (scale - any) -> (sink - any) will result in yuv420 being chosen for the second link, which is clearly not right. This commit attempts to improve in the following way: repeat until convergence: loop over all filters find input link with exactly one format force this format on all output links of the same type (if possible)
* avfiltergraph: add an AVClass to AVFilterGraph on next major bump.Anton Khirnov2012-04-01
| | | | It will be used for logging, possibly also AVOptions.
* build: Only clean the architecture subdirectory we build for.Diego Biurrun2012-03-26
| | | | | This allows simplifying the Makefiles; it is no longer necessary to register arch subdirectory Makefiles, just putting them in place is enough.
* Mark mutable static data const where appropriate.Alex Converse2012-02-21
|
* Drop some completely unnecessary av_unused attributes.Diego Biurrun2012-02-13
|
* yadif: specify array size outside DECLARE_ALIGNEDJanne Grunau2012-02-09
|
* cosmetics: Delete empty lines at end of file.Diego Biurrun2012-02-09
|