552faecf4b 
								
							
								 
							
						 
						
							
							
								
								vf_scale: conditionally override chroma position  
							
							For yuv420p, the chroma position is unilaterally overriden, even
if ffmpeg's command-line explicitly set it. To fix this, override
only if the value is the default one.
Regression since 1515bfb3 
							
						 
						10 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								0cb6c0ec48 
								
							
								 
							
						 
						
							
							
								
								lavfi/scale: Pass src_range and dst_range to libswscale.  
							
							Fixes ticket #4812 . 
							
						 
						10 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								58a0b7f114 
								
							
								 
							
						 
						
							
							
								
								avfilter/vf_scale: If no output color matrix is specified, use the input  
							
							This should only affect yuv->yuv, and not change behavior
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc> 
							
						 
						10 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								5a00c30041 
								
							
								 
							
						 
						
							
							
								
								avfilter/vf_scale: Do not skip scale if the color matrix mismatches  
							
							Signed-off-by: Michael Niedermayer <michael@niedermayer.cc> 
							
						 
						10 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								75d9006475 
								
							
								 
							
						 
						
							
							
								
								avfilter/vf_scale: Do not skip scale if range mismatches  
							
							Signed-off-by: Michael Niedermayer <michael@niedermayer.cc> 
							
						 
						10 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								b1abd2aaf9 
								
							
								 
							
						 
						
							
							
								
								vf_scale: Add an option to pass the scaler params  
							
							Reported-By: zehan@magicpony.technology  
							
						 
						10 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								22f85543ed 
								
							
								 
							
						 
						
							
							
								
								scale2ref: override request_frame() and correctly connect them to the corresponding inputs  
							
							Signed-off-by: Michael Niedermayer <michael@niedermayer.cc> 
							
						 
						10 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								db0f8f3f9d 
								
							
								 
							
						 
						
							
							
								
								avfilter/vf_scale: Set scale2ref ref output timebase  
							
							Signed-off-by: Michael Niedermayer <michael@niedermayer.cc> 
							
						 
						10 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								21566b21d5 
								
							
								 
							
						 
						
							
							
								
								avfilter: add scale2ref filter  
							
							This filter can be used to scale one stream to match another or based on
another, useful to scale subtitles or other things to be overlayed
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc> 
							
						 
						10 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								d3d776ccf9 
								
							
								 
							
						 
						
							
							
								
								avfilter/vf_scale: apply generic options after flags.  
							
							Otherwise the flags overwrite anything set by the generic stuff to the flags
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc> 
							
						 
						10 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								99ad832c7e 
								
							
								 
							
						 
						
							
							
								
								libavfilter/vf_scale: implement process_command  
							
							Signed-off-by: Bernd Bleßmann <bb@it-entwicklung.de>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc> 
							
						 
						10 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								3735b5c616 
								
							
								 
							
						 
						
							
							
								
								Revert "lavfi: always check av_expr_parse_and_eval() return value"  
							
							This reverts commit 63be97ec40 
							
						 
						10 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								d5dcd94630 
								
							
								 
							
						 
						
							
							
								
								avfilter/vf_scale: Add warning for AVCOL_SPC_YCGCO  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						10 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								1515bfb313 
								
							
								 
							
						 
						
							
							
								
								vf_scale: Use correct chroma positions for YUV420P  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								63be97ec40 
								
							
								 
							
						 
						
							
							
								
								lavfi: always check av_expr_parse_and_eval() return value  
							
							CC: libav-stable@libav.org 
Bug-Id: CID 703624 
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								e927682e1b 
								
							
								 
							
						 
						
							
							
								
								avfilter/vf_scale: Allow chroma samples to be above and to the left of luma samples  
							
							Found-by: Kierank
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								cab8fc624b 
								
							
								 
							
						 
						
							
							
								
								avfilter/vf_scale: fix log message category  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								862f33c10e 
								
							
								 
							
						 
						
							
							
								
								vf_scale: use the pixfmt descriptor API  
							
							Avoid using AV_PIX_FMT_NB, since that hardcodes the number of pixel
formats into lavfi and will break when a shared lavu is updated, adding
new pixel formats. 
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								58400ac133 
								
							
								 
							
						 
						
							
							
								
								lavfi: name anonymous structs  
							
							
								
							
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								214a3b8bf9 
								
							
								 
							
						 
						
							
							
								
								avfilter/vf_scale: simplify alignment code  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								1e48c39ece 
								
							
								 
							
						 
						
							
							
								
								avfilter/vf_scale: do aspect ratio and scale factor compensation together  
							
							Fixes rounding error
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								69b1d1d99b 
								
							
								 
							
						 
						
							
							
								
								Documentation for scale filter factor  
							
							
								
							
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								e395f8de5a 
								
							
								 
							
						 
						
							
							
								
								Fixed factor for scale filter  
							
							
								
							
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								7fc4c18463 
								
							
								 
							
						 
						
							
							
								
								Factors for scale filter  
							
							
								
							
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								d0ac60730d 
								
							
								 
							
						 
						
							
							
								
								avfilter/vf_scale: add ov/hsub  
							
							Suggested-by: divVerent
