1c76134fe3 
								
							
								 
							
						 
						
							
							
								
								avfilter/drawbox+drawgrid - add option to prevent overwriting of source pixels  
							
							If the user-supplied color in drawbox and drawgrid filters is non-opaque,
the box & grid painting overwrites the input's pixels (including alpha).
Users typically expect the alpha of the specified color to only act as a key
for compositing on top of the main input.
Added option allows users to select between replacement and composition.
Tested and documented. 
							
						 
						8 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								b3cb9bd43f 
								
							
								 
							
						 
						
							
							
								
								avfilter/drawbox: rename variable for maximum thickness  
							
							The present value name for maximum thickness is 'max' which results in a
parse error of any thickness expression containing 'max(val1,val2)'.
Value renamed to 'fill'. Tested locally and documented.
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc> 
							
						 
						8 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								4dc5880381 
								
							
								 
							
						 
						
							
							
								
								avfilter/vf_drawbox: reindent  
							
							Signed-off-by: Paul B Mahol <onemda@gmail.com> 
							
						 
						9 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								5589698e0b 
								
							
								 
							
						 
						
							
							
								
								avfilter/vf_drawbox: add alpha pixel formats support  
							
							Signed-off-by: Paul B Mahol <onemda@gmail.com> 
							
						 
						9 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								fd682b1892 
								
							
								 
							
						 
						
							
							
								
								avfilter: handle error in query_formats() of a bunch of random video filters  
							
							
								
							
							
						 
						10 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								047fd986bf 
								
							
								 
							
						 
						
							
							
								
								avfilter/vf_drawbox: Fix handling of max values  
							
							Fixes Ticket4332
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						10 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								58400ac133 
								
							
								 
							
						 
						
							
							
								
								lavfi: name anonymous structs  
							
							
								
							
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								cd43ca0443 
								
							
								 
							
						 
						
							
							
								
								lavfi: do not export the filters from shared objects  
							
							
								
							
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								b211607b5c 
								
							
								 
							
						 
						
							
							
								
								avfilter: various cosmetics  
							
							Signed-off-by: Paul B Mahol <onemda@gmail.com> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								b077d8d908 
								
							
								 
							
						 
						
							
							
								
								avfilter: remove redundant .get_(audio/video)_buffer initializations  
							
							Signed-off-by: Paul B Mahol <onemda@gmail.com> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								73215fe30a 
								
							
								 
							
						 
						
							
							
								
								vf_drawbox: give all v_log() a context  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								47da9b2c51 
								
							
								 
							
						 
						
							
							
								
								vf_drawbox: avoid declaration in for() arguments  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								84f571e37f 
								
							
								 
							
						 
						
							
							
								
								enabled expressions on x, y, w, h and t parameters for drawgrid and drawbox, added examples  
							
							
								
							
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								cef42ded8d 
								
							
								 
							
						 
						
							
							
								
								drawbox: Respect thickness parameter  
							
							The drawbox video filter is drawing lines one pixel thinner than
requested. The default thickness is 4 pixel but in fact the lines
drawn by default are only 3 pixel wide.
Change the comparisons in the code to fix this off-by-one bug. Also
change the default thickness from 4 to 3 to minimize the unexpected
changes from the user's perspective.
As I was already touching these lines, I also removed the "maximum" in
the thickness parameter description, as I don't think it was adding
any value and I even found it confusing.
Reviewed-by: Andrey Utkin <andrey.krieger.utkin@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								66f32a8a7f 
								
							
								 
							
						 
						
							
							
								
								lavfi/drawgrid: fix drawgrid options after  4c205f42c8 
							
							
								
							
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								4c205f42c8 
								
							
								 
							
						 
						
							
							
								
								vf_drawbox: make config_props work properly when called multiple times.  
							
							Do not overwrite the variables set through AVOptions. 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								cb0b0266e5 
								
							
								 
							
						 
						
							
							
								
								lavfi/drawbox: restore verbal form for drawbox options descriptions  
							
							
								
							
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								0aa013fa8a 
								
							
								 
							
						 
						
							
							
								
								lavfi: factorize drawgrid and drawbox code  
							
							
								
							
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								20e2794eea 
								
							
								 
							
						 
						
							
							
								
								vf_drawbox: use the name 's' for the pointer to the private context  
							
							This is shorter and consistent across filters. 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								1776177b7f 
								
							
								 
							
						 
						
							
							
								
								lavfi: replace passthrough_filter_frame with a flag.  
							
							With the introduction of AVFilterContext->is_disabled, we can simplify
