c17808cebd 
								
							
								 
							
						 
						
							
							
								
								lavfi: define macro AVFILTER_DEFINE_CLASS  
							
							The macro can be used to define consistently the internal class of a
filter, save some typing and factorize. 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								a46f8915be 
								
							
								 
							
						 
						
							
							
								
								vf_lut: fix handling of odd dimensions  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								54101214d8 
								
							
								 
							
						 
						
							
							
								
								lavfi: use designated initializers for AVClass  
							
							While here:
    - add missing .version and .category,
    - make .class_name consistent across filters,
    - align declarations.
Signed-off-by: Paul B Mahol <onemda@gmail.com> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								803391f719 
								
							
								 
							
						 
						
							
							
								
								lavfi: remove request/poll and drawing functions from public API on next bump  
							
							They are only useful inside filters and we don't allow user filters for
now. 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								b74a1da49d 
								
							
								 
							
						 
						
							
							
								
								lavfi: make formats API private on next bump.  
							
							It is only useful inside filters and we don't allow user filters for
now. 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								0f0f3bd1e0 
								
							
								 
							
						 
						
							
							
								
								lavfi: use av_default_item_name() as filter private context logger  
							
							avfilter_default_filter_name() is supposed to access an AVFilterContext
struct, if used with a private struct it will cause a crash since it will
access fields which are non defined in the private struct. 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								4d6a8a2bdb 
								
							
								 
							
						 
						
							
							
								
								lavfi: add avfilter_default_filter_name()  
							
							The function is modelled after av_default_item_name(), and will print the
name of the instance filter if defined, otherwise the name of the filter.
This allows to show the instance name in the log, which is useful when
debugging complex filter graphs. 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								f3fea5bab1 
								
							
								 
							
						 
						
							
							
								
								lavfi/lut: fix component -> rgba mapping  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								2a793ff2bf 
								
							
								 
							
						 
						
							
							
								
								vf_lut: fix pointer type (const) warning  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								bb39c74b59 
								
							
								 
							
						 
						
							
							
								
								lavfi/lut: remove unused variable  
							
							Fix warning:
libavfilter/vf_lut.c: In function ‘draw_slice’:
libavfilter/vf_lut.c:297:15: warning: unused variable ‘k’ [-Wunused-variable] 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								c0af87550a 
								
							
								 
							
						 
						
							
							
								
								vf_lut: fix rgba map regression  
							
							Fixes Ticket1184
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								38477e1981 
								
							
								 
							
						 
						
							
							
								
								vf_lut: avoid rgb component indexing in the inner loop  
							
							15k->10k cpu cycles
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								002d9ded4a 
								
							
								 
							
						 
						
							
							
								
								vf_lut: optimize rgb codepath  
							
							19k -> 15k cpu cycles
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								79a1d98676 
								
							
								 
							
						 
						
							
							
								
								vf_lut: optimize planar case  
							
							2500 -> 1900 cpu cycles
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								b0f29db5c2 
								
							
								 
							
						 
						
							
							
								
								Mark mutable static data const where appropriate.  
							
							
								
							
							
						 
						13 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  
				
					
						
							
							
								 
						
							
							
							
								
							
								d7e95ccd9f 
								
							
								 
							
						 
						
							
							
								
								Make PIX_FMT format list arrays const.  
							
							Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								d78473334e 
								
							
								 
							
						 
						
							
							
								
								Add const to static arrays where it was forgotten.  
							
							Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								171868e25a 
								
							
								 
							
						 
						
							
							
								
								lavfi: add negate filter  
							
							This filter is a simple wrapper around the LUT filter.
Signed-off-by: Anton Khirnov <anton@khirnov.net> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								8fe0c527f3 
								
							
								 
							
						 
						
							
							
								
								lavfi: add LUT (LookUp Table) generic filters  
							
							Signed-off-by: Anton Khirnov <anton@khirnov.net> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								539399d4d1 
								
							
								 
							
						 
						
							
							
								
								AVOptions: rename remaining FF_OPT_TYPE_* to AV_OPT_TYPE_*.  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								157ff97e3b 
								
							
								 
							
						 
						
							
							
								
								vf_lut: remove mathematical constants now redundant.  
							
							Signed-off-by: Nicolas George <nicolas.george@normalesup.org>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								91492bd1c4 
								
							
								 
							
						 
						
							
							
								
								lavfi: remove usage of deprecated av_opt_set_defaults2() function  
							
							Prefer av_opt_set_defaults() instead. 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								633aa01f72 
								
							
								 
							
						 
						
							
							
								
								libavfilter: fix --enable-small  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								59bd0fef66 
								
							
								 
							
						 
						
							
							
								
								vf_lut: set minimum and maximum alpha value for yuva420p  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								2b550beb22 
								
							
								 
							
						 
						
							
							
								
								vf_lut: add plane validity check in draw_slice()  
							
							The value for inpic->data[plane] with plane >=4 is undefined, and it
will contain in general random data. This change adds a check for
exiting the loop when plane reaches the value 4.
Fix crash (occurring for example with: format=rgba,lut). 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								7464a53aaa 
								
							
								 
							
						 
						
							
							
								
								lavfi: make pix_fmt_is_in() in vf_lut.c an internal function  
							
							Also generalize it, making it accept ints rather than pixel formats.
Allow factorization. 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								cdeb803e2f 
								
							
								 
							
						 
						
							
							
								
								vf_lut: fix draw_slice() in case of non packed image data for packed RGB  
							
							The previous code was erroneously assuming that the linesize was
equivalent to width*pixel_step, which is not always true. 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								fd2c0a5db2 
								
							
								 
							
						 
						
							
							
								
								lavfi: add layout negotiation fields and helper functions.  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								15f03725ce 
								
							
								 
							
						 
						
							
							
								
								lavfi: add negate filter  
							
							This filter is a simple wrapper around the LUT filter. 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								dd2793c880 
								
							
								 
							
						 
						
							
							
								
								lavfi: add LUT (LookUp Table) generic filters  
							
							
								
							
							
						 
						14 years ago