e3e6aa7afb 
								
							
								 
							
						 
						
							
							
								
								lavfi/buffersrc: fix failed requests count.  
							
							The line was lost during the AVFrame transition.
It causes programs relying on the failed requests count,
especially ffmpeg, to add frames to the wrong input.
Fix trac ticket #2467 . 
							
						 
						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  
				
					
						
							
							
								 
						
							
							
							
								
							
								c378ba19b5 
								
							
								 
							
						 
						
							
							
								
								abuffer: switch to an AVOptions-based shorthand system.  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								16e5e13c7e 
								
							
								 
							
						 
						
							
							
								
								buffersrc: switch to an AVOptions-based shorthand system.  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								0d58bbb28d 
								
							
								 
							
						 
						
							
							
								
								lavfi/buffersrc: update for compatibility with the fork.  
							
							Merge and adapt commit d28cb84 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								c43a7ecad9 
								
							
								 
							
						 
						
							
							
								
								lavfi: remove now unused args parameter from AVFilter.init  
							
							
								
							
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								d28cb84989 
								
							
								 
							
						 
						
							
							
								
								buffersrc: switch to an AVOptions-based system.  
							
							
								
							
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								6599b087de 
								
							
								 
							
						 
						
							
							
								
								buffersrc: fix a typo.  
							
							Vertical shift is log2_chroma_h, not log2_chroma_w. 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								c977039e58 
								
							
								 
							
						 
						
							
							
								
								lavc, lavfi: fix counting number of planes in AVBufferRef wrappers  
							
							Number of planes is not always equal to the number of components even
for formats marked with PIX_FMT_PLANAR -- e.g. NV12 has three components
in two planes. 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								8152451b56 
								
							
								 
							
						 
						
							
							
								
								buffersrc: fix w/h error  
							
							Found-by: nevcairiel
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								a5149607df 
								
							
								 
							
						 
						
							
							
								
								lavfi/buffersrc: disable deprecated warnings.  
							
							
								
							
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								f29c28a884 
								
							
								 
							
						 
						
							
							
								
								lavfi/buffersrc: check channel count changes.  
							
							
								
							
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								3cd342636f 
								
							
								 
							
						 
						
							
							
								
								lavfi/buffersrc: set channel layout if it is known.  
							
							Introduced in 01649c7, lost in the API change. 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								6552808014 
								
							
								 
							
						 
						
							
							
								
								lavc,lavfi: fix calculating the plane size in the AVBufferRef wrappers  
							
							It is supposed to be height * linesize, not width * linesize.
Thanks to Hendrik Leppkes for pointing out the bug. 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								d8dccf69ff 
								
							
								 
							
						 
						
							
							
								
								lavfi: let gcc realign the stack on public graph driving functions  
							
							The functions which actually drive the filter graph by pushing
frames through it need to ensure an aligned stack for SIMD functions.
This fixes a crash in YADIF filter when using a mingw build in a MSVC application.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								bdbdadbaff 
								
							
								 
							
						 
						
							
							
								
								lavfi/buffersrc: raise filter_frame() error.  
							
							
								
							
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								b71db3f38e 
								
							
								 
							
						 
						
							
							
								
								lavfi/buffersrc: do not dereference NULL frame.  
							
							frame = NULL is used to indicate EOF. 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								b0012de420 
								
							
								 
							
						 
						
							
							
								
								lavfi/buffersrc: implement flags.  
							
							The PUSH flags is necessary for efficient scheduling;
otherwise there is no feedback when adding frames to
closed paths.
The NO_CHECK_FORMAT is a small optimization that does
not cost much to implement.
The KEEP_REF flag maps to the add/write distinction in
the fork's API. 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								7e350379f8 
								
							
								 
							
						 
						
							
							
								
								lavfi: switch to AVFrame.  
							
							Deprecate AVFilterBuffer/AVFilterBufferRef and everything related to it
and use AVFrame instead. 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								01649c79c8 
								
							
								 
							
						 
						
							
							
								
								lavfi/buffersrc: set channel layout if it is known.  
							
							If buffersrc was configured for frames with an unknown layout,
