183ce55b0d 
								
							
								 
							
						 
						
							
							
								
								lavfi: split frame_count between input and output.  
							
							AVFilterLink.frame_count is supposed to count the number of frames
that were passed on the link, but with min_samples, that number is
not always the same for the source and destination filters.
With the addition of a FIFO on the link, the difference will become
more significant.
Split the variable in two: frame_count_in counts the number of
frames that entered the link, frame_count_out counts the number
of frames that were sent to the destination filter. 
							
						 
						9 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								a0a57072c9 
								
							
								 
							
						 
						
							
							
								
								avfilter: make use of ff_filter_get_nb_threads  
							
							
								
							
							
						 
						9 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								a638e9184d 
								
							
								 
							
						 
						
							
							
								
								vf_fade: make sure the slice end is always in the frame  
							
							CC: libav-stable@libav.org  
							
						 
						9 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								21f9468402 
								
							
								 
							
						 
						
							
							
								
								avutil: Rename FF_CEIL_COMPAT to AV_CEIL_COMPAT  
							
							Libav, for some reason, merged this as a public API function. This will
aid in future merges.
A define is left for backwards compat, just in case some person
used it, since it is in a public header.
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com> 
							
						 
						9 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								334b11246c 
								
							
								 
							
						 
						
							
							
								
								avfilter/fade: use AV_OPT_TYPE_BOOL for alpha option  
							
							
								
							
							
						 
						10 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								03637762d9 
								
							
								 
							
						 
						
							
							
								
								avfilter/vf_fade: Force alpha pixel format if alpha is set to 1  
							
							Fixes Ticket4321
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						10 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								a0854c084e 
								
							
								 
							
						 
						
							
							
								
								avfilter: handle error in query_formats() in bunch of filters  
							
							Signed-off-by: Paul B Mahol <onemda@gmail.com> 
							
						 
						10 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								ab3ff19f08 
								
							
								 
							
						 
						
							
							
								
								lavfi/fade: Do not overread input buffer.  
							
							
								
							
							
						 
						10 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								58400ac133 
								
							
								 
							
						 
						
							
							
								
								lavfi: name anonymous structs  
							
							
								
							
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								199b8fbd09 
								
							
								 
							
						 
						
							
							
								
								avfilter/fade: use FADE_OUT macro.  
							
							
								
							
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								981128c2c1 
								
							
								 
							
						 
						
							
							
								
								avfilter/fade: remove a bunch of useless parenthesis.  
							
							
								
							
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								461e810cfc 
								
							
								 
							
						 
						
							
							
								
								avfilter/fade: use inlink->frame_count.  
							
							
								
							
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								3e1097b909 
								
							
								 
							
						 
						
							
							
								
								avfilter/fade: add color option.  
							
							Fixes Ticket #1822 . 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								cd43ca0443 
								
							
								 
							
						 
						
							
							
								
								lavfi: do not export the filters from shared objects  
							
							
								
							
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								4bc7a2a64b 
								
							
								 
							
						 
						
							
							
								
								avfilter: remove duplicate includes  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						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  
				
					
						
							
							
								 
						
							
							
							
								
							
								e0f2e0fcf0 
								
							
								 
							
						 
						
							
							
								
								vf_fade: remove unused function  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								0cbfbdef4a 
								
							
								 
							
						 
						
							
							
								
								vf_fade: Support slice threaded alpha  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								a3d62f3377 
								
							
								 
							
						 
						
							
							
								
								vf_fade: Fix alpha flag integration  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								bca59d7745 
								
							
								 
							
						 
						
							
							
								
								fade: fix slice sizes  
							
							This more evenly distributes the load between threads
This also fixes the chroma filtering where the filter was applied twice
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								8a994b7406 
								
							
								 
							
						 
						
							
							
								
								vf_fade: support slice threading  
							
							
								
							
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								c0279956b3 
								
							
								 
							
						 
						
							
							
								
								vf_fade: use the name 's' for the pointer to the private context  
							
							This is shorter and consistent across filters. 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								c7c71f95f8 
								
							
								 
							
						 
						
							
							
								
								replace remaining PIX_FMT_* flags with AV_PIX_FMT_FLAG_*  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								50e66726a2 
								
							
								 
							
						 
						
							
							
								
								lavfi: use ceil right shift for chroma width/height.  
							
							This should fix several issues with odd dimensions inputs.
lut, vflip, pad and crop video filters also need to be checked for such
issues. It's possible sws is also affected. 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								4ac2da3793 
								
							
								 
							
						 
						
							
							
								
								lavfi/fade: Added ability to do video fade based on timestamp  
							
							
								
							
							
						 
						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  
				
					
						
							
							
								 
						
							
							
							
								
							
								b9dfee9fa2 
								
							
								 
							
						 
						
							
							
								
								vf_fade: switch to an AVOptions-based system.  
							
							
								
							
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								4e2bcec95f 
								
							
								 
							
						 
						
							
							
								
								lavfi/vf_fade: 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  
				
					
						
							
							
								 
						
							
							
							
								
							
								c79be51dfc 
								
							
								 
							
						 
						
							
							
								
								vf_fade: use AVPixFmtDescriptor to find out if pixel format have alpha  
							
							Remove alpha_pix_fmts[].
Signed-off-by: Paul B Mahol <onemda@gmail.com> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								2852bd704a 
								
							
								 
							
						 
						
							
							
								
								lavfi/fade: accept shorthand syntax  
							
							
								
							
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								d084c5c742 
								
							
								 
							
						 
						
							
							
								
								vf_fade: support YUVA422P & YUVA444P  
							
							Signed-off-by: Paul B Mahol <onemda@gmail.com> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								9a65b8c0a2 
								
							
								 
							
						 
						
							
							
								
								vf_fade: 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  
				
					
						
							
							
								 
						
							
							
							
								
							
								f374e9989b 
								
							
								 
							
						 
						
							
							
								
								vf_fade: fix memleaks of args  
							
							Fixes: CID718989
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						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  
				
					
						
							
							
								 
						
							
							
							
								
							
								42d621d131 
								
							
								 
							
						 
						
							
							
								
								lavfi: add priv class to filter definitions and flags to filter internal options  
							
							This allows the iteration callbacks to discover the internal class and
options, and show them when required. 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								3c0cc3ae67 
								
							
								 
							
						 
						
							
							
								
								vf_fade: 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  
				
					
						
							
							
								 
						
							
							
							
								
							
								d4f89906e3 
								
							
								 
							
						 
						
							
							
								
								lavfi: add error handling to end_frame().  
							
							
								
							
							
						 
						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  
				
					
						
							
							
								 
						
							
							
							
								
							
								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  
				
					
						
							
							
								 
						
							
							
							
								
							
								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