Updated NVIDIA Video Codec SDK to version 12.2

This commit is contained in:
korenkonder
2024-05-15 19:45:07 +03:00
parent 779a0688b3
commit 7a396d7ce0
2 changed files with 148 additions and 69 deletions
+2 -1
View File
@@ -97,7 +97,8 @@ nvenc_config(), nvenc_api(), encoder(), encoder_guid(), preset_guid(), output_bu
NV_ENC_CONFIG_HEVC& hevc_config = nvenc_config.encodeCodecConfig.hevcConfig;
hevc_config.idrPeriod = 10;
hevc_config.pixelBitDepthMinus8 = 2;
hevc_config.inputBitDepth = NV_ENC_BIT_DEPTH_10;
hevc_config.outputBitDepth = NV_ENC_BIT_DEPTH_10;
hevc_config.hevcVUIParameters.videoSignalTypePresentFlag = 1;
hevc_config.hevcVUIParameters.videoFormat = NV_ENC_VUI_VIDEO_FORMAT_UNSPECIFIED;
hevc_config.hevcVUIParameters.videoFullRangeFlag = 1;