Limin Wang
							
						 
						
							
							
							
								
							
								67a07dc778 
								
							
								 
							
						 
						
							
							
								
								swscale/utils: return better error code from initFilter()  
							
							 
							
							 
							
							
								
							
							
							Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: Limin Wang <lance.lmwang@gmail.com> 
							
						 
						5 years ago  
					 
				
					
						
							
							
								   Limin Wang
							
						 
						
							
							
							
								
							
								8efecc9063 
								
							
								 
							
						 
						
							
							
								
								swscale/utils: reindent  
							
							 
							
							 
							
							
								
							
							
							Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: Limin Wang <lance.lmwang@gmail.com> 
							
						 
						5 years ago  
					 
				
					
						
							
							
								   Limin Wang
							
						 
						
							
							
							
								
							
								a408d03ee6 
								
							
								 
							
						 
						
							
							
								
								swscale/utils: remove FF_ALLOC_ARRAY_OR_GOTO macros  
							
							 
							
							 
							
							
								
							
							
							Signed-off-by: Limin Wang <lance.lmwang@gmail.com> 
							
						 
						5 years ago  
					 
				
					
						
							
							
								   Fei Wang
							
						 
						
							
							
							
								
							
								c721b45014 
								
							
								 
							
						 
						
							
							
								
								swscale: Add swscale input/output support for X2RGB10LE  
							
							 
							
							 
							
							
								
							
							
							Signed-off-by: Fei Wang <fei.w.wang@intel.com> 
							
						 
						5 years ago  
					 
				
					
						
							
							
								   Mark Reid
							
						 
						
							
							
							
								
							
								fabeef22d9 
								
							
								 
							
						 
						
							
							
								
								libswscale: fix for floating point formats, require full chroma  
							
							 
							
							 
							
							
								
							
							
							upon more floating point testing, looks like I missed adding this bit.
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc> 
							
						 
						5 years ago  
					 
				
					
						
							
							
								   Mark Reid
							
						 
						
							
							
							
								
							
								b4967fc71c 
								
							
								 
							
						 
						
							
							
								
								libswscale: add output support for AV_PIX_FMT_GBRAPF32  
							
							 
							
							 
							
							
								
							
							
							Signed-off-by: Michael Niedermayer <michael@niedermayer.cc> 
							
						 
						5 years ago  
					 
				
					
						
							
							
								   Mark Reid
							
						 
						
							
							
							
								
							
								ba5d0515a6 
								
							
								 
							
						 
						
							
							
								
								libswscale: add input support AV_PIX_FMT_GBRAPF32  
							
							 
							
							 
							
							
								
							
							
							Signed-off-by: Michael Niedermayer <michael@niedermayer.cc> 
							
						 
						5 years ago  
					 
				
					
						
							
							
								   Linjie Fu
							
						 
						
							
							
							
								
							
								d2aa1fbfd4 
								
							
								 
							
						 
						
							
							
								
								swscale: Add swscale input support for Y210LE  
							
							 
							
							 
							
							
								
							
							
							Add swscale input support for Y210LE, output support and fate
test could be added later if there is requirement for software
CSC to this packed format.
Signed-off-by: Linjie Fu <linjie.fu@intel.com> 
							
						 
						5 years ago  
					 
				
					
						
							
							
								   Gautam Ramakrishnan
							
						 
						
							
							
							
								
							
								da399e2135 
								
							
								 
							
						 
						
							
							
								
								libswscale/utils.c: Fix bug  #8255  
							
							 
							
							 
							
							
								
							
							
							Bug #8255  points out a double free error in libwscale/utils.c file.
