a5e8c41c28 
								
							
								 
							
						 
						
							
							
								
								lavfi: remove 'opaque' parameter from AVFilter.init()  
							
							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. 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								9b41ec4b9e 
								
							
								 
							
						 
						
							
							
								
								lavfi/drawtext: use av_opt_free() to free private context  
							
							Simplify code. 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								c17808cebd 
								
							
								 
							
						 
						
							
							
								
								lavfi: define macro AVFILTER_DEFINE_CLASS  
							
							The macro can be used to define consistently the internal class of a
filter, save some typing and factorize. 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								012aa12a6b 
								
							
								 
							
						 
						
							
							
								
								lavfi/drawtext: remove unnecessary parentheses in init()  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								54101214d8 
								
							
								 
							
						 
						
							
							
								
								lavfi: use designated initializers for AVClass  
							
							While here:
    - add missing .version and .category,
    - make .class_name consistent across filters,
    - align declarations.
Signed-off-by: Paul B Mahol <onemda@gmail.com> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								9d0bfc5052 
								
							
								 
							
						 
						
							
							
								
								lavfi: make AVFilterPad opaque after two major bumps.  
							
							It will allow adding new fields to it without ABI breaks. 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								803391f719 
								
							
								 
							
						 
						
							
							
								
								lavfi: remove request/poll and drawing functions from public API on next bump  
							
							They are only useful inside filters and we don't allow user filters for
now. 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								b74a1da49d 
								
							
								 
							
						 
						
							
							
								
								lavfi: make formats API private on next bump.  
							
							It is only useful inside filters and we don't allow user filters for
now. 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								0f0f3bd1e0 
								
							
								 
							
						 
						
							
							
								
								lavfi: use av_default_item_name() as filter private context logger  
							
							avfilter_default_filter_name() is supposed to access an AVFilterContext
struct, if used with a private struct it will cause a crash since it will
access fields which are non defined in the private struct. 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								4d6a8a2bdb 
								
							
								 
							
						 
						
							
							
								
								lavfi: add avfilter_default_filter_name()  
							
							The function is modelled after av_default_item_name(), and will print the
name of the instance filter if defined, otherwise the name of the filter.
This allows to show the instance name in the log, which is useful when
debugging complex filter graphs. 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								c04c533f62 
								
							
								 
							
						 
						
							
							
								
								lavfi: remove avfilter_null_* from public API on next bump.  
							
							Those functions are only useful inside filters. It is better to not
support user filters until the API is more stable. 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								126ba1626e 
								
							
								 
							
						 
						
							
							
								
								lavfi/drawtext: give a new alias "timecode_rate" to the the r/rate option  
							
							The option is related to the timecode, the new name clearly specifies the
context. Also it allows to list the option close to the other timecode
options. 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								eb07f4ccb5 
								
							
								 
							
						 
						
							
							
								
								lavfi/drawtext: rename and document variables d_expr and d_pexpr  
							
							Use the more expressive names draw_expr and draw_pexpr, also more
consistent. 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								65d2b2fbe4 
								
							
								 
							
						 
						
							
							
								
								lavfi/drawtext: alphabetically sort the expression parameters  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								40b7a27bad 
								
							
								 
							
						 
						
							
							
								
								vf_drawtext: fontconfig support.  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								be9b0d2c5a 
								
							
								 
							
						 
						
							
							
								
								vf_drawtext: fix memory leak of draw expression.  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								423047ea31 
								
							
								 
							
						 
						
							
							
								
								vf_drawtext: fix memory leak of glyph data.  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								a63712d37c 
								
							
								 
							
						 
						
							
							
								
								vf_drawtext: use drawutils.  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								2d38081b4f 
								
							
								 
							
						 
						
							
							
								
								cosmetics: fix some typos  
							
							Patch attached.
From 2d4094fc0d 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								4fe5448790 
								
							
								 
							
						 
						
							
							
								
								lavfi/drawtext: add 24 hours wrapping option for timecode.  
							
							Fixes ticket #1044 . 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								b0f29db5c2 
								
							
								 
							
						 
						
							
							
								
								Mark mutable static data const where appropriate.  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								e496c45d9b 
								
							
								 
							
						 
						
							
							
								
								drawtext: add 'fix_bounds' option on coords fixing  
							
							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> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								2b43dfce36 
								
							
								 
							
						 
						
							
							
								
								drawtext: fix text_{w, h} expression vars  
							
							Before, {text_,}{w,h} vars hadn't got initialized
Signed-off-by: Anton Khirnov <anton@khirnov.net> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								e7f0bc8c0f 
								
							
								 
							
						 
						
							
							
								
								drawtext: add missing braces around an if() block.  
							
							Prevents uninitialized read.
