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  
				
					
						
							
							
								 
						
							
							
							
								
							
								83890c66c4 
								
							
								 
							
						 
						
							
							
								
								swscale: K&R reformatting cosmetics for header files  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								131609dc2a 
								
							
								 
							
						 
						
							
							
								
								sws: readd PAL8 to isPacked()  
							
							Fixes PAL8 to YUV conversion. 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								58c42af722 
								
							
								 
							
						 
						
							
							
								
								doxygen: misc consistency, spelling and wording fixes  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								f7f1835258 
								
							
								 
							
						 
						
							
							
								
								swscale: fix failing fate tests.  
							
							isGray() is left as a FIXME for later. 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								185655c601 
								
							
								 
							
						 
						
							
							
								
								swscale: add support for planar RGB input.  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								6b0768e202 
								
							
								 
							
						 
						
							
							
								
								Clean up swscale pixfmt macros using av_pix_fmt_descriptors[].  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								0a3a125fd9 
								
							
								 
							
						 
						
							
							
								
								sws: update copyright dates  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								76a3490672 
								
							
								 
							
						 
						
							
							
								
								sws: add yuv2yuvX() back and updated to the just 1 plane API  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								109f62e8f8 
								
							
								 
							
						 
						
							
							
								
								swscale: decide whether to use yuv2plane1/X on a per-plane basis.  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								ff7913aef1 
								
							
								 
							
						 
						
							
							
								
								Split up yuv2yuvX functions  
							
							Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								34e8d147b3 
								
							
								 
							
						 
						
							
							
								
								Split out yuv2yuv1 luma and chroma in order to make them generic DSP functions  
							
							Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								dc49bf1270 
								
							
								 
							
						 
						
							
							
								
								sws/pixfmt/pixdesc: add support for yuv420p9le/be.  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								cca81e7eb0 
								
							
								 
							
						 
						
							
							
								
								sws: gbr24p input support  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								bd141af460 
								
							
								 
							
						 
						
							
							
								
								swscale: Fix prototypes of *toyv12 so they can be used with planar rgb input.  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								9569a3c9f4 
								
							
								 
							
						 
						
							
							
								
								Add new pix_fmt RGBA64  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								d06c5b44cc 
								
							
								 
							
						 
						
							
							
								
								swscale: drop redundant code.  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								3f04ab4fcd 
								
							
								 
							
						 
						
							
							
								
								swscale: split hScale() function pointer into h[cy]Scale().  
							
							This allows using more specific implementations for chroma/luma, e.g.
we can make assumptions on filterSize being constant, thus avoiding
that test at runtime. 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								28c1115a91 
								
							
								 
							
						 
						
							
							
								
								swscale: use 15-bit intermediates for 9/10-bit scaling.  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								62ee0e6a97 
								
							
								 
							
						 
						
							
							
								
								Revert "swscale: use 15-bit intermediates for 9/10-bit scaling."  
							
							This reverts commit ac0fb59348 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								ac0fb59348 
								
							
								 
							
						 
						
							
							
								
								swscale: use 15-bit intermediates for 9/10-bit scaling.  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								c59f9a68e2 
								
							
								 
							
						 
						
							
							
								
								swscale: error dithering for 16/9/10-bit to 8-bit.  
							
							Based on a somewhat similar idea in FFmpeg's swscale copy. 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								948ccdadf4 
								
							
								 
							
						 
						
							
							
								
								swscale: for >8bit scaling, read in native bit-depth.  
							
							For 9/10bit, it means we don't have to upscale to 16bit before
actual scaling or pixel format conversion, and thus a performance
gain. 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								142e76f105 
								
							
								 
							
						 
						
							
							
								
								swscale: fix crash with dithering due incorrect offset calculation.  
							
							ptrdiff_t can be 4 bytes, which leads to the next element being 4-byte
aligned and thus at a different offset than intended. Forcing 8-byte
alignment forces equal offset of dither16/32 on x86-32 and x86-64.
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								5c391a161a 
								
							
								 
							
						 
						
							
							
								
								swscale: rename uv_off/uv_off2 to uv_off_px/byte.  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								4e3e333a79 
								
							
								 
							
						 
						
							
							
								
								swscale: error dithering for 16/9/10-bit to 8-bit.  
							
							Based on a somewhat similar idea in FFmpeg's swscale copy. 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								f28aaae1c5 
								
							
								 
							
						 
						
							
							
								
								swscale: amend documentation to mention use of native depth for scaling.  
							
							Signed-off-by: Diego Biurrun <diego@biurrun.de> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								abc78a5a7c 
								
							
								 
							
						 
						
							
							
								
								Do not include log.h in avutil.h  
							
							Signed-off-by: Mans Rullgard <mans@mansr.com> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								d49ea4afb4 
								
							
								 
							
						 
						
							
							
								
								Do not include pixfmt.h in avutil.h  
							
							Signed-off-by: Mans Rullgard <mans@mansr.com> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								8a8d0ce208 
								
							
								 
							
						 
						
							
							
								
								swscale: for >8bit scaling, read in native bit-depth.  
							
							For 9/10bit, it means we don't have to upscale to 16bit before
