cd43ca0443 
								
							
								 
							
						 
						
							
							
								
								lavfi: do not export the filters from shared objects  
							
							
								
							
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								b211607b5c 
								
							
								 
							
						 
						
							
							
								
								avfilter: various cosmetics  
							
							Signed-off-by: Paul B Mahol <onemda@gmail.com> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								faa8245bd4 
								
							
								 
							
						 
						
							
							
								
								vf_lut: Constantize  
							
							The pixel format tables are never modified, mark them as constant.
Signed-off-by: Diego Elio Pettenò <flameeyes@flameeyes.eu>
Signed-off-by: Luca Barbato <lu_zero@gentoo.org> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								e43a0a232d 
								
							
								 
							
						 
						
							
							
								
								avfilter: fix plane validity checks  
							
							Fixes out of array accesses
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								b06848f4de 
								
							
								 
							
						 
						
							
							
								
								vf_lut: make config_props work properly when called multiple times.  
							
							Do not leak the expressions. 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								8d2565c28b 
								
							
								 
							
						 
						
							
							
								
								vf_lut: use the name 's' for the pointer to the private context  
							
							This is shorter and consistent across filters. 
							
						 
						12 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  
				
					
						
							
							
								 
						
							
							
							
								
							
								59d33eafd1 
								
							
								 
							
						 
						
							
							
								
								lavfi/lut: use FF_CEIL_RSHIFT for chroma w/h rounding.  
							
							
								
							
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								94ff68ccb3 
								
							
								 
							
						 
						
							
							
								
								lavfi/lut: add support for YUVA422P and YUVA444P  
							
							Signed-off-by: Paul B Mahol <onemda@gmail.com> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								093804a93c 
								
							
								 
							
						 
						
							
							
								
								avfilter: Add av_cold attributes to init/uninit functions  
							
							
								
							
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								785eb5fc57 
								
							
								 
							
						 
						
							
							
								
								lavfi/negate: unbreak negate alpha  
							
							Signed-off-by: Paul B Mahol <onemda@gmail.com> 
							
						 
						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  
				
					
						
							
							
								 
						
							
							
							
								
							
								45741dd81f 
								
							
								 
							
						 
						
							
							
								
								vf_lut: fix simplification / off by 1 error  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								4c6fa4ef45 
								
							
								 
							
						 
						
							
							
								
								lavfi/lut: simplify nested component stepping.  
							
							
								
							
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								45f5bf917b 
								
							
								 
							
						 
						
							
							
								
								lavfi/lut: reindent after previous commit.  
							
							
								
							
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								3db3b278f2 
								
							
								 
							
						 
						
							
							
								
								lavfi/lut: add direct path.  
							
							
								
							
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								977ee8afd6 
								
							
								 
							
						 
						
							
							
								
								lavfi/negate: stop calling lut_init() as that function does nothing now  
							
							Signed-off-by: Paul B Mahol <onemda@gmail.com> 
							
						 
						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  
				
					
						
							
							
								 
						
							
							
							
								
							
								c43a7ecad9 
								
							
								 
							
						 
						
							
							
								
								lavfi: remove now unused args parameter from AVFilter.init  
							
							
								
							
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								20b46f8f4f 
								
							
								 
							
						 
						
							
							
								
								vf_lut: 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  
				
					
						
							
							
								 
						
							
							
							
								
							
								21c2e201f6 
								
							
								 
							
						 
						
							
							
								
								vf_lut: correct color/comp permutation  
							
							Fixes Ticket2225
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								ba1cbf40ce 
								
							
								 
							
						 
						
							
							
								
								lavfi/lut: use ff_fill_rgba_map()  
							
							Signed-off-by: Paul B Mahol <onemda@gmail.com> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								bff576c779 
								
							
								 
							
						 
						
							
							
								
								vf_lut: switch to filter_frame  
							
							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  
				
					
						
							
							
								 
						
							
							
							
								
							
								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  
				
					
						
							
							
								 
						
							
							
							
								
							
								235f74db59 
								
							
								 
							
						 
						
							
							
								
								Rename missed cases of FF_OPT_TYPE_* to AV_OPT_TYPE_*  
							
							Signed-off-by: Martin Storsjö <martin@martin.st> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								42d621d131 
								
							
								 
							
						 
						
							
							
								
								lavfi: add priv class to filter definitions and flags to filter internal options  
							
							This allows the iteration callbacks to discover the internal class and
options, and show them when required. 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								a77436abad 
								
							
								 
							
						 
						
							
							
								
								lavfi/lut: duplicate class definitions for each lut variant filter  
							
							This is due to the design of components iteration through AVClass
child_class_next() callback, which requires that two components cannot
share the same class. 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								1d9c2dc89a 
								
							
								 
							
						 
						
							
							
								
								Don't include common.h from avutil.h  
							
							Signed-off-by: Martin Storsjö <martin@martin.st> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								e9b992d035 
								
							
								 
							
						 
						
							
							
								
								lavfi: add error handling to draw_slice().  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								3db407038e 
								
							
								 
							
						 
						
							
							
								
								lavfi: use const for AVFilterPad declarations in all filters.  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								a5e8c41c28 
								
							
								 
							
						 
						
							
							
								
								lavfi: remove 'opaque' parameter from AVFilter.init()  
							
							It is not used in any filters currently and is inherently evil. If
passing binary data to filters is required in the future, it should be
done with some AVOptions-based system. 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								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