[FFmpeg-devel] Adding 10-bit depth YUV

Michael Niedermayer michaelni
Fri May 11 20:21:32 CEST 2007


Hi

On Fri, May 11, 2007 at 01:55:40PM +0200, ?yvind Kol?s wrote:
> On 5/10/07, Michael Niedermayer <michaelni at gmx.at> wrote:
> > iam against adding 10bit anything support before 16bit is supported and
> > a clear advantage is demonstrated why 10bit support would be needed in
> > addition to 8 and 16bit support, additionally i think a more generic pix_fmt
> > system should be introduced before supporting bit depth between 8 and 16 bits
> > that is a system which specifies in a struct for each pix_fmt how it is
> > stored, so that a single simple generic (and slow) convertion routine can
> > convert any pix_fmt to any pix_fmt
> > this would greatly simplify things ...
> 
> For GEGL this is handled by babl, http://gegl.org/babl/ where color
> models, data types and pixel formats, as well as conversions between
> them are registered dynamically at run-time. When registering color
> models/data types, reference conversions to/from RGBA/64bit float are
> registered, and shortcut conversions/chains of shortcuts are
> regression tested at run time against the reference conversions.

iam not speaking about n routines to convert n formats we have that since
years but 1 routine to convert n formats based on a description of the
format (like where how many bits are which component ...)
the intent is to make it very easy to add new pixel formats and then
just write fast conversation functions when its actually needed

also anything float is unacceptable

[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

I am the wisest man alive, for I know one thing, and that is that I know
nothing. -- Socrates
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20070511/9c54a483/attachment.pgp>



More information about the ffmpeg-devel mailing list