The double free is because the pointer to cascaded_context of an
sw_context is not set to NULL after freeing it. When the sw_context
is later freed, sws_freeContext is called on the cascaded_context,
causing a double free.
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc> 
							
						 
						5 years ago  
					 
				
					
						
							
							
								   Carl Eugen Hoyos
							
						 
						
							
							
							
								
							
								96fab29e96 
								
							
								 
							
						 
						
							
							
								
								Silence "string-plus-int" warning shown by clang.  
							
							 
							
							 
							
							
								
							
							
							libswscale/utils.c:89:42: warning: adding 'unsigned long' to a string does not append to the string [-Wstring-plus-int] 
							
						 
						5 years ago  
					 
				
					
						
							
							
								   Zhao Zhili
							
						 
						
							
							
							
								
							
								1e3e547a5b 
								
							
								 
							
						 
						
							
							
								
								swscale/utils: remove access of AV_PIX_FMT_NB  
							
							 
							
							 
							
							
								
							
							
							Signed-off-by: Michael Niedermayer <michael@niedermayer.cc> 
							
						 
						5 years ago  
					 
				
					
						
							
							
								   Andreas Rheinhardt
							
						 
						
							
							
							
								
							
								e2646e23be 
								
							
								 
							
						 
						
							
							
								
								swscale/utils: Fix invalid left shifts of negative numbers  
							
							 
							
							 
							
							
								
							
							
							Affected the FATE-tests vsynth_lena-dv-411, vsynth1-dv-411,
vsynth2-dv-411 and hevc-paramchange-yuv420p.yuv420p10.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc> 
							
						 
						6 years ago  
					 
				
					
						
							
							
								   Philip Langdale
							
						 
						
							
							
							
								
							
								cd48318035 
								
							
								 
							
						 
						
							
							
								
								swscale: Add support for NV24 and NV42  
							
							 
							
							 
							
							
								
							
							
							The implementation is pretty straight-forward. Most of the existing
NV12 codepaths work regardless of subsampling and are re-used as is.
Where necessary I wrote the slightly different NV24 versions.
Finally, the one thing that confused me for a long time was the
asm specific x86 path that did an explicit exclusion check for NV12.
I replaced that with a semi-planar check and also updated the
equivalent PPC code, which Lauri kindly checked. 
							
						 
						6 years ago  
					 
				
					
						
							
							
								   Martin Vignali
							
						 
						
							
							
							
								
							
								86e6f0dbc7 
								
							
								 
							
						 
						
							
							
								
								swscale : add support for YUVA444P12 and YUVA422P12  
							
							 
							
							
								
							
							
						 
						7 years ago  
					 
				
					
						
							
							
								   Carl Eugen Hoyos
							
						 
						
							
							
							
								
							
								f149a4a5fc 
								
							
								 
							
						 
						
							
							
								
								swscale: Add GRAY10  
							
							 
							
							 
							
							
								
							
							
							Based on ab839054  by Luca Barbato.
Signed-off-by: James Almer <jamrial@gmail.com> 
							
						 
						7 years ago  
					 
				
					
						
							
							
								   Martin Vignali
							
						 
						
							
							
							
								
							
								3db33b446f 
								
							
								 
							
						 
						
							
							
								
								swscale/utils : simplify unscaled initial test for float pixfmt  
							
							 
							
							
								
							
							
						 
						7 years ago  
					 
				
					
						
							
							
								   Martin Vignali
							
						 
						
							
							
							
								
							
								db4771af81 
								
							
								 
							
						 
						
							
							
								
								swscale : add YA16 LE/BE output  
							
							 
							
							
								
							
							
						 
						7 years ago  
					 
				
					
						
							
							
								   Sergey Lavrushkin
							
						 
						
							
							
							
								
							
								582bc5a348 
								
							
								 
							
						 
						
							
							
								
								libswscale: Adds conversions from/to float gray format.  
							
							 
							
							 
							
							
								
							
							
							Signed-off-by: Michael Niedermayer <michael@niedermayer.cc> 
							
						 
						7 years ago  
					 
				
					
						
							
							
								   Paul B Mahol
							
						 
						
							
							
							
								
							
								b9dd058f7a 
								
							
								 
							
						 
						
							
							
								
								swscale: add gray14 support  
							
							 
							
							 
							
							
								
							
							
							Signed-off-by: Paul B Mahol <onemda@gmail.com> 
							
						 
						7 years ago  
					 
				
					
						
							
							
								   Philip Langdale
							
						 
						
							
							
							
								
							
								9d5aff09a7 
								
							
								 
							
						 
						
							
							
								
								swscale: Add p016 output support and generalise yuv420p1x to p010  
							
							 
							
							 
							
							
								
							
							
							To make the best use of existing code, I generalised the wrapper
