summaryrefslogtreecommitdiff
path: root/libavutil/pixfmt.h
Commit message (Collapse)AuthorAgeFilesLines
* lavu/pix_fmt: add new pixel format y210Linjie Fu2020-02-241-0/+5
| | | | | | | Add some packed 4:2:2 10-bit pixel formats for hardware decode support in VAAPI and QSV. Signed-off-by: Linjie Fu <linjie.fu@intel.com>
* lavu: add Vulkan hwcontext codeLynne2020-02-041-0/+7
| | | | | | | | | | This commit adds the necessary code to initialize and use a Vulkan device within the hwcontext libavutil framework. Currently direct mapping to VAAPI and DRM frames is functional, and transfers to CUDA and native frames are supported. Lets hope the future Vulkan video decode extension fits well within this framework.
* lavu/pixfmt: Cosmetics, remove wrong end-of-comment markers.Carl Eugen Hoyos2019-12-141-12/+12
|
* avutil/pixfmt: Add EBU Tech. 3213-E AVColorPrimaries valueRaphaël Zumer2019-09-011-1/+2
| | | | | | | | | | This is an alias for JEDEC P22. The name associated with the value is also changed from jedec-p22 to ebu3213 to match ITU-T H.273. Signed-off-by: Raphaël Zumer <rzumer@tebako.net> Signed-off-by: James Almer <jamrial@gmail.com>
* avutil: Add NV24 and NV42 pixel formatsPhilip Langdale2019-05-121-0/+3
| | | | | | | | | | | | | These are the 4:4:4 variants of the semi-planar NV12/NV21 formats. These formats are not used much, so we've never had a reason to add them until now. VDPAU recently added support HEVC 4:4:4 content and when you use the OpenGL interop, the returned surfaces are in NV24 format, so we need the pixel format for media players, even if there's no direct use within ffmpeg. Separately, there are apparently webcams that use NV24, but I've never seen one.
* avutil : add YUVA444P12 and YUVA422P12Martin Vignali2018-11-241-0/+7
|
* libavutil: Adds gray floating-point pixel formats.Sergey Lavrushkin2018-08-111-0/+5
| | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avutil/pixfmt: Document chroma plane size for odd resolutionsMichael Niedermayer2018-07-201-0/+4
| | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avutil: add gray14 pixel formatPaul B Mahol2018-05-051-0/+4
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* lavu/pixfmt: Remove gap in the middle of enum AVPixelFormatMark Thompson2017-11-251-1/+1
| | | | | | | | This was added for compatibility with libav, by leaving a space for formats added in libav to be merged. Since that feature has been removed, we don't need a gap here. Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
* lavu: Add OpenCL hardware pixfmtMark Thompson2017-11-221-0/+7
|
* Merge commit 'dd343fd986459f467a2d1d70c26101dff1d47d68'James Almer2017-10-231-10/+0
|\ | | | | | | | | | | | | * commit 'dd343fd986459f467a2d1d70c26101dff1d47d68': lavu: Drop deprecated VDPAU pixel formats Merged-by: James Almer <jamrial@gmail.com>
| * lavu: Drop deprecated VDPAU pixel formatsVittorio Giovara2017-03-231-10/+0
| | | | | | | | Deprecated in 07/2013.
* | Merge commit 'dcc39ee10e82833ce24aa57926c00ffeb1948198'James Almer2017-10-231-7/+2
|\ \ | |/ | | | | | | | | | | * commit 'dcc39ee10e82833ce24aa57926c00ffeb1948198': lavc: Remove deprecated XvMC support hacks Merged-by: James Almer <jamrial@gmail.com>
| * lavc: Remove deprecated XvMC support hacksDiego Biurrun2017-03-231-4/+0
| | | | | | | | Deprecated in 11/2013.
* | lavc: drop VDAClément Bœsch2017-10-231-3/+0
| | | | | | | | | | Deprecated (aka removed) in OSX 10.11, and we have a replacement for it (VideoToolbox).
* | lavu: Add DRM hwcontextMark Thompson2017-09-131-0/+7
| |
* | Add single precision planar RGB pixel formatsVittorio Giovara2017-08-151-0/+7
| | | | | | | | | | | | Add a pixel format flag to identify this family. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* | pixfmt: Support chroma-derived and ictcp color matricesVittorio Giovara2017-08-101-0/+3
| | | | | | | | Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* | libavutil: add GRAY9 pixel formatPaul B Mahol2017-08-071-0/+4
| |
* | lavu: add new D3D11 pixfmt and hwcontextwm42017-06-271-1/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | To be used with the new d3d11 hwaccel decode API. With the new hwaccel API, we don't want surfaces to depend on the decoder (other than the required dimension and format). The old D3D11VA pixfmt uses ID3D11VideoDecoderOutputView pointers, which include the decoder configuration, and thus is incompatible with the new hwaccel API. This patch introduces AV_PIX_FMT_D3D11, which uses ID3D11Texture2D and an index. It's simpler and compatible with the new hwaccel API. The introduced hwcontext supports only the new pixfmt. Frame upload code untested. Significantly based on work by Steve Lhomme <robux4@gmail.com>, but with heavy changes/rewrites. Merges Libav commit fff90422d181744cd75dbf011687ee7095f02875. Signed-off-by: Diego Biurrun <diego@biurrun.de>
* | avutil/pixfmt: remove superfluous defineJames Almer2017-06-011-2/+0
| | | | | | | | | | | | It's an AVColorSpace value since 82ad9cbd32c873bced9adf4a2bb67dcda7294c61. Signed-off-by: James Almer <jamrial@gmail.com>
* | Merge commit '706af9227b58657c73e3a4df3689da734f010500'Clément Bœsch2017-04-081-0/+3
|\ \ | |/ | | | | | | | | | | * commit '706af9227b58657c73e3a4df3689da734f010500': lavu: Document the color properties enumeration values origin Merged-by: Clément Bœsch <u@pkh.me>
| * lavu: Document the color properties enumeration values originVittorio Giovara2016-12-021-0/+3
| |
* | Merge commit '17dac56b8fdd80c594c39b76de3f27a7949afbde'Clément Bœsch2017-03-311-1/+2
|\ \ | |/ | | | | | | | | | | * commit '17dac56b8fdd80c594c39b76de3f27a7949afbde': lavu: Rename ycgco color space appropriately Merged-by: Clément Bœsch <cboesch@gopro.com>
| * lavu: Rename ycgco color space appropriatelyVittorio Giovara2016-11-081-1/+2
| | | | | | | | | | | | Planes are ordered as the name suggests now. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
| * pixfmt: Add GRAY12Luca Barbato2016-11-071-0/+4
| |
* | Merge commit '0d9b9bd37f43ee29ad9f709d85c8f3be9db71104'Clément Bœsch2017-03-241-0/+1
|\ \ | |/ | | | | | | | | | | * commit '0d9b9bd37f43ee29ad9f709d85c8f3be9db71104': lavu: Add JEDEC P22 color primaries Merged-by: Clément Bœsch <u@pkh.me>
| * lavu: Add JEDEC P22 color primariesVittorio Giovara2016-10-211-0/+1
| |
| * Add GBRAP12 pixel format supportKieran Kunhya2016-10-121-0/+4
| | | | | | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
| * Add GBRP12 pixel format supportMichael Niedermayer2016-10-121-0/+4
| | | | | | | | Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* | lavu/pixfmt: fix redundant commentClément Bœsch2017-03-241-1/+1
| | | | | | | | Mistake introduced in a1f6b1d9d816ad7e6a8f071b0efa2638bc80e65e.
* | Merge commit '310c55f1799deab395319471a75c528d0fa7b30d'Clément Bœsch2017-03-231-2/+2
|\ \ | |/ | | | | | | | | | | * commit '310c55f1799deab395319471a75c528d0fa7b30d': pixfmt: Document alternative names for smpte 431 and 432 Merged-by: Clément Bœsch <u@pkh.me>
| * pixfmt: Document alternative names for smpte 431 and 432Vittorio Giovara2016-10-021-2/+2
| |
| * pixfmt: Add yuv444p12 pixel formatLuca Barbato2016-09-271-0/+4
| |
| * pixfmt: Add yuv422p12 pixel formatLuca Barbato2016-09-271-0/+4
| |
| * pixfmt: Add yuv420p12 pixel formatLuca Barbato2016-09-271-0/+4
| |
| * pixfmt: add P010 pixel formatHendrik Leppkes2016-07-021-0/+4
| | | | | | | | | | | | | | 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. Signed-off-by: Anton Khirnov <anton@khirnov.net>
* | avutil: add P016 pixel formatPhilip Langdale2016-11-221-0/+4
| | | | | | | | | | | | | | | | | | P016 is the 16-bit variant of NV12 (planar luma, packed chroma), using two bytes per component. It may, and in fact is most likely to, be used in situations where there are less than 16 bits of data. It is the responsibility of the writer to zero out any unused LSBs.
* | lavu/pixfmt: Add GRAY10Carl Eugen Hoyos2016-11-141-0/+3
| | | | | | | | Based on 7471352f by Luca Barbato.
* | Merge commit 'f172e22d6aed0bff36e975bafb0183b6779f9444'Hendrik Leppkes2016-11-131-3/+6
|\ \ | |/ | | | | | | | | | | * commit 'f172e22d6aed0bff36e975bafb0183b6779f9444': pixdesc: Add aliases to SMPTE color properties Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
| * pixdesc: Add aliases to SMPTE color propertiesVittorio Giovara2016-06-271-3/+6
| | | | | | | | | | Drop ST from names and symbols, it does not add anything distinctive or descriptive.
* | pixfmt: Add GRAY12Luca Barbato2016-11-101-0/+4
| | | | | | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | lavu: remove comma at final enumeration items to fix pedantic warningsMichael Behrisch2016-10-261-6/+6
| |
* | pixfmt: Use enum assignment for aliasesTimothy Gu2016-10-051-4/+2
| | | | | | | | | | | | | | This way, Doxygen is happier as aliases are now grouped together, and it never handled #define's in an enum well in the first place. Y400A already exists as an enum assignment.
* | Merge commit 'a8164323374e86ce5f93759230868c98356833a2'James Almer2016-09-281-1/+4
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | * commit 'a8164323374e86ce5f93759230868c98356833a2': pixdesc: Add new SMPTE 431, 432, and 2085 color properties Conflicts: libavcodec/options_table.h libavcodec/version.h libavutil/pixdesc.c libavutil/pixfmt.h libavutil/version.h Merged-by: James Almer <jamrial@gmail.com>
| * pixdesc: Add new SMPTE 431, 432, and 2085 color propertiesVittorio Giovara2016-06-211-0/+3
| | | | | | | | | | | | Appeared in H.264 2016/02. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
| * pixfmt: Add ARIB STD-B76 color transfer characteristicNeil Birkbeck2016-06-211-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* | lavc: add mediacodec hwaccel supportMatthieu Bouron2016-07-081-0/+2
| |
* | Merge commit '41ed7ab45fc693f7d7fc35664c0233f4c32d69bb'Clément Bœsch2016-06-211-11/+11
|\ \ | |/ | | | | | | | | | | * commit '41ed7ab45fc693f7d7fc35664c0233f4c32d69bb': cosmetics: Fix spelling mistakes Merged-by: Clément Bœsch <u@pkh.me>