]> git.sesse.net Git - ffmpeg/blobdiff - libavutil/hwcontext_cuda.h
avutil/avstring: Limit string length in av_escape to range of int
[ffmpeg] / libavutil / hwcontext_cuda.h
index 81a0552cabb73d3c51afe311488fb9c42ea1c724..cefbe0ceab616afe5c125537e138019e5fabc676 100644 (file)
@@ -49,4 +49,21 @@ typedef struct AVCUDADeviceContext {
  * AVHWFramesContext.hwctx is currently not used
  */
 
+/**
+ * @defgroup hwcontext_cuda Device context creation flags
+ *
+ * Flags for av_hwdevice_ctx_create.
+ *
+ * @{
+ */
+
+/**
+ * Use primary device context instead of creating a new one.
+ */
+#define AV_CUDA_USE_PRIMARY_CONTEXT (1 << 0)
+
+/**
+ * @}
+ */
+
 #endif /* AVUTIL_HWCONTEXT_CUDA_H */