Please provide the following info (tick the boxes after creating this topic): Software Version
DRIVE OS 6.0.8.1
DRIVE OS 6.0.6
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-300)
DRIVE AGX Orin Developer Kit (940-63710-0010-200)
DRIVE AGX Orin Developer Kit (940-63710-0010-100)
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.3.10904
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
The following page shows that DRIVE OS6.0.8.1 has a 512 byte alignment for pitch.
However, when I checked the pitch of the image, the value was 11648.
Since it is an RGBA image with a width of 2896 pixels, I thought that it would be 11584 + 192 byte = 11776 byte, but the pitch was 11648.
Do you know why?
I used the DW sample “Camera Sample” to get frames from a Sony IMX490.
Size is {width,height} = {2896,1876}
①Call dwSensorCamera_readFrame()
②Call dwSensorCamera_getImage(&img, outputType, frame[i])
③Call dwImage_getCUDA(&imageCUDA, img) →format is RGBA
④Check imageCUDA->ptich[0]
Since width is 2896, 2896x4(RGBA) = 11584.
11584 / 512 = 22.625.
512 x 23 = 11776
From the above, I thought the pitch would be 11776, but it was actually 11648.
Dear @HIENG_NS,
The byte alignment size depends on type of layout and engines involved in the pipeline. When only GPU is present, it is expected to be 64K. 512K byte referred in the topic(bug) you pointed when VIC is involved in pipeline.