Browse Source

Document avcodec_pix_fmt_to_codec_tag().

Originally committed as revision 21006 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.6
Stefano Sabatini 15 years ago
parent
commit
fa4dc9f082
1 changed files with 7 additions and 1 deletions
  1. +7
    -1
      libavcodec/avcodec.h

+ 7
- 1
libavcodec/avcodec.h View File

@@ -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 */


Loading…
Cancel
Save