I am working with Arguslib on TX1 with IMX185 CSI MIPI cameras from Leopard Imaging. The L4T version I am using is 24.2.1(Jetpack 2.3.1) and it can’t be updated because it has to be compatible with sensor drivers. I saw some useful sample code from argus/yuvjpeg. It seems that the raw data(PIXEL_FMT_YCbCr_420_888) can be retrieved by
const uint8_t d = static_cast<const uint8_t>(iImage->mapBuffer(i));
but it seems to be BLOCK_LINEAR datatype and cannot be converted to RGB directly. Is there any useful api or sample code I can look up to?