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  
				
					
						
							
							
								 
						
							
							
							
								
							
								5b63b15663 
								
							
								 
							
						 
						
							
							
								
								lavfi: set the link hwframes context before configuring the dst input  
							
							The destination filter might expect the hw frames context to be already
set (this is the case e.g. for hwdownload). 
							
						 
						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  
				
					
						
							
							
								 
						
							
							
							
								
							
								e65e4cbbda 
								
							
								 
							
						 
						
							
							
								
								lavfi: Drop deprecated *_count suffixed variables  
							
							Deprecated in 06/2012. 
							
						 
						10 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								1a3eb042c7 
								
							
								 
							
						 
						
							
							
								
								Replace av_dlog with normal av_log at trace level  
							
							This applies to every library where performance is not critical. 
							
						 
						10 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								88b160a457 
								
							
								 
							
						 
						
							
							
								
								avfilter: Return more meaningful error codes  
							
							Signed-off-by: Diego Biurrun <diego@biurrun.de> 
							
						 
						10 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								ac84c1ce24 
								
							
								 
							
						 
						
							
							
								
								avfilter: check filter link validity  
							
							Remove now redundant check.
CC: libav-stable@libav.org 
Bug-Id: CID 700371 
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								bba2a7cc5f 
								
							
								 
							
						 
						
							
							
								
								lavfi: use the correct filter context for logging an error.  
							
							
								
							
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								abb5e37f64 
								
							
								 
							
						 
						
							
							
								
								avfilter: fix leaks on error in ff_filter_frame  
							
							
								
							
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								884c7a6eb8 
								
							
								 
							
						 
						
							
							
								
								avfilter: fix const use of avfilter_next  
							
							Signed-off-by: Anton Khirnov <anton@khirnov.net> 
							
						 
						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  
				
					
						
							
							
								 
						
							
							
							
								
							
								7950e519bb 
								
							
								 
							
						 
						
							
							
								
								Disable deprecation warnings for cases where a replacement is available  
							
							
								
							
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								b5a138652f 
								
							
								 
							
						 
						
							
							
								
								Give less generic names to global library option arrays  
							
							
								
							
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								129bb23843 
								
							
								 
							
						 
						
							
							
								
								lavfi: add a slice threading infrastructure  
							
							Mostly based on libavcodec's 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								7e2b15c094 
								
							
								 
							
						 
						
							
							
								
								avfilter: check a malloc in avfilter_link().  
							
							Additionally change sizeof(type) into sizeof(var) 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								bf5b5d2b15 
								
							
								 
							
						 
						
							
							
								
								avfilter.c: cosmetics, reformat  
							
							
								
							
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								d79bd60405 
								
							
								 
							
						 
						
							
							
								
								lavfi: factorize freeing a link  
							
							
								
							
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								2832ea26f3 
								
							
								 
							
						 
						
							
							
								
								Remove commented-out debug #define cruft  
							
							
								
							
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								ffba2053ed 
								
							
								 
							
						 
						
							
							
								
								lavfi: fix compatibility code for old vf_scale options syntax  
							
							Currently it would incorrectly trigger on a string that contains a '='
but does not contain a ':', e.g. flags=<flags>. 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								f160c6a18a 
								
							
								 
							
						 
						
							
							
								
								lavfi: do not segfault on NULL passed to avfilter_get_by_name()  
							
							
								
							
							
						 
						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  
				
					
						
							
							
								 
						
							
							
							
								
							
								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  
				
					
						
							
							
								 
						
							
							
							
								
							
								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  
				
					
						
							
							
								 
						
							
							
							
								
							
								4a37d4b3f8 
								
							
								 
							
						 
						
							
							
								
								lavfi: add const to the pads parameter of avfilter_pad_get_name/type  
							
							
								
							
							
						 
						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  
				
					
						
							
							
								 
						
							
							
							
								
							
								4d1f31ea44 
								
							
								 
							
						 
						
							
							
								
								lavfi: make AVFilterContext export filter options.  
							
							
								
							
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								62549f9655 
								
							
								 
							
						 
						
							
							
								
								lavfi: error out when options are provided to a filter that does not take any  
							
							
								
							
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								c43a7ecad9 
								
							
								 
							
						 
						
							
							
								
								lavfi: remove now unused args parameter from AVFilter.init  
							
							
								
							
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								ee0e8d4b15 
								
							
								 
							
						 
						
							
							
								
								vf_libopencv: switch to an AVOptions-based system.  
							
							
								
							
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								c334c113d4 
								
							
								 
							
						 
						
							
							
								
								vf_scale: switch to an AVOptions-based system.  
							
							
								
							
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								5aa1a668cf 
								
							
								 
							
						 
						
							
							
								
								vf_frei0r: switch to an AVOptions-based system.  
							
							
								
							
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								e67a87eac8 
								
							
								 
							
						 
						
							
							
								
								vf_(no)format: switch to an AVOptions-based system.  
							
							
								
							
							
						 
						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  
				
					
						
							
							
								 
						
							
							
							
								
							
								556aab8f11 
								
							
								 
							
						 
						
							
							
								
								lavfi: use designated initializers in avfilter_class  
							
							
								
							
							
						 
						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  
				
					
						
							
							
								 
						
							
							
							
								
							
								716d413c13 
								
							
								 
							
						 
						
							
							
								
								Replace PIX_FMT_* -> AV_PIX_FMT_*, PixelFormat -> AVPixelFormat  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								1fce361d70 
								
							
								 
							
						 
						
							
							
								
								lavfi: replace empty input/output lists with null pointers  
							
							Signed-off-by: Mans Rullgard <mans@mansr.com> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								1d9c2dc89a 
								
							
								 
							
						 
						
							
							
								
								Don't include common.h from avutil.h  
							
							Signed-off-by: Martin Storsjö <martin@martin.st> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								49c45a2624 
								
							
								 
							
						 
						
							
							
								
								avfilter: Fix printf format string conversion specifier  
							
							libavfilter/avfilter.c:224:9: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 5 has type ‘int’ [-Wformat] 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								1a49a169eb 
								
							
								 
							
						 
						
							
							
								
								lavfi: make filters less verbose.  
							
							
								
							
							
						 
						13 years ago