the incoming frames will have channel_layout = 0.
If the format negotiation has selected a known (and compatible)
channel layout for the link, the frame is assumed to have
that layout, the field must be set before injecting the frame
in the filters. 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								d2ccab5f8a 
								
							
								 
							
						 
						
							
							
								
								lavfi/buffersrc: forward filter_frame errors.  
							
							Note: The ret variable was unused. 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								ea645e90a1 
								
							
								 
							
						 
						
							
							
								
								lavfi/buffersrc: accept unknown channel layouts.  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								5033a1af17 
								
							
								 
							
						 
						
							
							
								
								lavfi/buffersrc: remove init of rate and layout.  
							
							The sample rate and channel layout are negotiated and set
by the filter graph system, the filters must not set them. 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								60e50dd960 
								
							
								 
							
						 
						
							
							
								
								buffersrc: switch to filter_frame  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								cd7febd33f 
								
							
								 
							
						 
						
							
							
								
								lavfi: replace filter_samples by filter_frame  
							
							Based on patch by Anton Khirnov
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  
				
					
						
							
							
								 
						
							
							
							
								
							
								a903f8f087 
								
							
								 
							
						 
						
							
							
								
								Include libavutil/channel_layout.h instead of libavutil/audioconvert.h  
							
							Also reorder some other #include when applicable. 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								6cbb8a450f 
								
							
								 
							
						 
						
							
							
								
								libavfilter/buffersrc: Do not fail hard on changes of input parameters.  
							
							Several filters support this already.
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  
				
					
						
							
							
								 
						
							
							
							
								
							
								4e48aa8656 
								
							
								 
							
						 
						
							
							
								
								buffersrc: add const to the AVFrame* argument of av_buffersrc_write_frame()  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								1fce361d70 
								
							
								 
							
						 
						
							
							
								
								lavfi: replace empty input/output lists with null pointers  
							
							Signed-off-by: Mans Rullgard <mans@mansr.com> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								21bc440384 
								
							
								 
							
						 
						
							
							
								
								avopt: Explicitly store rational option defaults in .dbl  
							
							Signed-off-by: Martin Storsjö <martin@martin.st> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								e6153f173a 
								
							
								 
							
						 
						
							
							
								
								avopt: Store defaults for AV_OPT_TYPE_INT in the i64 union member  
							
							Signed-off-by: Martin Storsjö <martin@martin.st> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								5bbe4142d1 
								
							
								 
							
						 
						
							
							
								
								lavfi/buffersrc: add AV_BUFFERSRC_FLAG_PUSH.  
							
							
								
							
							
						 
						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  
				
					
						
							
							
								 
						
							
							
							
								
							
								1d9c2dc89a 
								
							
								 
							
						 
						
							
							
								
								Don't include common.h from avutil.h  
							
							Signed-off-by: Martin Storsjö <martin@martin.st> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								cc650cf029 
								
							
								 
							
						 
						
							
							
								
								Remove "Error parsing options string [...]" messages.  
							
							This reduces from 3 to 2 messages for the same syntax error in ffprobe,
and from 4 to 3 in filters. 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								05776119c1 
								
							
								 
							
						 
						
							
							
								
								buffersrc: use avfilter_get_buffer_ref_from_frame.  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								a8a2271fe0 
								
							
								 
							
						 
						
							
							
								
								buffersrc: check ff_get_audio_buffer() for errors.  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								8f3a3ce730 
								
							
								 
							
						 
						
							
							
								
								lavfi: check all ff_get_video_buffer() calls for errors.  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								785fa50f0b 
								
							
								 
							
						 
						
							
							
								
								buffersrc: avoid creating unnecessary buffer reference  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								3825b52688 
								
							
								 
							
						 
						
							
							
								
								lavfi: check all ff_start_frame/draw_slice/end_frame calls for errors  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								3db407038e 
								
							
								 
							
						 
						
							
							
								
								lavfi: use const for AVFilterPad declarations in all filters.  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								97f86680eb 
								
							
								 
							
						 
						
							
							
								
								lavfi: make copy_buffer_ref common.  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								fda968aa8f 
								
							
								 
							
						 
						
							
							
								
								lavfi: decrease logging level of message showing initial parameters  
							
							Reduce log clutter, consistent with 1a49a169eb 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								cd99146253 
								
							
								 
							
						 
						
							
							
								
								lavfi: add error handling to filter_samples().  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								b0fdd3489a 
								
							
								 
							
						 
						
							
							
								
								lavfi: deprecate av_buffersrc_buffer() function  
							
							Favor av_buffersrc_add_ref() instead, which is more powerful. 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								05d6cc116e 
								
							
								 
							
						 
						
							
							
								
								buffersrc: warn when there are too many buffers.  
							
							
								
							
							
						 
						13 years ago