aboutsummaryrefslogtreecommitdiffstats
path: root/libavutil/pixfmt.h
diff options
context:
space:
mode:
authorDerek Buitenhuis <derek.buitenhuis@gmail.com>2016-02-24 15:11:06 +0000
committerDerek Buitenhuis <derek.buitenhuis@gmail.com>2016-02-24 15:11:06 +0000
commit63c3e35332838fca19b7ffdae13233b0f3759402 (patch)
tree020d2f04eb2de6bf54a52770a954bc5873462f2f /libavutil/pixfmt.h
parent9f2c1c77d2098168761421febbbdb0abf0fd6cce (diff)
parent7bc780cd4413f688d3b834037b0f9ddfd6948140 (diff)
downloadffmpeg-63c3e35332838fca19b7ffdae13233b0f3759402.tar.gz
Merge commit '7bc780cd4413f688d3b834037b0f9ddfd6948140'
* commit '7bc780cd4413f688d3b834037b0f9ddfd6948140': pixfmt: add a CUDA hwaccelled format Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
Diffstat (limited to 'libavutil/pixfmt.h')
-rw-r--r--libavutil/pixfmt.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/libavutil/pixfmt.h b/libavutil/pixfmt.h
index 7d2eac0ebe..3587d9671b 100644
--- a/libavutil/pixfmt.h
+++ b/libavutil/pixfmt.h
@@ -242,6 +242,12 @@ enum AVPixelFormat {
AV_PIX_FMT_D3D11VA_VLD, ///< HW decoding through Direct3D11, Picture.data[3] contains a ID3D11VideoDecoderOutputView pointer
+ /**
+ * HW acceleration through CUDA. data[i] contain CUdeviceptr pointers
+ * exactly as for system memory frames.
+ */
+ AV_PIX_FMT_CUDA,
+
AV_PIX_FMT_0RGB=0x123+4,///< packed RGB 8:8:8, 32bpp, XRGBXRGB... X=unused/undefined
AV_PIX_FMT_RGB0, ///< packed RGB 8:8:8, 32bpp, RGBXRGBX... X=unused/undefined
AV_PIX_FMT_0BGR, ///< packed BGR 8:8:8, 32bpp, XBGRXBGR... X=unused/undefined