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  
				
					
						
							
							
								 
						
							
							
							
								
							
								1dc4205018 
								
							
								 
							
						 
						
							
							
								
								lavfi: check all avfilter_ref_buffer() calls for errors.  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								80e4ed279b 
								
							
								 
							
						 
						
							
							
								
								vf_select: avoid an unnecessary avfilter_ref_buffer().  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								3825b52688 
								
							
								 
							
						 
						
							
							
								
								lavfi: check all ff_start_frame/draw_slice/end_frame calls for errors  
							
							
								
							
							
						 
						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  
				
					
						
							
							
								 
						
							
							
							
								
							
								3db407038e 
								
							
								 
							
						 
						
							
							
								
								lavfi: use const for AVFilterPad declarations in all filters.  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								07bad27810 
								
							
								 
							
						 
						
							
							
								
								lavfi: unref AVFilterLink.cur_buf in ff_end_frame().  
							
							This reduces code duplication and prevents stale pointers from remaining
on the link. 
							
						 
						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  
				
					
						
							
							
								 
						
							
							
							
								
							
								c9e183b490 
								
							
								 
							
						 
						
							
							
								
								lavfi: update some deprecated functions  
							
							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  
				
					
						
							
							
								 
						
							
							
							
								
							
								44be67595d 
								
							
								 
							
						 
						
							
							
								
								lavfi/select: use exported dsputil_init function.  
							
							This is the deprecated version of the function but it is exported, so it
should fix the shared FATE box. 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								13a7bd70c8 
								
							
								 
							
						 
						
							
							
								
								lavfi/select: 10l: llabs -> fabs after switching types.  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								72868144e5 
								
							
								 
							
						 
						
							
							
								
								lavfi/select: add scene detection.  
							
							Based on the shotdetect algorithm (http://shotdetect.nonutc.fr/  by Johan
MATHE johan.mathe tremplin-utc.net). 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								c04c533f62 
								
							
								 
							
						 
						
							
							
								
								lavfi: remove avfilter_null_* from public API on next bump.  
							
							Those functions are only useful inside filters. It is better to not
support user filters until the API is more stable. 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								b0f29db5c2 
								
							
								 
							
						 
						
							
							
								
								Mark mutable static data const where appropriate.  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								4da45aff28 
								
							
								 
							
						 
						
							
							
								
								cleanup: remove various double end ';' all over the code.  
							
							
								
							
							
						 
						14 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  
				
					
						
							
							
								 
						
							
							
							
								
							
								d78473334e 
								
							
								 
							
						 
						
							
							
								
								Add const to static arrays where it was forgotten.  
							
							Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								1a3fa3ab2c 
								
							
								 
							
						 
						
							
							
								
								vf_select: 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  
				
					
						
							
							
								 
						
							
							
							
								
							
								d763fb7d47 
								
							
								 
							
						 
						
							
							
								
								lavfi: add select filter  
							
							Signed-off-by: Anton Khirnov <anton@khirnov.net> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								fe3cad0e9e 
								
							
								 
							
						 
						
							
							
								
								vf_select: reindent after the previous commit  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								30ea0e47b5 
								
							
								 
							
						 
						
							
							
								
								vf_select: add NULL-checks in uninit  
							
							Fix NULL pointer dereference in case of failed initialization.
Signed-off-by: Stefano Sabatini <stefano.sabatini-lala@poste.it> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								43fab7aafc 
								
							
								 
							
						 
						
							
							
								
								vf_select: check for isnan when setting t from pts  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								298fccad21 
								
							
								 
							
						 
						
							
							
								
								vf_select: set start_t if undefined  
							
							Previously start_t was never set.
Signed-off-by: Stefano Sabatini <stefano.sabatini-lala@poste.it> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								07586b68a8 
								
							
								 
							
						 
						
							
							
								
								lavfi: add select filter  
							
							Address trac issue #92 . 
							
						 
						14 years ago