I am using Jetson Xavier AGX loaded with JetPack 32.1 and a custom image sensor connected to it over MIPI CSI2.
The sensor is configured to send non-image data (statistics) using CSI2 packets with data type 0x12.
I see that libargus seems to proide methods to grab such non-image data (CaptureMetadata object - https://docs.nvidia.com/jetson/l4t-multimedia/group__ArgusCaptureMetadata.html) .
But I cannot use the libargus for performances and control reasons.
Since libargus sits on top of the kernel drivers, I just need to understand the interface it uses with the kernel to grab these non-image data.
After several hours of code digging inside NVIDIA & v4l linux kernel drivers, I do not see evidence of how to grab the content of these 0x12 CSI2 data packets to the userland (using some ioctl or any other kernel communication means on a device).
Can anyone please help me and eventually give me orientations on how to interface the NVIDIA/v4l drivers to grab CSI2 0x12 non-image data ?
Thanks in advance,