actual scaling or pixel format conversion, and thus a performance
gain. 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								45f6ffe5e9 
								
							
								 
							
						 
						
							
							
								
								swscale: implement >8bit scaling support.  
							
							This means that precision is retained when scaling between sample
formats with >8 bits per component (48bit RGB, 16bit grayscale,
9/10/16bit YUV). 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								ef1ee362b3 
								
							
								 
							
						 
						
							
							
								
								swscale: implement >8bit scaling support.  
							
							This means that precision is retained when scaling between sample
formats with >8 bits per component (48bit RGB, 16bit grayscale,
9/10/16bit YUV). 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								4578435f35 
								
							
								 
							
						 
						
							
							
								
								swscale: Add Doxygen for hyscale_fast/hScale.  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								d6cc6ac6b8 
								
							
								 
							
						 
						
							
							
								
								swscale: Add Doxygen for yuv2planar*/yuv2packed* functions.  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								13a099799e 
								
							
								 
							
						 
						
							
							
								
								swscale: change prototypes of scaled YUV output functions.  
							
							Remove unused variables "flags" and "dstFormat" in yuv2packed1,
merge source rows per plane for yuv2packed[12], and make every
source argument int16_t (some where invalidly set to uint16_t).
This prevents stack pollution and is part of the Great Evil Plan
to simplify swscale. 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								97535ffb97 
								
							
								 
							
						 
						
							
							
								
								swscale: remove unused xInc/srcW arguments from hScale().  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								0af8a71d66 
								
							
								 
							
						 
						
							
							
								
								swscale: fix JPEG-range YUV scaling artifacts.  
							
							YUV planes were marked as uint16_t, but they contained signed data.
Fixes issue 1108 and 675.
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								103278f7b0 
								
							
								 
							
						 
						
							
							
								
								libavutil/swscale: YUV444P10/YUV444P9 support.  
							
							Also add missing glue code for recently added YUV422P10 formats
to swscale.
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								b73fe70025 
								
							
								 
							
						 
						
							
							
								
								swscale: add yuv2planar/packed function typedefs.  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								df91d09174 
								
							
								 
							
						 
						
							
							
								
								swscale: integrate yuv2nv12X_C into yuv2yuvX() function pointers.  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								ea28175312 
								
							
								 
							
						 
						
							
							
								
								swscale: remove alp/chr/lumSrcOffset.  
							
							They are hacks added to reuse the same scaling function for
different formats and they may cause problems when SIMD
implementation of the same functions are used along with pure
C functions. 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								7a8228c05e 
								
							
								 
							
						 
						
							
							
								
								sws: make dither_scale const  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								6af2801088 
								
							
								 
							
						 
						
							
							
								
								swscale: split swscale.c in unscaled and generic conversion routines.  
							
							This duplicates the function fillPlane(). 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								983260b0a4 
								
							
								 
							
						 
						
							
							
								
								swscale: split out x86/swscale_template.c from swscale.c.  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								67d80a5421 
								
							
								 
							
						 
						
							
							
								
								swscale: split out ppc _template.c files from main swscale.c.  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								0e5d31b16b 
								
							
								 
							
						 
						
							
							
								
								swscale: split out unscaled altivec YUV converters in their own file.  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								b932eb1be6 
								
							
								 
							
						 
						
							
							
								
								swscale: reintroduce sws_format_name() symbol  
							
							Reintroduce the internal symbol which was removed in:
commit e1197b9e17 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								6713989c23 
								
							
								 
							
						 
						
							
							
								
								swscale: dither for planar yuv outputs  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								e1197b9e17 
								
							
								 
							
						 
						
							
							
								
								swscale: remove sws_format_name()  
							
							Use av_get_pix_fmt_name() instead. 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								986f0d86cb 
								
							
								 
							
						 
						
							
							
								
								Commits that could not be pulled earlier due to bugs.  
							
							commit 93681fbd50e758573a880f4eb8b043b4a224c5e4 
							
						 
						14 years ago