a519583991 
								
							
								 
							
						 
						
							
							
								
								swscale: x86: Hide arch-specific initialization details  
							
							Also give consistent names to init functions. 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								920dd84bf1 
								
							
								 
							
						 
						
							
							
								
								sws/x86: remove 8bit rgb2yuv coefficient case for rgb24toyv12 special converter  
							
							This simplifies the code and improves quality at the expense of a slight
slowdown of a rarely used function (no fate test uses it).
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								b6649ab503 
								
							
								 
							
						 
						
							
							
								
								cosmetics: Remove unnecessary extern keywords from function declarations  
							
							
								
							
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								5e947aeb59 
								
							
								 
							
						 
						
							
							
								
								sws/x86: improve rounding for yuv2yuvX  
							
							This tries to compensate for the errors introduced by
the rounding of pmulhw
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								26301caaa1 
								
							
								 
							
						 
						
							
							
								
								x86: mmx2 ---> mmxext in asm constructs  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								d8eda37080 
								
							
								 
							
						 
						
							
							
								
								x86: mmx2 ---> mmxext in function names  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								652f518594 
								
							
								 
							
						 
						
							
							
								
								x86: mmx2 ---> mmxext in comments and messages  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								79393a8363 
								
							
								 
							
						 
						
							
							
								
								Replace usage of the deprecated av_pix_fmt_descriptors array with av_pix_fmt_desc_get  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								716d413c13 
								
							
								 
							
						 
						
							
							
								
								Replace PIX_FMT_* -> AV_PIX_FMT_*, PixelFormat -> AVPixelFormat  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								178ecfc257 
								
							
								 
							
						 
						
							
							
								
								swscale: fix To{Y,UV} extern prototypes.  
							
							This fix a bunch of "assignment from incompatible pointer type" warnings
with GCC. 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								ef912134f0 
								
							
								 
							
						 
						
							
							
								
								x86/swscale: use unsigned to build SIMD values to avoid signed overflow  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								e0c6cce447 
								
							
								 
							
						 
						
							
							
								
								x86: Replace checks for CPU extensions and flags by convenience macros  
							
							This separates code relying on inline from that relying on external
assembly and fixes instances where the coalesced check was incorrect. 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								a26789cf9f 
								
							
								 
							
						 
						
							
							
								
								Fix compilation with yasm-0.6.2.  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								17337f54c0 
								
							
								 
							
						 
						
							
							
								
								x86: Split inline and external assembly #ifdefs  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								a886b279a0 
								
							
								 
							
						 
						
							
							
								
								x86: cosmetics: Comment some #endifs for better readability  
							
							
								
							
							
						 
						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  
				
					
						
							
							
								 
						
							
							
							
								
							
								c318626ce2 
								
							
								 
							
						 
						
							
							
								
								x86: rename libavutil/x86_cpu.h to libavutil/x86/asm.h  
							
							This puts x86-specific things in the x86/ subdirectory where they
belong.
Signed-off-by: Mans Rullgard <mans@mansr.com> 
							
						 
						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  
				
					
						
							
							
								 
						
							
							
							
								
							
								5a6e3c039c 
								
							
								 
							
						 
						
							
							
								
								swscale: Mark all init functions as av_cold  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								16d2a1a51c 
								
							
								 
							
						 
						
							
							
								
								swscale: x86: Drop pointless _mmx suffix from filenames  
							
							The files do not contain only MMX code. 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								b2668c85e9 
								
							
								 
							
						 
						
							
							
								
								x86: swscale: Place inline assembly code under appropriate #ifdefs  
							
							Fixes compilation for compilers that do not support gcc inline assembly.
Signed-off-by: Diego Biurrun <diego@biurrun.de> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								9b2b57681c 
								
							
								 
							
						 
						
							
							
								
								sws/x86: add av_assert() to ensure 16bit code is used with 16bit data  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								a32032b508 
								
							
								 
							
						 
						
							
							
								
								sws/x86: add some forgotten 12bit planar yuv cases  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						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  
				
					
						
							
							
								 
						
							
							
							
								
							
								557519189f 
								
							
								 
							
						 
						
							
							
								
								swscale: yuv2planeX 8bit >=sse2 functions need aligned stack on x86-32.  
							
							Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com> 
							
						 
						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  
				
					
						
							
							
								 
						
							
							
							
								
							
								1d8c4af396 
								
							
								 
							
						 
						
							
							
								
								swscale: take first/lastline over/underflows into account for MMX.  
							
							Fixes crashes for extremely large resizes (several 100-fold).
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC: libav-stable@libav.org  
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								b18f8cbf3d 
								
							
								 
							
						 
						
							
							
								
								Revert two swscale commits.  
							
							Revert "swscale: update context offsets after removal of AlpMmxFilter."
