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  
				
					
						
							
							
								 
						
							
							
							
								
							
								46a723ec72 
								
							
								 
							
						 
						
							
							
								
								swscale/yuv2rgb: make sure yuvTable is set to NULL after deallocation  
							
							ensures no stale pointers remain
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								67e6a9f558 
								
							
								 
							
						 
						
							
							
								
								cosmetics: Place arch initialization calls in alphabetical order  
							
							
								
							
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								3aa682f253 
								
							
								 
							
						 
						
							
							
								
								swscale: consistent names for arch-specific acceleration functions  
							
							
								
							
							
						 
						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  
				
					
						
							
							
								 
						
							
							
							
								
							
								aa2ba8c99e 
								
							
								 
							
						 
						
							
							
								
								swscale: Move extern declarations for tables to swscale_internal.h  
							
							Also add missing ff_ prefixes where necessary. 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								e1746d057b 
								
							
								 
							
						 
						
							
							
								
								swscale: RGBA64 output  
							
							Signed-off-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								6e293d111f 
								
							
								 
							
						 
						
							
							
								
								swscale: Use alpha from the right row in yuva2rgba_c  
							
							Every other pixel had the alpha channel taken from the wrong
row.
This fixes bug 504.
CC: libav-stable@libav.org 
Signed-off-by: Martin Storsjö <martin@martin.st> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								6c5eac9a60 
								
							
								 
							
						 
						
							
							
								
								swscale: Remove unnecessary backslashes  
							
							Signed-off-by: Martin Storsjö <martin@martin.st> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								813784a8bf 
								
							
								 
							
						 
						
							
							
								
								sws: disable yuv2rgb warning for planar rgb.  
							
							planar rgb formats do not use the table
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								6512405ce2 
								
							
								 
							
						 
						
							
							
								
								sws: disable yuv2rgb warning for planar rgb.  
							
							planar rgb formats do not use the table
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								cccb45751e 
								
							
								 
							
						 
						
							
							
								
								yuv2rgb: fix integer overflow in fill_gv_table()  
							
							Fixes CID703747
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								a494792961 
								
							
								 
							
						 
						
							
							
								
								yuv2rgb: fix integer overflow in fill_table  
							
							Fixes CID703748
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								adcbb3fd8b 
								
							
								 
							
						 
						
							
							
								
								yuv2rgb: fix declared array sizes, so they match actuals.  
							
							Fixes CID733789, and others
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								716d413c13 
								
							
								 
							
						 
						
							
							
								
								Replace PIX_FMT_* -> AV_PIX_FMT_*, PixelFormat -> AVPixelFormat  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								b64a72e1b2 
								
							
								 
							
						 
						
							
							
								
								yuv2rgb: handle line widths that are not a multiple of 4.  
							
							This introduces support for width%4==2 in addition to width%4==0. For
odd widths, some more checks are needed, since the current code always
handles two luma items in a row, thus there is a possibility of an
overread by one. 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								22a279539e 
								
							
								 
							
						 
						
							
							
								
								yuv2rgb: implement 15/16bit ordered dither  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								23d8aaae46 
								
							
								 
							
						 
						
							
							
								
								yuv2rgb: remove assert() the codepath is not invalid  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								89d94b2182 
								
							
								 
							
						 
						
							
							
								
								swscale: K&R formatting cosmetics (part I)  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								0144fe6995 
								
							
								 
							
						 
						
							
							
								
								Remove Sun medialib glue code.  
							
							It is obscure, most likely unused and not bit-exact compared to
libavcodec due to a different IDCT transform algorithm. 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								7bab43f29c 
								
							
								 
							
						 
						
							
							
								
								yuv2rgb: better check if source format have alpha  
							
							Signed-off-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								0644cabd7a 
								
							
								 
							
						 
						
							
							
								
								sws: Move yuv2rgb clipping into the tables.  
							
							This fixes some cases where the clipping was entirely missing.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Thanks (for the comments and review) -to: Reimar, beastd, Ronald 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								6ed000c8e6 
								
							
								 
							
						 
						
							
							
								
								sws: Fix  warning: ‘abase’ may be used uninitialized in this function  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								41ac093f7e 
								
							
								 
							
						 
						
							
							
								
								swscale: fix signed shift overflows in ff_yuv2rgb_c_init_tables()  
							
							Signed-off-by: Mans Rullgard <mans@mansr.com> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								e1197b9e17 
								
							
								 
							
						 
						
							
							
								
								swscale: remove sws_format_name()  
							
							Use av_get_pix_fmt_name() instead. 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								06b5facd4b 
								
							
								 
							
						 
						
							
							
								
								swscale: Remove disabled code.  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								e66149e714 
								
							
								 
							
						 
						
							
							
								
								swscale: force --enable-runtime-cpudetect and remove SWS_CPU_CAPS_*.  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								1afbae100b 
								
							
								 
							
						 
						
							
							
								
								libswcale: PIX_FMT_BGR48LE and PIX_FMT_BGR48BE scaler implementation  
							
							Signed-off-by: Anton Khirnov <anton@khirnov.net> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								3e2523db20 
								
							
								 
							
						 
						
							
							
								
								libswcale: PIX_FMT_BGR48LE and PIX_FMT_BGR48BE scaler implementation  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								2912e87a6c 
								
							
								 
							
						 
						
							
							
								
								Replace FFmpeg with Libav in licence headers  
							
							Signed-off-by: Mans Rullgard <mans@mansr.com> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								453d28af60 
								
							
								 
							
						 
						
							
							
								
								Change the type of Y table to pointer to void in fill_table().  
							
							This fixes warnings about wrong type being used, e.g.:
