Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | lavfi: remove now unused args parameter from AVFilter.init | Anton Khirnov | 2013-04-09 | 1 | -1/+1 |
| | |||||
* | vf_drawtext: switch to an AVOptions-based system. | Anton Khirnov | 2013-04-09 | 1 | -51/+37 |
| | |||||
* | lavfi: switch to AVFrame. | Anton Khirnov | 2013-03-08 | 1 | -30/+28 |
| | | | | | Deprecate AVFilterBuffer/AVFilterBufferRef and everything related to it and use AVFrame instead. | ||||
* | Remove pointless #undefs of previously forbidden functions. | Anton Khirnov | 2012-12-04 | 1 | -2/+0 |
| | |||||
* | lavfi: merge start_frame/draw_slice/end_frame | Anton Khirnov | 2012-11-28 | 1 | -31/+7 |
| | | | | | Any alleged performance benefits gained from the split are purely mythological and do not justify added code complexity. | ||||
* | vf_drawtext: do not use deprecated av_tree_node_size | Anton Khirnov | 2012-11-02 | 1 | -1/+1 |
| | |||||
* | lavfi: do not use av_pix_fmt_descriptors directly. | Anton Khirnov | 2012-10-12 | 1 | -1/+1 |
| | |||||
* | lavfi: convert input/ouput list compound literals to named objects | Mans Rullgard | 2012-10-10 | 1 | -14/+26 |
| | | | | | | | A number of compilers, for example those from TI and IBM, choke on these initialisers. The current style is also quite ugly. Signed-off-by: Mans Rullgard <mans@mansr.com> | ||||
* | Replace PIX_FMT_* -> AV_PIX_FMT_*, PixelFormat -> AVPixelFormat | Anton Khirnov | 2012-10-08 | 1 | -8/+8 |
| | |||||
* | avopt: Store defaults for AV_OPT_TYPE_INT in the i64 union member | Martin Storsjö | 2012-09-04 | 1 | -6/+6 |
| | | | | Signed-off-by: Martin Storsjö <martin@martin.st> | ||||
* | avopt: Store defaults for AV_OPT_TYPE_FLAGS in the i64 union member | Martin Storsjö | 2012-09-04 | 1 | -1/+1 |
| | | | | Signed-off-by: Martin Storsjö <martin@martin.st> | ||||
* | avopt: Store defaults for AV_OPT_TYPE_CONST in the i64 union member | Martin Storsjö | 2012-09-04 | 1 | -15/+15 |
| | | | | Signed-off-by: Martin Storsjö <martin@martin.st> | ||||
* | Add more missing includes after removing the implicit common.h | Martin Storsjö | 2012-08-16 | 1 | -0/+1 |
| | | | | Signed-off-by: Martin Storsjö <martin@martin.st> | ||||
* | lavfi: add error handling to end_frame(). | Anton Khirnov | 2012-07-22 | 1 | -3/+6 |
| | |||||
* | lavfi: add error handling to draw_slice(). | Anton Khirnov | 2012-07-22 | 1 | -1/+4 |
| | |||||
* | lavfi: add error handling to start_frame(). | Anton Khirnov | 2012-07-22 | 1 | -7/+9 |
| | |||||
* | lavfi: use const for AVFilterPad declarations in all filters. | Ronald S. Bultje | 2012-07-21 | 1 | -14/+14 |
| | |||||
* | lavfi: unref AVFilterLink.cur_buf in ff_end_frame(). | Anton Khirnov | 2012-07-20 | 1 | -1/+0 |
| | | | | | This reduces code duplication and prevents stale pointers from remaining on the link. | ||||
* | vf_drawtext: don't give up its own reference to the input buffer. | Anton Khirnov | 2012-07-20 | 1 | -1/+4 |
| | | | | | | Directly forwarding the input buffer to the next filter means that drawtext no longer owns any references to it and thus shouldn't refer to it in any way. | ||||
* | lavfi: remove 'opaque' parameter from AVFilter.init() | Anton Khirnov | 2012-06-26 | 1 | -1/+1 |
| | | | | | | It is not used in any filters currently and is inherently evil. If passing binary data to filters is required in the future, it should be done with some AVOptions-based system. | ||||
* | lavfi: make AVFilterPad opaque after two major bumps. | Anton Khirnov | 2012-06-13 | 1 | -0/+1 |
| | | | | It will allow adding new fields to it without ABI breaks. | ||||
* | lavfi: remove request/poll and drawing functions from public API on next bump | Anton Khirnov | 2012-06-05 | 1 | -3/+3 |
| | | | | | They are only useful inside filters and we don't allow user filters for now. | ||||
* | lavfi: make formats API private on next bump. | Anton Khirnov | 2012-06-05 | 1 | -1/+2 |
| | | | | | It is only useful inside filters and we don't allow user filters for now. | ||||
* | lavfi: remove avfilter_null_* from public API on next bump. | Anton Khirnov | 2012-05-22 | 1 | -1/+2 |
| | | | | | Those functions are only useful inside filters. It is better to not support user filters until the API is more stable. | ||||
* | Mark mutable static data const where appropriate. | Alex Converse | 2012-02-21 | 1 | -3/+3 |
| | |||||
* | drawtext: add 'fix_bounds' option on coords fixing | Andrey Utkin | 2012-02-06 | 1 | -6/+11 |
| | | | | | | | | | | 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 vars | Andrey Utkin | 2012-02-06 | 1 | -0/+2 |
| | | | | | | 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 Utkin | 2012-02-05 | 1 | -2/+4 |
| | | | | | | Prevents uninitialized read. Signed-off-by: Anton Khirnov <anton@khirnov.net> | ||||
* | cosmetics: Drop unnecessary parentheses around return values. | Diego Biurrun | 2011-12-30 | 1 | -1/+1 |
| | |||||
* | drawtext: remove typo | Luca Barbato | 2011-12-07 | 1 | -1/+1 |
| | | | | It slipped through the last two iterations. | ||||
* | drawtext: introduce rand(min, max) | Luca Barbato | 2011-12-07 | 1 | -7/+27 |
| | | | | Signed-off-by: Luca Barbato <lu_zero@gentoo.org> | ||||
* | drawtext: introduce explicit draw/hide variable | Luca Barbato | 2011-12-07 | 1 | -1/+10 |
| | | | | Signed-off-by: Luca Barbato <lu_zero@gentoo.org> | ||||
* | drawtext: make x and y parametric | Luca Barbato | 2011-12-03 | 1 | -8/+125 |
| | | | | | | 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. | ||||
* | drawtext: manage memory allocation better | Luca Barbato | 2011-12-03 | 1 | -132/+132 |
| | | | | | Call dtext_prepare_text as early as possible Do not draw if the memory allocation failed | ||||
* | drawtext: refactor draw_text | Luca Barbato | 2011-12-03 | 1 | -21/+46 |
| | | | | Split the memory allocation from the actual drawing. | ||||
* | Remove some stray unnecessary ffmpeg references. | Diego Biurrun | 2011-11-02 | 1 | -1/+1 |
| | |||||
* | AVOptions: rename FF_OPT_TYPE_* => AV_OPT_TYPE_* | Anton Khirnov | 2011-10-12 | 1 | -29/+29 |
| | |||||
* | AVOptions: deprecate av_opt_set_defaults2 | Anton Khirnov | 2011-09-07 | 1 | -1/+1 |
| | | | | | | It's a hack which was created to allow for multiple options with different defaults to refer to same field (e.g. 'b' vs 'ab'). There is no need for it anymore. | ||||
* | vf_drawtext: Remove some write-only variables. | Diego Biurrun | 2011-07-07 | 1 | -15/+2 |
| | | | | | libavfilter/vf_drawtext.c:427:22: warning: variable 'dst_pixel' set but not used libavfilter/vf_drawtext.c:463:22: warning: variable 'dst_pixel' set but not used | ||||
* | drawtext: add braces around initialisers for option defaults | Stefano Sabatini | 2011-06-20 | 1 | -29/+29 |
| | | | | | | | | Fix warnings of the type: vf_drawtext.c:NNN: warning: missing braces around initializer vf_drawtext.c:NNN: warning: (near initialization for ‘drawtext_options[X].default_val’) Signed-off-by: Anton Khirnov <anton@khirnov.net> | ||||
* | drawtext: reindent after the previous commit | Stefano Sabatini | 2011-06-20 | 1 | -20/+20 |
| | | | | Signed-off-by: Anton Khirnov <anton@khirnov.net> | ||||
* | drawtext: fix strftime() text expansion | Stefano Sabatini | 2011-06-20 | 1 | -18/+27 |
| | | | | | | | The feature was dropped after the filter was partially rewritten and recommitted. Signed-off-by: Anton Khirnov <anton@khirnov.net> | ||||
* | vf_drawtext: Replace FFmpeg by Libav in license boilerplate. | Diego Biurrun | 2011-05-31 | 1 | -4/+4 |
| | |||||
* | drawtext: add shadow support. | Michael Niedermayer | 2011-05-07 | 1 | -6/+33 |
| | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: Anton Khirnov <anton@khirnov.net> | ||||
* | drawtext: factor draw_glyphs. | Michael Niedermayer | 2011-05-07 | 1 | -27/+41 |
| | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: Anton Khirnov <anton@khirnov.net> | ||||
* | drawtext: fix and optimize yuv blend. | Michael Niedermayer | 2011-05-07 | 1 | -4/+6 |
| | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: Anton Khirnov <anton@khirnov.net> | ||||
* | drawtext: get rid of divisions in the inner loop. | Michael Niedermayer | 2011-05-07 | 1 | -8/+8 |
| | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: Anton Khirnov <anton@khirnov.net> | ||||
* | drawtext: simplify chroma blend and fix chroma alpha. | Michael Niedermayer | 2011-05-07 | 1 | -3/+2 |
| | | | | Signed-off-by: Anton Khirnov <anton@khirnov.net> | ||||
* | lavfi: Port drawtext filter by Hemanth from the libavfilter soc repo | Stefano Sabatini | 2011-05-07 | 1 | -0/+672 |
With the following additions: * support to anti-aliased glyph rendering * support to UTF-8 text and Unicode chars rendering * support for RGB packed formats * fix minor errors and typos in the filter description * extend/clarify examples in the filter description Signed-off-by: Anton Khirnov <anton@khirnov.net> |