Commit 3f9050b6 authored by stefano's avatar stefano

Document avcodec_pix_fmt_to_codec_tag().


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@21006 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 01772a4c
...@@ -2984,7 +2984,13 @@ void avcodec_set_dimensions(AVCodecContext *s, int width, int height); ...@@ -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. * Finally if no pixel format has been found, returns PIX_FMT_NONE.
*/ */
enum PixelFormat avcodec_get_pix_fmt(const char* name); 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_RESOLUTION 0x0001 /**< loss due to resolution change */
#define FF_LOSS_DEPTH 0x0002 /**< loss due to color depth change */ #define FF_LOSS_DEPTH 0x0002 /**< loss due to color depth change */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment