3d9fc5c6ad 
								
							
								 
							
						 
						
							
							
								
								avfilter/vf_aspect: remove dupe constants setup  
							
							Signed-off-by: Paul B Mahol <onemda@gmail.com> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								34a0ac41a8 
								
							
								 
							
						 
						
							
							
								
								vf_aspect: support variables in evaluating the aspect ratios  
							
							Example: -vf setsar=sar="sar*9/10"
Signed-off-by: Rudolf Polzer <divverent@xonotic.org>
Signed-off-by: Anton Khirnov <anton@khirnov.net> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								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  
				
					
						
							
							
								 
						
							
							
							
								
							
								b077d8d908 
								
							
								 
							
						 
						
							
							
								
								avfilter: remove redundant .get_(audio/video)_buffer initializations  
							
							Signed-off-by: Paul B Mahol <onemda@gmail.com> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								d5c66d9c56 
								
							
								 
							
						 
						
							
							
								
								vf_setdar: make config_props work properly when called multiple times.  
							
							Do not overwrite the variable set through AVOptions. 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								b3ea76624a 
								
							
								 
							
						 
						
							
							
								
								vf_aspect: use the name 's' for the pointer to the private context  
							
							This is shorter and consistent across filters. 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								b42827ffd9 
								
							
								 
							
						 
						
							
							
								
								lavfi/vf_aspect: improve compatibility of parsing.  
							
							Try to accept both the old "num:den" and the new "num/den"
syntax. Fix "aspect=2" being ignored due to a missing den.
Also remove a duplicated #include. 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								1efcab02b6 
								
							
								 
							
						 
						
							
							
								
								lavfi/aspect: apply hot fix for NUM:DEN syntax  
							
							
								
							
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								f04ec05f0e 
								
							
								 
							
						 
						
							
							
								
								lavfi/setdar: fix num/den swapping in log message  
							
							
								
							
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								f212c2380a 
								
							
								 
							
						 
						
							
							
								
								lavfi/setsar: remove spurious #if FF_API_OLD_FILTER_OPTS around init field  
							
							
								
							
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								5229b78371 
								
							
								 
							
						 
						
							
							
								
								lavfi/aspect: extend verbose feedback, show old SAR and DAR values  
							
							
								
							
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								fe5ca6b913 
								
							
								 
							
						 
						
							
							
								
								lavfi/aspect: restore ratio parsing  
							
							Allow to set a ratio as "a:b" (with proper escaping), and correctly
honour the max parameter. 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								30926a1f1f 
								
							
								 
							
						 
						
							
							
								
								lavfi/aspect: fix weird copyright notice  
							
							
								
							
							
						 
						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  
				
					
						
							
							
								 
						
							
							
							
								
							
								7bd014eaec 
								
							
								 
							
						 
						
							
							
								
								lavfi/aspect: fix d2q convert in init.  
							
							Regression since git 71ef1ec7b 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								71ef1ec7b4 
								
							
								 
							
						 
						
							
							
								
								lavfi/aspect: switch to an AVOptions-based system.  
							
							This is heavily based on 2831b307 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								c43a7ecad9 
								
							
								 
							
						 
						
							
							
								
								lavfi: remove now unused args parameter from AVFilter.init  
							
							
								
							
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								2831b307e6 
								
							
								 
							
						 
						
							
							
								
								vf_aspect: 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  
				
					
						
							
							
								 
						
							
							
							
								
							
								951d39fecd 
								
							
								 
							
						 
						
							
							
								
								avfilter: fix segfault with setsar/dar  
							
							Reported-by: durandal_1707
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								8f21cfc6b3 
								
							
								 
							
						 
						
							
							
								
								vf_aspect: 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  
				
					
						
							
							
								 
						
							
							
							
								
							
								6182e0a6f6 
								
							
								 
							
						 
						
							
							
								
								vf_aspect: unbreak avoption system  
							
							This fixes ff* -h infinite looping
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								6752aac6bc 
								
							
								 
							
						 
						
							
							
								
								lavfi/aspect: add max option  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								ccd6def9b3 
								
							
								 
							
						 
						
							
							
								
								lavfi/aspect: extend syntax for the setdar and setsar filters  
							
							Add support for named options, and deprecate old "num:den" ambiguous
