[FFmpeg-devel] [PATCH] libavcodec/imgconvert.c new function: avcodec_get_pix_fmt_info()

Jürgen Meissner Juergen
Mon Mar 23 22:00:03 CET 2009

patch comment (trunk)

imgconvert.c gets a new function (with prototype in libavcodec/avcodec.h)

const PixFmtInfo *avcodec_get_pix_fmt_info(enum PixelFormat pix_fmt)
    if (pix_fmt < 0 || pix_fmt >= PIX_FMT_NB)
        return NULL;
        return &pix_fmt_info[pix_fmt];

to make it sincerly public

removed some defines and typedef for PixFmtInfo, they moved from 
to libavutil/pixfmt.h

first usage in libavfilter/vf_logo.c filter
(included here to make it clear, why it's usefull,
will be checked in to soc/libavfilter after beeing
based an a ffmpeg revision containing the new function)

mfG J.Meissner

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: avcodec_get_pix_fmt_info.diff.txt
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20090323/23e3a833/attachment.txt>

More information about the ffmpeg-devel mailing list