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  
				
					
						
							
							
								 
						
							
							
							
								
							
								02b63246cf 
								
							
								 
							
						 
						
							
							
								
								libswscale: bayer to rgb24 & yv12 colorspace converters  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						11 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  
				
					
						
							
							
								 
						
							
							
							
								
							
								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  
				
					
						
							
							
								 
						
							
							
							
								
							
								1909f6b1b6 
								
							
								 
							
						 
						
							
							
								
								swscale: cosmetics: Drop silly camelCase from swScale function pointer name  
							
							
								
							
							
						 
						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  
				
					
						
							
							
								 
						
							
							
							
								
							
								c62801270f 
								
							
								 
							
						 
						
							
							
								
								swscale: change ff_dither_8x8_128 dimensions to be consistent with the others  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								1e0e193240 
								
							
								 
							
						 
						
							
							
								
								sws: add dither enum  
							
							This allows specifying more dither algorithms without using up flags and
without ambiguities.
Also initialize the new field based on the flags and use it.
Note, improving the logic of the checks is left to subsequent
commits, this here only switches from flags to enum.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								60e9b8556a 
								
							
								 
							
						 
						
							
							
								
								swscale_unscaled: make dither_scale static, its not used elsewhere and has no prefix  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								aa2ba8c99e 
								
							
								 
							
						 
						
							
							
								
								swscale: Move extern declarations for tables to swscale_internal.h  
							
							Also add missing ff_ prefixes where necessary. 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								b9b1a2c3e4 
								
							
								 
							
						 
						
							
							
								
								libswscale: Adding RGB => XYZ support  
							
							
								
							
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								b405f4e916 
								
							
								 
							
						 
						
							
							
								
								swscale: Add support to specify chroma position  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								034b31df2c 
								
							
								 
							
						 
						
							
							
								
								swscale: Fix PAL8 input with alpha  
							
							Fixes Ticket2158
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								c7c71f95f8 
								
							
								 
							
						 
						
							
							
								
								replace remaining PIX_FMT_* flags with AV_PIX_FMT_FLAG_*  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								e6c4ac7b5f 
								
							
								 
							
						 
						
							
							
								
								pixdesc: rename PIX_FMT_* flags to AV_PIX_FMT_FLAG_*  
							
							
								
							
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								443181c0a9 
								
							
								 
							
						 
						
							
							
								
								libswscale: simplify isAnyRGB macro  
							
							Signed-off-by: Paul B Mahol <onemda@gmail.com> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								5c057433cc 
								
							
								 
							
						 
						
							
							
								
								libswscale: GBRAP input & output and GBRAP16 input support  
							
							Signed-off-by: Paul B Mahol <onemda@gmail.com> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								2514b80045 
								
							
								 
							
						 
						
							
							
								
								sws: share xyzgamma tables.  
							
							They are currently always constant and thus theres no point to
store them in the context.
This makes the context 16kb smaller
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  
				
					
						
							
							
								 
						
							
							
							
								
							
								003bf33747 
								
							
								 
							
						 
						
							
							
								
								sws: fix alignment of rgb2yuv  
							
							This should fix mingw32 fate
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								3950236332 
								
							
								 
							
						 
						
							
							
								
								sws/x86: update RENAME(rgb24toyv12)() to using the user provided rgb2yuv table  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								357da7ed42 
								
							
								 
							
						 
						
							
							
								
								sws: remove forgotten FAST_BGR2YV12 define  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								17ad06c753 
								
							
								 
							
						 
						
							
							
								
								sws/x86: update rgb/bgr->yuv code to use provided coefficient table  
							
							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  
				
					
						
							
							
								 
						
							
							
							
								
							
								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  
				
					
						
							
							
								 
						
							
							
							
								
							
								f0d3a03115 
								
							
								 
							
						 
						
							
							
								
								sws: include isRGB in  isAnyRGB() so that future RGB formats wont be missed again  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								02001a372d 
								
							
								 
							
						 
						
							
							
								
								sws: add planar RGB formats to isAnyRGB  
							
							We have to make some symetric changes elsewhere as this increases
the precission with which samples are stored.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						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  
				
					
						
							
							
								 
						
							
							
							
								
							
								d07b0d9927 
								
							
								 
							
						 
						
							
							
								
								swscale: check flags instead of nb_components to find if pixel format have alpha  
							
							Signed-off-by: Paul B Mahol <onemda@gmail.com> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								646ade7679 
								
							
								 
							
						 
						
							
							
								
								sws: Support error diffusion dither for mono output  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								a65bdceb06 
								
							
								 
							
						 
						
							
							
								
								x86: mmx2 ---> mmxext in variable names  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								652f518594 
								
							
								 
							
						 
						
							
							
								
								x86: mmx2 ---> mmxext in comments and messages  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								70c25c6205 
								
							
								 
							
						 
						
							
							
								
								sws: move fillPlane16() to header so it can be used from more than 1 place  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						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  
				
					
						
							
							
								 
						
							
							
							
								
							
								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  
				
					
						
							
							
								 
						
							
							
							
								
							
								f4c020e3ad 
								
							
								 
							
						 
						
							
							
								
								swscale: fix usePal()  
							
							Fixes Ticket1702
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								1d9c2dc89a 
								
							
								 
							
						 
						
							
							
								
								Don't include common.h from avutil.h  
							
							Signed-off-by: Martin Storsjö <martin@martin.st> 
							
						 
						13 years ago