Paul B Mahol
8100426fe4
avutil: add 10-bit planar RGB with alpha
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
9 years ago
Neil Birkbeck
785038c92c
lavu: Adding ARIB STD-B67 (hybrid log-gamma) enum value and transfer function.
...
Adding hybrid log-gamma (https://en.wikipedia.org/wiki/Hybrid_Log-Gamma )
based on the standardization in ARIB STD-B67:
http://www.arib.or.jp/english/html/overview/doc/2-STD-B67v1_0.pdf
The choice of enum value of 18 is consistent with HEVC:
http://phenix.it-sudparis.eu/jct/doc_end_user/current_document.php?id=10481
And also with latest proposal for color format in mkv:
https://mailarchive.ietf.org/arch/search/?email_list=cellar&gbt=1&q=Colour+Format+proposal
The implementation assumes a nominal input range of [0, 1], which is
consistent with HEVC.
Signed-off-by: Neil Birkbeck <neil.birkbeck@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
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
Kieran Kunhya
4170a44bbc
Add GBRAP12 pixel format
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Michael Niedermayer
1ec7a70380
avutil/pixdesc: Make get_color_type() aware of CIE XYZ formats
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Anton Khirnov
7bc780cd44
pixfmt: add a CUDA hwaccelled format
9 years ago
Hendrik Leppkes
c2869b4640
avutil: add P010 pixel format
...
P010 is the 10-bit variant of NV12 (planar luma, packed chroma), using two
bytes per component to store 10-bit data plus 6-bit zeroes in the LSBs.
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
Michael Niedermayer
b5939ba09c
avutil/pixdesc: Use "-" in color_primaries_names to be consistent with color_transfer_names
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Kevin Wheatley
6d4b394b5d
avutil/pixdesc: Add SMPTE ST 2084 and ST 428-1 pixel descriptions
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
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
Hendrik Leppkes
5d8e836d0e
Replace all remaining occurances of step/depth_minus1 and offset_plus1
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
Gwenole Beauchesne
9f8e57efe4
vaapi: define a unique pixel format for VA-API (AV_PIX_FMT_VAAPI).
...
Deprecate older VA pixel formats (MOCO, IDCT) as it is now very unlikely
to ever be useful in the future. Only keep plain AV_PIX_FMT_VAAPI format
that is aliased to the older VLD variant.
This is an API change.
Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
9 years ago
Sebastien Zwickert
11d923d414
avcodec: add new Videotoolbox hwaccel.
10 years ago
Paul B Mahol
f0489a35c0
avutil: add ayuv64le and ayuv64be packed pixel format
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
10 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
Ronald S. Bultje
98f7f0f7e8
lavu: add yuv440p10/12 pixfmts.
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
Timothy Gu
1de742145f
pixdesc: Include more functions in FF_DISABLE_DEPRECATION_WARNINGS
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
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
11 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.
11 years ago
Vittorio Giovara
e0d73fda36
avutil: add alias names for gray 8/16 colour spaces
11 years ago
Luca Barbato
d2962e9f89
pixdesc: Support pixelformat aliases
...
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
11 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>
11 years ago
Michael Niedermayer
a75a60f686
avutil/pixdesc: remove unneeded assignment
...
Found-by: CSA
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 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
Michael Niedermayer
617e866e25
Move av_find_best_pix_fmt_of_2() from avcodec to avutil
...
This avoids a dependancy of libavfilter on libavcodec
See Ticket 3592
Fixes Ticket2784
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
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
Peter Ross
a3a4d07d6a
avutil/pixdesc: set bayer pixfmt descriptor flags
...
Signed-off-by: Peter Ross <pross@xvid.org>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Ivan Kalvachev
1c63aed232
Convert XvMC to hwaccel v3
...
Signed-off-by: Ivan Kalvachev <ikalvachev@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
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
Michael Niedermayer
8310bccc91
avutil/pixdesc: try to fix NV20* descriptors
...
They where inconsistent (overlapping fields and wrong sizes)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Kieran Kunhya
90ca5a9b5f
Add interleaved 4:2:2 8/10-bit formats
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
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
Michael Niedermayer
f3ba91a3f1
avutil/pixdesc: dont try to use av_read_image_line() with bayer formats
...
It has undefined behavior ATM as its not supported.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Michael Niedermayer
a25585bb50
avutil/pixdesc: Prevent minor array overread in ff_check_pixfmt_descriptors()
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Peter Ross
9116995efb
libavutil: add AV_PIX_FMT_BAYER pixel formats
...
The pixel format descriptors are set to more or less arbitrary
values as bayer formats do not fit in the descriptors structure.
These values are currently not used for bayer formats and thus
do not matter.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Rémi Denis-Courmont
a0ad5d0113
vdpau: deprecate old codec-specific pixel formats
...
Signed-off-by: Anton Khirnov <anton@khirnov.net>
12 years ago
Diego Biurrun
7950e519bb
Disable deprecation warnings for cases where a replacement is available
12 years ago