mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-01-13 19:01:03 +00:00
pixfmt: add a pixel format for QSV hwaccel
This commit is contained in:
parent
0f532fd3f9
commit
5b1d9ceec7
@ -13,6 +13,9 @@ libavutil: 2014-08-09
|
|||||||
|
|
||||||
API changes, most recent first:
|
API changes, most recent first:
|
||||||
|
|
||||||
|
2015-xx-xx - xxxxxxx - lavu 54.9.0
|
||||||
|
Add AV_PIX_FMT_QSV for QSV hardware acceleration.
|
||||||
|
|
||||||
2015-01-27 - 728685f - lavc 56.12.0, lavu 54.8.0 - avcodec.h, frame.h
|
2015-01-27 - 728685f - lavc 56.12.0, lavu 54.8.0 - avcodec.h, frame.h
|
||||||
Add AV_PKT_DATA_AUDIO_SERVICE_TYPE and AV_FRAME_DATA_AUDIO_SERVICE_TYPE for
|
Add AV_PKT_DATA_AUDIO_SERVICE_TYPE and AV_FRAME_DATA_AUDIO_SERVICE_TYPE for
|
||||||
storing the audio service type as side data.
|
storing the audio service type as side data.
|
||||||
|
@ -1560,6 +1560,10 @@ const AVPixFmtDescriptor av_pix_fmt_descriptors[AV_PIX_FMT_NB] = {
|
|||||||
.name = "vda",
|
.name = "vda",
|
||||||
.flags = AV_PIX_FMT_FLAG_HWACCEL,
|
.flags = AV_PIX_FMT_FLAG_HWACCEL,
|
||||||
},
|
},
|
||||||
|
[AV_PIX_FMT_QSV] = {
|
||||||
|
.name = "qsv",
|
||||||
|
.flags = AV_PIX_FMT_FLAG_HWACCEL,
|
||||||
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
static const char *color_range_names[AVCOL_RANGE_NB] = {
|
static const char *color_range_names[AVCOL_RANGE_NB] = {
|
||||||
|
@ -209,6 +209,11 @@ enum AVPixelFormat {
|
|||||||
AV_PIX_FMT_GBRAP, ///< planar GBRA 4:4:4:4 32bpp
|
AV_PIX_FMT_GBRAP, ///< planar GBRA 4:4:4:4 32bpp
|
||||||
AV_PIX_FMT_GBRAP16BE, ///< planar GBRA 4:4:4:4 64bpp, big-endian
|
AV_PIX_FMT_GBRAP16BE, ///< planar GBRA 4:4:4:4 64bpp, big-endian
|
||||||
AV_PIX_FMT_GBRAP16LE, ///< planar GBRA 4:4:4:4 64bpp, little-endian
|
AV_PIX_FMT_GBRAP16LE, ///< planar GBRA 4:4:4:4 64bpp, little-endian
|
||||||
|
/**
|
||||||
|
* HW acceleration through QSV, data[3] contains a pointer to the
|
||||||
|
* mfxFrameSurface1 structure.
|
||||||
|
*/
|
||||||
|
AV_PIX_FMT_QSV,
|
||||||
|
|
||||||
AV_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
|
AV_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
|
||||||
|
|
||||||
|
@ -54,7 +54,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#define LIBAVUTIL_VERSION_MAJOR 54
|
#define LIBAVUTIL_VERSION_MAJOR 54
|
||||||
#define LIBAVUTIL_VERSION_MINOR 8
|
#define LIBAVUTIL_VERSION_MINOR 9
|
||||||
#define LIBAVUTIL_VERSION_MICRO 0
|
#define LIBAVUTIL_VERSION_MICRO 0
|
||||||
|
|
||||||
#define LIBAVUTIL_VERSION_INT AV_VERSION_INT(LIBAVUTIL_VERSION_MAJOR, \
|
#define LIBAVUTIL_VERSION_INT AV_VERSION_INT(LIBAVUTIL_VERSION_MAJOR, \
|
||||||
|
Loading…
Reference in New Issue
Block a user