]> git.sesse.net Git - ffmpeg/commitdiff
libavcodec: add AV_HWACCEL_ALLOW_HIGH_DEPTH flag
authorRémi Denis-Courmont <remi@remlab.net>
Fri, 19 Dec 2014 17:15:08 +0000 (19:15 +0200)
committerAnton Khirnov <anton@khirnov.net>
Thu, 25 Dec 2014 19:47:49 +0000 (20:47 +0100)
This can be used by the application to signal its ability to cope with
video surface of types other than 8-bits YUV 4:2:0.

Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
Signed-off-by: Anton Khirnov <anton@khirnov.net>
doc/APIchanges
libavcodec/avcodec.h
libavcodec/version.h

index 49e43f4e4a50356a6c7a3663b558d28a380a5fce..705501eda8682d83f8c36afae9abaacfe51a89b0 100644 (file)
@@ -13,6 +13,9 @@ libavutil:     2014-08-09
 
 API changes, most recent first:
 
+201x-xx-xx - xxxxxxx - lavc 56.9.0 - avcodec.h
+  Add AV_HWACCEL_FLAG_ALLOW_HIGH_DEPTH flag to av_vdpau_bind_context().
+
 201x-xx-xx - xxxxxxx - lavc 56.8.0 - avcodec.h
   Add AVCodecContext.sw_pix_fmt.
 
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)
+
 /**
  * @}
  */
index 5d8f9a1b51552f0dc63bb49a579ba53c16bfaab8..b5d3ce0891e67964c6763a2deb60caa3691f0e28 100644 (file)
@@ -29,7 +29,7 @@
 #include "libavutil/version.h"
 
 #define LIBAVCODEC_VERSION_MAJOR 56
-#define LIBAVCODEC_VERSION_MINOR  8
+#define LIBAVCODEC_VERSION_MINOR  9
 #define LIBAVCODEC_VERSION_MICRO  0
 
 #define LIBAVCODEC_VERSION_INT  AV_VERSION_INT(LIBAVCODEC_VERSION_MAJOR, \