comparison avcodec.h @ 998:6129c88a6393 libavcodec

get_format()
author michaelni
date Sun, 12 Jan 2003 00:48:29 +0000
parents 2fabb7d709e7
children ef905ded19fe
comparison
equal deleted inserted replaced
997:4dfe15ae0078 998:6129c88a6393
921 * encoding: set by user. 921 * encoding: set by user.
922 * decoding: unused 922 * decoding: unused
923 */ 923 */
924 int me_subpel_quality; 924 int me_subpel_quality;
925 925
926 /**
927 * callback to negotiate the pixelFormat
928 * @param fmt is the list of formats which are supported by the codec,
929 * its terminated by -1 as 0 is a valid format, the formats are ordered by quality
930 * the first is allways the native one
931 * @return the choosen format
932 * encoding: unused
933 * decoding: set by user, if not set then the native format will always be choosen
934 */
935 enum PixelFormat (*get_format)(struct AVCodecContext *s, enum PixelFormat * fmt);
926 } AVCodecContext; 936 } AVCodecContext;
927 937
928 typedef struct AVCodec { 938 typedef struct AVCodec {
929 const char *name; 939 const char *name;
930 int type; 940 int type;