diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2014-05-12 00:37:12 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2014-05-12 00:37:12 +0200 |
commit | 14aef38a698229f12bbf980b4e45f2ee55edfcfe (patch) | |
tree | afae850cca16aef5137bd6dd2fb82ab2ae5cff95 | |
parent | 2ec4586d77c18eff38c128936a67b7d7a2e7f9a0 (diff) | |
parent | 66e6c8a7b4e3ac926302529606bd3e323c28b20f (diff) | |
download | ffmpeg-14aef38a698229f12bbf980b4e45f2ee55edfcfe.tar.gz |
Merge commit '66e6c8a7b4e3ac926302529606bd3e323c28b20f'
* commit '66e6c8a7b4e3ac926302529606bd3e323c28b20f':
lavu: Add a pixel format for new VDA hwaccel
Conflicts:
doc/APIchanges
libavutil/pixfmt.h
libavutil/version.h
Merged-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r-- | doc/APIchanges | 3 | ||||
-rw-r--r-- | libavutil/pixdesc.c | 4 | ||||
-rw-r--r-- | libavutil/pixfmt.h | 2 | ||||
-rw-r--r-- | libavutil/version.h | 2 |
4 files changed, 10 insertions, 1 deletions
diff --git a/doc/APIchanges b/doc/APIchanges index da8b6969f5..0426837ab0 100644 --- a/doc/APIchanges +++ b/doc/APIchanges @@ -15,6 +15,9 @@ libavutil: 2012-10-22 API changes, most recent first: +2014-xx-xx - xxxxxxx - lavu 53.14.0 - pixfmt.h + Add AV_PIX_FMT_VDA for new-style VDA acceleration. + 2014-05-xx - xxxxxxx - lavu 52.82.0 - fifo.h Add av_fifo_freep() function. diff --git a/libavutil/pixdesc.c b/libavutil/pixdesc.c index 6b1b05f3fa..f00907dc24 100644 --- a/libavutil/pixdesc.c +++ b/libavutil/pixdesc.c @@ -1874,6 +1874,10 @@ const AVPixFmtDescriptor av_pix_fmt_descriptors[AV_PIX_FMT_NB] = { }, .flags = AV_PIX_FMT_FLAG_PLANAR | AV_PIX_FMT_FLAG_BE, }, + [AV_PIX_FMT_VDA] = { + .name = "vda", + .flags = AV_PIX_FMT_FLAG_HWACCEL, + }, }; FF_DISABLE_DEPRECATION_WARNINGS diff --git a/libavutil/pixfmt.h b/libavutil/pixfmt.h index 57155cb7d6..98987a5cd6 100644 --- a/libavutil/pixfmt.h +++ b/libavutil/pixfmt.h @@ -230,6 +230,8 @@ enum AVPixelFormat { AV_PIX_FMT_YVYU422, ///< packed YUV 4:2:2, 16bpp, Y0 Cr Y1 Cb + AV_PIX_FMT_VDA, ///< HW acceleration through VDA, data[3] contains a CVPixelBufferRef + #ifndef AV_PIX_FMT_ABI_GIT_MASTER AV_PIX_FMT_RGBA64BE=0x123, ///< packed RGBA 16:16:16:16, 64bpp, 16R, 16G, 16B, 16A, the 2-byte value for each R/G/B/A component is stored as big-endian AV_PIX_FMT_RGBA64LE, ///< packed RGBA 16:16:16:16, 64bpp, 16R, 16G, 16B, 16A, the 2-byte value for each R/G/B/A component is stored as little-endian diff --git a/libavutil/version.h b/libavutil/version.h index a430c6b948..bc5d4582f3 100644 --- a/libavutil/version.h +++ b/libavutil/version.h @@ -56,7 +56,7 @@ */ #define LIBAVUTIL_VERSION_MAJOR 52 -#define LIBAVUTIL_VERSION_MINOR 82 +#define LIBAVUTIL_VERSION_MINOR 83 #define LIBAVUTIL_VERSION_MICRO 100 #define LIBAVUTIL_VERSION_INT AV_VERSION_INT(LIBAVUTIL_VERSION_MAJOR, \ |