ffmpeg/nv-codec-headers.git
5 days agoBump for (in-dev) 10.0.26.1 master
Timo Rothenpieler [Wed, 1 Jul 2020 14:19:25 +0000 (16:19 +0200)]
Bump for (in-dev) 10.0.26.1

6 days agoUpdate headers from Video SDK 10.0 n10.0.26.0
Timo Rothenpieler [Tue, 30 Jun 2020 16:40:40 +0000 (18:40 +0200)]
Update headers from Video SDK 10.0

7 months agoBump for (in-dev) 9.1.23.2 sdk/9.1
Timo Rothenpieler [Tue, 26 Nov 2019 15:40:52 +0000 (16:40 +0100)]
Bump for (in-dev) 9.1.23.2

7 months agoAdd primary contex management functions n9.1.23.1
Oleg Dobkin [Mon, 18 Nov 2019 08:53:44 +0000 (10:53 +0200)]
Add primary contex management functions

These functions can be used to create HW cuda device using primary
contexts - which is the preferred approach.

Signed-off-by: Oleg Dobkin <olegd@anyvision.co>
Signed-off-by: Timo Rothenpieler <timo@rothenpieler.org>
9 months agoBump for (in-dev) 9.1.23.1
Timo Rothenpieler [Mon, 23 Sep 2019 14:10:28 +0000 (16:10 +0200)]
Bump for (in-dev) 9.1.23.1

9 months agoUpdate headers from Video SDK 9.1 release n9.1.23.0
Timo Rothenpieler [Mon, 23 Sep 2019 13:30:20 +0000 (15:30 +0200)]
Update headers from Video SDK 9.1 release

9 months agoUse pointer-to-struct typedefs for pointer-to-struct types n9.0.18.2
Philip Langdale [Mon, 16 Sep 2019 01:18:15 +0000 (18:18 -0700)]
Use pointer-to-struct typedefs for pointer-to-struct types

Use of void * can lead to silent errors if you accidentally pass
the address of a pointer instead of the pointer.

I got the struct names from the API docs, although having those
match is not actually important.

This now matches the pattern used in the official headers.

9 months agoAdd cuCtxGetDevice
Steve Lhomme [Thu, 12 Sep 2019 13:19:04 +0000 (15:19 +0200)]
Add cuCtxGetDevice

It can be useful to determine if the decoder context is the same as the display
context.

Signed-off-by: Timo Rothenpieler <timo@rothenpieler.org>
15 months agoBump for (in-dev) 9.0.18.2
BtbN [Mon, 11 Mar 2019 10:21:16 +0000 (11:21 +0100)]
Bump for (in-dev) 9.0.18.2

15 months agoFix CUdeviceptr definition for 64bit CPU n9.0.18.1
Ruta Gadkari [Sun, 17 Feb 2019 12:53:35 +0000 (18:23 +0530)]
Fix CUdeviceptr definition for 64bit CPU

NVIDIA driver implementation defines and expects â€˜CUdeviceptr’ to
be 64-bit wide on the 64-bit platforms.
FFMPEG build on PPC64 architecture on the other hand, falls back to
an incorrect (32-bit wide data type) definition of this data type.
This patch adds a new build time check to pick up the correct definition
on PPC64 architecture.

Signed-off-by: BtbN <btbn@btbn.de>
16 months agoBump for (in-dev) 9.0.18.1
Timo Rothenpieler [Tue, 26 Feb 2019 13:59:03 +0000 (14:59 +0100)]
Bump for (in-dev) 9.0.18.1

16 months agoAdd cuMemsetD8Async n9.0.18.0
Philip Langdale [Thu, 21 Feb 2019 03:43:27 +0000 (19:43 -0800)]
Add cuMemsetD8Async

This function is needed by the vf_thumbnail_cuda filter in ffmpeg.

16 months agoUpdate README for SDK 9.0.18
Timo Rothenpieler [Thu, 14 Feb 2019 12:30:55 +0000 (13:30 +0100)]
Update README for SDK 9.0.18

16 months agoRemove nvdec version check macro
Timo Rothenpieler [Thu, 14 Feb 2019 11:48:39 +0000 (12:48 +0100)]
Remove nvdec version check macro

It is defined in the checking code and causes issues when it now suddenly shows up here.

16 months agoAdd missing fields from SDK 9.0.18
Timo Rothenpieler [Wed, 13 Feb 2019 19:07:54 +0000 (20:07 +0100)]
Add missing fields from SDK 9.0.18

16 months agoUpdating headers for Video Codec SDK 9 release
Roman Arzumanyan [Tue, 4 Dec 2018 06:26:37 +0000 (09:26 +0300)]
Updating headers for Video Codec SDK 9 release

