[FFmpeg-devel] [RFC] Bayer colorspaces: CODEC_ID, PIX_FMT or both?

Michael Niedermayer michaelni
Sun Jan 30 02:20:59 CET 2011

On Sun, Jan 30, 2011 at 11:45:51AM +1100, Peter Ross wrote:

> Some bayer implementations pack the samples. e.g. 12-bit RGGB, means
> each sample consumes 12 bits in memory. Other bayer implementations
> pad each samples out to 16-bits.
> A hybrid implementation would have PIX_FMTs defined for 8-bit and
> 16-bit sample sizes, and make a BAYER codec available to unpack the
> samples into PIX_FMT_BAYER_xxxx16{LE|BE}
> Comments?

this is best

Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Good people do not need laws to tell them to act responsibly, while bad
people will find a way around the laws. -- Plato
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20110130/9c394f24/attachment.pgp>

More information about the ffmpeg-devel mailing list