[FFmpeg-cvslog] r17548 - in trunk/libavcodec: pixdesc.c pixdesc.h

Michael Niedermayer michaelni
Tue Feb 24 03:37:02 CET 2009


On Mon, Feb 23, 2009 at 05:55:41PM -0800, Baptiste Coudurier wrote:
> On 2/23/2009 5:08 PM, michael wrote:
> > [...]
> >
> > 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)
> 
> Okey, let's see if I understand correctly. Let's say I want to add a
> custom pixel format.
> 
> Should we declare a generic pixel format like PIX_FMT_USE_DESCRIPTOR
> which explicitely declare that AVPixFmtDescriptor must be used ?
> 
> Should we add this descriptor to AVCodecContext then, add fill it in the
> decoder ? That would be quite nice and generic.

sounds good if i understood correctly.
adding a PIX_FMT_GENERIC to libavutil/pixfmt.h
(marking this as PIX_FMT_USE_DESCRIPTOR in pixdesc.c though this seems
 not essential)
adding a AVPixFmtDescriptor *pix_fmt_desc to AVCodecContext that either
points to the table from pixdesc.c or is a custom pixfmtdesc


[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Those who are too smart to engage in politics are punished by being
governed by those who are dumber. -- Plato 
-------------- 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/fd04b2e6/attachment.pgp>



More information about the ffmpeg-cvslog mailing list