Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | drawtext: Move the strftime expansion in a separate function | Luca Barbato | 2015-08-02 | 1 | -17/+29 |
| | | | | Signed-off-by: Luca Barbato <lu_zero@gentoo.org> | ||||
* | drawtext: Drop stray guards | Luca Barbato | 2015-08-02 | 1 | -5/+1 |
| | | | | | | There is a fallback for localtime_r and it is in use already. Signed-off-by: Luca Barbato <lu_zero@gentoo.org> | ||||
* | drawtext: Add an alpha option | Luca Barbato | 2015-04-21 | 1 | -10/+38 |
| | | | | | | And document both `draw` and `alpha`. Signed-off-by: Luca Barbato <lu_zero@gentoo.org> | ||||
* | Replace av_dlog with normal av_log at trace level | Vittorio Giovara | 2015-04-19 | 1 | -1/+1 |
| | | | | This applies to every library where performance is not critical. | ||||
* | lavfi: Increase drawtext font size limits | Михаил Муковников | 2014-12-07 | 1 | -1/+1 |
| | | | | | | Raise the maximum font size to a larger value. Signed-off-by: Luca Barbato <lu_zero@gentoo.org> | ||||
* | drawtext: Remove the ifdef for localtime_r | Martin Storsjö | 2014-10-26 | 1 | -3/+1 |
| | | | | | | | | If it isn't available in the system, we've got a fallback to the normal localtime function, so normal code can assume it is available as long as time_internal.h is included. Signed-off-by: Martin Storsjö <martin@martin.st> | ||||
* | vf_drawtext: Do not leak the mmapped textfile | Luca Barbato | 2014-10-18 | 1 | -1/+4 |
| | | | | | | | And validate its size while at it. CC: libav-stable@libav.org Bug-Id: CID 1244189 | ||||
* | lavfi: name anonymous structs | Vittorio Giovara | 2014-04-19 | 1 | -2/+2 |
| | |||||
* | drawtext: Add fontconfig support | Luca Barbato | 2014-04-17 | 1 | -4/+96 |
| | | | | | | Introduce the `font` option and make it optional to pass a fontfile. Signed-off-by: Luca Barbato <lu_zero@gentoo.org> | ||||
* | drawtext: Drop pointless header | Luca Barbato | 2014-01-06 | 1 | -1/+0 |
| | | | | It should be forward compatible with newer freetype. | ||||
* | lavfi: do not export the filters from shared objects | Anton Khirnov | 2013-10-28 | 1 | -1/+1 |
| | |||||
* | vf_drawtext: don't leak the expressions. | Anton Khirnov | 2013-05-17 | 1 | -0/+8 |
| | |||||
* | vf_drawtext: do not reset the frame number in config_input. | Anton Khirnov | 2013-05-17 | 1 | -1/+0 |
| | | | | | Frame number should be incremented normally even if the link properties change. | ||||
* | vf_drawtext: use the name 's' for the pointer to the private context | Anton Khirnov | 2013-05-16 | 1 | -156/+156 |
| | | | | This is shorter and consistent across filters. | ||||
* | 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 |
| |