1b8c9271bd 
								
							
								 
							
						 
						
							
							
								
								lavfi: add avfilter_get_audio_buffer_ref_from_arrays().  
							
							Signed-off-by: Anton Khirnov <anton@khirnov.net> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								9453c9e1de 
								
							
								 
							
						 
						
							
							
								
								lavfi: add extended_data to AVFilterBuffer.  
							
							This is similar to what has previously been done in AVFrame to allow
dealing with more than 8 channels. 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								ac71230902 
								
							
								 
							
						 
						
							
							
								
								lavfi: add video buffer sink, and use it in avtools  
							
							Also add the public interface libavfilter/buffersink.h.
Based on a commit by Stefano Sabatini. 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								ab165047a6 
								
							
								 
							
						 
						
							
							
								
								lavfi: add a function for copying properties from AVFilterBufferRef->AVFrame  
							
							Based on a commit by Stefano Sabatini <stefano.sabatini-lala@poste.it> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								8134fafe9b 
								
							
								 
							
						 
						
							
							
								
								lavfi: uninline avfilter_copy_buffer_ref_props().  
							
							A nontrivial public function such as this should most certainly NOT be
inline. 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								dbe6ba55a3 
								
							
								 
							
						 
						
							
							
								
								build: cosmetics: Add missing end-of-line backslashes to item lists.  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								9eb83a56aa 
								
							
								 
							
						 
						
							
							
								
								build: cosmetics: Split HEADERS/OBJS/PROGS lists into one entry per line.  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								a07578f3f2 
								
							
								 
							
						 
						
							
							
								
								vf_yadif: fix missing error handling for avfilter_poll_frame()  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								0bbd874743 
								
							
								 
							
						 
						
							
							
								
								lavfi: support audio in avfilter_copy_frame_props().  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								11b6a82412 
								
							
								 
							
						 
						
							
							
								
								lavfi: avfilter_merge_formats: handle case where inputs are same  
							
							This fixes a double-free crash if lists are the same due to the two
merge_ref() calls at the end of the (useless) merging that happens.
Signed-off-by: Anton Khirnov <anton@khirnov.net> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								d4ac703c7f 
								
							
								 
							
						 
						
							
							
								
								lavfi/formats: use sizeof(var) instead of sizeof(type).  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								f10530b78a 
								
							
								 
							
						 
						
							
							
								
								lavfi: remove avfilter_default_config_input_link() declaration  
							
							The function is not implemented (and possibly useless). 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								25b3babe11 
								
							
								 
							
						 
						
							
							
								
								lavfi: always enable the scale filter and depend on sws.  
							
							The scale filter is used for internal colorspace conversions, so it must
always be present. 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								fd18ee0ff6 
								
							
								 
							
						 
						
							
							
								
								vf_split: support user-specifiable number of outputs.  
							
							
								
							
							
						 
						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  
				
					
						
							
							
								 
						
							
							
							
								
							
								aff01de641 
								
							
								 
							
						 
						
							
							
								
								graphparser: set next to NULL on an entry extracted from inputs list  
							
							Prevents it from referring to the rest of the list. 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								7af99a01c4 
								
							
								 
							
						 
						
							
							
								
								graphparser: fix the order in which unlabeled input links are returned.  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								7bf9e3391f 
								
							
								 
							
						 
						
							
							
								
								vsrc_buffer: fix check from  7ae7c41.  
							
							The user submitted variable in this function is frame, not buf. 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								91d3cbe0fd 
								
							
								 
							
						 
						
							
							
								
								avfiltergraph: make the AVFilterInOut alloc/free API public  
							
							This is required for letting applications to create and destroy
AVFilterInOut structs in a convenient way.
Signed-off-by: Anton Khirnov <anton@khirnov.net> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								12e7e1d03e 
								
							
								 
							
						 
						
							
							
								
								graphparser: allow specifying sws flags in the graph description.  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								4e781c25b7 
								
							
								 
							
						 
						
							
							
								
								graphparser: fix the order of connecting unlabeled links.  
							
							Right now, e.g. scale,[in]overlay would connect scale to the first
overlay input and [in] to the second, which goes against the
documentation and is unintuitive.
The bug happens because of the ordering mess in curr_inputs variable:
1) the unlabeled links from the previous filter are added to it in
correct order
2) input labels are parsed and inserted to the beginning one by one
(i.e. in reverse order)
3) curr_inputs is matched against filter inputs in reverse order
Fix the problem by always using proper ordering without trying to be
clever. 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								d7bcc71dad 
								
							
								 
							
						 
						
							
							
								
								graphparser: add avfilter_graph_parse2().  
							
							Unlike avfilter_graph_parse(), it returns unlinked inputs and outputs
to the caller, which allows parsing of graphs where inputs/outputs are
not known in advance. 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								7ae7c41413 
								
							
								 
							
						 
						
							
							
								
								vsrc_buffer: allow using a NULL buffer to signal EOF.  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								e36b25d1df 
								
							
								 
							
						 
						
							
							
								
								vf_overlay: implement poll_frame()  
							
							Signal that it can output a frame when there are frames on the main
