Can surface based attributes image be used for iep encode?

Please provide the following info (tick the boxes after creating this topic):
Software Version
[*] DRIVE OS 6.0.5
DRIVE OS 6.0.4 (rev. 1)
DRIVE OS 6.0.4 SDK
other

Target Operating System
[*] Linux
QNX
other

Hardware Platform
DRIVE AGX Orin Developer Kit (940-63710-0010-D00)
DRIVE AGX Orin Developer Kit (940-63710-0010-C00)
DRIVE AGX Orin Developer Kit (not sure its number)
[*] other

SDK Manager Version
1.9.1.10844
[*] other

Host Machine Version
[*] native Ubuntu Linux 20.04 Host installed with SDK Manager
native Ubuntu Linux 20.04 Host installed with DRIVE OS Docker Containers
native Ubuntu Linux 18.04 Host installed with DRIVE OS Docker Containers
other
I have an issue on drive os 6.05. When I want to encode the image captured from isp of orin.
The image attributes of captured image(NvSciBufObj)'s attributes are surface based. As the document said, the attribue ‘NvSciBufImageAttrKey_PlaneBaseAddrAlign’ is used for non surface based image attributes and should not be specified. But the document of iep(NVIDIA DRIVE OS Linux SDK API Reference: Image Encoder | NVIDIA Docs) also said, to encode the image, the image plane base address alignment should be 256.
So how can i set the attribute to surface based attrubutes image. I can call ‘NvMediaIEPFeedFrame’ to pass the surface based image to encoder and it return the result. The video looks with some green lines, some parts like kaleidoscope.

Thanks.

We will check internally and update you here. Thanks.

Hi Vick:
I thought i had found the reason: That is the image output by isp should not be passed to iep immediately after calling function ‘Get’. It should wait the image’s eof fence(the image was not actual ready when acqured after calling function ‘Get’).
Thanks.

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.