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.4.1.7402
other
Host Machine Version
native Ubuntu 18.04
other
Hi,
I want to get an image of yuv444_8b or RGBA_8b using sipl_camera sample.
I changed the AllocateAndRegisterBuffers() of CNvSIPLMaster.hpp as follows.
if (isp0Enabled) {
// Get attributes
NvSIPLImageAttr attr;
status = m_pCamera->GetImageAttributes(pip, INvSIPLClient::ConsumerDesc::OutputType::ISP0, attr);
if (status != NVSIPL_STATUS_OK) {
LOG_ERR("GetImageAttributes failed\n");
return status;
}
NVM_SURF_FMT_DEFINE_ATTR(surfFormatAttrs);
NVM_SURF_FMT_SET_ATTR_YUV (surfFormatAttrs, YUV, 444, SEMI_PLANAR, UINT, 8, BL);
attr.surfaceType =NvMediaSurfaceFormatGetType(surfFormatAttrs, NVM_SURF_FMT_ATTR_MAX);
std::vector<NvMediaImage*> images;
status = AllocateImages(pDevice, attr.surfaceType, attr.surfaceAllocAttr, images);
if (status != NVSIPL_STATUS_OK) {
LOG_ERR("AllocateImages failed\n");
return status;
}
printf("resigter image start \n");
status = m_pCamera->RegisterImages(pip, INvSIPLClient::ConsumerDesc::OutputType::ISP0, images);
printf("resigter image end \n");
if (status != NVSIPL_STATUS_OK) {
LOG_WARN("RegisterImageGroups failed\n");
DeleteImages(images);
return status;
}
m_imagesList.push_back(images);
}
But when I run it, I get an error in the RegisterAutoControl().
How can I change the output of ISP to something like YUV444?
./nvsipl_camera -c “IMX390_RGGB_CPHY_x4” -m “0x0001 0x0000 0x0000 0x0000” -d 0 -w 1 --disableISP1Output -f “test.yuv”
nvsipl_camera: Opened NITO file for module “IMX390_RGGB”
[SiplControlIspCheckImageInfo:210] [SiplControlIspCheckImageInfo:210] Bad input parameter : Out SURF
[SiplControlIspInitRangeCheck:1439] [SiplControlIspInitRangeCheck:1439] Bad input parameter
[SiplControlIspInit:68] [SiplControlIspInit:68] Bad init parameter
Main: CNvMISPBlock.cpp: 216: RegisterAutoControlPlugin: createSiplControlIsp: Failed to create Sipl Control ISP
Main: CNvMSensorPipeline.cpp: 263: RegisterAutoControlPlugin: ISP block register auto control plugin failed
Main: CNvMCamera.cpp: 342: RegisterAutoControlPlugin: RegisterAutoControlPlugin type:0 failed for pipeline:0
nvsipl_camera: ERROR: SetSiplControl(NV) failed for ISP output of sensor:0