]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/avcodec.h
libavcodec: add AV_HWACCEL_ALLOW_HIGH_DEPTH flag
[ffmpeg] / libavcodec / avcodec.h
index c998ee41c2988433678b191ea9387ca8ecd8a8a6..8a008c97c024235b16497245184ed34599eab9e5 100644 (file)
@@ -3051,6 +3051,12 @@ typedef struct AVHWAccel {
  */
 #define AV_HWACCEL_FLAG_IGNORE_LEVEL (1 << 0)
 
+/**
+ * Hardware acceleration can output YUV pixel formats with a different chroma
+ * sampling than 4:2:0 and/or other than 8 bits per component.
+ */
+#define AV_HWACCEL_FLAG_ALLOW_HIGH_DEPTH (1 << 1)
+
 /**
  * @}
  */