Mark Thompson
d264c720f7
lavu: deprecate AV_PIX_FMT_VAAPI_*, replace with AV_PIX_FMT_VAAPI
...
Signed-off-by: Anton Khirnov <anton@khirnov.net>
9 years ago
Anton Khirnov
7bc780cd44
pixfmt: add a CUDA hwaccelled format
9 years ago
Vittorio Giovara
1546a41ada
pixdesc: Drop unneeded deprecation warning guards
9 years ago
Kevin Wheatley
4a66422450
pixfmt: Add new SMPTE color primaries and transfer characteristic values
...
Appeared in ITU-T Rec H.265 10/2014.
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
9 years ago
Hendrik Leppkes
c7ed26ad60
pixdesc: Add missing alpha flag for yuva420p9be
...
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
9 years ago
Hendrik Leppkes
e336c51e6f
pixdesc: Consistently order components
...
Ensure that the components are ordered consistently, ie. always
RGB(A) and YUV(A). This allows to identify a specific plane on a given
pixel format without hard-coding knowledge of the plane order.
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
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>
9 years ago
Vittorio Giovara
2f8cbbc962
lavu: Drop deprecated external access to AVPixFmtDescriptor table
...
Deprecated in 10/2012.
9 years ago
Steve Lhomme
d8039ef8d2
D3D11va: add a Direct3D11 video decoder similar to DXVA2
...
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
10 years ago
wm4
c48456166e
lavc: add MMAL hardware decoder wrapper
...
Based on a patch by Rodger Combs.
Signed-off-by: Anton Khirnov <anton@khirnov.net>
10 years ago
Vittorio Giovara
592a04054e
pixdesc: Replace a few leftover instances of non AV-prefixed flags
10 years ago
Anton Khirnov
5b1d9ceec7
pixfmt: add a pixel format for QSV hwaccel
10 years ago
Paul B Mahol
0e6c7dfa65
lavu: add planar 16 bit and 8 bit rgb with alpha
...
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
10 years ago
Vittorio Giovara
5a419b2dd1
pixdesc: return color properties names
10 years ago
Vittorio Giovara
e9abafca27
avutil: add AV_PIX_FMT_YA16 pixel format
10 years ago
Vittorio Giovara
e96c3b81ca
avutil: rename AV_PIX_FMT_Y400A to AV_PIX_FMT_YA8
...
The rationale is that you have a packed format in form
<greyscale sample> <alpha sample> <greyscale sample> <alpha sample>
and shortening greyscale to 'G' might make one thing about Greenscale instead.
An alias pixel format and color space name are provided for compatibility.
10 years ago
Vittorio Giovara
e0d73fda36
avutil: add alias names for gray 8/16 colour spaces
10 years ago
Luca Barbato
d2962e9f89
pixdesc: Support pixelformat aliases
...
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
10 years ago
Luca Barbato
b2e059a1ff
pixdesc: K&R formatting cosmetics
...
Also change some comments to multiline.
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
10 years ago
Anton Khirnov
66e6c8a7b4
lavu: Add a pixel format for new VDA hwaccel
...
The current hwaccel is broken and cannot be fixed in a compatible
way. It will be deprecated and replaced with a new one.
11 years ago
Vittorio Giovara
8b17243d17
lavu: Add packed YVYU422 pixel format
11 years ago
Janne Grunau
80035db88c
lavu: add missing formats to av_pix_fmt_swap_endianness
11 years ago
Jean First
1481d24c3a
RGBA64 pixel formats
...
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
11 years ago
Diego Biurrun
19e30a58fc
Deprecate obsolete XvMC hardware decoding support
...
XvMC has long ago been superseded by newer acceleration APIs, such as
VDPAU, and few downstreams still support it. Furthermore XvMC is not
implemented within the hwaccel framework, but requires its own specific
code in the MPEG-1/2 decoder, which is a maintenance burden.
11 years ago
Michael Niedermayer
a454dec19a
pixdesc: fix NV20* descriptors
...
They were inconsistent (overlapping fields and wrong sizes)
Signed-off-by: Anton Khirnov <anton@khirnov.net>
11 years ago
Kieran Kunhya
e208e6d209
lavu: Add interleaved 4:2:2 8/10-bit formats
...
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
11 years ago
Rémi Denis-Courmont
a0ad5d0113
vdpau: deprecate old codec-specific pixel formats
...
Signed-off-by: Anton Khirnov <anton@khirnov.net>
11 years ago
Diego Biurrun
7950e519bb
Disable deprecation warnings for cases where a replacement is available
11 years ago
Diego Biurrun
78b4bfdb84
Replace remaining obsolete PIX_FMT names with AV_PIX_FMT equivalents
11 years ago
Anton Khirnov
f36d7831d9
pixdesc: mark gray8 as pseudopal
...
Many functions treat it as such already.
Fixes Bug 499.
CC:libav-stable@libav.org
12 years ago
Anton Khirnov
e6c4ac7b5f
pixdesc: rename PIX_FMT_* flags to AV_PIX_FMT_FLAG_*
12 years ago
Janne Grunau
74652af821
pixdesc: add function to return pixel format with swapped endiannes
12 years ago
Nicolas Bertrand
8c65264595
pixdesc/pixfmt: Add XYZ colorspace for XYZ 12-bit values
...
Signed-off-by: Diego Biurrun <diego@biurrun.de>
12 years ago
Anton Khirnov
2c328a9079
pixdesc: add a function for counting planes in a pixel format.
12 years ago
Rémi Denis-Courmont
169fb94f0f
pixfmt: add picture format for VDPAU
...
Signed-off-by: Diego Biurrun <diego@biurrun.de>
12 years ago
Paul B Mahol
b519298a15
pixdesc: fix yuva 10bit bit depth
...
It was wrongly set as the yuva 16bit one.
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
12 years ago
Luca Barbato
cbe5a60c9d
pixdesc: add PIX_FMT_ALPHA flag
12 years ago
Luca Barbato
c1a02e884a
pixdesc: add av_pix_fmt_get_chroma_sub_sample
...
Deprecate avcodec_get_chroma_sub_sample.
12 years ago
Luca Barbato
7658295ba3
pixfmt: support more yuva formats
...
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
12 years ago
Luca Barbato
6d5600e855
avutil: add yuva422p and yuva444p formats
12 years ago
Anton Khirnov
d2fcb356ca
pixdesc: add functions for accessing pixel format descriptors.
...
Make av_pix_fmt_descriptors table static on next major bump.
Making the table public is dangerous, since the caller has no way to
know how large it actually is. It also prevents adding new fields to
AVPixFmtDescriptor without a major bump.
12 years ago
Anton Khirnov
716d413c13
Replace PIX_FMT_* -> AV_PIX_FMT_*, PixelFormat -> AVPixelFormat
12 years ago
Luca Barbato
a684267076
pixdesc: cosmetics
12 years ago
Anton Khirnov
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
Alex Converse
08628b6afb
Revert "sws/pixfmt/pixdesc: add support for yuva444p"
...
This reverts commit fc115c80b7
.
Tests are broken.
13 years ago
Paul B Mahol
fc115c80b7
sws/pixfmt/pixdesc: add support for yuva444p
...
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
13 years ago
Tsvetelina Borisova
4a59eca97a
Cleaned pixdesc.c file in libavutil
...
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
13 years ago
Ronald S. Bultje
f7f1835258
swscale: fix failing fate tests.
...
isGray() is left as a FIXME for later.
13 years ago
Ronald S. Bultje
6b0768e202
Clean up swscale pixfmt macros using av_pix_fmt_descriptors[].
13 years ago
Ronald S. Bultje
bd97b2e1ce
pixfmt: add planar RGB formats.
13 years ago