bc7308aae8 
								
							
								 
							
						 
						
							
							
								
								sws: make is{RGB,BGR}inInt functions  
							
							
								
							
							
						 
						8 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								e811f84a2e 
								
							
								 
							
						 
						
							
							
								
								swscale: cosmetics in is{RGB,BGR}inInt  
							
							Reduce diff with Libav. 
							
						 
						8 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								d6635daded 
								
							
								 
							
						 
						
							
							
								
								swscale: remove unused is{RGB,BGR}inBytes  
							
							
								
							
							
						 
						8 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								ff6bc16c5a 
								
							
								 
							
						 
						
							
							
								
								swscale: use a (more correct) function for isPacked  
							
							
								
							
							
						 
						8 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								2b9a52bcca 
								
							
								 
							
						 
						
							
							
								
								swscale: use a function for isAnyRGB  
							
							
								
							
							
						 
						8 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								c30875e8b2 
								
							
								 
							
						 
						
							
							
								
								swscale: use a function for isBayer  
							
							
								
							
							
						 
						8 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								f052b1b40f 
								
							
								 
							
						 
						
							
							
								
								swscale: use a function for isGray  
							
							
								
							
							
						 
						8 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								b5177c7051 
								
							
								 
							
						 
						
							
							
								
								lsws: Add GRAY10 conversion.  
							
							Based on 19be5fb7 
							
						 
						9 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								19be5fb728 
								
							
								 
							
						 
						
							
							
								
								swscale: Add GRAY12  
							
							Signed-off-by: Michael Niedermayer <michael@niedermayer.cc> 
							
						 
						9 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								d736b52a04 
								
							
								 
							
						 
						
							
							
								
								swscale: Drop is9_OR_10BPS() use, its name is not correct  
							
							Found-by: Luca Barbato
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc> 
							
						 
						9 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								ab839054e6 
								
							
								 
							
						 
						
							
							
								
								swscale: Add GRAY12  
							
							
								
							
							
						 
						9 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								2b5b1e1e9b 
								
							
								 
							
						 
						
							
							
								
								swscale: Rename is9_OR_10 to match what it does  
							
							It is used to select functions that work with 9-15bits. 
							
						 
						9 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								e87a501e7d 
								
							
								 
							
						 
						
							
							
								
								swscale: Update bitdepth range check  
							
							Make sure the scaling functions for the 9-15bits are used for
9-15bits bit depths correctly. 
							
						 
						9 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								aa37d2bf45 
								
							
								 
							
						 
						
							
							
								
								swscale: Kill non-compiling disabled cruft  
							
							
								
							
							
						 
						9 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								c0fd2fb27b 
								
							
								 
							
						 
						
							
							
								
								swscale: Rename sws_context_class to ff_sws_context_class  
							
							It is an internal swscale symbol and thus should not be exported.
Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
Signed-off-by: Diego Biurrun <diego@biurrun.de> 
							
						 
						10 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								70d418c7e6 
								
							
								 
							
						 
						
							
							
								
								Revert "PPC64: Add versions of functions in libswscale/input.c optimized for POWER8 VSX SIMD."  
							
							This reverts commit 1df908f33f 
							
						 
						9 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								1df908f33f 
								
							
								 
							
						 
						
							
							
								
								PPC64: Add versions of functions in libswscale/input.c optimized for POWER8 VSX SIMD.  
							
							This patch addresses Trac ticket #5570 . The optimized functions are in file
libswscale/ppc/input_vsx.c. Each optimized function name is a concatenation of the
corresponding name in libswscale/input.c with suffix _vsx.
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc> 
							
						 
						9 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								41ed7ab45f 
								
							
								 
							
						 
						
							
							
								
								cosmetics: Fix spelling mistakes  
							
							Signed-off-by: Diego Biurrun <diego@biurrun.de> 
							
						 
						9 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								7abc8e7ae3 
								
							
								 
							
						 
						
							
							
								
								swscale/arm: add ff_hscale_8_to_15_neon  
							
							
								
							
							
						 
						9 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								b3eda69490 
								
							
								 
							
						 
						
							
							
								
								swscale: add bt2020 yuv2rgb coefficients.  
							
							
								
							
							
						 
						9 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								6de58b4903 
								
							
								 
							
						 
						
							
							
								
								swscale: cleanup unused code  
							
							Removed previous swscale code under '#ifndef NEW_FILTER'
and removed unused fields of SwsContext 
							
						 
						9 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								263eb76bdf 
								
							
								 
							
						 
						
							
							
								
								sws/aarch64: add ff_hscale_8_to_15_neon  
							
							./ffmpeg -nostats -f lavfi -i testsrc2=4k:d=2 -vf bench=start,scale=1024x1024,bench=stop -f null -
    before: t:0.489726 avg:0.489883 max:0.491852 min:0.489482
    after:  t:0.256515 avg:0.256458 max:0.256999 min:0.253755 
							
						 
						9 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								06eef96b69 
								
							
								 
							
						 
						
							
							
								
								fix some a/an typos  
							
							Signed-off-by: Lou Logan <lou@lrcd.com> 
							
						 
						9 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								f1148390d7 
								
							
								 
							
						 
						
							
							
								
								sws/aarch64: add {nv12,nv21,yuv420p,yuv422p}_to_{argb,rgba,abgr,rgba}_neon  
							
							
								
							
							
						 
						9 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								eb7802afef 
								
							
								 
							
						 
						
							
							
								
								swscale/vscale: Check that 2 tap filters are bilinear before using bilinear code  
							
							Fixes: out of array reads
