How can I transform Blocklinear type NvSciBuf to PitchLinear type NvSciBuf

Please provide the following info (tick the boxes after creating this topic):
Software Version
[*] 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-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.2.10884
[*] 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 use nvm_ide_sci to decode video, I want to use NvSciBuf data directly for further processing, but it’s Blocklinear, how can I get data in NvSciBuf with right format. I try use funciton NvSciBufObjGetPixels, it takes too long and I want get image in NV12 format.

Could you please specify where in the source of nvm_ide_sci you are looking to verify that the decoded data is Blocklinear?

In file scibuf_utils.c line 1682, I print NvSciBufImageAttrKey_Layout value equal NvSciBufImage_BlockLinearType

There is no update from you for a period, assuming this is not an issue any more.
Hence we are closing this topic. If need further support, please open a new one.
Thanks

It looks like you checked the type in the WriteOutput() function, is that correct? As far as I know, nvm_ide_sci writes to the file in pitch linear 420p format. Could you please share your full nvm_ide_sci command for further investigation?

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