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  
				
					
						
							
							
								 
						
							
							
							
								
							
								aee99a5d44 
								
							
								 
							
						 
						
							
							
								
								swscale/swscale_internal: fix ya16 -> rgba  
							
							Fixes Ticket644
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								f84a1b597c 
								
							
								 
							
						 
						
							
							
								
								swscale: support AV_PIX_FMT_YA16 as input  
							
							Based on a long debug session with Kostya. 
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								e96c3b81ca 
								
							
								 
							
						 
						
							
							
								
								avutil: rename AV_PIX_FMT_Y400A to AV_PIX_FMT_YA8  
							
							The rationale is that you have a packed format in form
<greyscale sample> <alpha sample> <greyscale sample> <alpha sample>
and shortening greyscale to 'G' might make one thing about Greenscale instead.
An alias pixel format and color space name are provided for compatibility. 
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								6532a1a828 
								
							
								 
							
						 
						
							
							
								
								sws/x86: split mmxext fast bilinear scaler out  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								e9f7c7aef9 
								
							
								 
							
						 
						
							
							
								
								sws: Move fast bilinear C code into seperate file  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								76899be113 
								
							
								 
							
						 
						
							
							
								
								swscale/swscale_internal: add needed version.h  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								39a6e02fd4 
								
							
								 
							
						 
						
							
							
								
								fix spelling errors  
							
							Reviewed-by: Timothy Gu <timothygu99@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								a4bd4733c0 
								
							
								 
							
						 
						
							
							
								
								swscale: Allow the max filter size to be set at compile time  
							
							This can help "extreme" resizes, e.g with some 4k stuff.
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com> 
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								880e2aa236 
								
							
								 
							
						 
						
							
							
								
								Remove all Blackfin architecture optimizations  
							
							Blackfin is a painful platform to work with, no test machines are available
and the range of multimedia applications is dubious. Thus it only represents
a maintenance burden. 
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								c3417ed7fd 
								
							
								 
							
						 
						
							
							
								
								swscale/utils: Add check that ensures that the hardcoded struct offsets are valid  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								a5e20d9f4d 
								
							
								 
							
						 
						
							
							
								
								Fix teh typos  
							
							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  
				
					
						
							
							
								 
						
							
							
							
								
							
								2fcef4a044 
								
							
								 
							
						 
						
							
							
								
								swscale/swscale_internal: remove obsolete warning  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								955d7e26b6 
								
							
								 
							
						 
						
							
							
								
								swscale/swscale_internal: make the offset strings update themselfs when the MAX_FILTER_SIZE is changed  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								3e6016622e 
								
							
								 
							
						 
						
							
							
								
								swscale: add two spatially stable dithering methods  
							
							Both of these dithering methods are from http://pippin.gimp.org/a_dither/  for
GIF they can be considered better than bayer (provides more gray-levels), and
spatial stability - often more than twice as good compression and less visual
flicker than error diffusion methods (the methods also avoids error-shadow
artifacts of diffusion dithers).
These methods are similar to blue/green noise type dither masks; but are
simple enough to generate their mask on the fly. They are still research work
in progress; though more expensive to generate masks (which can be used in a
LUT) like 'void and cluster' and similar methods will yield superior results 
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								1481d24c3a 
								
							
								 
							
						 
						
							
							
								
								RGBA64 pixel formats  
							
							Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								b4dd424d96 
								
							
								 
							
						 
						
							
							
								
								Remove all SPARC architecture optimizations  
							
							SPARC is no longer being used in any multimedia-related fields and the
VIS optimizations only represent a maintenance burden. 
							
						 
						11 years ago