02b63246cf 
								
							
								 
							
						 
						
							
							
								
								libswscale: bayer to rgb24 & yv12 colorspace converters  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								91c981857b 
								
							
								 
							
						 
						
							
							
								
								rgb2rgb_template: add MMX/SSE2/AVX-optimized deinterleaveBytes  
							
							Signed-off-by: Anton Khirnov <anton@khirnov.net> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								7597e6efe4 
								
							
								 
							
						 
						
							
							
								
								swscale/x86/rgb2rgb: add support for AVX  
							
							This does not yet include any actual AVX code
Signed-off-by: Anton Khirnov <anton@khirnov.net> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								9047491f8b 
								
							
								 
							
						 
						
							
							
								
								swscale: add nv12/nv21->yuv420 converter  
							
							Signed-off-by: Anton Khirnov <anton@khirnov.net> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								eb01a25fe1 
								
							
								 
							
						 
						
							
							
								
								swscale: fix stride used in planarToNv12Wrapper()  
							
							Signed-off-by: Anton Khirnov <anton@khirnov.net> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								46bacb5cc6 
								
							
								 
							
						 
						
							
							
								
								x86: Consistently use cpu flag detection macros in places that still miss it  
							
							
								
							
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								6bd001d766 
								
							
								 
							
						 
						
							
							
								
								swscale: disable ARM code until its build failure with clang/iphone is fixed  
							
							See: "19:40 Yu Xiaolei Re: [FFmpeg-devel] [PATCH] fix build with gas-preprocessor.pl"
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								6044f161d3 
								
							
								 
							
						 
						
							
							
								
								Revert "swscale: disable ARM code until its build failure with clang/iphone is fixed"  
							
							This reverts commit c8c7736c10 
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								842b8f4ba2 
								
							
								 
							
						 
						
							
							
								
								fix build with gas-preprocessor.pl  
							
							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  
				
					
						
							
							
								 
						
							
							
							
								
							
								693a36b6f8 
								
							
								 
							
						 
						
							
							
								
								Unscaled 16bit packed RGB to planar GBR converter.  
							
							Fixes r210(rgb48) -> ffv1 (gbrp10) -> r210 roundtrip
as reported by forum user JasonCA. 
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								c8c7736c10 
								
							
								 
							
						 
						
							
							
								
								swscale: disable ARM code until its build failure with clang/iphone is fixed  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								af228a9f9f 
								
							
								 
							
						 
						
							
							
								
								swscale/arm: fix build error with --enable-shared  
							
							use string comparison in assembler derivatives to prevents assembler from treating names in test expressions as imported symbols
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								b83d1ee3b4 
								
							
								 
							
						 
						
							
							
								
								avutil: Move library version related macros to version.h  
							
							This is a more sensible place for these macros. 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								51fed95dde 
								
							
								 
							
						 
						
							
							
								
								swscale/utils: fix wrong deprecated message with rgb0  
							
							Fixes Ticket3242
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								f618cb1a4b 
								
							
								 
							
						 
						
							
							
								
								swscale/x86/rgb2rgb_template: try to fix build failure with avx disabled  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								1c67ad9d93 
								
							
								 
							
						 
						
							
							
								
								swscale: NEON optimized unscaled rgba to nv12 conversion  
							
							Signed-off-by: Yu Xiaolei <dreifachstein@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								037fc3b054 
								
							
								 
							
						 
						
							
							
								
								swscale/utils: check chroma width for fast bilinear scaler  
							
							Fixes artifacts where fast bilinear was used for downscaling chroma
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								554e913fd7 
								
							
								 
							
						 
						
							
							
								
								swscale/utils: remove useless ()  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								dc54bd4e8d 
								
							
								 
							
						 
						
							
							
								
								swscale/utils: factor (d + 1 < 4) out  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								445c58a8c6 
								
							
								 
							
						 
						
							
							
								
								swscale/x86/rgb2rgb: Make sure COMPILE_TEMPLATE_AVX is defined  
							
							Found-by: iive
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								3f4290a206 
								
							
								 
							
						 
						
							
							
								
								swscale/x86/rgb2rgb_template: try to fix build without AVX  
							
							Found-by: iive
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								c85aad9cb2 
								
							
								 
							
						 
						
							
							
								
								doxy: Define a group for libswscale documentation  
							
							Uniform the style and eliminate a warning on newer doxygen version.. 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								4d18060e56 
								
							
								 
							
						 
						
							
							
								
								swscale/utils: fill xyz tables only when they will be used  
							
							makes the first call to sws_getContext() 1ms faster
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								56572787ae 
								
							
								 
							
						 
						
							
							
								
								Add Windows resource file support for shared libraries  
							
							Originally written by James Almer <jamrial@gmail.com>
With the following contributions by Timothy Gu <timothygu99@gmail.com>
* Use descriptions of libraries from the pkg-config file generation function
* Use "FFmpeg Project" as CompanyName (suggested by Alexander Strasser)
* Use "FFmpeg" for ProductName as MSDN says "name of the product with which the
  file is distributed" [1].
