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  
				
					
						
							
							
								 
						
							
							
							
								
							
								24ec7a5e04 
								
							
								 
							
						 
						
							
							
								
								sws: Check for malloc failure of rgb0_tmp  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								0c47c9028b 
								
							
								 
							
						 
						
							
							
								
								sws: support xyz input  
							
							The implementation is heavily based on Matthias Buerchers and Nicolas Bertrands vf_xyz2rgb.c
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								9aafb95ae2 
								
							
								 
							
						 
						
							
							
								
								sws: init input_rgb2yuv_table depending on yuv colorspace  
							
							For the default table we keep using the exact previous
coefficients, this way individual functions can be updated seperately
without breaking fate
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								3662e49dde 
								
							
								 
							
						 
						
							
							
								
								sws: move RGB2YUV_SHIFT to swscale_internal.h  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								d4956b0bfb 
								
							
								 
							
						 
						
							
							
								
								sws/input: replace hardcoded rgb2yuv coefficients by table  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								353bd158f5 
								
							
								 
							
						 
						
							
							
								
								sws: Fix "warning: comparison of distinct pointer types lacks a cast"  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								4eb93bed4e 
								
							
								 
							
						 
						
							
							
								
								swscale: GBRP output support  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								61884d1985 
								
							
								 
							
						 
						
							
							
								
								sws: GBRP output support  
							
							Reviewed-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								89afa635bf 
								
							
								 
							
						 
						
							
							
								
								sws: check that dither array is not null before memset  
							
							Fixes null pointer dereference
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								8045c0167d 
								
							
								 
							
						 
						
							
							
								
								sws: Only reset dither state for bitexact mode  
							
							the output looks better with a random initial state than
all 0
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								646ade7679 
								
							
								 
							
						 
						
							
							
								
								sws: Support error diffusion dither for mono output  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								c77eb4ee90 
								
							
								 
							
						 
						
							
							
								
								sws: fix warning: cast from pointer to integer of different size  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								aa9507cc3d 
								
							
								 
							
						 
						
							
							
								
								swscale: fix warning: assignment from incompatible pointer type  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								511cf612ac 
								
							
								 
							
						 
						
							
							
								
								miscellaneous typo fixes  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								320ae9fb78 
								
							
								 
							
						 
						
							
							
								
								sws_scale: check input against NULL  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								4d2f1d8c93 
								
							
								 
							
						 
						
							
							
								
								swscale.c:remove fill_plane9or10() use fillPlane16()  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								26b5ad2543 
								
							
								 
							
						 
						
							
							
								
								swscale: support gray to 9bit and 10bit formats  
							
							With the input of Kostya and Ronald. 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								7a32ab5ed0 
								
							
								 
							
						 
						
							
							
								
								sws: get rid of C99 signed overflows try  #2  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								3ee8eefbf2 
								
							
								 
							
						 
						
							
							
								
								sws: avoid signed C99 overflows  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								a291345b1e 
								
							
								 
							
						 
						
							
							
								
								sws: do not use av_pix_fmt_descriptors directly  
							
							Signed-off-by: Paul B Mahol <onemda@gmail.com> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								0a7068fa5d 
								
							
								 
							
						 
						
							
							
								
								sws: do not use av_pix_fmt_descriptors directly.  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								716d413c13 
								
							
								 
							
						 
						
							
							
								
								Replace PIX_FMT_* -> AV_PIX_FMT_*, PixelFormat -> AVPixelFormat  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								115e291b53 
								
							
								 
							
						 
						
							
							
								
								swscale: move main swscale wraper to swscale.c  
							
							It never belonged to swscale_unscaled.c
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								db436b17e9 
								
							
								 
							
						 
						
							
							
								
								swscale: change assert() to av_assert()  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								0ed0f2e566 
								
							
								 
							
						 
						
							
							
								
								sws: revert: "swscale: Remove two bogus asserts"  
							
							Also change them to av_assert
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								b9141aa346 
								
							
								 
							
						 
						
							
							
								
								swscale: Remove two bogus asserts  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								1169f0d0af 
								
							
								 
							
						 
						
							
							
								
								x86: more specific checks for availability of required assembly capabilities  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								17337f54c0 
								
							
								 
							
						 
						
							
							
								
								x86: Split inline and external assembly #ifdefs  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								afe6f337ad 
								
							
								 
							
						 
						
							
							
								
								swscale.c: remove unused variable  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								08bd8c8ab3 
								
							
								 
							
						 
						
							
							
								
								rename the remaining instances of HAVE_MMX2 to HAVE_MMXEXT  
							
							Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								239fdf1b4a 
								
							
								 
							
						 
						
							
							
								
								x86: build: replace mmx2 by mmxext  
							
							Refactoring mmx2/mmxext YASM code with cpuflags will force renames.
So switching to a consistent naming scheme beforehand is sensible.
The name "mmxext" is more official and widespread and also the name
of the CPU flag, as reported e.g. by the Linux kernel. 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								8e5d71d110 
								
							
								 
							
						 
						
							
							
								
								swscale: bury one more piece of inline asm under HAVE_INLINE_ASM.  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								3b175384bb 
								
							
								 
							
						 
						
							
							
								
								swscale: add missing HAVE_INLINE_ASM check.  
							
							The function called in this block is under HAVE_INLINE_ASM itself also. 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								fa36f33422 
								
							
								 
							
						 
						
							
							
								
								sws: support 12&14 bit planar colorspaces  
							
							Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								ef0ee7f657 
								
							
								 
							
						 
						
							
							
								
								swscale: K&R formatting cosmetics (part II)  
							
							Also adjust some comments including wording and typo fixes. 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								2254b559cb 
								
							
								 
							
						 
						
							
							
								
								swscale: make filterPos 32bit.  
							
							Fixes overflows for large image sizes.
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC: libav-stable@libav.org  
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								491865b57d 
								
							
								 
							
						 
						
							
							
								
								swscale: fix underflows in firstline calculations for extreme resizes.  
							
							Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC: libav-stable@libav.org  
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								92fed11352 
								
							
								 
							
						 
						
							
							
								
								swscale: Remove unused variable alpMmxFilter.  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								c0b87359b2 
								
							
								 
							
						 
						
							
							
								
								swscale: handle gray16 as a "planar" YUV format (Y-only, of course).  
							
							This allows removing any gray16-specific code, which is essentially
identical to the per-plane code in yuv2plane*(). 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								9d9c846491 
								
							
								 
							
						 
						
							
							
								
								swscale: use yuv2packed1() functions for unscaled chroma also.  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								2144941069 
								
							
								 
							
						 
						
							
							
								
								swscale: split C output functions into separate file.  
							
							Signed-off-by: Diego Biurrun <diego@biurrun.de> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								2dd7a1c030 
								
							
								 
							
						 
						
							
							
								
								swscale: Split C input functions into separate file.  
							
							Signed-off-by: Diego Biurrun <diego@biurrun.de> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								f5490fbe3b 
								
							
								 
							
						 
						
							
							
								
								swscale: remove obsolete comment.  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								08d8029ea8 
								
							
								 
							
						 
						
							
							
								
								swscale: more generic check for planar destination formats with alpha  
							
							Signed-off-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								762311ff94 
								
							
								 
							
						 
						
							
							
								
								swscale: fix conversion into yuva444p from non-alpha formats  
							
							Signed-off-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago