How to decode raw images saved with v4l-ctl?

Hey @jchaves and thanks for your answer !

In the link your provided, it’s explicitly said that this format is not documented :

To display the RAW bayer or debayered frames you could use GStreamer or vooya.

As far as I know nor GStreamer or Vooya supports padded 12 bit Bayer raw image.

In case you are looking for alternatives to the NVIDIA Argus software stack currently there is support for debayering using the GstCuda element.

I might be interested if it supports this particular format, but it is not available yet it seems.


Can someone from Nvidia chime in and give a clear description of the bytes I see in this file ? @JerryChang @ShaneCCC?

It’s clearly not any of those:

It is also not

d11 d10 d09 d08 d07 d06 d05 d04 d03 d02 d01 d00 d11 d10 d09 d08

Because of the following pixel:

00001111 11111110

Or am I missing something ?