diff options
author | Mark Thompson <sw@jkqxz.net> | 2017-03-04 23:57:46 +0000 |
---|---|---|
committer | Mark Thompson <sw@jkqxz.net> | 2017-11-22 23:01:29 +0000 |
commit | a050f56c0903c718d8ef0b14dc09195785fdf564 (patch) | |
tree | b0f4376bc4838af8291d6d03b8a63cc011ce4f75 /libavutil/pixfmt.h | |
parent | 152902f3799f24d0d392880f33a11c6920a30cf1 (diff) |
lavu: Add OpenCL hardware pixfmt
Diffstat (limited to 'libavutil/pixfmt.h')
-rw-r--r-- | libavutil/pixfmt.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/libavutil/pixfmt.h b/libavutil/pixfmt.h index a520028962..4c530fead3 100644 --- a/libavutil/pixfmt.h +++ b/libavutil/pixfmt.h @@ -322,6 +322,13 @@ enum AVPixelFormat { * data[0] points to an AVDRMFrameDescriptor. */ AV_PIX_FMT_DRM_PRIME, + /** + * Hardware surfaces for OpenCL. + * + * data[i] contain 2D image objects (typed in C as cl_mem, used + * in OpenCL as image2d_t) for each plane of the surface. + */ + AV_PIX_FMT_OPENCL, 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 }; |