summaryrefslogtreecommitdiff
path: root/libswscale
Commit message (Collapse)AuthorAge
...
* swscale: support endianness conversion for AV_PIX_FMT_XYZ12Janne Grunau2013-05-06
|
* swscale: add support for endianness only conversionJanne Grunau2013-05-06
| | | | Use bitfields in FormatEntry array to avoid wasting an int for each flag.
* swscale: Use alpha from the right row in yuva2rgba_cMartin Storsjö2013-05-06
| | | | | | | | | | 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>
* swscale: Remove unnecessary backslashesMartin Storsjö2013-05-06
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* swscale: Add av_cold attributes to init functions missing themDiego Biurrun2013-05-04
|
* ppc: Drop unnecessary ff_ name prefixes from static functionsDiego Biurrun2013-04-30
|
* cosmetics: Remove unnecessary extern keywords from function declarationsDiego Biurrun2013-03-27
|
* Replace some forgotten instances of PIX_FMT_* with AV_PIX_FMT_*.Anton Khirnov2013-03-08
|
* swscale: Add support for unscaled 8-bit Packed RGB -> Planar RGBDerek Buitenhuis2013-02-27
| | | | Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* swscale: Disallow conversion to GBRP16Martin Storsjö2013-02-11
| | | | | | | | | | | | | This reverts parts of d6d5ef5534d582, that didn't work right. (The tests that were added failed on big endian, and the output looked garbled on little endian as well.) This is due to the fact that the intermediate scaling values (from e.g. hScale8To19_c or hScale16To19_c) are stored as int32_t and thus requires a separate output function, while yuv2gbrp_full_X_c only interprets it as int16_t. Signed-off-by: Martin Storsjö <martin@martin.st>
* sws: disable yuv2rgb warning for planar rgb.Michael Niedermayer2013-02-09
| | | | | | | 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>
* sws: dont enable chrSrcHSubSample for planar RGBMichael Niedermayer2013-02-09
| | | | | | | | This code path is not implemented and makes not much sense to implement either. Signed-off-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* sws: use planarRgbToRgbWrapper only for 8bit per componentMichael Niedermayer2013-02-09
| | | | | | | The function doesnt support >8bit currently Signed-off-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* sws: GBRP9, GBRP10, and GBRP16 output supportMichael Niedermayer2013-02-09
| | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* swscale: GBRP output supportMichael Niedermayer2013-01-27
| | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* x86inc: Rename "program_name" to "private_prefix"Diego Biurrun2013-01-18
| | | | | | | The new name is more descriptive and will allow defining a separate public prefix for externally visible library symbols. Signed-off-by: Diego Biurrun <diego@biurrun.de>
* swscale: fix NULL checking in sws_alloc_context()Xi Wang2013-01-04
| | | | | | | | | | | | | sws_getCachedContext() and sws_getContext() expect sws_alloc_context() to return NULL when out of memory, as follows. if (!(context = sws_alloc_context())) return NULL; This patch fixes sws_alloc_context() to return NULL in that case. Signed-off-by: Xi Wang <xi.wang@gmail.com> Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* miscellaneous typo fixesDiego Biurrun2012-12-21
|
* x86: SPLATD: port to cpuflagsDiego Biurrun2012-11-18
|
* libswscale: remove unnecessary direct #if LIBSWSCALE_VERSION_MAJORJanne Grunau2012-11-16
| | | | | | SWS_CPU_CAPS are deprecated and slated to removed with libswscale major version 3. No need to provide a SWS_CPU_CAPS_MMX2 as backward compatibility define under the same explicit condition.
* x86: mmx2 ---> mmxext in asm constructsDiego Biurrun2012-11-14
|
* x86: PALIGNR: port to cpuflagsDiego Biurrun2012-11-09
|
* x86: mmx2 ---> mmxext in function namesDiego Biurrun2012-10-31
|
* swscale: do not forget to swap data in formats with different endiannessKostya Shishkov2012-10-31
| | | | | | | | Otherwise during scaling it will try to interpret input in the wrong way and that leads to the test results disagreeing on different platforms and with different optimizations. Signed-off-by: Diego Biurrun <diego@biurrun.de>
* x86: MMX2 ---> MMXEXT in macro namesDiego Biurrun2012-10-31
|
* x86: mmx2 ---> mmxext in variable namesDiego Biurrun2012-10-31
|
* x86: mmx2 ---> mmxext in comments and messagesDiego Biurrun2012-10-31
|
* x86: yasm: Use complete source path for macro helper %includesDiego Biurrun2012-10-31
| | | | | This is more consistent with the way we handle C #includes and it simplifies the build system.
* x86: include x86inc.asm in x86util.asmDiego Biurrun2012-10-31
| | | | This is necessary to allow refactoring some x86util macros with cpuflags.
* pixfmt: support more yuva formatsLuca Barbato2012-10-30
| | | | Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* swscale: support gray to 9bit and 10bit formatsLuca Barbato2012-10-30
| | | | With the input of Kostya and Ronald.
* swscale: avoid pointless use of compound literalsMans Rullgard2012-10-23
| | | | | | Some compilers (e.g. old gcc) have trouble with these. Signed-off-by: Mans Rullgard <mans@mansr.com>
* swscale: try to use mmap only if availableMans Rullgard2012-10-15
| | | | | | | | | | | | Some systems, e.g. Minix, have sys/mman.h defining MAP_ANONYMOUS without providing (working) mmap and friends. The mmx filter generation code checks only for MAP_ANONYMOUS, not for availability of mmap itself which leads to build errors on aforementioned systems. This changes the conditional compilation to use mmap only if all the required functions are available. Signed-off-by: Mans Rullgard <mans@mansr.com>
* avutil: add yuva422p and yuva444p formatsLuca Barbato2012-10-12
|
* sws: do not use av_pix_fmt_descriptors directly.Anton Khirnov2012-10-12
|
* swscale: Do not make ff_ symbols globally visible.Diego Biurrun2012-10-10
|
* Replace PIX_FMT_* -> AV_PIX_FMT_*, PixelFormat -> AVPixelFormatAnton Khirnov2012-10-08
|
* Give all anonymously typedeffed structs in headers a nameDiego Biurrun2012-10-06
| | | | Anonymous structs cannot be forward declared and have no benefit.
* ppc: swscale: rework yuv2planeX_altivec()Mans Rullgard2012-10-05
| | | | | | | | | This gets rid of the variable-length scratch buffer by filtering 16 pixels at a time and writing directly to the destination. The extra loads this requires to load the source values are compensated by not doing a round-trip to memory before shifting. Signed-off-by: Mans Rullgard <mans@mansr.com>
* swscale: Remove two bogus assertsDiego Biurrun2012-09-13
|
* swscale: Provide the right alignment for external mmx asmMartin Storsjö2012-09-09
| | | | | | | | | | This reverts parts of e0c6cce4472. There is external mmx asm that requires this alignment. This fixes crashes when using swscale in builds with external mmx, without inline assembly. Signed-off-by: Martin Storsjö <martin@martin.st>
* x86: Replace checks for CPU extensions and flags by convenience macrosDiego Biurrun2012-09-08
| | | | | This separates code relying on inline from that relying on external assembly and fixes instances where the coalesced check was incorrect.
* x86: more specific checks for availability of required assembly capabilitiesDiego Biurrun2012-09-07
|
* avopt: Store defaults for AV_OPT_TYPE_INT in the i64 union memberMartin Storsjö2012-09-04
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* avopt: Store defaults for AV_OPT_TYPE_FLAGS in the i64 union memberMartin Storsjö2012-09-04
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* avopt: Store defaults for AV_OPT_TYPE_CONST in the i64 union memberMartin Storsjö2012-09-04
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* x86: Split inline and external assembly #ifdefsDiego Biurrun2012-08-31
|
* x86: cosmetics: Comment some #endifs for better readabilityDiego Biurrun2012-08-30
|
* yuv2rgb: handle line widths that are not a multiple of 4.Ronald S. Bultje2012-08-28
| | | | | | | 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.
* testprogs: Remove unused includesMartin Storsjö2012-08-29
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>