Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Update headers from Video SDK 10.0
  • Loading branch information
BtbN committed Jun 30, 2020
1 parent 250292d commit 5ee2ae5
Show file tree
Hide file tree
Showing 5 changed files with 348 additions and 158 deletions.
6 changes: 3 additions & 3 deletions README
@@ -1,7 +1,7 @@
FFmpeg version of headers required to interface with Nvidias codec APIs.

Corresponds to Video Codec SDK version 9.1.23.
Corresponds to Video Codec SDK version 10.0.26.

Minimum required driver versions:
Linux: 435.21 or newer
Windows: 436.15 or newer
Linux: 445.87 or newer
Windows: 450.51 or newer
2 changes: 1 addition & 1 deletion ffnvcodec.pc.in
Expand Up @@ -3,5 +3,5 @@ includedir=${prefix}/include

Name: ffnvcodec
Description: FFmpeg version of Nvidia Codec SDK headers
Version: 9.1.23.2
Version: 10.0.26.0
Cflags: -I${includedir}
9 changes: 6 additions & 3 deletions include/ffnvcodec/dynlink_cuviddec.h
@@ -1,7 +1,7 @@
/*
* This copyright notice applies to this header file only:
*
* Copyright (c) 2010-2019 NVIDIA Corporation
* Copyright (c) 2010-2020 NVIDIA Corporation
*
* Permission is hereby granted, free of charge, to any person
* obtaining a copy of this software and associated documentation
Expand Down Expand Up @@ -41,8 +41,8 @@
#endif
#endif

#define NVDECAPI_MAJOR_VERSION 9
#define NVDECAPI_MINOR_VERSION 1
#define NVDECAPI_MAJOR_VERSION 10
#define NVDECAPI_MINOR_VERSION 0

#define NVDECAPI_VERSION (NVDECAPI_MAJOR_VERSION | (NVDECAPI_MINOR_VERSION << 24))

Expand Down Expand Up @@ -897,6 +897,9 @@ typedef CUresult CUDAAPI tcuvidDecodePicture(CUvideodecoder hDecoder, CUVIDPICPA
/************************************************************************************************************/
//! \fn CUresult CUDAAPI cuvidGetDecodeStatus(CUvideodecoder hDecoder, int nPicIdx);
//! Get the decode status for frame corresponding to nPicIdx
//! API is supported for Maxwell and above generation GPUs.
//! API is currently supported for HEVC, H264 and JPEG codecs.
//! API returns CUDA_ERROR_NOT_SUPPORTED error code for unsupported GPU or codec.
/************************************************************************************************************/
typedef CUresult CUDAAPI tcuvidGetDecodeStatus(CUvideodecoder hDecoder, int nPicIdx, CUVIDGETDECODESTATUS* pDecodeStatus);

Expand Down
2 changes: 1 addition & 1 deletion include/ffnvcodec/dynlink_nvcuvid.h
@@ -1,7 +1,7 @@
/*
* This copyright notice applies to this header file only:
*
* Copyright (c) 2010-2019 NVIDIA Corporation
* Copyright (c) 2010-2020 NVIDIA Corporation
*
* Permission is hereby granted, free of charge, to any person
* obtaining a copy of this software and associated documentation
Expand Down

0 comments on commit 5ee2ae5

Please sign in to comment.