diff options
author | Sebastien Zwickert <dilaroga@free.fr> | 2011-11-02 00:55:09 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2011-11-02 15:47:27 +0100 |
commit | d66ee6ac4898b8af2f9c39bd0893e89e823286ac (patch) | |
tree | eadeffa696d7a4438356bf75f5882a8dfa9c09b4 /libavutil | |
parent | e377e6621bf2327161eff6de67b5f18fd070f7ae (diff) | |
download | ffmpeg-d66ee6ac4898b8af2f9c39bd0893e89e823286ac.tar.gz |
HWAccel: adds Video Decoder Acceleration (VDA) module for Mac OS X.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavutil')
-rw-r--r-- | libavutil/avutil.h | 2 | ||||
-rw-r--r-- | libavutil/pixdesc.c | 6 | ||||
-rw-r--r-- | libavutil/pixfmt.h | 2 |
3 files changed, 9 insertions, 1 deletions
diff --git a/libavutil/avutil.h b/libavutil/avutil.h index d7eca65e6f..94e42714f1 100644 --- a/libavutil/avutil.h +++ b/libavutil/avutil.h @@ -40,7 +40,7 @@ #define AV_VERSION(a, b, c) AV_VERSION_DOT(a, b, c) #define LIBAVUTIL_VERSION_MAJOR 51 -#define LIBAVUTIL_VERSION_MINOR 22 +#define LIBAVUTIL_VERSION_MINOR 23 #define LIBAVUTIL_VERSION_MICRO 0 #define LIBAVUTIL_VERSION_INT AV_VERSION_INT(LIBAVUTIL_VERSION_MAJOR, \ diff --git a/libavutil/pixdesc.c b/libavutil/pixdesc.c index 5d0a9dfaeb..6648a7e8f5 100644 --- a/libavutil/pixdesc.c +++ b/libavutil/pixdesc.c @@ -1003,6 +1003,12 @@ const AVPixFmtDescriptor av_pix_fmt_descriptors[PIX_FMT_NB] = { .log2_chroma_h = 1, .flags = PIX_FMT_HWACCEL, }, + [PIX_FMT_VDA_VLD] = { + .name = "vda_vld", + .log2_chroma_w = 1, + .log2_chroma_h = 1, + .flags = PIX_FMT_HWACCEL, + }, [PIX_FMT_GRAY8A] = { .name = "gray8a", .nb_components= 2, diff --git a/libavutil/pixfmt.h b/libavutil/pixfmt.h index 25c9ef99ff..6719e83489 100644 --- a/libavutil/pixfmt.h +++ b/libavutil/pixfmt.h @@ -158,6 +158,8 @@ enum PixelFormat { PIX_FMT_BGRA64LE, ///< packed RGBA 16:16:16:16, 64bpp, 16B, 16G, 16R, 16A, the 2-byte value for each R/G/B/A component is stored as little-endian PIX_FMT_GBR24P, ///< planar GBR, 24bpp, 8G, 8B, 8R. + PIX_FMT_VDA_VLD, ///< HW decoding through VDA. + PIX_FMT_NB, ///< number of pixel formats, DO NOT USE THIS if you want to link with shared libav* because the number of formats might differ between versions }; |