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  
				
					
						
							
							
								 
						
							
							
							
								
							
								1e0e193240 
								
							
								 
							
						 
						
							
							
								
								sws: add dither enum  
							
							This allows specifying more dither algorithms without using up flags and
without ambiguities.
Also initialize the new field based on the flags and use it.
Note, improving the logic of the checks is left to subsequent
commits, this here only switches from flags to enum.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								aa2ba8c99e 
								
							
								 
							
						 
						
							
							
								
								swscale: Move extern declarations for tables to swscale_internal.h  
							
							Also add missing ff_ prefixes where necessary. 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								d258531502 
								
							
								 
							
						 
						
							
							
								
								swscale: Mark a bunch of tables only used within one file static  
							
							
								
							
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								b9b1a2c3e4 
								
							
								 
							
						 
						
							
							
								
								libswscale: Adding RGB => XYZ support  
							
							
								
							
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								6d323ff57a 
								
							
								 
							
						 
						
							
							
								
								swscale: remove unneeded include assert.h  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								c7c71f95f8 
								
							
								 
							
						 
						
							
							
								
								replace remaining PIX_FMT_* flags with AV_PIX_FMT_FLAG_*  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								b2cf655d6e 
								
							
								 
							
						 
						
							
							
								
								sws: add casts to silence pointer type mismatch warnings  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								570d63eef3 
								
							
								 
							
						 
						
							
							
								
								lavu: add FF_CEIL_RSHIFT and use it in various places.  
							
							
								
							
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								5c057433cc 
								
							
								 
							
						 
						
							
							
								
								libswscale: GBRAP input & output and GBRAP16 input support  
							
							Signed-off-by: Paul B Mahol <onemda@gmail.com> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								cb23b06e5e 
								
							
								 
							
						 
						
							
							
								
								sws: fix typo in xyz2rgb matrix use.  
							
							Found-by: ubitux
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						12 years ago