summaryrefslogtreecommitdiff
path: root/libavfilter
Commit message (Collapse)AuthorAge
* 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
|
* pixdesc: mark pseudopaletted formats with a special flag.Anton Khirnov2012-02-08
| | | | | | This makes it possible to dintinguish them from PAL8. Fixes an invalid write in avpicture_layout().
* drawtext: add 'fix_bounds' option on coords fixingAndrey Utkin2012-02-06
| | | | | | | | | | Before, drawtext filter deliberately altered given text coordinates if text didn't fully fit on the picture. This breaks the use case of scrolling large text, e.g. movie closing credits. Add 'fix_bounds', to make it usable in such cases (by setting its value to 0). Default behavior is not changed, and non-fitting text coords are fixed. Signed-off-by: Anton Khirnov <anton@khirnov.net>
* drawtext: fix text_{w, h} expression varsAndrey Utkin2012-02-06
| | | | | | Before, {text_,}{w,h} vars hadn't got initialized Signed-off-by: Anton Khirnov <anton@khirnov.net>
* drawtext: add missing braces around an if() block.Andrey Utkin2012-02-05
| | | | | | Prevents uninitialized read. Signed-off-by: Anton Khirnov <anton@khirnov.net>
* cosmetics: Remove extra newlines at EOFAlex Converse2012-01-27
|
* build: Automatically include architecture-specific library Makefile snippets.Diego Biurrun2012-01-25
|
* cosmetics: Remove some unnecessary block braces.Diego Biurrun2012-01-25
|
* cosmetics: Move static and inline attributes to more standard places.Diego Biurrun2012-01-14
| | | | Fixes several "‘static’ is not at beginning of declaration" warnings.
* lavfi: move version macros to a new installed header version.hAnton Khirnov2012-01-12
|
* vsrc_buffer: release the buffer on uninit.Anton Khirnov2012-01-12
|
* vsrc_buffer: error on changing frame parameters.Anton Khirnov2012-01-10
|
* cosmetics: drop some pointless parenthesesDiego Biurrun2012-01-07
|
* Disable annoying warning without changing behaviorAndrey Utkin2012-01-07
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* cosmetics: Drop unnecessary parentheses around return values.Diego Biurrun2011-12-30
|
* Add minor bumps and APIchanges entries for lavc/lavfi changes.Anton Khirnov2011-12-25
|
* lavfi: add a new function av_buffersrc_buffer().Anton Khirnov2011-12-25
| | | | | It can be used to directly pass a AVFilterBufferRef to lavfi, avoiding a memcpy.
* lavfi: add avfilter_copy_frame_props()Stefano Sabatini2011-12-25
| | | | | avfilter_copy_frame_props() avoids code duplication and increases robustness.
* lavc: add a sample_aspect_ratio field to AVFrameStefano Sabatini2011-12-25
| | | | | | | The sample aspect ratio is a per-frame property, so it makes sense to define it in AVFrame rather than in the codec/stream context. Simplify application-level sample aspect ratio information extraction, and allow further simplifications.
* allfilters: fix type of avfilter_vsrc_buffer.Anton Khirnov2011-12-23
|
* lavfi: always build vsrc_buffer.Anton Khirnov2011-12-22
| | | | It's a part of public API.
* yadif: support 10bit YUVLuca Barbato2011-12-13
| | | | Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* build: move inclusion of subdir.mak to main subdir loopMans Rullgard2011-12-13
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* doxygen: misc consistency, spelling and wording fixesDiego Biurrun2011-12-12
|
* Replace all uses of av_close_input_file() with avformat_close_input().Anton Khirnov2011-12-12
|
* lavfi: install libavfilter/vsrc_buffer.hAndrey Utkin2011-12-11
| | | | | | It declares API necessary for filtering apps. Signed-off-by: Anton Khirnov <anton@khirnov.net>
* drawtext: remove typoLuca Barbato2011-12-07
| | | | It slipped through the last two iterations.
* drawtext: introduce rand(min, max)Luca Barbato2011-12-07
| | | | Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* drawtext: introduce explicit draw/hide variableLuca Barbato2011-12-07
| | | | Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* drawtext: make x and y parametricLuca Barbato2011-12-03
| | | | | | Introduce variables "E", "PHI", "PI", "main_w"/"W", "main_h"/"H", "text_w"/"w", "text_h"/"h", "x", "y", "n" and "t" in line with vf_overlay and refactor the code accordingly.