ef0ee7f657 
								
							
								 
							
						 
						
							
							
								
								swscale: K&R formatting cosmetics (part II)  
							
							Also adjust some comments including wording and typo fixes. 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								b991b300f2 
								
							
								 
							
						 
						
							
							
								
								Unscaled Planar RGB -> RGB support in swscale.  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com> 
							
						 
						14 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  
				
					
						
							
							
								 
						
							
							
							
								
							
								b18f8cbf3d 
								
							
								 
							
						 
						
							
							
								
								Revert two swscale commits.  
							
							Revert "swscale: update context offsets after removal of AlpMmxFilter."
(commit a95e3fa90b9d03cb9fc5 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								a95e3fa90b 
								
							
								 
							
						 
						
							
							
								
								swscale: update context offsets after removal of AlpMmxFilter.  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								9d03cb9fc5 
								
							
								 
							
						 
						
							
							
								
								swscale: Remove some write-only variables related to alpha handling.  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								38d5533228 
								
							
								 
							
						 
						
							
							
								
								pixdesc: mark pseudopaletted formats with a special flag.  
							
							This makes it possible to dintinguish them from PAL8.
Fixes an invalid write in avpicture_layout(). 
							
						 
						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  
				
					
						
							
							
								 
						
							
							
							
								
							
								2144941069 
								
							
								 
							
						 
						
							
							
								
								swscale: split C output functions into separate file.  
							
							Signed-off-by: Diego Biurrun <diego@biurrun.de> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								2dd7a1c030 
								
							
								 
							
						 
						
							
							
								
								swscale: Split C input functions into separate file.  
							
							Signed-off-by: Diego Biurrun <diego@biurrun.de> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								1c910d2f11 
								
							
								 
							
						 
						
							
							
								
								sws: Fix RGB0->alpha containing formats.  
							
							Fixes Ticket869
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  
				
					
						
							
							
								 
						
							
							
							
								
							
								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