input and EOF on the overlay input, but a frame is buffered -- e.g.
single picture overlay. 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								90f65dc6cf 
								
							
								 
							
						 
						
							
							
								
								vf_scale: support named constants for sws flags.  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								a03f8ea0a8 
								
							
								 
							
						 
						
							
							
								
								vsrc_buffer: when no frame is available, return an error instead of segfaulting.  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								1f068e4450 
								
							
								 
							
						 
						
							
							
								
								vf_unsharp: Mark readonly variable as const.  
							
							This fixes the following warning:
libavfilter/vf_unsharp.c:106: warning: initialization discards qualifiers from pointer target type 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								95587d29d7 
								
							
								 
							
						 
						
							
							
								
								vsrc_buffer: allow buffering arbitrary number of frames.  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								416fd90ead 
								
							
								 
							
						 
						
							
							
								
								vf_scale: avoid a pointless memcpy in no-op conversion.  
							
							I.e. just pass the buffer along when src parameters == dst parameters. 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								63736fe48c 
								
							
								 
							
						 
						
							
							
								
								avfiltergraph: try to reduce format conversions in filters.  
							
							Current code, with a filterchain such as
(input - yuv411) -> (scale - any) -> (sink - any)
will result in yuv420 being chosen for the second link, which is clearly
not right.
This commit attempts to improve in the following way:
repeat until convergence:
  loop over all filters
    find input link with exactly one format
    force this format on all output links of the same type (if possible) 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								996f9f0c32 
								
							
								 
							
						 
						
							
							
								
								avfiltergraph: add an AVClass to AVFilterGraph on next major bump.  
							
							It will be used for logging, possibly also AVOptions. 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								e7e19b15c7 
								
							
								 
							
						 
						
							
							
								
								build: Only clean the architecture subdirectory we build for.  
							
							This allows simplifying the Makefiles; it is no longer necessary to register
arch subdirectory Makefiles, just putting them in place is enough. 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								b0f29db5c2 
								
							
								 
							
						 
						
							
							
								
								Mark mutable static data const where appropriate.  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								7331b6e718 
								
							
								 
							
						 
						
							
							
								
								Drop some completely unnecessary av_unused attributes.  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								456d3e4fb5 
								
							
								 
							
						 
						
							
							
								
								yadif: specify array size outside DECLARE_ALIGNED  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								0bba26466f 
								
							
								 
							
						 
						
							
							
								
								cosmetics: Delete empty lines at end of file.  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								38d5533228 
								
							
								 
							
						 
						
							
							
								
								pixdesc: mark pseudopaletted formats with a special flag.  
							
							This makes it possible to dintinguish them from PAL8.
Fixes an invalid write in avpicture_layout(). 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								e496c45d9b 
								
							
								 
							
						 
						
							
							
								
								drawtext: add 'fix_bounds' option on coords fixing  
							
							Before, drawtext filter deliberately altered given text coordinates if
text didn't fully fit on the picture. This breaks the use case of
scrolling large text, e.g. movie closing credits.
Add 'fix_bounds', to make it usable in such cases (by setting its value to 0).
Default behavior is not changed, and non-fitting text coords are fixed.
Signed-off-by: Anton Khirnov <anton@khirnov.net> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								2b43dfce36 
								
							
								 
							
						 
						
							
							
								
								drawtext: fix text_{w, h} expression vars  
							
							Before, {text_,}{w,h} vars hadn't got initialized
Signed-off-by: Anton Khirnov <anton@khirnov.net> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								e7f0bc8c0f 
								
							
								 
							
						 
						
							
							
								
								drawtext: add missing braces around an if() block.  
							
							Prevents uninitialized read.
Signed-off-by: Anton Khirnov <anton@khirnov.net> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								7181c4edee 
								
							
								 
							
						 
						
							
							
								
								cosmetics: Remove extra newlines at EOF  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								07a873a277 
								
							
								 
							
						 
						
							
							
								
								build: Automatically include architecture-specific library Makefile snippets.  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								33ad8c3cab 
								
							
								 
							
						 
						
							
							
								
								cosmetics: Remove some unnecessary block braces.  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								e44c11e9fa 
								
							
								 
							
						 
						
							
							
								
								cosmetics: Move static and inline attributes to more standard places.  
							
							Fixes several "‘static’ is not at beginning of declaration" warnings. 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								3167dc9515 
								
							
								 
							
						 
						
							
							
								
								lavfi: move version macros to a new installed header version.h  
							
							
								
							
							
						 
						14 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  
				
					
						
							
							
								 
						
							
							
							
								
							
								079688b6cb 
								
							
								 
							
						 
						
							
							
								
								Disable annoying warning without changing behavior  
							
							Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								d4b63054d9 
								
							
								 
							
						 
						
							
							
								
								cosmetics: Drop unnecessary parentheses around return values.  
							
							
								
							
							
						 
						14 years ago