d5ec8ba7f2 
								
							
								 
							
						 
						
							
							
								
								Do not leave positive values undefined when negative are defined as error  
							
							Define positive return values as non errors and leave further meaning undefined
This allows future extensions to use these values
Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								0767bfd199 
								
							
								 
							
						 
						
							
							
								
								lavfi: allow user-provided execute() callbacks  
							
							
								
							
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								77cc958f60 
								
							
								 
							
						 
						
							
							
								
								lavfi: add const to the AVFilter parameter of avfilter_graph_create_filter()  
							
							This function should never modify the filter. 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								bf4b0ed1d5 
								
							
								 
							
						 
						
							
							
								
								Add missing deprecation attributes  
							
							
								
							
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								122536e01a 
								
							
								 
							
						 
						
							
							
								
								avfilter: fix preprocessor condition  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								838bd73139 
								
							
								 
							
						 
						
							
							
								
								lavfi: create Libav-API compatibility layer for avfilter_graph_parse() at the next bump  
							
							Add function avfilter_graph_parse_ptr() and favor it in place of
avfilter_graph_parse(), which will be restored with the old/Libav
signature at the next bump.
If HAVE_INCOMPATIBLE_LIBAV_API is enabled it will use the
Libav-compatible signature for avfilter_graph_parse().
At the next major bump the current implementation of
avfilter_graph_parse() should be dropped in favor of the Libav/old
implementation.
Should address trac ticket #2672 . 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								8b7dffc2d6 
								
							
								 
							
						 
						
							
							
								
								lavfi doxy: improve/extend AVFilter doxy.  
							
							
								
							
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								129bb23843 
								
							
								 
							
						 
						
							
							
								
								lavfi: add a slice threading infrastructure  
							
							Mostly based on libavcodec's 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								bc8c1cdc7b 
								
							
								 
							
						 
						
							
							
								
								lavfi doxy: add a page for lavfi.  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								1776177b7f 
								
							
								 
							
						 
						
							
							
								
								lavfi: replace passthrough_filter_frame with a flag.  
							
							With the introduction of AVFilterContext->is_disabled, we can simplify
the custom passthrough mode in filters.
This commit is technically a small compat break, but the timeline was
introduced very recently.
Doxy by Stefano Sabatini. 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								e1332ff324 
								
							
								 
							
						 
						
							
							
								
								lavfi/avfilter.h: fix typo  
							
							
								
							
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								df9f9caba5 
								
							
								 
							
						 
						
							
							
								
								avfilter: Make enabled/disabled state available as a field of the AVFilterContext  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								fdd93eabfb 
								
							
								 
							
						 
						
							
							
								
								lavfi: add timeline support.  
							
							Flag added in a few simple filters. A bunch of other filters can likely
use the feature as well. 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								b8a5c76131 
								
							
								 
							
						 
						
							
							
								
								lavfi: add frame counter into AVFilterLink and use it in filters.  
							
							
								
							
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								dcea58502c 
								
							
								 
							
						 
						
							
							
								
								lavfi: drop now unused shorthand field from AVFilter.  
							
							
								
							
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								fd6228e657 
								
							
								 
							
						 
						
							
							
								
								lavfi: remove now unused args parameter from AVFilter.init and init_opaque  
							
							This is mostly automated global search and replace
The deprecated aconvert filter is disabled, if it still has users
it should be updated
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						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  
				
					
						
							
							
								 
						
							
							
							
								
							
								fa2a34cd40 
								
							
								 
							
						 
						
							
							
								
								lavfi: change the filter registering system to match the other libraries  
							
							Removes an arbitrary hardcoded limit on the number of filters. 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								7e8fe4be5f 
								
							
								 
							
						 
						
							
							
								
								lavfi: add a function for counting elements in AVFilterPad arrays.  
							
							The caller needs to know what valid indices can be passed to
avfilter_pad_get_name/type. 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								7cdd737ba8 
								
							
								 
							
						 
						
							
							
								
								lavfi: mark filters with dynamic number of inputs or outputs with special flags  
							
							This will be useful in avtools in the following commits.
Any other caller might also want to know this information. 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								1ba95a9cca 
								
							
								 
							
						 
						
							
							
								
								lavfi: add avfilter_init_dict() for initializing a filter with a dict.  
							
							
								
							
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								48a5adab62 
								
							
								 
							
						 
						
							
							
								
								lavfi: add avfilter_init_str() to replace avfilter_init_filter().  
							
							Drop the unused opaque parameter from its signature. 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								1565cbc65c 
								
							
								 
							
						 
						
							
							
								
								lavfi: make avfilter_free() remove the filter from its graph.  
							
							
								
							
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								111367263a 
								
							
								 
							
						 
						
							
							
								
								lavfi: add AVFilterContext.graph.  
							
							It will be useful in the following commits. 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								c2c9801bc9 
								
							
								 
							
						 
						
							
							
								
								lavfi: deprecate avfilter_graph_add_filter().  
							
							Since this function adds a standalone filter to a filter graph and we do