* Use FFmpeg's version (N-xxxxx-gxxxxxxx) for ProductVersion per MSDN [1].
* Only build the .rc files when --enable-small is not enabled.
[1] http://msdn.microsoft.com/en-us/library/windows/desktop/aa381058.aspx 
Signed-off-by: James Almer <jamrial@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								c16bfb147d 
								
							
								 
							
						 
						
							
							
								
								swscale: x86: Consistently use lowercase function name suffixes  
							
							
								
							
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								f836b0c581 
								
							
								 
							
						 
						
							
							
								
								swscale/x86: SIMD deinterleaveBytes() depends on YASM  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								3033cd7555 
								
							
								 
							
						 
						
							
							
								
								swscale/x86/rgb2rgb_template: add mmx/sse2/avx optimized deinterleaveBytes  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								1de064e21e 
								
							
								 
							
						 
						
							
							
								
								swscale/x86/rgb2rgb: change cpu optim identifiers to lower case  
							
							This makes the code more similar to the other optims and allows us
to use the same macros to build function names
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								4729b529e6 
								
							
								 
							
						 
						
							
							
								
								swscale/x86/rgb2rgb: extend framework to also include AVX  
							
							This does not yet include any actual AVX code
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								94d7ca2b58 
								
							
								 
							
						 
						
							
							
								
								swscale: fix used stride in planarToNv12Wrapper()  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								ef627bf9ec 
								
							
								 
							
						 
						
							
							
								
								swscale: add nv12/nv21->yuv420 converter  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								6909a611d2 
								
							
								 
							
						 
						
							
							
								
								swscale/swscale_unscaled: fix right column handling in planarCopyWrapper  
							
							Found-by: Михаил <Micky53@mail.ru>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								2a6c95d85f 
								
							
								 
							
						 
						
							
							
								
								lsws/utils: introduce scale_algorithms array  
							
							Allow some dumb factorizations, slightly decrease spaghetti factor. 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								246e323de8 
								
							
								 
							
						 
						
							
							
								
								lsws/utils: fix typo  
							
							
								
							
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								4fab08c94f 
								
							
								 
							
						 
						
							
							
								
								Optimize pure C unscaled yuv2rgb.  
							
							Aligning the tables reduces the amount of code generated on
e.g. ARM as the offset constant then has few enough set bits
so it can be encoded inside a single instruction instead of 2.
Ideally all should be declared aligned, but the DECLARE_ALIGNED
macros does not work with pointer tables, thus also reordered
the tables.
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								ff9d11f95d 
								
							
								 
							
						 
						
							
							
								
								lsws: use av_pix_fmt_get_chroma_sub_sample()  
							
							Remove duplicated getSubSampleFactors() function. Simplify. 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								eb4205cc89 
								
							
								 
							
						 
						
							
							
								
								swscale/utils: check mprotect() return code  
							
							Found-by: wm4
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								d0a3bc1302 
								
							
								 
							
						 
						
							
							
								
								swscale/yuv2rgb: clip cy, avoid division by 0 with 0 contrast  
							
							Found-by: durandal_1707
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								2db6547237 
								
							
								 
							
						 
						
							
							
								
								swscale/utils/sws_setColorspaceDetails(): fix indention  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								37d6b2b4e6 
								
							
								 
							
						 
						
							
							
								
								swsscale/swscale_unscaled: add GBRAP16  
							
							Signed-off-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								9ec9d46365 
								
							
								 
							
						 
						
							
							
								
								swscale/swscale_unscaled: fix alpha pointer & stride for planarRgb16ToRgb16Wrapper()  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								a830915b78 
								
							
								 
							
						 
						
							
							
								
								swscale: Use full resolution chroma for yuv2rgb when the input has full chroma  
							
							See Ticket3028
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								ccf96f8c64 
								
							
								 
							
						 
						
							
							
								
								swscale/options: switch default to bicubic  
							
							Suggested-by: Ronald S. Bultje
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								6b3ff6f91a 
								
							
								 
							
						 
						
							
							
								
								swscale: provide a default scaler if none is set  
							
							Lanczos for general case, sinc for upscaling, Gaussian for
downscaling. According to current literature these scalers
should be the best quality-wise algorithms for each case.
Inspired from a patch by wm4 <nfxjfg@googlemail.com>
Signed-off-by: Luca Barbato <lu_zero@gentoo.org> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								2e2a2d8801 
								
							
								 
							
						 
						
							
							
								
								swscale/utils: dont divide by zero with zero vectors  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								01e3340fb6 
								
							
								 
							
						 
						
							
							
								
								swscale: make bilinear scaling the default  
							
							Before this commit, sws_init_context() failed with an error if no scaler
was explicitly set.
Defaulting to something reasonable is better behavior.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								13eff473ad 
								
							
								 
							
						 
						
							
							
								
								swscale/swscale_unscaled: fix alpha values for rgb/bgr -> RGB32_1 / BGR32_1  
							
							Found-by: Justin Ruggles
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								2d28950da9 
								
							
								 
							
						 
						
							
							
								
								swscale/utils: remove redundant NULL checks before sws_freeVec()  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								a446657d8c 
								
							
								 
							
						 
						
							
							
								
								swscale/utils: simplify cpu caps printing code  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						12 years ago