[FFmpeg-devel] PixFmt removal (Was: [PATCH] Implement AVPixFmtDescriptor.name)

Gwenole Beauchesne gbeauchesne
Thu Mar 19 00:20:13 CET 2009


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_*?

I don't think this ever happened before since pixfmts are not meant to  
be removed in the first place.



More information about the ffmpeg-devel mailing list