syntax. 
							
						 
						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  
				
					
						
							
							
								 
						
							
							
							
								
							
								1d9c2dc89a 
								
							
								 
							
						 
						
							
							
								
								Don't include common.h from avutil.h  
							
							Signed-off-by: Martin Storsjö <martin@martin.st> 
							
						 
						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  
				
					
						
							
							
								 
						
							
							
							
								
							
								51a8049be8 
								
							
								 
							
						 
						
							
							
								
								vf_aspect: clear AVFilterLink.cur_buf in start_frame().  
							
							The buffer is passed on to the next filter, so we shouldn't keep any
pointers to it. 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								1a49a169eb 
								
							
								 
							
						 
						
							
							
								
								lavfi: make filters less verbose.  
							
							
								
							
							
						 
						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  
				
					
						
							
							
								 
						
							
							
							
								
							
								9d0bfc5052 
								
							
								 
							
						 
						
							
							
								
								lavfi: make AVFilterPad opaque after two major bumps.  
							
							It will allow adding new fields to it without ABI breaks. 
							
						 
						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  
				
					
						
							
							
								 
						
							
							
							
								
							
								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  
				
					
						
							
							
								 
						
							
							
							
								
							
								e71e65ff1d 
								
							
								 
							
						 
						
							
							
								
								lavfi/aspect: check for a negative code from av_parse_ratio()  
							
							Check on < 0 rather than on != 0, this is more correct as a positive
error code from av_parse_ratio() value doesn't mean an error. 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								e19ccc89ef 
								
							
								 
							
						 
						
							
							
								
								lavfi/aspect: fail with AVERROR(EINVAL) in case of invalid specified aspect  
							
							Previously it was returning 0 in case the aspect was parsable but
invalid.
X-ColaCount: +10*PHIl 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								4538d66010 
								
							
								 
							
						 
						
							
							
								
								lavfi/aspect: set default value to 0:1, as stated in the docs  
							
							Fix regression introduced in commit 70ffda3217 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								80715c3b23 
								
							
								 
							
						 
						
							
							
								
								lavfi/aspect: remove confusing comments  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								360218713f 
								
							
								 
							
						 
						
							
							
								
								lavfi/aspect: show log info even in case no argument is provided to setdar/setsar  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								0349d61eef 
								
							
								 
							
						 
						
							
							
								
								lavfi/aspect: rename field aspect->aspect to aspect->ratio  
							
							The new name is more sensible. 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								70ffda3217 
								
							
								 
							
						 
						
							
							
								
								lavu: introduce av_parse_ratio() and use it in ffmpeg and lavfi/aspect  
							
							Factorize code and provide ratio parsing consistency. 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								7181c4edee 
								
							
								 
							
						 
						
							
							
								
								cosmetics: Remove extra newlines at EOF  
							
							
								
							
							
						 
						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  
				
					
						
							
							
								 
						
							
							
							
								
							
								0ebcdf5cda 
								
							
								 
							
						 
						
							
							
								
								Do not include mathematics.h in avutil.h  
							
							Signed-off-by: Mans Rullgard <mans@mansr.com> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								35fe66abbc 
								
							
								 
							
						 
						
							
							
								
								lavfi: rename AVFilterBufferRefVideoProps.pixel_aspect to sample_aspect_ratio  
							
							Improve consistency with libavcodec.
This breaks libavfilter API/ABI.
The non-sequential 2.1.0 -> 2.4.0 bump is due to the mess previously
done with the lavfi minor number. 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								c61bfc113a 
								
							
								 
							
						 
						
							
							
								
								setdar: prefer "sar" over "par" in log info message  
							
							This is more consistent with the terminology adopted by the aspect
filter names.
Signed-off-by: Anton Khirnov <anton@khirnov.net> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								3ea031b3f2 
								
							
								 
							
						 
						
							
							
								
								setdar: prefer "sar" over "par" in log info message  
							
							This is more consistent with the terminology adopted by the aspect
filter names. 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								2912e87a6c 
								
							
								 
							
						 
						
							
							
								
								Replace FFmpeg with Libav in licence headers  
							
							Signed-off-by: Mans Rullgard <mans@mansr.com> 
							
						 
						14 years ago