17 months agoBump for (in-dev) 8.2.15.8
Timo Rothenpieler [Fri, 1 Feb 2019 17:36:04 +0000 (18:36 +0100)]
Bump for (in-dev) 8.2.15.8

18 months agoAdd cuMipmappedArrayDestroy n8.2.15.7
Philip Langdale [Tue, 18 Dec 2018 17:14:09 +0000 (09:14 -0800)]
Add cuMipmappedArrayDestroy

This is needed to clean up the mipmapped array returned by the CUDA 10
vulkan interop.

19 months agoBump for (in-dev) 8.2.15.7
Timo Rothenpieler [Thu, 22 Nov 2018 17:03:09 +0000 (18:03 +0100)]
Bump for (in-dev) 8.2.15.7

19 months agoBump for 8.2.15.6 n8.2.15.6
Timo Rothenpieler [Thu, 22 Nov 2018 16:56:11 +0000 (17:56 +0100)]
Bump for 8.2.15.6

19 months agoAdd CUDA function cuMemAllocPitch
Seungha Yang [Fri, 16 Nov 2018 09:21:11 +0000 (18:21 +0900)]
Add CUDA function cuMemAllocPitch

Signed-off-by: Seungha Yang <seungha.yang@navercorp.com>
19 months agoRevert "Bump SDK versions"
Timo Rothenpieler [Sun, 18 Nov 2018 01:42:22 +0000 (02:42 +0100)]
Revert "Bump SDK versions"

This reverts commit fd0669486c35d1c62be3442f73025ebac28df928.

Seems like nobody told the driver about this new SDK version.

19 months agoBump SDK versions
Timo Rothenpieler [Sun, 11 Nov 2018 13:58:52 +0000 (14:58 +0100)]
Bump SDK versions

19 months agoAdd a subset of CUDA kernel interaction API
Philip Langdale [Sat, 27 Oct 2018 03:26:19 +0000 (20:26 -0700)]
Add a subset of CUDA kernel interaction API

Specifically, two sets of functions:

1) Loading a compiled CUDA module and launching kernels from it.

2) Texture object creation and destruction.

19 months agoCUDA 10: Add external semaphore API
Philip Langdale [Wed, 17 Oct 2018 19:05:12 +0000 (12:05 -0700)]
CUDA 10: Add external semaphore API

This part of the interop API allows cuda to work with external
semaphores to synchronise work with Vulkan.

20 months agoBump for release 8.2.15.5 n8.2.15.5
Timo Rothenpieler [Fri, 2 Nov 2018 17:38:27 +0000 (18:38 +0100)]
Bump for release 8.2.15.5

20 months agoOnly load cuDeviceGetLuid as an optional function
Timo Rothenpieler [Fri, 2 Nov 2018 17:36:54 +0000 (18:36 +0100)]
Only load cuDeviceGetLuid as an optional function

It's more recent than expected and breaks on older drivers for no good reason.

20 months agoAdd CUDA function cuDeviceGetAttribute V2
Soft Works [Thu, 1 Nov 2018 23:38:42 +0000 (23:38 +0000)]
Add CUDA function cuDeviceGetAttribute V2

Signed-off-by: softworkz <softworkz@hotmail.com>
Signed-off-by: Timo Rothenpieler <timo@rothenpieler.org>
20 months agoGuard against multiple definitions of CUuuid n8.2.15.4
Timo Rothenpieler [Sun, 21 Oct 2018 20:22:18 +0000 (22:22 +0200)]
Guard against multiple definitions of CUuuid

20 months agoGetProcAddress always takes ANSI C strings n8.2.15.3
Timo Rothenpieler [Wed, 17 Oct 2018 16:38:50 +0000 (18:38 +0200)]
GetProcAddress always takes ANSI C strings

20 months agoAdd cuGetDeviceUuid n8.2.15.2
Philip Langdale [Wed, 10 Oct 2018 04:03:10 +0000 (21:03 -0700)]
Add cuGetDeviceUuid

This is needed to match a device selected from Vulkan when doing
interop.

21 months agoUpdate for CUDA 10 n8.2.15.1
Philip Langdale [Sun, 30 Sep 2018 02:19:37 +0000 (19:19 -0700)]
Update for CUDA 10

This adds support for the CUDA/Vulkan interop API, which requires
very new driver versions. As such, we allow the symbols to be
optionally loaded. I expect that when the next Video SDK release
comes out, it will also require the very new drivers and we'll make
these symbols compulsory.

23 months agoUpdate for SDK 8.2
Philip Langdale [Sun, 29 Jul 2018 18:02:01 +0000 (11:02 -0700)]
Update for SDK 8.2

