Skip to contentSkip to conversation

RAW/Bayer format FOURCCs

DISCUSSION Arne Caspari 2 participants 3 messages May 5, 2008 – May 7, 2008 Media (V4L/DVB)

lore
Share & tools
lore
#0 lore raw

Hello,

I am looking for the correct FOURCC to use for a RAW Bayer format: RGGB 16 bit.

In the v4l2 specification, there is V4L2_PIX_FMT_SBGGR8 ( 'BA81' ) for BGGR 8 bit and V4L2_PIX_FMT_SBGGR16 ( 'BA82' ) for BGGR 16 bit. I do not really see a pattern in the FOURCC assignment here. Does anybody know what the correct FOURCC should look like?

Thanks,

Signature · 8 lines
Arne Caspari    --    unicap-imaging

http://www.unicap-imaging.org

--
video4linux-list mailing list
Unsubscribe mailto:[email protected]?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list
#1 lore raw
Quoted 7 lines · Arne Caspari

I am looking for the correct FOURCC to use for a RAW Bayer format: RGGB 16 bit.

In the v4l2 specification, there is V4L2_PIX_FMT_SBGGR8 ( 'BA81' ) for BGGR 8 bit and V4L2_PIX_FMT_SBGGR16 ( 'BA82' ) for BGGR 16 bit. I do not really see a pattern in the FOURCC assignment here. Does anybody know what the correct FOURCC should look like?

There is no pattern.

The BA8x FourCCs were invented by Luca Risolia:
http://marc.info/?l=linux-video&m=108062090927323

The BYRx FourCCs are used by CineForm's products when they put raw pictures into AVI and MOV. David Newman's post on dvinfo.net is probably the source for the fourcc.org entries. Looking at CineForm's NEO player I see up to BYR3. Some update logs on the CineForm website mention BYR4.

Daniel

--
video4linux-list mailing list
Unsubscribe mailto:[email protected]?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list

#2 lore raw

Daniel,

Thank you very much for your informative post. I will look into the information you provided.

/Arne

Quoted 14 lines · Daniel Glöckner
Quoted 7 lines · Arne Caspari

I am looking for the correct FOURCC to use for a RAW Bayer format: RGGB 16 bit.

In the v4l2 specification, there is V4L2_PIX_FMT_SBGGR8 ( 'BA81' ) for BGGR 8 bit and V4L2_PIX_FMT_SBGGR16 ( 'BA82' ) for BGGR 16 bit. I do not really see a pattern in the FOURCC assignment here. Does anybody know what the correct FOURCC should look like?

There is no pattern.

The BA8x FourCCs were invented by Luca Risolia:
http://marc.info/?l=linux-video&m=108062090927323

Quoted 6 lines

The BYRx FourCCs are used by CineForm's products when they put raw pictures into AVI and MOV. David Newman's post on dvinfo.net is probably the source for the fourcc.org entries. Looking at CineForm's NEO player I see up to BYR3. Some update logs on the CineForm website mention BYR4.

Daniel

--
video4linux-list mailing list
Unsubscribe mailto:[email protected]?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list