[FFmpeg-cvslog] r17548 - in trunk/libavcodec: pixdesc.c pixdesc.h
Michael Niedermayer
michaelni
Tue Feb 24 17:18:11 CET 2009
On Tue, Feb 24, 2009 at 08:29:14AM +0100, Andreas ?man wrote:
> michael wrote:
> > Author: michael
> > Date: Tue Feb 24 02:08:29 2009
> > New Revision: 17548
> >
> > Log:
> > Pixel Format descriptor, try #1.
> > (yes its intentionally unused, this is intended as a basis for further
> > work, and to prevent repeation of the whole discussion dying and the
> > results being forgotten)
> >
> > Added:
> > trunk/libavcodec/pixdesc.c
> > trunk/libavcodec/pixdesc.h
> >
> > Added: trunk/libavcodec/pixdesc.c
> > ==============================================================================
> > --- /dev/null 00:00:00 1970 (empty, because file is newly added)
> > +++ trunk/libavcodec/pixdesc.c Tue Feb 24 02:08:29 2009 (r17548)
> > + /**
> > + * Amount to shift the luma width right to find the chroma width, this is for
> > + * example 1 for YV12
> > + * chroma_width = -((-luma_width )>>log2_chroma_w)
> > + * note above is needed to ensure rounding up
> > + */
> > + uint8_t log2_chroma_w; ///< chroma_width = -((-luma_width )>>log2_chroma_w)
>
> Would it make sense to have this conversion available as a macro?
yes
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
I do not agree with what you have to say, but I'll defend to the death your
right to say it. -- Voltaire
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-cvslog/attachments/20090224/b911e04c/attachment.pgp>
More information about the ffmpeg-cvslog
mailing list