summaryrefslogtreecommitdiff
path: root/libavcodec/avcodec.h
diff options
context:
space:
mode:
authorStefano Sabatini <stefano.sabatini-lala@poste.it>2010-01-03 21:21:41 +0000
committerStefano Sabatini <stefano.sabatini-lala@poste.it>2010-01-03 21:21:41 +0000
commitfa4dc9f0828c855a10e131ed88cef37f8b11c495 (patch)
tree6e8cf748d3e00c3ff5945aa046adddd6d9aad307 /libavcodec/avcodec.h
parent634116df3edb67d2beb02299798267787b283fd7 (diff)
Document avcodec_pix_fmt_to_codec_tag().
Originally committed as revision 21006 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/avcodec.h')
-rw-r--r--libavcodec/avcodec.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h
index e7b9752331..c982a642f0 100644
--- a/libavcodec/avcodec.h
+++ b/libavcodec/avcodec.h
@@ -2984,7 +2984,13 @@ void avcodec_set_dimensions(AVCodecContext *s, int width, int height);
* Finally if no pixel format has been found, returns PIX_FMT_NONE.
*/
enum PixelFormat avcodec_get_pix_fmt(const char* name);
-unsigned int avcodec_pix_fmt_to_codec_tag(enum PixelFormat p);
+
+/**
+ * Returns a value representing the fourCC code associated to the
+ * pixel format pix_fmt, or 0 if no associated fourCC code can be
+ * found.
+ */
+unsigned int avcodec_pix_fmt_to_codec_tag(enum PixelFormat pix_fmt);
#define FF_LOSS_RESOLUTION 0x0001 /**< loss due to resolution change */
#define FF_LOSS_DEPTH 0x0002 /**< loss due to color depth change */