Signed-off-by: Anton Khirnov <anton@khirnov.net> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								f65600d519 
								
							
								 
							
						 
						
							
							
								
								drawtext: use new public timecode API.  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								98aafc5bbf 
								
							
								 
							
						 
						
							
							
								
								timecode: set a fixed buffer size of 16B for tc string.  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								940d3cc0b0 
								
							
								 
							
						 
						
							
							
								
								drawtext: fix hard dependency to lavc (timecode).  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								d4b63054d9 
								
							
								 
							
						 
						
							
							
								
								cosmetics: Drop unnecessary parentheses around return values.  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								1858a5c25e 
								
							
								 
							
						 
						
							
							
								
								vf_drawtext: select YUV color for drawbox() in case YUV colorspace is used  
							
							Fix box alpha rendering when a YUV colorspace is selected, in particular
fix trac ticket #763 . 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								80914cde6f 
								
							
								 
							
						 
						
							
							
								
								timecode: rename internal ff_* symbols to avpriv_*.  
							
							Those functions are shared between libs.
Also fix a typo in function names: smtpe → smpte. 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								fa4e30af7e 
								
							
								 
							
						 
						
							
							
								
								drawtext: allow burning the timecode.  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								78212cefe1 
								
							
								 
							
						 
						
							
							
								
								drawtext: remove typo  
							
							It slipped through the last two iterations. 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								f5edfc9e92 
								
							
								 
							
						 
						
							
							
								
								drawtext: introduce rand(min, max)  
							
							Signed-off-by: Luca Barbato <lu_zero@gentoo.org> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								73585620b8 
								
							
								 
							
						 
						
							
							
								
								drawtext: introduce explicit draw/hide variable  
							
							Signed-off-by: Luca Barbato <lu_zero@gentoo.org> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								dda3d716d6 
								
							
								 
							
						 
						
							
							
								
								vf_drawtext: support W/H parameters to reduce UI differences to qatar  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								f88d5df383 
								
							
								 
							
						 
						
							
							
								
								vf_drawtext: cosmetics to reduce diff to qatar  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								297422b338 
								
							
								 
							
						 
						
							
							
								
								vf_drawtext: Add main_w/h to improve compatibility with the modified UI  
							
							from the fork.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								2cf74eca70 
								
							
								 
							
						 
						
							
							
								
								drawtext: make x and y parametric  
							
							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. 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								ec11ff8407 
								
							
								 
							
						 
						
							
							
								
								drawtext: manage memory allocation better  
							
							Call dtext_prepare_text as early as possible
Do not draw if the memory allocation failed 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								a2fb4bcb01 
								
							
								 
							
						 
						
							
							
								
								drawtext: refactor draw_text  
							
							Split the memory allocation from the actual drawing. 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								2f0f9a87d0 
								
							
								 
							
						 
						
							
							
								
								Fix various if parenthesis misplacements.  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								5af7daabc4 
								
							
								 
							
						 
						
							
							
								
								Mark AVFilterPad[] compound literals as const.  
							
							GCC 4.6.2 at least still seems to fail to put them in .rodata though,
see also http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37303 
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								d78473334e 
								
							
								 
							
						 
						
							
							
								
								Add const to static arrays where it was forgotten.  
							
							Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								124e28847b 
								
							
								 
							
						 
						
							
							
								
								Remove some stray unnecessary ffmpeg references.  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								a2af901295 
								
							
								 
							
						 
						
							
							
								
								vf_drawtext: remove mathematical constants now redundant.  
							
							Signed-off-by: Nicolas George <nicolas.george@normalesup.org>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								145f741e11 
								
							
								 
							
						 
						
							
							
								
								AVOptions: rename FF_OPT_TYPE_* => AV_OPT_TYPE_*  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								9921613e82 
								
							
								 
							
						 
						
							
							
								
								vf_drawtext: apply misc style fixes  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								80daa247d8 
								
							
								 
							
						 
						
							
							
								
								vf_drawtext: do not reset "n" variable to 0 in case the filter is reinited  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								87f5e79732 
								
							
								 
							
						 
						
							
							
								
								vf_drawtext: use ctx for expressing outlink and dtext in end_frame  
							
							(Very) slighly improve readability. 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								3de684206e 
								
							
								 
							
						 
						
							
							
								
								vf_drawtext: perform misc cosmetics changes to uninit  
							
							In particular:
* lexically sort strings freeing commands
* logically group freeing instructions
* prefer NULL over 0 when setting dtext->glyphs 
							
						 
						14 years ago