the custom passthrough mode in filters.
This commit is technically a small compat break, but the timeline was
introduced very recently.
Doxy by Stefano Sabatini. 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								fdd93eabfb 
								
							
								 
							
						 
						
							
							
								
								lavfi: add timeline support.  
							
							Flag added in a few simple filters. A bunch of other filters can likely
use the feature as well. 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								d69a4177b9 
								
							
								 
							
						 
						
							
							
								
								lavfi: remove now unused args parameter from AVFilter.init  
							
							Conflicts:
	libavfilter/avfilter.c
	libavfilter/vf_drawtext.c
	libavfilter/vf_lut.c
	libavfilter/vf_select.c
	libavfilter/vf_setpts.c
	libavfilter/vsrc_color.c
	libavfilter/vsrc_movie.c
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								c43a7ecad9 
								
							
								 
							
						 
						
							
							
								
								lavfi: remove now unused args parameter from AVFilter.init  
							
							
								
							
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								335c31293b 
								
							
								 
							
						 
						
							
							
								
								vf_drawbox: switch to an AVOptions-based system.  
							
							
								
							
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								80580b405a 
								
							
								 
							
						 
						
							
							
								
								lavi/vf_drawbox: use standard options parsing.  
							
							
								
							
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								7e350379f8 
								
							
								 
							
						 
						
							
							
								
								lavfi: switch to AVFrame.  
							
							Deprecate AVFilterBuffer/AVFilterBufferRef and everything related to it
and use AVFrame instead. 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								185d1f3bfc 
								
							
								 
							
						 
						
							
							
								
								lavfi: declare arrays that never change as static const  
							
							Signed-off-by: Paul B Mahol <onemda@gmail.com> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								a42b89910b 
								
							
								 
							
						 
						
							
							
								
								vf_drawbox: switch to filter frame  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								565e4993c6 
								
							
								 
							
						 
						
							
							
								
								lavfi: merge start_frame/draw_slice/end_frame  
							
							Any alleged performance benefits gained from the split are purely
mythological and do not justify added code complexity. 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								44e9d7f182 
								
							
								 
							
						 
						
							
							
								
								vf_drawbox: dont move uninitialized and then unused colors around  
							
							Fixes CID741419
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								9d478f38cd 
								
							
								 
							
						 
						
							
							
								
								lavfi/drawbox: add "width" and "height" aliases for "w" and "h" options  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								93399e9381 
								
							
								 
							
						 
						
							
							
								
								lavfi/drawbox: add thickness option  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								755038d07d 
								
							
								 
							
						 
						
							
							
								
								lavfi/drawbox: remove some unnecessary parentheses  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								003bd88d99 
								
							
								 
							
						 
						
							
							
								
								lavfi/drawbox: reindent after previous commit  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								1b3fdd9731 
								
							
								 
							
						 
						
							
							
								
								lavfi/drawbox: implement color=invert mode  
							
							Based on a libmpcodecs/vf_rectangle.c feature. 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								2ed7e6cce5 
								
							
								 
							
						 
						
							
							
								
								lavfi/drawbox: extend syntax, accept named options  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								59ee9f78b0 
								
							
								 
							
						 
						
							
							
								
								lavfi: do not use av_pix_fmt_descriptors directly.  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								568c70e79e 
								
							
								 
							
						 
						
							
							
								
								lavfi: convert input/ouput list compound literals to named objects  
							
							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> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								716d413c13 
								
							
								 
							
						 
						
							
							
								
								Replace PIX_FMT_* -> AV_PIX_FMT_*, PixelFormat -> AVPixelFormat  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								0238806f64 
								
							
								 
							
						 
						
							
							
								
								vf_drawtext: fix permissions.  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								1d9c2dc89a 
								
							
								 
							
						 
						
							
							
								
								Don't include common.h from avutil.h  
							
							Signed-off-by: Martin Storsjö <martin@martin.st> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								e9b992d035 
								
							
								 
							
						 
						
							
							
								
								lavfi: add error handling to draw_slice().  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								3db407038e 
								
							
								 
							
						 
						
							
							
								
								lavfi: use const for AVFilterPad declarations in all filters.  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								1a49a169eb 
								
							
								 
							
						 
						
							
							
								
								lavfi: make filters less verbose.  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								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  
				
					
						
							
							
								 
						
							
							
							
								
							
								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  
				
					
						
							
							
								 
						
							
							
							
								
							
								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  
				
					
						
							
							
								 
						
							
							
							
								
							
								3f80546d75 
								
							
								 
							
						 
						
							
							
								
								lavfi/drawbox: fix width displayed in place of x.  
							
							
								
							
							
						 
						13 years ago