This introduces two new nvdec calls and some small documentation
changes.

2 years agoAdd most commonly used CUevent functions
Timo Rothenpieler [Mon, 7 May 2018 12:28:09 +0000 (14:28 +0200)]
Add most commonly used CUevent functions

2 years agoFix usage of ffmpeg specific arch define n8.1.24.2
Timo Rothenpieler [Sat, 5 May 2018 09:45:50 +0000 (11:45 +0200)]
Fix usage of ffmpeg specific arch define

2 years agoBump version
Timo Rothenpieler [Sun, 29 Apr 2018 11:18:38 +0000 (13:18 +0200)]
Bump version

2 years agoAdd support for basic CUstream usage
Timo Rothenpieler [Sun, 29 Apr 2018 10:58:50 +0000 (12:58 +0200)]
Add support for basic CUstream usage

2 years agoFix cuCtxPushCurrent signature
Daniel Oberhoff [Fri, 27 Apr 2018 09:43:30 +0000 (11:43 +0200)]
Fix cuCtxPushCurrent signature

Signed-off-by: Timo Rothenpieler <timo@rothenpieler.org>
2 years agoRe-Prettify indentation
Timo Rothenpieler [Thu, 26 Apr 2018 13:37:16 +0000 (15:37 +0200)]
Re-Prettify indentation

2 years agoMake code compile in C++ mode
Daniel Oberhoff [Thu, 26 Apr 2018 11:03:40 +0000 (13:03 +0200)]
Make code compile in C++ mode

Signed-off-by: Timo Rothenpieler <timo@rothenpieler.org>
2 years agoUpdate README for SDK 8.1 n8.1.24.1
Timo Rothenpieler [Sun, 15 Apr 2018 16:19:01 +0000 (18:19 +0200)]
Update README for SDK 8.1

2 years agoAdd CUDA OpenGL Interop symbols and types
Philip Langdale [Sun, 15 Apr 2018 15:43:16 +0000 (08:43 -0700)]
Add CUDA OpenGL Interop symbols and types

This will allow mpv to use this loader, instead of having to maintain
its own code.

Signed-off-by: Timo Rothenpieler <timo@rothenpieler.org>
2 years agoUpdate cuvid/nvdec headers to SDK 8.1 n8.1.24.0
Timo Rothenpieler [Wed, 11 Apr 2018 11:11:55 +0000 (13:11 +0200)]
Update cuvid/nvdec headers to SDK 8.1

2 years agoUpdate nvEncodeAPI.h header to SDK 8.1
Roman Arzumanyan [Wed, 11 Apr 2018 10:34:39 +0000 (13:34 +0300)]
Update nvEncodeAPI.h header to SDK 8.1

Signed-off-by: Timo Rothenpieler <timo@rothenpieler.org>
2 years agoGenerate native Windows paths on Windows n8.0.14.1
Timo Rothenpieler [Tue, 27 Feb 2018 14:48:41 +0000 (15:48 +0100)]
Generate native Windows paths on Windows

2 years agoAdd cuCtxSetLimit CUDA function
Timo Rothenpieler [Sun, 28 Jan 2018 13:43:39 +0000 (14:43 +0100)]
Add cuCtxSetLimit CUDA function

2 years agoAdd .gitignore
Timo Rothenpieler [Sun, 28 Jan 2018 13:38:41 +0000 (14:38 +0100)]
Add .gitignore

2 years agoUse install instead of cp/mkdir in Makefile
Timo Rothenpieler [Fri, 15 Dec 2017 20:34:58 +0000 (21:34 +0100)]
Use install instead of cp/mkdir in Makefile

2 years agoFixup include guard naming
Timo Rothenpieler [Fri, 15 Dec 2017 12:47:16 +0000 (13:47 +0100)]
Fixup include guard naming

2 years agoAdd ffmpeg-free loader
Timo Rothenpieler [Fri, 15 Dec 2017 12:39:33 +0000 (13:39 +0100)]
Add ffmpeg-free loader

2 years agoRemove dependencies on ffmpeg
Timo Rothenpieler [Mon, 4 Dec 2017 18:40:03 +0000 (19:40 +0100)]
Remove dependencies on ffmpeg

2 years agoAdd Makefile for installation
Timo Rothenpieler [Sun, 3 Dec 2017 11:12:05 +0000 (12:12 +0100)]
Add Makefile for installation

2 years agoAdd README
Timo Rothenpieler [Sun, 3 Dec 2017 10:38:39 +0000 (11:38 +0100)]
Add README

2 years agoInitial import from FFmpeg
Timo Rothenpieler [Sun, 3 Dec 2017 10:30:31 +0000 (11:30 +0100)]
Initial import from FFmpeg