01b986cf18 
								
							
								 
							
						 
						
							
							
								
								avfilter/f_select: check ff_insert_outpad() for failure  
							
							Signed-off-by: Paul B Mahol <onemda@gmail.com> 
							
						 
						8 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								6af050d7d0 
								
							
								 
							
						 
						
							
							
								
								avfilter: do not use AVFrame accessor  
							
							Reviewed-by: wm4 <nfxjfg@googlemail.com>
Signed-off-by: Muhammad Faiz <mfcc64@gmail.com> 
							
						 
						8 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								183ce55b0d 
								
							
								 
							
						 
						
							
							
								
								lavfi: split frame_count between input and output.  
							
							AVFilterLink.frame_count is supposed to count the number of frames
that were passed on the link, but with min_samples, that number is
not always the same for the source and destination filters.
With the addition of a FIFO on the link, the difference will become
more significant.
Split the variable in two: frame_count_in counts the number of
frames that entered the link, frame_count_out counts the number
of frames that were sent to the destination filter. 
							
						 
						9 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								839eb1c77d 
								
							
								 
							
						 
						
							
							
								
								lavfi/select: add support for concatdec_select option  
							
							This option can be used to select useful frames from an ffconcat file which is
using inpoints and outpoints but where the source files are not intra frame
only.
Reviewed-by: Stefano Sabatini <stefasab@gmail.com>
Signed-off-by: Marton Balint <cus@passwd.hu> 
							
						 
						10 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								ca540fbdb4 
								
							
								 
							
						 
						
							
							
								
								lavfi/vf_select: remove looping on request_frame().  
							
							
								
							
							
						 
						10 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								fd682b1892 
								
							
								 
							
						 
						
							
							
								
								avfilter: handle error in query_formats() of a bunch of random video filters  
							
							
								
							
							
						 
						10 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								37bfeca78c 
								
							
								 
							
						 
						
							
							
								
								avfilter/select: larger pixel sad computation  
							
							
								
							
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								10d96d8d66 
								
							
								 
							
						 
						
							
							
								
								avfilter/select: re-align a few comments  
							
							
								
							
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								97478ef5fe 
								
							
								 
							
						 
						
							
							
								
								avfilter/select: fix "t" eval variable comment  
							
							
								
							
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								eaeb61c3a6 
								
							
								 
							
						 
						
							
							
								
								avfilter/select: remove optional avcodec dependency  
							
							
								
							
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								6f622e5fcb 
								
							
								 
							
						 
						
							
							
								
								avfilter/f_select: avoid double->int in debug output  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								bcbfb95b0e 
								
							
								 
							
						 
						
							
							
								
								avfilter/f_select: Set var_values[VAR_KEY] correctly  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								887d8d293f 
								
							
								 
							
						 
						
							
							
								
								avfilter/f_select: avoid using doubles for equals checks and casts to enums  
							
							This might silence some warnings.
Issue found from: a8d803a320 
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								c0a586d9d5 
								
							
								 
							
						 
						
							
							
								
								reintroduce avpriv_dsputil_init() to maintain ABI until next soname bump  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								6bd1741231 
								
							
								 
							
						 
						
							
							
								
								avfilter/f_select: fix incompatible pointer type warning  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								5a8ef3c66b 
								
							
								 
							
						 
						
							
							
								
								avfilter/f_select: fix loss of precission in SAD calculation  
							
							Fixes part of Ticket3466
Found-by: Andrey_Karpov / PVS-Studio
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								b211607b5c 
								
							
								 
							
						 
						
							
							
								
								avfilter: various cosmetics  
							
							Signed-off-by: Paul B Mahol <onemda@gmail.com> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								b077d8d908 
								
							
								 
							
						 
						
							
							
								
								avfilter: remove redundant .get_(audio/video)_buffer initializations  
							
							Signed-off-by: Paul B Mahol <onemda@gmail.com> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								91cae60ecb 
								
							
								 
							
						 
						
							
							
								
								lavfi/select: unbreak compatibility with older PICT_TYPE syntax  
							
							Signed-off-by: Paul B Mahol <onemda@gmail.com> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								4868855b13 
								
							
								 
							
						 
						
							
							
								
								lavfi/select: set forgotten VAR_PICT_TYPE_BI  
							
							Signed-off-by: Paul B Mahol <onemda@gmail.com> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								b8a5c76131 
								
							
								 
							
						 
						
							
							
								
								lavfi: add frame counter into AVFilterLink and use it in filters.  
							
							
								
							
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								8bfd878151 
								
							
								 
							
						 
						
							
							
								
								lavfi/select: factorize options definition between select and aselect  
							
							
								
							
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								dcc1b32361 
								
							
								 
							
						 
						
							
							
								
								lavfi/select: add support for dynamic number of outputs  
							
							
								
							
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								565c50ac7b 
								
							
								 
							
						 
						
							
							
								
								lavfi/select: make select_frame() return void  
							
							Set select->select internally to the function, avoid lossy double->int
