[FFmpeg-devel] [PATCH] Use pixdesc for avcodec_get_pix_fmt_name()
Stefano Sabatini
stefano.sabatini-lala
Sat Nov 7 17:28:05 CET 2009
Hi,
this requires anyway the pixdesc.c compilation.
Also the names in pixdesc are defined consistently using the enum
name, while currently pix_fmt_info uses different names.
The differences are:
pix_fmt_info -> av_pix_fmt_descriptors
======================================
monow -> monowhite
monob -> monoblack
xvmcmc -> xvmc_mpeg2_mc
xvmcidct -> xvmc_mpeg2_idct
I'm not very fond of arbitrary name contractions so I'd prefer to
keep the pixdesc variants and use some backward-compatible mechanism
and drop the old variant at the next major bump.
Regards.
--
FFmpeg = Fast and Fantastic Meaningful Programmable Erotic Gadget
-------------- next part --------------
A non-text attachment was scrubbed...
Name: use-av-pix-desc-for-pixname.patch
Type: text/x-diff
Size: 684 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20091107/7aadfb4f/attachment.patch>
More information about the ffmpeg-devel
mailing list