Please provide the following info (check/uncheck the boxes after clicking “+ Create Topic”):
Software Version
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.6.0.8170
1.5.1.7815
1.5.0.7774
other
Host Machine Version
native Ubuntu 18.04
other
Hi,
I’m basically combining the img_jpegenc and nvsipl_camera samples to be able to log jpeg images directly after the ISP (to avoid saving to .yuv and then reading to encode).
For SF3325, I have checked the surface format attributes of the NvMediaImage that is obtained from ISP0, in order to create the jpeg encoder object accordingly. However the following configuration gives “Invalid input format specified” error during NvMediaIJPECreate.
NVM_SURF_FMT_DEFINE_ATTR(surfFormatAttrs);
NVM_SURF_FMT_SET_ATTR_YUV(surfFormatAttrs,YUV,420,SEMI_PLANAR,UINT,8,BL);
inputSurfType = NvMediaSurfaceFormatGetType(surfFormatAttrs, NVM_SURF_FMT_ATTR_MAX);
testEncoder = NvMediaIJPECreate(device,
inputSurfType, // inputFormat
maxOutputBuffering, // maxOutputBuffering
MAX_BITSTREAM_SIZE); // maxBitstreamBytes
I would like to know if the above configuration is supported by the jpeg encoder. I know that changing block linear (BL) to (PL) allows the encoder object to be initialized, however the encoding is faulty since thats not what ISP0 gives as output.
Thanks