libswscale/yuv2rgb.c: In function ‘ff_yuv2rgb_c_init_tables’:
libswscale/yuv2rgb.c:778: warning: passing argument 4 of ‘fill_table’ from incompatible pointer type
libswscale/yuv2rgb.c:598: note: expected ‘uint8_t *’ but argument is of type ‘uint16_t *’
Originally committed as revision 31722 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale 
							
						 
						15 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								6a01eab73c 
								
							
								 
							
						 
						
							
							
								
								Add av_ prefix to bswap macros  
							
							Originally committed as revision 31679 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale 
							
						 
						15 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								0093ac5b9f 
								
							
								 
							
						 
						
							
							
								
								Move internal scale context fields initialization from  
							
							sws_setColorspaceDetails() to ff_yuv2rgb_c_init_tables().
Allow to factorize duplicated code.
Originally committed as revision 31300 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale 
							
						 
						15 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								f4ea7c8911 
								
							
								 
							
						 
						
							
							
								
								alternative LGPL-licensed, MMX-optimized YUV to RGB conversion routines  
							
							written by Kostya Shishkov
Originally committed as revision 31135 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale 
							
						 
						15 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								f25b1c4b6b 
								
							
								 
							
						 
						
							
							
								
								HAVE_MMX2 implies HAVE_MMX, so checking the latter is enough.  
							
							Originally committed as revision 30961 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale 
							
						 
						15 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								a4e441301d 
								
							
								 
							
						 
						
							
							
								
								Add support to BGR444/RGB444 foreign endian output in libswscale.  
							
							Patch by Janusz Krzysztofik |jkrzyszt ^ tis icnet pl|.
Originally committed as revision 30855 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale 
							
						 
						15 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								124cb45137 
								
							
								 
							
						 
						
							
							
								
								Cosmetics: fix vertical alignment.  
							
							Originally committed as revision 30842 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale 
							
						 
						15 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								601949b898 
								
							
								 
							
						 
						
							
							
								
								libswscale: Extend the unaccelerated path of the unscaled yuv2rgb special  
							
							converter with support for rgb444 output format.
Patch by Janusz Krzysztofik jkrzyszt chez tis icnet pl
Originally committed as revision 30841 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale 
							
						 
						15 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								1379b58482 
								
							
								 
							
						 
						
							
							
								
								Support BGR555, BGR565, RGB555 and RGB565 foreign endian output in  
							
							libswscale.
Patch by Alexis Ballier, alexis D ballier A gmail
Originally committed as revision 30840 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale 
							
						 
						15 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								8ebed38e7a 
								
							
								 
							
						 
						
							
							
								
								Apply consistency nit.  
							
							Originally committed as revision 30729 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale 
							
						 
						15 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								3f3dc76cb1 
								
							
								 
							
						 
						
							
							
								
								Add function to translate SWS_CS_* to coefficient array  
							
							Originally committed as revision 30513 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale 
							
						 
						15 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								30b6147521 
								
							
								 
							
						 
						
							
							
								
								Use av_get_bits_per_pixel() for computing the bits per pixel of the  
							
							source and destination format, cache those values in the newly added
SwsContext:srcFormatBpp and SwsContext:dstFormatBpp fields, and remove
the fmt_depth() function.
Originally committed as revision 30419 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale 
							
						 
						15 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								d5206d3dd6 
								
							
								 
							
						 
						
							
							
								
								User friendly warning message that gives out names of source and target formats  
							
							Originally committed as revision 30370 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale 
							
						 
						16 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								3c52d4849f 
								
							
								 
							
						 
						
							
							
								
								Define out currently unused static functions.  
							
							Originally committed as revision 30365 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale 
							
						 
						16 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								a959e24780 
								
							
								 
							
						 
						
							
							
								
								Const correctness for src pointer. Remove all constness related warnings in  
							
							libswscale.
Originally committed as revision 30306 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale 
							
						 
						16 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								dd68318cee 
								
							
								 
							
						 
						
							
							
								
								Cosmetics:  
							
							- Place curly brackets in the same line as while/for/if/switch/else/do;
- Place curly brackets at column 0 in the next line starting a function.
Originally committed as revision 29523 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale 
							
						 
						16 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								df226e6369 
								
							
								 
							
						 
						
							
							
								
								Remove 'offset' argument from PUTRGB* macros since it's unneeded and caused  
							
							pixel swapping during some YUV2RGB conversions.
Originally committed as revision 29483 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale 
							
						 
						16 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								29ce043374 
								
							
								 
							
						 
						
							
							
								
								The AltiVec code in libswscale no longer is under GPL.  
							
							Remove one erroneous preprocessor check for CONFIG_GPL in the AltiVec code.
Originally committed as revision 29412 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale 
							
						 
						16 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								68e7f4828d 
								
							
								 
							
						 
						
							
							
								
								YUV into RGB48 BE/LE conversion support  
							
							Originally committed as revision 29342 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale 
							
						 
						16 years ago