that currently does yuv420p10 to p010 to support any mixture of
input and output sizes between 10 and 16 bits. This had the side
effect of yielding a working code path for all yuv420p1x formats
to p01x. 
							
						 
						7 years ago  
					 
				
					
						
							
							
								   Diego Biurrun
							
						 
						
							
							
							
								
							
								29ccc641b1 
								
							
								 
							
						 
						
							
							
								
								build: Drop check for sys/mman.h in favor of mmap() check  
							
							 
							
							 
							
							
								
							
							
							We already rely on just mmap() in other places. 
							
						 
						8 years ago  
					 
				
					
						
							
							
								   Derek Buitenhuis
							
						 
						
							
							
							
								
							
								5e3f6dc701 
								
							
								 
							
						 
						
							
							
								
								swscale: Do not expand a macro with 'defined' in it  
							
							 
							
							 
							
							
								
							
							
							Fixes:
    libswscale/utils.c:1632:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined]
    #if USE_MMAP
        ^
    libswscale/utils.c:1577:49: note: expanded from macro 'USE_MMAP'
    #define USE_MMAP (HAVE_MMAP && HAVE_MPROTECT && defined MAP_ANONYMOUS)
                                                    ^
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
Signed-off-by: Luca Barbato <lu_zero@gentoo.org> 
							
						 
						8 years ago  
					 
				
					
						
							
							
								   Derek Buitenhuis
							
						 
						
							
							
							
								
							
								add7b3bc3f 
								
							
								 
							
						 
						
							
							
								
								utils: Do not expand a macro with 'defined' in it  
							
							 
							
							 
							
							
								
							
							
							Fixes:
    libswscale/utils.c:1632:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined]
    #if USE_MMAP
        ^
    libswscale/utils.c:1577:49: note: expanded from macro 'USE_MMAP'
    #define USE_MMAP (HAVE_MMAP && HAVE_MPROTECT && defined MAP_ANONYMOUS)
                                                    ^
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com> 
							
						 
						8 years ago  
					 
				
					
						
							
							
								   Paul B Mahol
							
						 
						
							
							
							
								
							
								de48710c11 
								
							
								 
							
						 
						
							
							
								
								libswscale: add gray9 support  
							
							 
							
							
								
							
							
						 
						8 years ago  
					 
				
					
						
							
							
								   Diego Biurrun
							
						 
						
							
							
							
								
							
								825e463a17 
								
							
								 
							
						 
						
							
							
								
								build: Add feature test macros for glibc 2.19+  
							
							 
							
							 
							
							
								
							
							
							glibc introduced _DEFAULT_SOURCE in version 2.19 to replace _BSD_SOURCE and
