avcodec/hevcdec: Declare that nvdec supports 12bit decoding
authorPhilip Langdale <philipl@overt.org>
Sun, 25 Feb 2018 17:44:23 +0000 (09:44 -0800)
committerPhilip Langdale <philipl@overt.org>
Fri, 2 Mar 2018 22:28:13 +0000 (14:28 -0800)
libavcodec/hevcdec.c
libavcodec/version.h

index fc4eb78..c887762 100644 (file)
@@ -408,6 +408,11 @@ static enum AVPixelFormat get_format(HEVCContext *s, const HEVCSPS *sps)
         *fmt++ = AV_PIX_FMT_CUDA;
 #endif
         break;
         *fmt++ = AV_PIX_FMT_CUDA;
 #endif
         break;
+    case AV_PIX_FMT_YUV420P12:
+#if CONFIG_HEVC_NVDEC_HWACCEL
+        *fmt++ = AV_PIX_FMT_CUDA;
+#endif
+        break;
     }
 
     *fmt++ = sps->pix_fmt;
     }
 
     *fmt++ = sps->pix_fmt;
index ca18ce6..1e84410 100644 (file)
@@ -29,7 +29,7 @@
 
 #define LIBAVCODEC_VERSION_MAJOR  58
 #define LIBAVCODEC_VERSION_MINOR  13
 
 #define LIBAVCODEC_VERSION_MAJOR  58
 #define LIBAVCODEC_VERSION_MINOR  13
-#define LIBAVCODEC_VERSION_MICRO 100
+#define LIBAVCODEC_VERSION_MICRO 101
 
 #define LIBAVCODEC_VERSION_INT  AV_VERSION_INT(LIBAVCODEC_VERSION_MAJOR, \
                                                LIBAVCODEC_VERSION_MINOR, \
 
 #define LIBAVCODEC_VERSION_INT  AV_VERSION_INT(LIBAVCODEC_VERSION_MAJOR, \
                                                LIBAVCODEC_VERSION_MINOR, \