summaryrefslogtreecommitdiff
path: root/libswscale
Commit message (Collapse)AuthorAge
* build: Drop check for sys/mman.h in favor of mmap() checkDiego Biurrun2017-10-10
| | | | We already rely on just mmap() in other places.
* swscale: Do not expand a macro with 'defined' in itDerek Buitenhuis2017-08-28
| | | | | | | | | | | | | 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>
* build: Add feature test macros for glibc 2.19+Diego Biurrun2017-07-10
| | | | | | | 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.
* swscale-test: const correctnessDiego Biurrun2017-04-24
|
* swscale: Convert the check check_image_pointers helper to a macroLuca Barbato2017-04-15
| | | | Avoid warnings about types mismatch and make the code a little simpler.
* swscale: Do not shift negative values directlyLuca Barbato2017-04-15
| | | | | It is undefined in C as reported: warning: shifting a negative signed value is undefined
* swscale: Add gbrap10 outputMichael Niedermayer2017-04-15
| | | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* swscale: Add input support for gbrap10 pixel formatPaul B Mahol2017-04-13
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* Bump major versions of all librariesVittorio Giovara2017-03-23
| | | | | | | | | This disables everything that was deprecated at least 18 months ago. Readjust the minimum API version as needed, postponing any API-incompatible changes until the next bump. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* x86util: Port all macros to cpuflagsDiego Biurrun2017-03-14
| | | | | | Also do some small cosmetic changes: Drop pointless _MMX suffix from ABSD2 macro name, drop pointless check for MMX support, we always assume MMX is available in our SIMD code, fix spelling.
* build: Generalize yasm/nasm-related variable namesDiego Biurrun2017-03-01
| | | | None of them are specific to the YASM assembler.
* swscale-test: const correctness for pointer variableDiego Biurrun2017-01-24
| | | | | libswscale/swscale-test.c:369:20: warning: passing argument 2 of ‘sws_scale’ from incompatible pointer type [-Wincompatible-pointer-types] libswscale/swscale.h:207:5: note: expected ‘const uint8_t * const* {aka const unsigned char * const*}’ but argument is of type ‘uint8_t ** {aka unsigned char **}’
* build: Generate pkg-config files from Make and not from configureDiego Biurrun2016-12-22
| | | | | | | | This moves work from the configure to the Make stage where it can be parallelized and ensures that pkgconfig files are updated when library versions change. Bug-Id: 449
* ppc: Centralize compiler-specific altivec.h #include handling in one placeDiego Biurrun2016-12-14
| | | | Also move #includes into canonical order where appropriate.
* swscale: Add GRAY12Luca Barbato2016-11-07
|
* Adjust printf conversion specifiers to match variable signednessDiego Biurrun2016-10-28
|
* swscale: Properly load alpha for planar rgbMichael Niedermayer2016-10-18
| | | | | Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com> Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* swscale: Add the GBRAP12 outputLuca Barbato2016-10-12
|
* Add GBRAP12 pixel format supportKieran Kunhya2016-10-12
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* swscale: Enable GBRP12 outputLuca Barbato2016-10-12
|
* swscale: x86: Add some forgotten 12-bit planar YUV casesMichael Niedermayer2016-10-12
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* swscale: Add input support for 12-bit formatsMichael Niedermayer2016-10-12
| | | | | | Implemented for AV_PIX_FMT_GBRP12. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* swscale: Add missing yuv444p12 swappingVittorio Giovara2016-10-12
| | | | | | | Missing from 9bd6ea5695660529b2887292874a7b9e61fc301e. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com> Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* pixfmt: Add yuv444p12 pixel formatLuca Barbato2016-09-27
|
* pixfmt: Add yuv422p12 pixel formatLuca Barbato2016-09-27
|
* pixfmt: Add yuv420p12 pixel formatLuca Barbato2016-09-27
|
* swscale: Rename is9_OR_10 to match what it doesLuca Barbato2016-09-27
| | | | It is used to select functions that work with 9-15bits.
* swscale: Update bitdepth range checkLuca Barbato2016-09-27
| | | | | Make sure the scaling functions for the 9-15bits are used for 9-15bits bit depths correctly.
* swscale: Consistently order input YUV pixel formatsVittorio Giovara2016-09-27
| | | | | | | Follow a 420, 422, 444 order instead of a random one. This simplifies double-checking additions of new formats. Signed-off-by: Diego Biurrun <diego@biurrun.de>
* swscale: Kill non-compiling disabled cruftDiego Biurrun2016-08-17
|
* swscale: Add proper ff_ prefix to init functionsDiego Biurrun2016-07-16
| | | | | | | | 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>
* swscale: Rename sws_context_class to ff_sws_context_classAndreas Cadhalpun2016-07-16
| | | | | | | 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>
* swscale: add P010 input supportHendrik Leppkes2016-07-02
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* build: Change structure of the linker version script templatesDiego Biurrun2016-05-29
| | | | | | Split version files into one line per symbol/directive to allow compatibility with the Solaris linker without preprocessing and eliminate $ from version file templates to simplify the postprocessing shell command.
* asm: FF_-prefix internal macros used in inline assemblyDiego Biurrun2016-05-28
| | | | | These warnings conflict with system macros on Solaris, producing truckloads of warnings about macro redefinition.
* Drop unnecessary libavutil/x86/asm.h #includesDiego Biurrun2016-05-28
|
* tests: Move all test programs to a subdirectoryDiego Biurrun2016-05-13
|
* cosmetics: Fix spelling mistakesVittorio Giovara2016-05-04
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* Drop pointless assert.h #includesDiego Biurrun2016-05-03
|
* build: miscellaneous cosmeticsDiego Biurrun2016-04-07
| | | | | | Restore alphabetical order in lists, break overly long lines, do some prettyprinting, add some explanatory section comments, group parts together that belong together logically.
* cosmetics: Drop empty comment linesDiego Biurrun2016-02-18
|
* yuv2rgb: Document the color space coefficientsVittorio Giovara2016-01-20
| | | | | | Based on the original documentation found in mpeg2dec (1995). Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* lavu: add AV_CEIL_RSHIFT and use it in various placesClément Bœsch2016-01-11
| | | | Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* lavu: Drop the {minus,plus}1 suffix from AVComponentDescriptor fieldsVittorio Giovara2015-09-07
| | | | | | The new fields can be accessed directly and are more intelligible. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* Bump major versions of all librariesVittorio Giovara2015-08-28
| | | | Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* sws: Drop deprecated SWS_CPU_CAPS definesVittorio Giovara2015-08-28
| | | | Deprecated in 07/2012.
* ppc: Restrict some Altivec implementations to Big EndianLuca Barbato2015-05-31
| | | | | In Little Endian the vec_ld/vec_st operations work as expected only for byte-vectors.
* swscale: Check memory allocationFederico Tomassetti2015-03-21
| | | | | | | Bug-Id: CID 1267890 CC: libav-stable@libav.org Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* libswscale: fix compiler warnings enumerated type mixed with another typeHimangi Saraogi2015-03-15
| | | | Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* swscale: Check memory allocationsFederico Tomassetti2015-02-17
| | | | | | CC: libav-stable@libav.org Bug-Id: CID 1267888 / CID 1267890 Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>