Skip to content

Commit

Permalink
* Upgrade presets for NVIDIA Video Codec SDK 11.1.5
Browse files Browse the repository at this point in the history
  • Loading branch information
saudet committed Jul 29, 2021
1 parent 3fc9eb7 commit b603f85
Show file tree
Hide file tree
Showing 24 changed files with 249 additions and 59 deletions.
4 changes: 2 additions & 2 deletions .github/actions/deploy-centos/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -95,8 +95,8 @@ runs:
if [[ "$CI_DEPLOY_MODULE" == "nvcodec" ]]; then
echo Installing NVIDIA Video Codec SDK
python3 -m gdown.cli https://drive.google.com/uc?id=1cBohhcptNDSF5pxsQ7n4-qcGsgiWUxga
unzip Video_Codec_SDK_11.0.10.zip -d /usr/local
python3 -m gdown.cli https://drive.google.com/uc?id=1dh3P5JLUUe9EXE0GSJj6VDWYlr7W89dO
unzip Video_Codec_SDK_11.1.5.zip -d /usr/local
ln -sf /usr/local/Video_Codec_SDK_* /usr/local/videocodecsdk
fi
Expand Down
4 changes: 2 additions & 2 deletions .github/actions/deploy-ubuntu/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -135,8 +135,8 @@ runs:
if [[ "$CI_DEPLOY_MODULE" == "nvcodec" ]]; then
echo Installing NVIDIA Video Codec SDK
python3 -m gdown.cli https://drive.google.com/uc?id=1cBohhcptNDSF5pxsQ7n4-qcGsgiWUxga
unzip Video_Codec_SDK_11.0.10.zip -d /usr/local
python3 -m gdown.cli https://drive.google.com/uc?id=1dh3P5JLUUe9EXE0GSJj6VDWYlr7W89dO
unzip Video_Codec_SDK_11.1.5.zip -d /usr/local
ln -sf /usr/local/Video_Codec_SDK_* /usr/local/videocodecsdk
fi
Expand Down
6 changes: 3 additions & 3 deletions .github/actions/deploy-windows/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,9 +83,9 @@ runs:
if "%CI_DEPLOY_MODULE%"=="nvcodec" (
echo Installing NVIDIA Video Codec SDK
python -m gdown.cli https://drive.google.com/uc?id=1cBohhcptNDSF5pxsQ7n4-qcGsgiWUxga
unzip Video_Codec_SDK_11.0.10.zip
move Video_Codec_SDK_11.0.10 "%ProgramFiles%\NVIDIA GPU Computing Toolkit\VideoCodecSDK"
python -m gdown.cli https://drive.google.com/uc?id=1dh3P5JLUUe9EXE0GSJj6VDWYlr7W89dO
unzip Video_Codec_SDK_11.1.5.zip
move Video_Codec_SDK_11.1.5 "%ProgramFiles%\NVIDIA GPU Computing Toolkit\VideoCodecSDK"
)
if "%CI_DEPLOY_MODULE%"=="tensorrt" (
Expand Down
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
* Build FFmpeg with libxml2, enabling support for DASH demuxing ([pull #1033](https://github.com/bytedeco/javacpp-presets/pull/1033)), and libsrt for SRT protocol support ([pull #1036](https://github.com/bytedeco/javacpp-presets/pull/1036))
* Add `@MemberGetter` for `av_log_default_callback()` in presets for FFmpeg ([issue #812](https://github.com/bytedeco/javacpp-presets/issues/812))
* Include `cudaGL.h` and `cuda_gl_interop.h` header files in presets for CUDA ([pull #1027](https://github.com/bytedeco/javacpp-presets/pull/1027))
* Add presets for libffi 3.4.2 ([issue #833](https://github.com/bytedeco/javacpp-presets/issues/833)), NVIDIA Video Codec SDK 11.0.10 ([pull #1020](https://github.com/bytedeco/javacpp-presets/pull/1020)), PyTorch 1.9.0 ([issue #623](https://github.com/bytedeco/javacpp-presets/issues/623)), TensorFlow Lite 2.5.0, DepthAI 2.8.0, ModSecurity 3.0.5 ([pull #1012](https://github.com/bytedeco/javacpp-presets/pull/1012))
* Add presets for libffi 3.4.2 ([issue #833](https://github.com/bytedeco/javacpp-presets/issues/833)), NVIDIA Video Codec SDK 11.1.5 ([pull #1020](https://github.com/bytedeco/javacpp-presets/pull/1020)), PyTorch 1.9.0 ([issue #623](https://github.com/bytedeco/javacpp-presets/issues/623)), TensorFlow Lite 2.5.0, DepthAI 2.8.0, ModSecurity 3.0.5 ([pull #1012](https://github.com/bytedeco/javacpp-presets/pull/1012))
* Map `std::vector<cv::Range>` to `RangeVector` in `opencv_core.Mat` for convenience ([issue bytedeco/javacv#1607](https://github.com/bytedeco/javacv/issues/1607))
* Include `genericaliasobject.h`, `context.h`, `tracemalloc.h`, and `datetime.h` for CPython ([issue #1017](https://github.com/bytedeco/javacpp-presets/issues/1017))
* Add samples using LLVM modules to deal with bitcode and object files ([pull #1016](https://github.com/bytedeco/javacpp-presets/pull/1016))
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -207,15 +207,15 @@ Each child module in turn relies by default on the included [`cppbuild.sh` scrip
* CUDA 11.4.x https://developer.nvidia.com/cuda-downloads
* cuDNN 8.2.x https://developer.nvidia.com/cudnn
* NCCL 2.10.x https://developer.nvidia.com/nccl
* NVIDIA Video Codec SDK 11.0.x https://developer.nvidia.com/nvidia-video-codec-sdk
* NVIDIA Video Codec SDK 11.1.x https://developer.nvidia.com/nvidia-video-codec-sdk
* OpenCL 3.0 https://github.com/KhronosGroup/OpenCL-ICD-Loader
* MXNet 1.8.0 https://github.com/apache/incubator-mxnet
* PyTorch 1.9.x https://github.com/pytorch/pytorch
* TensorFlow 1.15.x https://github.com/tensorflow/tensorflow
* TensorFlow Lite 2.5.x https://github.com/tensorflow/tensorflow
* TensorRT 8.x https://developer.nvidia.com/tensorrt
* The Arcade Learning Environment 0.6.x https://github.com/mgbellemare/Arcade-Learning-Environment
* DepthAI 2.7.x https://github.com/luxonis/depthai-core
* DepthAI 2.8.x https://github.com/luxonis/depthai-core
* ONNX 1.9.x https://github.com/onnx/onnx
* nGraph 0.26.0 https://github.com/NervanaSystems/ngraph
* ONNX Runtime 1.8.x https://github.com/microsoft/onnxruntime
Expand Down
6 changes: 3 additions & 3 deletions nvcodec/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ Introduction
------------
This directory contains the JavaCPP Presets module for:

* NVIDIA Video Codec SDK 11.0.10 https://developer.nvidia.com/nvidia-video-codec-sdk
* NVIDIA Video Codec SDK 11.1.5 https://developer.nvidia.com/nvidia-video-codec-sdk

Please refer to the parent README.md file for more detailed information about the JavaCPP Presets.

Expand All @@ -31,7 +31,7 @@ Java API documentation is available here:

Sample Usage
------------
Here is a simple example ported to Java from C code based on `Samples/AppEncode/AppEncCuda` and `Samples/AppDecode/AppDec` included in `Video_Codec_SDK_11.0.10.zip` available at:
Here is a simple example ported to Java from C code based on `Samples/AppEncode/AppEncCuda` and `Samples/AppDecode/AppDec` included in `Video_Codec_SDK_11.1.5.zip` available at:

* https://developer.nvidia.com/nvidia-video-codec-sdk/download

Expand All @@ -55,7 +55,7 @@ You can find more encoder and decoder samples in the [`samples`](samples) subdir
<dependency>
<groupId>org.bytedeco</groupId>
<artifactId>nvcodec-platform</artifactId>
<version>11.0.10-1.5.6-SNAPSHOT</version>
<version>11.1.5-1.5.6-SNAPSHOT</version>
</dependency>

<!-- Additional dependencies to use bundled CUDA -->
Expand Down
2 changes: 1 addition & 1 deletion nvcodec/platform/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

<groupId>org.bytedeco</groupId>
<artifactId>nvcodec-platform</artifactId>
<version>11.0.10-${project.parent.version}</version>
<version>11.1.5-${project.parent.version}</version>
<name>JavaCPP Presets Platform for NVIDIA Video Codec SDK</name>

<properties>
Expand Down
2 changes: 1 addition & 1 deletion nvcodec/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

<groupId>org.bytedeco</groupId>
<artifactId>nvcodec</artifactId>
<version>11.0.10-${project.parent.version}</version>
<version>11.1.5-${project.parent.version}</version>
<name>JavaCPP Presets for NVIDIA Video Codec SDK</name>

<dependencies>
Expand Down
2 changes: 1 addition & 1 deletion nvcodec/samples/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
<dependency>
<groupId>org.bytedeco</groupId>
<artifactId>nvcodec-platform</artifactId>
<version>11.0.10-1.5.6-SNAPSHOT</version>
<version>11.1.5-1.5.6-SNAPSHOT</version>
</dependency>

<!-- Additional dependencies to use bundled CUDA -->
Expand Down
2 changes: 1 addition & 1 deletion nvcodec/samples/simple/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<dependency>
<groupId>org.bytedeco</groupId>
<artifactId>nvcodec-platform</artifactId>
<version>11.0.10-1.5.6-SNAPSHOT</version>
<version>11.1.5-1.5.6-SNAPSHOT</version>
</dependency>

<!-- Additional dependencies to use bundled CUDA -->
Expand Down
16 changes: 8 additions & 8 deletions nvcodec/src/gen/java/org/bytedeco/nvcodec/global/nvcuvid.java
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ public class nvcuvid extends org.bytedeco.nvcodec.presets.nvcuvid {
/*
* This copyright notice applies to this header file only:
*
* Copyright (c) 2010-2020 NVIDIA Corporation
* Copyright (c) 2010-2021 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 @@ -76,7 +76,7 @@ public class nvcuvid extends org.bytedeco.nvcodec.presets.nvcuvid {
/** Video codec enums
/** These enums are used in CUVIDDECODECREATEINFO and CUVIDDECODECAPS structures
/*********************************************************************************/
/** enum cudaVideoCodec_enum */
/** enum cudaVideoCodec */
public static final int
/** MPEG1 */
cudaVideoCodec_MPEG1 = 0,
Expand Down Expand Up @@ -121,7 +121,7 @@ public class nvcuvid extends org.bytedeco.nvcodec.presets.nvcuvid {
/** Video surface format enums used for output format of decoded output
/** These enums are used in CUVIDDECODECREATEINFO structure
/*********************************************************************************/
/** enum cudaVideoSurfaceFormat_enum */
/** enum cudaVideoSurfaceFormat */
public static final int
/** Semi-Planar YUV [Y plane followed by interleaved UV plane] */
cudaVideoSurfaceFormat_NV12 = 0,
Expand All @@ -141,7 +141,7 @@ public class nvcuvid extends org.bytedeco.nvcodec.presets.nvcuvid {
/** Use cudaVideoDeinterlaceMode_Weave for progressive content and for content that doesn't need deinterlacing
/** cudaVideoDeinterlaceMode_Adaptive needs more video memory than other DImodes
/******************************************************************************************************************/
/** enum cudaVideoDeinterlaceMode_enum */
/** enum cudaVideoDeinterlaceMode */
public static final int
/** Weave both fields (no deinterlacing) */
cudaVideoDeinterlaceMode_Weave = 0,
Expand All @@ -155,7 +155,7 @@ public class nvcuvid extends org.bytedeco.nvcodec.presets.nvcuvid {
/** Chroma format enums
/** These enums are used in CUVIDDECODECREATEINFO and CUVIDDECODECAPS structures
/**************************************************************************************************************/
/** enum cudaVideoChromaFormat_enum */
/** enum cudaVideoChromaFormat */
public static final int
/** MonoChrome */
cudaVideoChromaFormat_Monochrome = 0,
Expand All @@ -171,7 +171,7 @@ public class nvcuvid extends org.bytedeco.nvcodec.presets.nvcuvid {
/** Decoder flag enums to select preferred decode path
/** cudaVideoCreate_Default and cudaVideoCreate_PreferCUVID are most optimized, use these whenever possible
/*************************************************************************************************************/
/** enum cudaVideoCreateFlags_enum */
/** enum cudaVideoCreateFlags */
public static final int
/** Default operation mode: use dedicated video engines */
cudaVideoCreate_Default = 0x00,
Expand All @@ -188,7 +188,7 @@ public class nvcuvid extends org.bytedeco.nvcodec.presets.nvcuvid {
/** Decode status enums
/** These enums are used in CUVIDGETDECODESTATUS structure
/*************************************************************************/
/** enum cuvidDecodeStatus_enum */
/** enum cuvidDecodeStatus */
public static final int
cuvidDecodeStatus_Invalid = 0, // Decode status is not valid
cuvidDecodeStatus_InProgress = 1, // Decode is in progress
Expand Down Expand Up @@ -426,7 +426,7 @@ public class nvcuvid extends org.bytedeco.nvcodec.presets.nvcuvid {
/*
* This copyright notice applies to this header file only:
*
* Copyright (c) 2010-2020 NVIDIA Corporation
* Copyright (c) 2010-2021 NVIDIA Corporation
*
* Permission is hereby granted, free of charge, to any person
* obtaining a copy of this software and associated documentation
Expand Down
Loading

0 comments on commit b603f85

Please sign in to comment.