Fixes: 07e8b9c5d348ccdf7add0f37de20cf6c/asan_heap-oob_27e8df7_6849_e56653f768070ec8cb52f587048444c2.mov
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc> 
							
						 
						9 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								e06403331c 
								
							
								 
							
						 
						
							
							
								
								swscale: Move Contexts used only in hscale.c into it  
							
							Signed-off-by: Michael Niedermayer <michael@niedermayer.cc> 
							
						 
						9 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								7b6e6895f2 
								
							
								 
							
						 
						
							
							
								
								swscale: Move VScalerContext into vscale.c  
							
							Signed-off-by: Michael Niedermayer <michael@niedermayer.cc> 
							
						 
						9 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								8f3a9a8c27 
								
							
								 
							
						 
						
							
							
								
								swscale/yuv2rgb: Increase YUV2RGB table headroom  
							
							This makes SWS more robust
Fixes: 07650a772d98aa63b0fed6370dc89037/asan_heap-oob_27ddeaf_2657_2c81ff264dee5d9712cb3251fb9c3bbb.264
Fixes: out of array read
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc> 
							
						 
						9 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								5e5f82a287 
								
							
								 
							
						 
						
							
							
								
								swscale/yuv2rgb: Factor YUVRGB_TABLE_LUMA_HEADROOM out  
							
							Signed-off-by: Michael Niedermayer <michael@niedermayer.cc> 
							
						 
						9 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								8bfbc8c5e5 
								
							
								 
							
						 
						
							
							
								
								swscale: rename sws_context_class to ff_sws_context_class  
							
							It is an internal swscale symbol and thus should not be exported.
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com> 
							
						 
						10 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								5bd62a1b3c 
								
							
								 
							
						 
						
							
							
								
								swscale: fix ticket  #4881  
							
							When scaling only a slice of a frame the output was written always
in the first lines leaving the rest of the frame black. 
							
						 
						10 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								d730dd8c53 
								
							
								 
							
						 
						
							
							
								
								swscale: Forward colorspace updates to the 2nd cascaded context in case of alphablend  
							
							The first just does the blending and wouldnt do anything with the colorspace values
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc> 
							
						 
						10 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								2268db2cd0 
								
							
								 
							
						 
						
							
							
								
								lavu: Drop the {minus,plus}1 suffix from AVComponentDescriptor fields  
							
							The new fields can be accessed directly and are more intelligible.
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com> 
							
						 
						10 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								3059562aa1 
								
							
								 
							
						 
						
							
							
								
								swscale: re-enable gamma  
							
							+added gamma conversion to refactored code 
							
						 
						10 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								62d176de12 
								
							
								 
							
						 
						
							
							
								
								swscale: refactor vertical scaler  
							
							
								
							
							
						 
						10 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								4545906f60 
								
							
								 
							
						 
						
							
							
								
								swscale: Fixed typos  
							
							Signed-off-by: Michael Niedermayer <michael@niedermayer.cc> 
							
						 
						10 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								ed80dec621 
								
							
								 
							
						 
						
							
							
								
								swscale: fixed compiler warnings  
							
							Signed-off-by: Michael Niedermayer <michael@niedermayer.cc> 
							
						 
						10 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								737aa902f0 
								
							
								 
							
						 
						
							
							
								
								swscale: process horizontal lines in batches  
							
							Process more lines in a single pass to improve performance
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc> 
							
						 
						10 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								e0a3173a94 
								
							
								 
							
						 
						
							
							
								
								swscale: refactor horizontal scaling  
							
							+ split color conversion from scaling
- disabled gamma correction, until it's refactored too
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc> 
							
						 
						10 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								c5ebeaa308 
								
							
								 
							
						 
						
							
							
								
								swscale/alphablend: Support SWS_ALPHA_BLEND_CHECKERBOARD  
							
							Signed-off-by: Michael Niedermayer <michael@niedermayer.cc> 
							
						 
						10 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								d0e0757e9a 
								
							
								 
							
						 
						
							
							
								
								swscale: Implement alphablendaway for planar 4:4:4 formats  
							
							Fixes Ticket4746
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc> 
							
						 
						10 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								c382d9e8cb 
								
							
								 
							
						 
						
							
							
								
								swscale: Add sws_alloc_set_opts()  
							
							This simplifies allocating and initializing swscale contexts with custom options.
The function is internal currently but could be moved into the public header
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc> 
							
						 
						10 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								052f64ecb2 
								
							
								 
							
						 
						
							
							
								
								swscale: ayuv64le input support  
							
							Signed-off-by: Paul B Mahol <onemda@gmail.com> 
							
						 
						10 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								b57f9f5724 
								
							
								 
							
						 
						
							
							
								
								swscale/swscale: Get rid of the SWS_GAMMA_CORRECT flag  
							
							This avoids using up a bit of the public flags
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						10 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								2a7128f4ed 
								
							
								 
							
						 
						
							
							
								
								Add gamma encodign/decoding before/after scaling in libswscale  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						10 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								ae20682f6b 
								
							
								 
							
						 
						
							
							
								
								swscale: Add prefix to updateMMXDitherTables()  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						10 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								928061670e 
								
							
								 
							
						 
						
							
							
								
								libswscale: GBRAP input & output and GBRAP16 input support  
							
							Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com> 
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								2a983ff7fe 
								
							
								 
							
						 
						
							
							
								
								swscale: increase yuv2rgb table headroom  
							
							Fixes out of array access
Fixes: case2_bad_read_yuv2rgbx32.mp4
Found-by: Michal Zalewski <lcamtuf@coredump.cx>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								fba894615d 
								
							
								 
							
						 
						
							
							
								
								swscale: support internal scaler cascades  
							
							Fixes Ticket3170
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								fb7d8d50bc 
								
							
								 
							
						 
						
							
							
								
								swscale: remove obsolete FF_API_SWS_FORMAT_NAME cruft  
							
							Signed-off-by: James Almer <jamrial@gmail.com> 
							
						 
						11 years ago