conversion causing spurious frame drop (e.g. in case the evaluation
result is positive and less than 1). 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								1e3104cd3c 
								
							
								 
							
						 
						
							
							
								
								Add avpriv_dsputil_init() and use it in lavfi where relevant.  
							
							dsputil_init() is deprecated and not meant to be exported.
ff_dsputil_init() is internal to libavcodec and thus can not be used.
avpriv_dsputil_init() is the version shared between libraries.
This commit fixes 3 unjustified libavfilter deprecated warnings. 
							
						 
						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  
				
					
						
							
							
								 
						
							
							
							
								
							
								865e20daf3 
								
							
								 
							
						 
						
							
							
								
								avfilter/f_select: use AVFrame metadata accessor function  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								cb2327e88d 
								
							
								 
							
						 
						
							
							
								
								lavfi/aselect: switch to an AVOptions-based system.  
							
							
								
							
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								8b994c8c1c 
								
							
								 
							
						 
						
							
							
								
								lavfi/select: use standard options parsing.  
							
							
								
							
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								96e4b00d62 
								
							
								 
							
						 
						
							
							
								
								lavfi: remove remaining forgotten min/rej perms.  
							
							
								
							
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								c0a4871c16 
								
							
								 
							
						 
						
							
							
								
								lavfi/select: correctly set prev_t and prev_pts  
							
							In particular, fix trac ticket #2248 . 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								872855e2a5 
								
							
								 
							
						 
						
							
							
								
								lavfi/select: avoid double -> int lossy conversion in debug log  
							
							
								
							
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								174c483e2e 
								
							
								 
							
						 
						
							
							
								
								lavfi/select: fix compilation with avcodec disabled.  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								43912625e0 
								
							
								 
							
						 
						
							
							
								
								lavfi/select: assign NAN to ignored values  
							
							Also log scene value. Improve debugging. 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								6ba1f28008 
								
							
								 
							
						 
						
							
							
								
								lavfi/select: add support to options  
							
							Add options introspection, and improve error feedback. 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								c214cd18e2 
								
							
								 
							
						 
						
							
							
								
								lavfi/select: in select_frame(), rename picref -> ref  
							
							The variable is now used also for audio frames. 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								c51f090ff9 
								
							
								 
							
						 
						
							
							
								
								lavfi: mv vf_select.c -> f_select.c  
							
							The file now contains also an audio select implementation. Also move the
aselect/select documentation from video filters to the multimedia filters
section. 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								f5461face5 
								
							
								 
							
						 
						
							
							
								
								lavfi: add aselect audio variant of select  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								64c5fbd7de 
								
							
								 
							
						 
						
							
							
								
								lavfi/select: remove deprecated and unused poll_frame() callback  
							
							Simplify. 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								2c3b665379 
								
							
								 
							
						 
						
							
							
								
								vf_select: switch to filter_frame  
							
							The new code reads the input frame when its ready, the previous
code did read the input frame during start_frame at which point it
may not yet be available.
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  
				
					
						
							
							
								 
						
							
							
							
								
							
								de23953de2 
								
							
								 
							
						 
						
							
							
								
								lavfi/select: store scene score in buf ref metadata.  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								096d96ffda 
								
							
								 
							
						 
						
							
							
								
								lavfi/select/scene: use pointer increments instead of y*linesize.  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								0852648301 
								
							
								 
							
						 
						
							
							
								
								lavfi/select/scene: fix potential overread.  
							
							Also make sure we use the actual width of the image and not the whole
linesize. 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								dff826b4a8 
								
							
								 
							
						 
						
							
							
								
								lavfi/select/scene: move out convoluted sad variable init from loop.  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								568c70e79e 
								
							
								 
							
						 
						
							
							
								
								lavfi: convert input/ouput list compound literals to named objects  
							
							A number of compilers, for example those from TI and IBM, choke on
these initialisers.  The current style is also quite ugly.
Signed-off-by: Mans Rullgard <mans@mansr.com> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								2f39d7ff3f 
								
							
								 
							
						 
						
							
							
								
								lavfi/select: make lavc dependency optional.  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								b89c16e73e 
								
							
								 
							
						 
						
							
							
								
								lavfi/select: make sure avctx is set before closing it.  
							
							This avoid a crash when the filter fails before config_input(),
typically with a syntax error in the next filter:
    select=gt(scene\,.4),select=fail 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								469d07a0e4 
								
							
								 
							
						 
						
							
							
								
								vf_select: require AV_PERM_PRESERVE.  
							
							This is only necessary because of the poll_frame implementation.
Removing it altogether would be another solution. 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								1d9c2dc89a 
								
							
								 
							
						 
						
							
							
								
								Don't include common.h from avutil.h  
							
							Signed-off-by: Martin Storsjö <martin@martin.st> 
							
						 
						13 years ago