[FFmpeg-devel] PixFmt removal (Was: [PATCH] Implement AVPixFmtDescriptor.name)
Michael Niedermayer
michaelni
Thu Mar 19 00:52:11 CET 2009
On Thu, Mar 19, 2009 at 12:20:13AM +0100, Gwenole Beauchesne wrote:
> Hi,
>
> Le 18 mars 09 ? 06:26, Michael Niedermayer a ?crit :
>
> >> OK, so what about:
> >>
> >> 123456789
> >> XVMC_MPEG2_MC
> >> XVMC_MPEG2_IDCT
> >> VDPAU_MPEG2
> >> VDPAU_WMV3
> >> VAAPI_IDCT
> >>
> >> That would lead to even more obscure names, that would be way worse
> >> than the few more bytes required by a complete name.
> >
> > then lets keep const char *
>
> Sorry, to hijack this thread but I have a collateral question. Future
> VDPAU through AVHWAccel will likely use a unique pixfmt, i.e. only
> PIX_FMT_VDPAU. What should be done with the previous pixfmts? Still
> support them (undesirable)? Skip them and make PIX_FMT_RGB48BE =
> current_location in the enum list? Keep but mark them as
> av_obsolete_PIX_FMT_VDPAU_*?
put them under #if VERSION < X so they disappear with the next major bump
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
Republics decline into democracies and democracies degenerate into
despotisms. -- Aristotle
-------------- 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-devel/attachments/20090319/a56eb772/attachment.pgp>
More information about the ffmpeg-devel
mailing list