_SVID_SOURCE, which were deprecated in version 2.20. Add _DEFAULT_SOURCE
where the latter two are used to be forwards-compatible and avoid warnings
about the use of deprecated definitions. 
							
						 
						8 years ago  
					 
				
					
						
							
							
								   Michael Niedermayer
							
						 
						
							
							
							
								
							
								ac29b82ec5 
								
							
								 
							
						 
						
							
							
								
								swscale: Add gbrap10 output  
							
							 
							
							 
							
							
								
							
							
							Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: Luca Barbato <lu_zero@gentoo.org> 
							
						 
						9 years ago  
					 
				
					
						
							
							
								   Paul B Mahol
							
						 
						
							
							
							
								
							
								f6a9c20a52 
								
							
								 
							
						 
						
							
							
								
								swscale: Add input support for gbrap10 pixel format  
							
							 
							
							 
							
							
								
							
							
							Signed-off-by: Paul B Mahol <onemda@gmail.com> 
							
						 
						9 years ago  
					 
				
					
						
							
							
								   Carl Eugen Hoyos
							
						 
						
							
							
							
								
							
								c1616b454d 
								
							
								 
							
						 
						
							
							
								
								lsws/utils: Make gray10 and gray12 full-scale like gray8 and gray16.  
							
							 
							
							
								
							
							
						 
						8 years ago  
					 
				
					
						
							
							
								   Philip Langdale
							
						 
						
							
							
							
								
							
								4c2176d45b 
								
							
								 
							
						 
						
							
							
								
								swscale: add P016 input support  
							
							 
							
							
								
							
							
						 
						9 years ago  
					 
				
					
						
							
							
								   Paul B Mahol
							
						 
						
							
							
							
								
							
								6427c9ffee 
								
							
								 
							
						 
						
							
							
								
								swscale: add gbr(a)p16 output support  
							
							 
							
							
								
							
							
						 
						9 years ago  
					 
				
					
						
							
							
								   Carl Eugen Hoyos
							
						 
						
							
							
							
								
							
								b5177c7051 
								
							
								 
							
						 
						
							
							
								
								lsws: Add GRAY10 conversion.  
							
							 
							
							 
							
							
								
							
							
							Based on 19be5fb7  by Luca Barbato. 
							
						 
						9 years ago  
					 
				
					
						
							
							
								   Luca Barbato
							
						 
						
							
							
							
								
							
								19be5fb728 
								
							
								 
							
						 
						
							
							
								
								swscale: Add GRAY12  
							
							 
							
							 
							
							
								
							
							
							Signed-off-by: Michael Niedermayer <michael@niedermayer.cc> 
							
						 
						9 years ago  
					 
				
					
						
							
							
								   Michael Niedermayer
							
						 
						
							
							
							
								
							
								b828788d58 
								
							
								 
							
						 
						
							
							
								
								swscale: Add GBRAP10 output  
							
							 
							
							 
							
							
								
							
							
							Signed-off-by: Michael Niedermayer <michael@niedermayer.cc> 
							
						 
						9 years ago  
					 
				
					
						
							
							
								   Luca Barbato
							
						 
						
							
							
							
								
							
								2c7d8cbd66 
								
							
								 
							
						 
						
							
							
								
								swscale: Add the GBRAP12 output  
							
							 
							
							 
							
							
								
							
							
							Signed-off-by: Michael Niedermayer <michael@niedermayer.cc> 
							
						 
						9 years ago  
					 
				
					
						
							
							
								   Luca Barbato
							
						 
						
							
							
							
								
							
								ab839054e6 
								
							
								 
							
						 
						
							
							
								
								swscale: Add GRAY12  
							
							 
							
							
								
							
							
						 
						9 years ago  
					 
				
					
						
							
							
								   Luca Barbato
							
						 
						
							
							
							
								
							
								881477c77b 
								
							
								 
							
						 
						
							
							
								
								swscale: Add the GBRAP12 output  
							
							 
							
							
								
							
							
						 
						9 years ago  
					 
				
					
						
							
							
								   Kieran Kunhya
							
						 
						
							
							
							
								
							
								81f1f6c3f6 
								
							
								 
							
						 
						
							
							
								
								Add GBRAP12 pixel format support  
							
							 
							
							 
							
							
								
							
							
							Signed-off-by: Diego Biurrun <diego@biurrun.de> 
							
						 
						9 years ago  
					 
				
					
						
							
							
								   Luca Barbato
							
						 
						
							
							
							
								
							
								ef3740c3a0 
								
							
								 
							
						 
						
							
							
								
								swscale: Enable GBRP12 output  
							
							 
							
							
								
							
							
						 
						9 years ago  
					 
				
					
						
							
							
								   Michael Niedermayer
							
						 
						
							
							
							
								
							
								328ea6a9a5 
								
							
								 
							
						 
						
							
							
								
								swscale: Add input support for 12-bit formats  
							
							 
							
							 
							
							
								
							
							
							Implemented for AV_PIX_FMT_GBRP12.
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com> 
							
						 
						13 years ago  
					 
				
					
						
							
							
								   Luca Barbato
							
						 
						
							
							
							
								
							
								9bd6ea5695 
								
							
								 
							
						 
						
							
							
								
								pixfmt: Add yuv444p12 pixel format  
							
							 
							
							
								
							
							
						 
						9 years ago  
					 
				
					
						
							
							
								   Luca Barbato
							
						 
						
							
							
							
								
							
								0aebbbd024 
								
							
								 
							
						 
						
							
							
								
								pixfmt: Add yuv422p12 pixel format  
							
							 
							
							
								
							
							
						 
						9 years ago  
					 
				
					
						
							
							
								   Luca Barbato
							
						 
						
							
							
							
								
							
								85406e7a8d 
								
							
								 
							
						 
						
							
							
								
								pixfmt: Add yuv420p12 pixel format  
							
							 
							
							
								
							
							
						 
						9 years ago  
					 
				
					
						
							
							
								   Timo Rothenpieler
							
						 
						
							
							
							
								
							
								99882d05a6 
								
							
								 
							
						 
						
							
							
								
								swscale: add support for P010LE/BE output  
							
							 
							
							
								
							
							
						 
						9 years ago  
					 
				
					
						
							
							
								   Diego Biurrun
							
						 
						
							
							
							
								
							
								aa37d2bf45 
								
							
								 
							
						 
						
							
							
								
								swscale: Kill non-compiling disabled cruft  
							
							 
							
							
								
							
							
						 
						9 years ago  
					 
				
					
						
							
							
								   Diego Biurrun
							
						 
						
							
							
							
								
							
								facdfe4080 
								
							
								 
							
						 
						
							
							
								
								swscale: Add proper ff_ prefix to init functions  
							
							 
							
							 
							
							
								
							
							
							They are internal symbols that should not be exported.
