e3fb74f7f9 
								
							
								 
							
						 
						
							
							
								
								lavfi: Always propagate hw_frames_ctx through links  
							
							Also adds a new flag to mark filters which are aware of hwframes and
will perform this task themselves, and marks all appropriate filters
with this flag.
This is required to allow software-mapped hardware frames to work,
because we need to have the frames context available for any later
mapping operation in the filter graph.
The output from the filter graph should only propagate further to an
encoder if the hardware format actually matches the visible format
(mapped frames are valid here and have an hw_frames_ctx, but this
should not be given to the encoder as its hardware context). 
							
						 
						9 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								41ed7ab45f 
								
							
								 
							
						 
						
							
							
								
								cosmetics: Fix spelling mistakes  
							
							Signed-off-by: Diego Biurrun <diego@biurrun.de> 
							
						 
						9 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								07a844f32e 
								
							
								 
							
						 
						
							
							
								
								lavfi: generic hardware surface upload and download filters  
							
							Signed-off-by: Anton Khirnov <anton@khirnov.net> 
							
						 
						9 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								b3dd30db0b 
								
							
								 
							
						 
						
							
							
								
								lavfi: pass the hw frames context through the filter chain  
							
							
								
							
							
						 
						9 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								48ff6683ba 
								
							
								 
							
						 
						
							
							
								
								lavfi: add a frame_rate field to AVFilterLink.  
							
							(cherry picked from ffmpeg commit 7b42036b3b 
							
						 
						10 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								f6974fe651 
								
							
								 
							
						 
						
							
							
								
								lavfi: Drop deprecated AVFilterBuffer* code  
							
							Deprecated in 11/2012. 
							
						 
						10 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								e65e4cbbda 
								
							
								 
							
						 
						
							
							
								
								lavfi: Drop deprecated *_count suffixed variables  
							
							Deprecated in 06/2012. 
							
						 
						10 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								86e5056575 
								
							
								 
							
						 
						
							
							
								
								lavfi: Drop deprecated public AVFilterPad struct  
							
							Deprecated in 06/2012. 
							
						 
						10 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								7046bd9bc9 
								
							
								 
							
						 
						
							
							
								
								lavfi: Move avcodec header to the only filter needing it  
							
							af_ashowinfo, due to the enum AVAudioServiceType use. 
							
						 
						10 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								cfe6461392 
								
							
								 
							
						 
						
							
							
								
								avfilter: Document avfilter_graph_alloc return value  
							
							Signed-off-by: Luca Barbato <lu_zero@gentoo.org> 
							
						 
						10 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								d44bd7fb27 
								
							
								 
							
						 
						
							
							
								
								avfilter: add documentation for needs_writable  
							
							
								
							
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								5c439b41d0 
								
							
								 
							
						 
						
							
							
								
								avfilter: have avfilter_get_by_name return const for next bump  
							
							Signed-off-by: Anton Khirnov <anton@khirnov.net> 
							
						 
						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  
				
					
						
							
							
								 
						
							
							
							
								
							
								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  
				
					
						
							
							
								 
						
							
							
							
								
							
								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  
				
					
						
							
							
								 
						
							
							
							
								
							
								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  
				
					
						
							
							
								 
						
							
							
							
								
							
								716d413c13 
								
							
								 
							
						 
						
							
							
								
								Replace PIX_FMT_* -> AV_PIX_FMT_*, PixelFormat -> AVPixelFormat  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								d4f89906e3 
								
							
								 
							
						 
						
							
							
								
								lavfi: add error handling to end_frame().  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								e9b992d035 
								
							
								 
							
						 
						
							
							
								
								lavfi: add error handling to draw_slice().  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								ebc8d97481 
								
							
								 
							
						 
						
							
							
								
								lavfi: add error handling to start_frame().  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								b70d89a033 
								
							
								 
							
						 
						
							
							
								
								lavfi: add avfilter_unref_bufferp()  
							
							Signed-off-by: Anton Khirnov <anton@khirnov.net> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								cd99146253 
								
							
								 
							
						 
						
							
							
								
								lavfi: add error handling to filter_samples().  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								83ba22392d 
								
							
								 
							
						 
						
							
							
								
								lavfi: reorder AVFilterLink fields.  
							
							Move private fields to the private section, remove holes. 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								f892013ac4 
								
							
								 
							
						 
						
							
							
								
								lavfi: reorder AVFilterContext fields.  
							
							Place related fields together, remove holes. 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								9618080512 
								
							
								 
							
						 
						
							
							
								
								lavfi: reorder AVFilter fields.  
							
							Place related fields together, remove holes, move private fields to the
end and mark them as private. 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								f14e685609 
								
							
								 
							
						 
						
							
							
								
								lavfi: reorder AVFilterBufferRef fields.  
							
							Place related fields together, remove holes. 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								cb81e29138 
								
							
								 
							
						 
						
							
							
								
								lavfi: reorder AVFilterBuffer fields.  
							
							Place related fields together, remove holes. 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								1961e46c15 
								
							
								 
							
						 
						
							
							
								
								lavfi: remove disabled FF_API_FILTERS_PUBLIC cruft  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								5e88b96f37 
								
							
								 
							
						 
						
							
							
								
								lavfi: remove disabled FF_API_DEFAULT_CONFIG_OUTPUT_LINK cruft  
							
							
								
							
							
						 
						13 years ago