f1b82099cd 
								
							
								 
							
						 
						
							
							
								
								src_buffer: add forgotten avfilter_unref_buffer.  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								2ae5af8094 
								
							
								 
							
						 
						
							
							
								
								lavfi: rename vsrc_buffer.c into src_buffer.c.  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								7ad0d9864e 
								
							
								 
							
						 
						
							
							
								
								lavfi: merge asrc_abuffer into vsrc_buffer.  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								2d6522bab0 
								
							
								 
							
						 
						
							
							
								
								vsrc_buffer: count the number of failed requests.  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								f75ee4031e 
								
							
								 
							
						 
						
							
							
								
								vsrc_buffer: return EAGAIN if no frame is available.  
							
							This is not an erroneous condition, do not print a warning. 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								5cd460ba63 
								
							
								 
							
						 
						
							
							
								
								vsrc_buffer: fix null ptr segfault  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						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  
				
					
						
							
							
								 
						
							
							
							
								
							
								25eae29ea1 
								
							
								 
							
						 
						
							
							
								
								vsrc_buffer: remove overwrite support.  
							
							the overwrite flag became unused when merging support for buffering
multiple frames.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						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  
				
					
						
							
							
								 
						
							
							
							
								
							
								2d54bbb950 
								
							
								 
							
						 
						
							
							
								
								vsrc_buffer: Store allocated scale filter and free it later.  
							
							Fixes a memleak.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								43fe6a2905 
								
							
								 
							
						 
						
							
							
								
								vsrc_buffer: release the buffer on uninit.  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								5d25140f71 
								
							
								 
							
						 
						
							
							
								
								vsrc_buffer: error on changing frame parameters.  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								3dc99a18d4 
								
							
								 
							
						 
						
							
							
								
								cosmetics: drop some pointless parentheses  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								e1d9dbf2d4 
								
							
								 
							
						 
						
							
							
								
								lavfi: add a new function av_buffersrc_buffer().  
							
							It can be used to directly pass a AVFilterBufferRef to lavfi, avoiding a
memcpy. 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								1c9e340d35 
								
							
								 
							
						 
						
							
							
								
								lavfi: add avfilter_copy_frame_props()  
							
							avfilter_copy_frame_props() avoids code duplication and increases
robustness. 
							
						 
						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  
				
					
						
							
							
								 
						
							
							
							
								
							
								2982b02b79 
								
							
								 
							
						 
						
							
							
								
								vsrc_buffer: FIx incompatible pointer type warning  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								e26782a9b4 
								
							
								 
							
						 
						
							
							
								
								lavfi: add ff_parse_pixel_format() internal function, and use it  
							
							Reduce code duplication. 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								fd2c0a5db2 
								
							
								 
							
						 
						
							
							
								
								lavfi: add layout negotiation fields and helper functions.  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								27bcf55f45 
								
							
								 
							
						 
						
							
							
								
								vsrc_buffer: add flags param to av_vsrc_buffer_add_video_buffer_ref  
							
							The new flags parameter allows to specify if the video ref to add
should overwrite the cache, if the flag is not set vsrc_buffer will
complain and abort; otherwise it will clean the already cached video
ref before to overwrite it, thus avoiding a leak. 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								9e66b64c36 
								
							
								 
							
						 
						
							
							
								
								vsrc_buffer: propagate error code in av_vsrc_buffer_add_frame()  
							
							Propagate av_vsrc_buffer_add_video_buffer_ref() error code rather than
return 0. 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								cf06e3e4dd 
								
							
								 
							
						 
						
							
							
								
								vsrc_buffer: return an error code if no frames are available  
							
							Also decrease the log level of the corresponding message to WARNING,
since the error is not fatal. 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								f7053dc41a 
								
							
								 
							
						 
						
							
							
								
								vsrc_buffer: tweak error message in init()  
							
							Change:
Expected 7 arguments, but only %d found in '%s'\n
to:
Expected 7 arguments, but %d found in '%s'\n
as the user may provide more than 7 arguments, in that case the error
is not misleading.
Signed-off-by: Anton Khirnov <anton@khirnov.net> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								c000a9f783 
								
							
								 
							
						 
						
							
							
								
								vsrc_buffer: add av_vsrc_buffer_add_frame()  
							
							The new function is a wrapper around
av_vsrc_buffer_add_video_buffer_ref(), and allows to simplify the act
of pushing AVFrame data to the source buffer. 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								50764e19a8 
								
							
								 
							
						 
						
							
							
								
								vsrc_buffer: make the source accept sws_param in init  
							
							Avoid the need of two distinct av_vsrc_add_video_buffer_ref*
functions. Simplify the interface. 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								509b32cf5d 
								
							
								 
							
						 
						
							
							
								
								vsrc_buffer: propagate avfilter_open() error code  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								3799805e56 
								
							
								 
							
						 
						
							
							
								
								vsrc_buffer: fix style  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								6070b7e1c5 
								
							
								 
							
						 
						
							
							
								
								vsrc_buffer: remove dependency on AVFrame  
							
							Rename av_vsrc_buffer_add_frame to