not support creating such filters, there is no reason for this function
to exist. 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								bc1a985ba0 
								
							
								 
							
						 
						
							
							
								
								lavfi: replace avfilter_open() with avfilter_graph_alloc_filter().  
							
							Since we do not support "standalone" filters not attached to an
AVFilterGraph, we should not have a public function to create such
filters. In addition that function is horribly named, the action it does
cannot be possibly described as "opening" a filter. 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								38f0c0781a 
								
							
								 
							
						 
						
							
							
								
								lavfi: merge avfiltergraph.h into avfilter.h  
							
							We do not support using filters without AVFilterGraph in practice
anyway, so there is no point in pretending we do. 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								4a37d4b3f8 
								
							
								 
							
						 
						
							
							
								
								lavfi: add const to the pads parameter of avfilter_pad_get_name/type  
							
							
								
							
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								91d2efa7d6 
								
							
								 
							
						 
						
							
							
								
								lavfi: add const to AVFilterContext.filter.  
							
							lavfi should never modify the filter through that pointer. 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								8114c10160 
								
							
								 
							
						 
						
							
							
								
								lavfi: add avfilter_get_class().  
							
							Useful for examining options, the same as the corresponding functions
for the other libs. 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								c43a7ecad9 
								
							
								 
							
						 
						
							
							
								
								lavfi: remove now unused args parameter from AVFilter.init  
							
							
								
							
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								4fa1f52e33 
								
							
								 
							
						 
						
							
							
								
								af_resample: switch to an AVOptions-based system.  
							
							
								
							
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								b439c992c2 
								
							
								 
							
						 
						
							
							
								
								lavfi: switch to an AVOptions-based system.  
							
							
								
							
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								79d8cfacf0 
								
							
								 
							
						 
						
							
							
								
								lavfi: loop on request_frame if necessary.  
							
							Some filters need several input frames before producing output.
For these filter, it becomes simpler to return 0 in
request_frame() and let the framework call it again until
output has been produced. 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								befbcc374d 
								
							
								 
							
						 
						
							
							
								
								lavfi: add common code to handle 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  
				
					
						
							
							
								 
						
							
							
							
								
							
								aaf59766b9 
								
							
								 
							
						 
						
							
							
								
								lavfi/avfilter: remove now unused {src,cur,out}_buf.  
							
							This was supposed to be removed in 565e4993, but it was delayed due to
the port of the remaining filters. These buffer ref pointers are not
used anymore, thus dropped. 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								2eb2e1798e 
								
							
								 
							
						 
						
							
							
								
								lavfi: add avfilter_get_audio_buffer_ref_from_arrays_channels.  
							
							It is the same as avfilter_get_audio_buffer_ref_from_arrays
except it has a "channels" and the channel layout can be 0. 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								34de47aa35 
								
							
								 
							
						 
						
							
							
								
								lavfi: add an accessor for ref->audio->channels.  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								238edd2fe3 
								
							
								 
							
						 
						
							
							
								
								lavfi: add a channels field to AVFilterLink.  
							
							Also: fix af_pan and af_aresample, that forgot to update
audio->channels. 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								8f44170d30 
								
							
								 
							
						 
						
							
							
								
								lavfi/avfilter.h: clarify doxy for AVFilterLink.out_buf  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								18d9398143 
								
							
								 
							
						 
						
							
							
								
								doxy: add ref for lavfi, lpp and lsws.  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								9178235ffb 
								
							
								 
							
						 
						
							
							
								
								avfilter: mark start_frame/end_frame/draw_slice as deprecated  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								8227a0b7df 
								
							
								 
							
						 
						
							
							
								
								libavfilter: update doxy for filter_frame  
							
							Based on patch by Anton Khirnov
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  
				
					
						
							
							
								 
						
							
							
							
								
							
								7945665200 
								
							
								 
							
						 
						
							
							
								
								lavfi: store and propagate number of channels information in audio buffer properties  
							
							The channels field is required since the channel layout is not always
available. 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								a903f8f087 
								
							
								 
							
						 
						
							
							
								
								Include libavutil/channel_layout.h instead of libavutil/audioconvert.h  
							
							Also reorder some other #include when applicable. 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								54a48d2f04 
								
							
								 
							
						 
						
							
							
								
								lavfi: fix references to avfilter_* functions that don't exist anymore.  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								95d07f33dc 
								
							
								 
							
						 
						
							
							
								
								libavfilter: include needed header for AVDictionary  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago