get_format()

Originally committed as revision 1451 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Michael Niedermayer
2003-01-12 00:48:29 +00:00
parent 2a006cd396
commit a33c7159e1
4 changed files with 18 additions and 0 deletions

View File

@@ -923,6 +923,16 @@ typedef struct AVCodecContext {
*/
int me_subpel_quality;
/**
* callback to negotiate the pixelFormat
* @param fmt is the list of formats which are supported by the codec,
* its terminated by -1 as 0 is a valid format, the formats are ordered by quality
* the first is allways the native one
* @return the choosen format
* encoding: unused
* decoding: set by user, if not set then the native format will always be choosen
*/
enum PixelFormat (*get_format)(struct AVCodecContext *s, enum PixelFormat * fmt);
} AVCodecContext;
typedef struct AVCodec {