61fb67dcb2 
								
							
								 
							
						 
						
							
							
								
								buffersrc: accept the frame rate as argument.  
							
							(cherry picked from ffmpeg commit 9ca440679d 
							
						 
						10 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								dc54c78c4d 
								
							
								 
							
						 
						
							
							
								
								buffersrc: Improve initialization log message  
							
							Add timebase and aspect ratio information. 
							
						 
						10 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								f6974fe651 
								
							
								 
							
						 
						
							
							
								
								lavfi: Drop deprecated AVFilterBuffer* code  
							
							Deprecated in 11/2012. 
							
						 
						10 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								8eb57dc9d5 
								
							
								 
							
						 
						
							
							
								
								buffersrc: Use the correct deallocation function  
							
							This correction was suggested to me by Michael Niedermayer
Signed-off-by: Luca Barbato <lu_zero@gentoo.org> 
							
						 
						10 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								617814b4a7 
								
							
								 
							
						 
						
							
							
								
								buffersrc: Fix resource leak on error  
							
							Bug-Id: CID 1267902
CC: libav-stable@libav.org 
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com> 
							
						 
						10 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								b03b2d86aa 
								
							
								 
							
						 
						
							
							
								
								buffersrc: avoid using AV_PIX_FMT_NB  
							
							That hardcodes the number of pixel formats into lavfi and will break
when a shared lavu is updated, adding new pixel formats. 
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								58400ac133 
								
							
								 
							
						 
						
							
							
								
								lavfi: name anonymous structs  
							
							
								
							
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								104a97beaf 
								
							
								 
							
						 
						
							
							
								
								buffersrc: handle non-refcounted frames in av_buffersrc_add_frame() correctly  
							
							
								
							
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								cd43ca0443 
								
							
								 
							
						 
						
							
							
								
								lavfi: do not export the filters from shared objects  
							
							
								
							
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								7950e519bb 
								
							
								 
							
						 
						
							
							
								
								Disable deprecation warnings for cases where a replacement is available  
							
							
								
							
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								779e6c2b98 
								
							
								 
							
						 
						
							
							
								
								lavfi: add attribute_align_arg to all public entry points  
							
							Previously it was partly only added to central functions called
internally, however if GCC would inline these into the public fuction, the
alignment attribute would not take effect.
Instead, add it to all public entry points to avoid these problems.
Signed-off-by: Martin Storsjö <martin@martin.st> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								20c86571cc 
								
							
								 
							
						 
						
							
							
								
								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: Martin Storsjö <martin@martin.st> 
							
						 
						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  
				
					
						
							
							
								 
						
							
							
							
								
							
								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  
				
					
						
							
							
								 
						
							
							
							
								
							
								7e350379f8 
								
							
								 
							
						 
						
							
							
								
								lavfi: switch to AVFrame.  
							
							Deprecate AVFilterBuffer/AVFilterBufferRef and everything related to it
and use AVFrame instead. 
							
						 
						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  
				
					
						
							
							
								 
						
							
							
							
								
							
								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  
				
					
						
							
							
								 
						
							
							
							
								
							
								1d9c2dc89a 
								
							
								 
							
						 
						
							
							
								
								Don't include common.h from avutil.h  
							
							Signed-off-by: Martin Storsjö <martin@martin.st> 
							
						 
						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  
				
					
						
							
							
								 
						
							
							
							
								
							
								cd99146253 
								
							
								 
							
						 
						
							
							
								
								lavfi: add error handling to filter_samples().  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								1a49a169eb 
								
							
								 
							
						 
						
							
							
								
								lavfi: make filters less verbose.  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								0b3b958135 
								
							
								 
							
						 
						
							
							
								
								lavfi: remove disabled FF_API_VSRC_BUFFER_ADD_FRAME cruft  
							
							
								
							
							
						 
						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  
				
					
						
							
							
								 
						
							
							
							
								
							
								6d58358a3a 
								
							
								 
							
						 
						
							
							
								
								lavfi: make avfilter_get_video_buffer() private on next bump.  
							
							They are only useful inside filters and we don't allow user filters for
now. 
							
						 
						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  
				
					
						
							
							
								 
						
							
							
							
								
							
								4c66c40718 
								
							
								 
							
						 
						
							
							
								
								lavfi: add an audio buffer source.  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								720c6b78d1 
								
							
								 
							
						 
						
							
							
								
								buffersrc: add av_buffersrc_write_frame().  
							
							It's the same as av_vsrc_buffer_add_frame(), except it doesn't take pts
or pixel_aspect parameters. Those are read from AVFrame.
Deprecate av_vsrc_buffer_add_frame(). 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								8b05e13df3 
								
							
								 
							
						 
						
							
							
								
								buffersrc: fix invalid read in uninit if the fifo hasn't been allocated  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								fad729fa50 
								
							
								 
							
						 
						
							
							
								
								lavfi: rename vsrc_buffer.c to buffersrc.c  
							
							Most of the code will be shared for both audio and video version. 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								5cb4f1a127 
								
							
								 
							
						 
						
							
							
								
								vsrc_buffer: return EAGAIN if no frame is available.  
							
							This is not an erroneous condition, do not print a warning.
Signed-off-by: Anton Khirnov <anton@khirnov.net> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								7bf9e3391f 
								
							
								 
							
						 
						
							
							
								
								vsrc_buffer: fix check from  7ae7c41.  
							
							The user submitted variable in this function is frame, not buf. 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								7ae7c41413 
								
							
								 
							
						 
						
							
							
								
								vsrc_buffer: allow using a NULL buffer to signal EOF.  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								a03f8ea0a8 
								
							
								 
							
						 
						
							
							
								
								vsrc_buffer: when no frame is available, return an error instead of segfaulting.  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								95587d29d7 
								
							
								 
							
						 
						
							
							
								
								vsrc_buffer: allow buffering arbitrary number of frames.  
							
							
								
							
							
						 
						13 years ago