(commit a95e3fa90b9d03cb9fc5 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								e7dbfa59f2 
								
							
								 
							
						 
						
							
							
								
								swscale: enable some more SIMD functions.  
							
							They no longer just segfault.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								9d03cb9fc5 
								
							
								 
							
						 
						
							
							
								
								swscale: Remove some write-only variables related to alpha handling.  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								de53b9068a 
								
							
								 
							
						 
						
							
							
								
								swscale: implement MMX, SSE2 and AVX functions for RGB32 input.  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								378c5ef9ae 
								
							
								 
							
						 
						
							
							
								
								swscale: enable dithering in MMX functions.  
							
							This was accidently disabled.
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								b5d08c27c3 
								
							
								 
							
						 
						
							
							
								
								swscale: convert rgb/bgr24ToY/UV_mmx functions from inline asm to yasm.  
							
							Also implement sse2/ssse3/avx versions. 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								ef3a19d595 
								
							
								 
							
						 
						
							
							
								
								Fix compilation with yasm-0.6.2  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								2170a0e6ad 
								
							
								 
							
						 
						
							
							
								
								swscale: convert yuy2/uyvy/nv12/nv21ToY/UV from inline asm to yasm.  
							
							Also implement SSE2/AVX variants. 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								3c62a71486 
								
							
								 
							
						 
						
							
							
								
								swscale_mmx: drop no longer required parameters from VSCALEX macros  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								52de07e1f1 
								
							
								 
							
						 
						
							
							
								
								swscale: Mark yuv2planeX_8_mmx as MMX2; it contains MMX2 instructions.  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								373211d828 
								
							
								 
							
						 
						
							
							
								
								Remove extraneous semicolons  
							
							These semicolons cause invalid empty top-level declarations.
Signed-off-by: Mans Rullgard <mans@mansr.com> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								3fd4fe0e03 
								
							
								 
							
						 
						
							
							
								
								swscale_mmx: Fix cast qualifier warnings:  
							
							libswscale/x86/swscale_mmx.c:131:36: warning: to be safe all intermediate pointers in cast from ‘int16_t **’ to ‘const int16_t **’ must be ‘const’ qualified [-Wcast-qual]
libswscale/x86/swscale_mmx.c:132:37: warning: to be safe all intermediate pointers in cast from ‘int16_t **’ to ‘const int16_t **’ must be ‘const’ qualified [-Wcast-qual]
libswscale/x86/swscale_mmx.c:133:74: warning: to be safe all intermediate pointers in cast from ‘int16_t **’ to ‘const int16_t **’ must be ‘const’ qualified [-Wcast-qual]
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								0a3a125fd9 
								
							
								 
							
						 
						
							
							
								
								sws: update copyright dates  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								7437db84a9 
								
							
								 
							
						 
						
							
							
								
								sws: Fix compilation with disabled MMX2  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								c435653627 
								
							
								 
							
						 
						
							
							
								
								swscale: write yuv2plane1 MMX/SSE2/SSE4/AVX functions.  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								e484b64ce3 
								
							
								 
							
						 
						
							
							
								
								sws: fallback to mmx2 when yuv2yuvX_sse3() cannot be used.  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								9eb867e117 
								
							
								 
							
						 
						
							
							
								
								sws: add yuv2yuvX_sse3()  
							
							Code is about 2x as fast as previous
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								1ac5b51203 
								
							
								 
							
						 
						
							
							
								
								swscale: disable functions that do not yet work  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								6cacecdca3 
								
							
								 
							
						 
						
							
							
								
								swscale: make yuv2yuvX_10_sse2/avx 8/9/16-bits aware.  
							
							Also implement MMX/MMX2 versions and SSE4 versions. 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								7fbbf95293 
								
							
								 
							
						 
						
							
							
								
								yuv2planeX10 SIMD  
							
							Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								1eb8014b49 
								
							
								 
							
						 
						
							
							
								
								swscale: add 14bit support to the "MMX/SSE2/SSSE3/SSE4 versions for horizontal scaling"  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								e0c3e07387 
								
							
								 
							
						 
						
							
							
								
								sws: implement MMX/SSE2/SSSE3/SSE4 versions for horizontal scaling.  
							
							Speed: from 3.9x to 9.6x speed improvement over C, and some small
(up to 15%) speed improvements over existing MMX code (particularly
for bigger filters). 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								97e057ff81 
								
							
								 
							
						 
						
							
							
								
								swscale: Fix compilation with --disable-mmx2.  
							
							Some MMX2 functions were being referenced without proper #ifdefs. 
							
						 
						14 years ago