based on a patch by Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
Signed-off-by: Diego Biurrun <diego@biurrun.de> 
							
						 
						9 years ago  
					 
				
					
						
							
							
								   Andreas Cadhalpun
							
						 
						
							
							
							
								
							
								c0fd2fb27b 
								
							
								 
							
						 
						
							
							
								
								swscale: Rename sws_context_class to ff_sws_context_class  
							
							 
							
							 
							
							
								
							
							
							It is an internal swscale symbol and thus should not be exported.
Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
Signed-off-by: Diego Biurrun <diego@biurrun.de> 
							
						 
						10 years ago  
					 
				
					
						
							
							
								   Hendrik Leppkes
							
						 
						
							
							
							
								
							
								e78e5b735f 
								
							
								 
							
						 
						
							
							
								
								swscale: add P010 input support  
							
							 
							
							 
							
							
								
							
							
							Signed-off-by: Anton Khirnov <anton@khirnov.net> 
							
						 
						10 years ago  
					 
				
					
						
							
							
								   Paul B Mahol
							
						 
						
							
							
							
								
							
								9d30690f20 
								
							
								 
							
						 
						
							
							
								
								swscale: add input support for gbrap10 pixel format  
							
							 
							
							 
							
							
								
							
							
							Signed-off-by: Paul B Mahol <onemda@gmail.com> 
							
						 
						9 years ago  
					 
				
					
						
							
							
								   Diego Biurrun
							
						 
						
							
							
							
								
							
								1e9c5bf4c1 
								
							
								 
							
						 
						
							
							
								
								asm: FF_-prefix internal macros used in inline assembly  
							
							 
							
							 
							
							
								
							
							
							These warnings conflict with system macros on Solaris, producing
truckloads of warnings about macro redefinition. 
							
						 
						9 years ago  
					 
				
					
						
							
							
								   Clément Bœsch
							
						 
						
							
							
							
								
							
								c921f4f687 
								
							
								 
							
						 
						
							
							
								
								sws/aarch64: add ff_yuv2planeX_8_neon  
							
							 
							
							
								
							
							
						 
						9 years ago