av_vsrc_buffer_add_video_buffer_ref(), and change its inteface to make
it accept in input an AVFilterBufferRef rather than an AVFrame.
This way the interface can be used without requiring the
inclusion/installation of libavcodec headers. 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								ea7f73c52e 
								
							
								 
							
						 
						
							
							
								
								vsrc_buffer: during init, print information about timebase and sample aspect ratio  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								64c06615d2 
								
							
								 
							
						 
						
							
							
								
								vsrc_buffer: simplify av_vsrc_buffer_add_frame*() interface  
							
							Now that pix_fmt, width, and height are directly embedded in the AVFrame,
there is no need to pass these values as separate arguments. 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								566666caf3 
								
							
								 
							
						 
						
							
							
								
								lavfi: add libavfilter/avcodec.h and avfilter_copy_frame_props()  
							
							avfilter_copy_frame_props() avoids code duplication and increases
robustness.
The added files libavfilter/avcodec.[ch] are used for containing
utilities useful for gluing togheter libavfilter and libavcodec. 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								18ded93ab3 
								
							
								 
							
						 
						
							
							
								
								lavc: add format field to AVFrame  
							
							The format is a per-frame property, having it in AVFrame simplify the
operation of extraction of that information, since avoids the need to
access the codec/stream context. 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								22333a6b19 
								
							
								 
							
						 
						
							
							
								
								lavc: add width and height fields to AVFrame  
							
							width and height are per-frame properties, setting these values in
AVFrame simplify the operation of extraction of that information,
since avoids the need to check the codec/stream context. 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								0f1ef8a316 
								
							
								 
							
						 
						
							
							
								
								vsrc_buffer: improve reporting in case of format/size change  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								35fe66abbc 
								
							
								 
							
						 
						
							
							
								
								lavfi: rename AVFilterBufferRefVideoProps.pixel_aspect to sample_aspect_ratio  
							
							Improve consistency with libavcodec.
This breaks libavfilter API/ABI.
The non-sequential 2.1.0 -> 2.4.0 bump is due to the mess previously
done with the lavfi minor number. 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								77e9dee8ae 
								
							
								 
							
						 
						
							
							
								
								lavc: add a sample_aspect_ratio field to AVFrame  
							
							The sample aspect ratio is a per-frame property, so it makes sense to
define it in AVFrame rather than in the codec/stream context.
Simplify application-level sample aspect ratio information extraction,
and allow further simplifications. 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								075933a068 
								
							
								 
							
						 
						
							
							
								
								vsrc_buffer: 10l mixed up input & output sizes. (funnily this worked 99% of the time) Signed-off-by: Michael Niedermayer <michaelni@gmx.at>  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								d84f191d37 
								
							
								 
							
						 
						
							
							
								
								vsrc_buffer: Reinit scale filter when an existing filter is used.  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								dc1de56948 
								
							
								 
							
						 
						
							
							
								
								vsrc_buffer: set output timebase when output equalization is done  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								a38cdfde52 
								
							
								 
							
						 
						
							
							
								
								vsrc_buffer: Set output size  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								ad0193bf9c 
								
							
								 
							
						 
						
							
							
								
								vsrc_buffer: fix NULL dereference  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								10d39405fa 
								
							
								 
							
						 
						
							
							
								
								lavfi: add key_frame and pict_type to AVFilterBufferRefVideo.  
							
							Signed-off-by: Anton Khirnov <anton@khirnov.net> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								7a11c82fb7 
								
							
								 
							
						 
						
							
							
								
								vsrc_buffer: add sample_aspect_ratio fields to arguments.  
							
							This fixes aspect handling in ffmpeg.
This is based on a patch by Baptiste.
Signed-off-by: Anton Khirnov <anton@khirnov.net> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								09a1416db7 
								
							
								 
							
						 
						
							
							
								
								Add key_frame and pict_type to AVFilterBufferRefVideo.  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								f763a7c669 
								
							
								 
							
						 
						
							
							
								
								vsrc_buffer: tweak error message in init()  
							
							Change:
Expected 7 arguments, but only %d found in '%s'\n
to:
Expected 7 arguments, but %d found in '%s'\n
as the user may provide more than 7 arguments, in that case the error
is not misleading. 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								7d948dc424 
								
							
								 
							
						 
						
							
							
								
								Support changing pixel formats on avfilter input.  
							
							Fix issue2217
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								2912e87a6c 
								
							
								 
							
						 
						
							
							
								
								Replace FFmpeg with Libav in licence headers  
							
							Signed-off-by: Mans Rullgard <mans@mansr.com> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								7ffe76e540 
								
							
								 
							
						 
						
							
							
								
								Merge libavcore into libavutil  
							
							Done to keep ABI compatible. Otherwise this is just silly 
							
						 
						14 years ago