comparison avcodec.h @ 1264:2fa34e615c76 libavcodec

cleanup
author michaelni
date Wed, 14 May 2003 23:08:01 +0000
parents bc68a29d0dd1
children ec946cb74397
comparison
equal deleted inserted replaced
1263:9fce515e9894 1264:2fa34e615c76
13 13
14 #include "common.h" 14 #include "common.h"
15 15
16 #define LIBAVCODEC_VERSION_INT 0x000406 16 #define LIBAVCODEC_VERSION_INT 0x000406
17 #define LIBAVCODEC_VERSION "0.4.6" 17 #define LIBAVCODEC_VERSION "0.4.6"
18 #define LIBAVCODEC_BUILD 4666 18 #define LIBAVCODEC_BUILD 4667
19 #define LIBAVCODEC_BUILD_STR "4666" 19 #define LIBAVCODEC_BUILD_STR "4667"
20 20
21 #define LIBAVCODEC_IDENT "FFmpeg" LIBAVCODEC_VERSION "b" LIBAVCODEC_BUILD_STR 21 #define LIBAVCODEC_IDENT "FFmpeg" LIBAVCODEC_VERSION "b" LIBAVCODEC_BUILD_STR
22 22
23 enum CodecID { 23 enum CodecID {
24 CODEC_ID_NONE, 24 CODEC_ID_NONE,
1370 void avcodec_register_all(void); 1370 void avcodec_register_all(void);
1371 1371
1372 void avcodec_flush_buffers(AVCodecContext *avctx); 1372 void avcodec_flush_buffers(AVCodecContext *avctx);
1373 1373
1374 /* misc usefull functions */ 1374 /* misc usefull functions */
1375
1376 /**
1377 * returns a single letter to describe the picture type
1378 */
1379 char av_get_pict_type_char(int pict_type);
1380
1375 /** 1381 /**
1376 * reduce a fraction. 1382 * reduce a fraction.
1377 * this is usefull for framerate calculations 1383 * this is usefull for framerate calculations
1378 * @param max the maximum allowed for dst_nom & dst_den 1384 * @param max the maximum allowed for dst_nom & dst_den
1379 * @return 1 if exact, 0 otherwise 1385 * @return 1 if exact, 0 otherwise