887db36821 
								
							
								 
							
						 
						
							
							
								
								avfilter/vsrc_mptestsrc: simplify the code and change the type of frame  
							
							Signed-off-by: Limin Wang <lance.lmwang@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc> 
							
						 
						6 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								6079bd5c63 
								
							
								 
							
						 
						
							
							
								
								avfilter/vsrc_mptestsrc: add options to set the maximum number of frames  
							
							Signed-off-by: Limin Wang <lance.lmwang@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc> 
							
						 
						6 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  
				
					
						
							
							
								 
						
							
							
							
								
							
								f2c8b666be 
								
							
								 
							
						 
						
							
							
								
								avfilter: Fix max value of AV_OPT_TYPE_VIDEO_RATE  
							
							Signed-off-by: Michael Niedermayer <michael@niedermayer.cc> 
							
						 
						9 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								21f9468402 
								
							
								 
							
						 
						
							
							
								
								avutil: Rename FF_CEIL_COMPAT to AV_CEIL_COMPAT  
							
							Libav, for some reason, merged this as a public API function. This will
aid in future merges.
A define is left for backwards compat, just in case some person
used it, since it is in a public header.
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com> 
							
						 
						9 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								fa5d299496 
								
							
								 
							
						 
						
							
							
								
								avfilter/vsrc_mptestsrc: use lrint instead of floor hack  
							
							lrint is faster, and is more consistent across the codebase.
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com> 
							
						 
						10 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								74b79dcf51 
								
							
								 
							
						 
						
							
							
								
								avfilter/vsrc_mptestsrc: use hypot()  
							
							Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com> 
							
						 
						10 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								a0854c084e 
								
							
								 
							
						 
						
							
							
								
								avfilter: handle error in query_formats() in bunch of filters  
							
							Signed-off-by: Paul B Mahol <onemda@gmail.com> 
							
						 
						10 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								8a8a1cce6c 
								
							
								 
							
						 
						
							
							
								
								avfilter/vsrc_mptestsrc: Change enum to int, which is accessed via AVOption as int  
							
							This fixes depending on implementation defined behavior
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						10 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								6660c598cd 
								
							
								 
							
						 
						
							
							
								
								avfilter/vsrc_mptestsrc: Use av_clip_uint8()  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						10 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								b211607b5c 
								
							
								 
							
						 
						
							
							
								
								avfilter: various cosmetics  
							
							Signed-off-by: Paul B Mahol <onemda@gmail.com> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								d21e496cf5 
								
							
								 
							
						 
						
							
							
								
								lavfi/mptestsrc: use outlink->frame_count  
							
							Signed-off-by: Paul B Mahol <onemda@gmail.com> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								1fb52bf920 
								
							
								 
							
						 
						
							
							
								
								lavfi/mptestsrc: fix chroma subsampling with odd sizes.  
							
							This makes no difference in practice since w & h are hardcoded to 512. 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								c6a43a7244 
								
							
								 
							
						 
						
							
							
								
								lavfi/mptestsrc: fix invalid access in case of negative linesize  
							
							In particular, fix crash with:
ffplay -f lavfi mptestsrc,vflip 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								e252460c9b 
								
							
								 
							
						 
						
							
							
								
								lavfi/mptestsrc: remove unused size field  
							
							
								
							
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								db84088e99 
								
							
								 
							
						 
						
							
							
								
								lavfi/mptestsrc: use AV_OPT_TYPE_DURATION  
							
							Simplify. 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								bbf003e949 
								
							
								 
							
						 
						
							
							
								
								lavfi/mptestsrc: reindent option constants  
							
							
								
							
							
						 
						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  
				
					
						
							
							
								 
						
							
							
							
								
							
								4ecee69b20 
								
							
								 
							
						 
						
							
							
								
								lavfi/mptestsrc: switch to an AVOptions-based system.  
							
							
								
							
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								ed8373e7db 
								
							
								 
							
						 
						
							
							
								
								lavfi: always check return value of ff_get_{audio,video}_buffer()  
							
							Signed-off-by: Paul B Mahol <onemda@gmail.com> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								62d36abef4 
								
							
								 
							
						 
						
							
							
								
								lavfi/mptestsrc: make use of AV_OPT_TYPE_VIDEO_RATE  
							
							Signed-off-by: Paul B Mahol <onemda@gmail.com> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								bce2e97a16 
								
							
								 
							
						 
						
							
							
								
								lavfi/mptestsrc: raise filter_frame() error.  
							
							
								
							
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								f61369d762 
								
							
								 
							
						 
						
							
							
								
								lavfi/vsrc: switch to ff_filter_frame.  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								a5b765236b 
								
							
								 
							
						 
						
							
							
								
								lavfi: add priv_class for some forgotten filters.  
							
							This allows to print the options available when using commands such as
ffmpeg -help full. 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								8a12c96d27 
								
							
								 
							
						 
						
							
							
								
								lavfi/mptestsrc: add FLAGS to AVOption array.  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								2d9d444051 
								
							
								 
							
						 
						
							
							
								
								lavfi: convert remaining input/output list compound literals to named objects.  
							
							This is following 568c70e79e 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								79393a8363 
								
							
								 
							
						 
						
							
							
								
								Replace usage of the deprecated av_pix_fmt_descriptors array with av_pix_fmt_desc_get  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								cc650cf029 
								
							
								 
							
						 
						
							
							
								
								Remove "Error parsing options string [...]" messages.  
							
							This reduces from 3 to 2 messages for the same syntax error in ffprobe,
and from 4 to 3 in filters. 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								fda968aa8f 
								
							
								 
							
						 
						
							
							
								
								lavfi: decrease logging level of message showing initial parameters  
							
							Reduce log clutter, consistent with 1a49a169eb 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								abb0a9982f 
								
							
								 
							
						 
						
							
							
								
								lavfi: do not pass opaque field to init functions  
							
							Fix signature mismatch warnings. 
							
						 
						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  
				
					
						
							
							
								 
						
							
							
							
								
							
								de05877390 
								
							
								 
							
						 
						
							
							
								
								lavfi: remove redundant checks after av_parse_video_rate()  
							
							Signed-off-by: Paul B Mahol <onemda@gmail.com> 
							
						 
						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  
				
					
						
							
							
								 
						
							
							
							
								
							
								c9e183b490 
								
							
								 
							
						 
						
							
							
								
								lavfi: update some deprecated functions  
							
							Signed-off-by: Paul B Mahol <onemda@gmail.com> 
							
						 
						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  
				
					
						
							
							
								 
						
							
							
							
								
							
								776c89f019 
								
							
								 
							
						 
						
							
							
								
								vsrx_mptestsrc: remove duplicate config_props init.  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						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  
				
					
						
							
							
								 
						
							
							
							
								
							
								539399d4d1 
								
							
								 
							
						 
						
							
							
								
								AVOptions: rename remaining FF_OPT_TYPE_* to AV_OPT_TYPE_*.  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								91492bd1c4 
								
							
								 
							
						 
						
							
							
								
								lavfi: remove usage of deprecated av_opt_set_defaults2() function  
							
							Prefer av_opt_set_defaults() instead. 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								1a5e63f924 
								
							
								 
							
						 
						
							
							
								
								lavfi: port mp test source  
							
							
								
							
							
						 
						14 years ago