Reviewed-by: Stefano
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								3a14b160bd 
								
							
								 
							
						 
						
							
							
								
								vf_scale: make the dar variable return the DAR.  
							
							Before, it just returned width/height. Correct is width/height*sar.
That way it is consistent with DAR as in probe output and setdar.
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  
				
					
						
							
							
								 
						
							
							
							
								
							
								83922cccb2 
								
							
								 
							
						 
						
							
							
								
								avfilter/vf_scale: Correct vf_scale mappings from arguments to color range  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								3ee796760a 
								
							
								 
							
						 
						
							
							
								
								avfilter/vf_scale: dont duplicate default.  
							
							use the defaults set by swscale
Suggested-by: stefano
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								931a4b433d 
								
							
								 
							
						 
						
							
							
								
								avfilter/vf_scale: change the default scaler to bicubic  
							
							See: [FFmpeg-devel] [PATCH] swscale/options: switch default to bicubic
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								59d72f8b16 
								
							
								 
							
						 
						
							
							
								
								lavfi/pad,crop,scale: remove options description from filter description  
							
							Signed-off-by: Paul B Mahol <onemda@gmail.com> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								b211607b5c 
								
							
								 
							
						 
						
							
							
								
								avfilter: various cosmetics  
							
							Signed-off-by: Paul B Mahol <onemda@gmail.com> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								ec0e0eb4c1 
								
							
								 
							
						 
						
							
							
								
								avfilter/vf_scale+aresample: minor simpification  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								6d246f440e 
								
							
								 
							
						 
						
							
							
								
								avfilter/vf_scale: generic swscale option support  
							
							With this all AVOptions from swscale can be set without each needing
changes to vf_scale.c
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								3415058541 
								
							
								 
							
						 
						
							
							
								
								vf_scale: add force_original_aspect_ratio  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								8720d3ac21 
								
							
								 
							
						 
						
							
							
								
								avfilter/vf_scale: set in_color_matrix default to "auto"  
							
							
								
							
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								f3f4e133d6 
								
							
								 
							
						 
						
							
							
								
								avfilter/vf_scale: use sws_getCoefficients()  
							
							Found-by: wm4
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								5156d482cd 
								
							
								 
							
						 
						
							
							
								
								avfilter/vf_scale: use the inputs color range when its set and its not overridden  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								24a4367ae9 
								
							
								 
							
						 
						
							
							
								
								vf_scale: add input h/v_chr_pos parameters  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								e31d20255d 
								
							
								 
							
						 
						
							
							
								
								vf_scale: add output h/v_chr_pos parameterss  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								1f7acf3cff 
								
							
								 
							
						 
						
							
							
								
								vfilter/vf_scale: avoid using "{}"  
							
							Should fix compile issues with MSVC
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								3242747df3 
								
							
								 
							
						 
						
							
							
								
								avfilter/vf_scale; fix indent  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								835eee88ec 
								
							
								 
							
						 
						
							
							
								
								avfilter/vf_scale: add in/out color range option  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								bbf6cb754c 
								
							
								 
							
						 
						
							
							
								
								avfilter/vf_scale: Add in/out yuv color matrix option  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								ebaf20e94b 
								
							
								 
							
						 
						
							
							
								
								lavfi/scale: allocate interlaced scalers only if needed.  
							
							Fix "Value 0.000000 for parameter 'srch' out of range"
error message when source or destination height is 1.
Note: since the av_opt_set_int() calls are not checked for
failure and the interlaced scalers are not actually used,
this error has no consequence apart from a frightening message
in the log. 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								37ded53037 
								
							
								 
							
						 
						
							
							
								
								vf_scale: use sws_init_context()  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								5999db97cf 
								
							
								 
							
						 
						
							
							
								
								lavfi/scale: remove av_opt_free()  
							
							Generic code calls it already.
Signed-off-by: Paul B Mahol <onemda@gmail.com> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								e6c4ac7b5f 
								
							
								 
							
						 
						
							
							
								
								pixdesc: rename PIX_FMT_* flags to AV_PIX_FMT_FLAG_*  
							
							
								
							
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								5f87c277bd 
								
							
								 
							
						 
						
							
							
								
								vf_scale: add endianness conversion pixel format in query_formats  
							
							
								
							
							
						 
						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