Diego Biurrun
0fd0d4fd0a
swscale-test: const correctness
8 years ago
Luca Barbato
37f573543c
swscale: Convert the check check_image_pointers helper to a macro
Avoid warnings about types mismatch and make the code a little simpler.
8 years ago
Luca Barbato
f56fa95cd1
swscale: Do not shift negative values directly
It is undefined in C as reported:
warning: shifting a negative signed value is undefined
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
Vittorio Giovara
07a2b15594
Bump major versions of all libraries
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>
8 years ago
Diego Biurrun
994c4bc107
x86util: Port all macros to cpuflags
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.
13 years ago
Diego Biurrun
39e208f4d4
build: Generalize yasm/nasm-related variable names
None of them are specific to the YASM assembler.
9 years ago
Diego Biurrun
5c0e2b13eb
swscale-test: const correctness for pointer variable
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 **}’
10 years ago
Diego Biurrun
92db508307
build: Generate pkg-config files from Make and not from configure
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
8 years ago
Diego Biurrun
ea7ee4b4e3
ppc: Centralize compiler-specific altivec.h #include handling in one place
Also move #includes into canonical order where appropriate.
9 years ago
Luca Barbato
ab839054e6
swscale: Add GRAY12
9 years ago
Diego Biurrun
1263b2039e
Adjust printf conversion specifiers to match variable signedness
10 years ago
Michael Niedermayer
be9dba5c8a
swscale: Properly load alpha for planar rgb
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
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
f59750641a
swscale: x86: Add some forgotten 12-bit planar YUV cases
Signed-off-by: Diego Biurrun <diego@biurrun.de>
13 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
Vittorio Giovara
eb54210602
swscale: Add missing yuv444p12 swapping
Missing from 9bd6ea5695 .
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
9 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
Luca Barbato
2b5b1e1e9b
swscale: Rename is9_OR_10 to match what it does
It is used to select functions that work with 9-15bits.
9 years ago
Luca Barbato
e87a501e7d
swscale: Update bitdepth range check
Make sure the scaling functions for the 9-15bits are used for
9-15bits bit depths correctly.
9 years ago
Vittorio Giovara
de8e096c7e
swscale: Consistently order input YUV pixel formats
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>
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
Diego Biurrun
535a742c26
build: Change structure of the linker version script templates
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.
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
Diego Biurrun
dc40a70c57
Drop unnecessary libavutil/x86/asm.h #includes
9 years ago
Diego Biurrun
a6a750c7ef
tests: Move all test programs to a subdirectory
9 years ago
Vittorio Giovara
41ed7ab45f
cosmetics: Fix spelling mistakes
Signed-off-by: Diego Biurrun <diego@biurrun.de>
9 years ago
Diego Biurrun
0f40c90984
Drop pointless assert.h #includes
9 years ago
Diego Biurrun
01621202aa
build: miscellaneous cosmetics
Restore alphabetical order in lists, break overly long lines, do some
prettyprinting, add some explanatory section comments, group parts
together that belong together logically.
9 years ago
Diego Biurrun
29c2d06d67
cosmetics: Drop empty comment lines
9 years ago
Vittorio Giovara
e9175634ec
yuv2rgb: Document the color space coefficients
Based on the original documentation found in mpeg2dec (1995).
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
9 years ago
Clément Bœsch
e8bc642202
lavu: add AV_CEIL_RSHIFT and use it in various places
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
9 years ago
Vittorio Giovara
2268db2cd0
lavu: Drop the {minus,plus}1 suffix from AVComponentDescriptor fields
The new fields can be accessed directly and are more intelligible.
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
10 years ago
Vittorio Giovara
e88103a7f9
Bump major versions of all libraries
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
10 years ago
Vittorio Giovara
9d58639e27
sws: Drop deprecated SWS_CPU_CAPS defines
Deprecated in 07/2012.
10 years ago
Luca Barbato
da60b99a88
ppc: Restrict some Altivec implementations to Big Endian
In Little Endian the vec_ld/vec_st operations work as
expected only for byte-vectors.
10 years ago
Federico Tomassetti
7ebb302229
swscale: Check memory allocation
Bug-Id: CID 1267890
CC: libav-stable@libav.org
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
10 years ago
Himangi Saraogi
9a60b1fad0
libswscale: fix compiler warnings enumerated type mixed with another type
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
10 years ago
Federico Tomassetti
e51f22122d
swscale: Check memory allocations
CC: libav-stable@libav.org
Bug-Id: CID 1267888 / CID 1267890
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
10 years ago
Vittorio Giovara
2df7277711
swscale: fix gbrap to gbrap alpha scaling
10 years ago
Vittorio Giovara
89df3fd49e
swscale: fix warning about incompatible function pointer type
10 years ago
Paul B Mahol
928061670e
libswscale: GBRAP input & output and GBRAP16 input support
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
11 years ago