Please provide the following info (check/uncheck the boxes after creating this topic):
Software Version
DRIVE OS Linux 5.2.6
DRIVE OS Linux 5.2.6 and DriveWorks 4.0
DRIVE OS Linux 5.2.0
[] DRIVE OS Linux 5.2.0 and DriveWorks 3.5
NVIDIA DRIVE™ Software 10.0 (Linux)
NVIDIA DRIVE™ Software 9.0 (Linux)
other DRIVE OS version
other
Target Operating System
Linux
[] QNX
other
Hardware Platform
[] NVIDIA DRIVE™ AGX Xavier DevKit (E3550)
NVIDIA DRIVE™ AGX Pegasus DevKit (E3550)
other
SDK Manager Version
1.7.1.8928
[] other
Host Machine Version
native Ubuntu 18.04
[] other
my code is here:
inline void JpegEncoder::initJpegEncoder(int width, int height,
NvMediaSurfaceType format) {
if (isInitialized()) return;
initialized = true;
image_yuv_pl_ =
NvmUtils::GetInstance()->CreateNvmYuvImage(width, height, false);
device = NvMediaDeviceCreate();
if (!device) {
CALMCAR_WARN(“NvMediaDeviceCreate failed”);
}
inputFormat = format;
LOG(INFO) << "inputFormat = " << inputFormat; //
testEncoder = NvMediaIJPECreate(device, inputFormat, MaxOutputBuffering,
3 * 1920 * 1208);
if (!testEncoder) {
CALMCAR_WARN(“NvMediaIJPECreate failed”);
}
}
I have met the similar issue as displayed in Unable to create a NvMediaIJPE object for JPEG compression after Drive Software 10.0 upgrade
I have tried his method but still shows “NvMediaIJPECreate failed”.
It works in Linux but doesn’t in QNX. Could you give me some possible solutions regarding to this issue?