Capture bayer image with a BufferOutputStream

Hallo,

I want to get the raw bayer image of my camera using the ARgus library.

I can do this using an EGLOutputStream with the PixelFormat set to PIXEL_FMT_RAW16.
But I don’t find a corresponding NvBufferColorFormat if I want to use a BufferOutputStream.

So is it possible to capture the bayer images using a BufferOutputStream?

Suppose you can reference to the sample code of the MMAPI.

Thanks

I found a sample using the EGLOutputStream but I did not find a sample using the BufferOutputStream to generate a raw bayer image.

Looks like BufferOutputStream unable to set the output format of PIXEL_FMT_RAW16

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

Which sample using the BufferOutputStream like you want?