03ce71e4a1 
								
							
								 
							
						 
						
							
							
								
								swscale/swscale: Fix dereference of stride array before null check  
							
							Fixes: CID1396263
Fixes: CID1396271
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc> 
							
						 
						8 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  
				
					
						
							
							
								 
						
							
							
							
								
							
								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  
				
					
						
							
							
								 
						
							
							
							
								
							
								8433d953e4 
								
							
								 
							
						 
						
							
							
								
								swscale: fix for sliced scaling artifacts  
							
							Signed-off-by: Pedro Arthur <bygrandao@gmail.com> 
							
						 
						9 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								ba7be8c083 
								
							
								 
							
						 
						
							
							
								
								swscale: Fix "warning: ISO C90 forbids mixed declarations and code"  
							
							Signed-off-by: Michael Niedermayer <michael@niedermayer.cc> 
							
						 
						9 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								89ec11e096 
								
							
								 
							
						 
						
							
							
								
								swscale/swscale: Try to fix rgb48Toxyz12() with slices  
							
							Signed-off-by: Michael Niedermayer <michael@niedermayer.cc> 
							
						 
						9 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								f580719b1a 
								
							
								 
							
						 
						
							
							
								
								swscale/swscale: Factor bottom to top handling  
							
							Signed-off-by: Michael Niedermayer <michael@niedermayer.cc> 
							
						 
						9 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  
				
					
						
							
							
								 
						
							
							
							
								
							
								e616e9a4b8 
								
							
								 
							
						 
						
							
							
								
								swscale: fix ring buffer size when scaling slices of a frame  
							
							The ring buffer size should be able to store input lines
when there is not enough lines to output a single line. 
							
						 
						9 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								7abc8e7ae3 
								
							
								 
							
						 
						
							
							
								
								swscale/arm: add ff_hscale_8_to_15_neon  
							
							
								
							
							
						 
						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  
				
					
						
							
							
								 
						
							
							
							
								
							
								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  
				
					
						
							
							
								 
						
							
							
							
								
							
								321e85e176 
								
							
								 
							
						 
						
							
							
								
								swscale/swscale: Add some sanity checks for srcSlice* parameters  
							
							Signed-off-by: Michael Niedermayer <michael@niedermayer.cc> 
							
						 
						9 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								e8bc642202 
								
							
								 
							
						 
						
							
							
								
								lavu: add AV_CEIL_RSHIFT and use it in various places  
							
							Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com> 
							
						 
						9 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  
				
					
						
							
							
								 
						
							
							
							
								
							
								a8602dde5e 
								
							
								 
							
						 
						
							
							
								
								swscale: fix ticket  #4877  
							
							
								
							
							
						 
						10 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								77367f61b3 
								
							
								 
							
						 
						
							
							
								
								swscale: fix ticket 4850  
							
							
								
							
							
						 
						10 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								b4cb597900 
								
							
								 
							
						 
						
							
							
								
								libswscale/swscale: fix -Wunused-function  
							
							hyscale, hcscale are only used in old filter code, hence place
header guard to silence -Wunused-function.
Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc> 
							
						 
						10 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								80d23d9d32 
								
							
								 
							
						 
						
							
							
								
								swscale/swscale: silence unused function warning  
							
							gamma_convert is only used with the old code. Thus, it is
placed under a header guard. This patch silences a -Wunused-function
observed on GCC 5.2.
Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com> 
							
						 
						10 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								0ae40c5a70 
								
							
								 
							
						 
						
							
							
								
								swscale/swscale: Fix "unused variable" warning  
							
							Signed-off-by: Michael Niedermayer <michael@niedermayer.cc> 
							
						 
						10 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								5d8e836d0e 
								
							
								 
							
						 
						
							
							
								
								Replace all remaining occurances of step/depth_minus1 and offset_plus1  
							
							
								
							
							
						 
						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  
				
					
						
							
							
								 
						
							
							
							
								
							
								68a9c8ac77 
								
							
								 
							
						 
						
							
							
								
								swscale: Silence an unused variable warning  
							
							Also remove a pair of extraneous ifdeffery. 
							
						 
						10 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								62d176de12 
								
							
								 
							
						 
						
							
							
								
								swscale: refactor vertical scaler  
							
							
								
							
							
						 
						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  
				
					
						
							
							
								 
						
							
							
							
								
							
								ae0148ff60 
								
							
								 
							
						 
						
							
							
								
								swscale: Assert that pixel format descriptor is not NULL  
							
							This may help static analyzers, the pixel format is checked
during initialization
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						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  
				
					
						
							
							
								 
						
							
							
							
								
							
								03bffb68f6 
								
							
								 
							
						 
						
							
							
								
								swscale: Use av_clip_uintp2()  
							
							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  
				
					
						
							
							
								 
						
							
							
							
								
							
								fba894615d 
								
							
								 
							
						 
						
							
							
								
								swscale: support internal scaler cascades  
							
							Fixes Ticket3170
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								d469aa8cfa 
								
							
								 
							
						 
						
							
							
								
								sws: use av_clip() instead of av_clip_c()  
							
							
								
							
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								e9f7c7aef9 
								
							
								 
							
						 
						
							
							
								
								sws: Move fast bilinear C code into seperate file  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								7f5296005c 
								
							
								 
							
						 
						
							
							
								
								swscale/swscale: replace potentially slow % by &  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								14fa7fc6a8 
								
							
								 
							
						 
						
							
							
								
								swscale/swscale: fix srcStride/srcSlice typo  
							
							Fixes part of Ticket3466
Found by: Andrey_Karpov / PVS-Studio
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								a2f088c0f9 
								
							
								 
							
						 
						
							
							
								
								swscale: factor ff_sws_init_range_convert() out  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								3751e5a821 
								
							
								 
							
						 
						
							
							
								
								swscale/swscale: clear to/from convert pointers when they used.  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								c9c0451224 
								
							
								 
							
						 
						
							
							
								
								swscale/swscale: fix integer overflow  
							
							Should fix fate failure with clang ftrapv
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								ab9d7e0b12 
								
							
								 
							
						 
						
							
							
								
								swscale: fix rgb48Toxyz12() endianness  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								1909f6b1b6 
								
							
								 
							
						 
						
							
							
								
								swscale: cosmetics: Drop silly camelCase from swScale function pointer name  
							
							
								
							
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								c2503d9c8a 
								
							
								 
							
						 
						
							
							
								
								swscale: ppc: Hide arch-specific initialization details  
							
							Also give consistent names to init functions. 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								a519583991 
								
							
								 
							
						 
						
							
							
								
								swscale: x86: Hide arch-specific initialization details  
							
							Also give consistent names to init functions. 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								c62801270f 
								
							
								 
							
						 
						
							
							
								
								swscale: change ff_dither_8x8_128 dimensions to be consistent with the others  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						12 years ago