How does Xavier change save raw file format?

Hi all,
My Xavier received Raw12 data then I use v4l2 command to save raw file.

The saved raw file is 16 bit instead of 12 bit.

And I found some document and forum say the vi5_format.h will set 12 bit data to 16 bit format like that:

D11 D10 D9 D8 D7 D6 D5 D4 D3 D2 D1 D0 D11 D10 D9 D8

How do I change that to

0 0 0 0 D11 D10 D9 D8 D7 D6 D5 D4 D3 D2 D1 D0

Have a check this for Xavier.

Yes. It’s T_R16

There’s no way to configure as your want. You need remap it after get it from memory.

OK. I got it.
Which document have this image?
Does it has RAW20 schematic?

I can not find it at Xavier Series SoC Technical Reference Manual

Next release TRM should have it, current only have T_R16_I schematic.
For RAW20 need to check it.

For RAW20 it could be T_R32 and the layout should be like

D19 D18 …D2 D1 D0 D19 D18…D10 D9 D8

Do you have information about when the next version will be released?

OK. Thanks.

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