comparison avcodec.h @ 1084:01154fced380 libavcodec

added DTG active format information
author bellard
date Tue, 25 Feb 2003 09:56:56 +0000
parents b32afefe7d33
children 9acf4b552047
comparison
equal deleted inserted replaced
1083:b923be2fc4b5 1084:01154fced380
14 14
15 #include "common.h" 15 #include "common.h"
16 16
17 #define LIBAVCODEC_VERSION_INT 0x000406 17 #define LIBAVCODEC_VERSION_INT 0x000406
18 #define LIBAVCODEC_VERSION "0.4.6" 18 #define LIBAVCODEC_VERSION "0.4.6"
19 #define LIBAVCODEC_BUILD 4656 19 #define LIBAVCODEC_BUILD 4657
20 #define LIBAVCODEC_BUILD_STR "4656" 20 #define LIBAVCODEC_BUILD_STR "4657"
21 21
22 enum CodecID { 22 enum CodecID {
23 CODEC_ID_NONE, 23 CODEC_ID_NONE,
24 CODEC_ID_MPEG1VIDEO, 24 CODEC_ID_MPEG1VIDEO,
25 CODEC_ID_H263, 25 CODEC_ID_H263,
946 * @return the choosen format 946 * @return the choosen format
947 * encoding: unused 947 * encoding: unused
948 * decoding: set by user, if not set then the native format will always be choosen 948 * decoding: set by user, if not set then the native format will always be choosen
949 */ 949 */
950 enum PixelFormat (*get_format)(struct AVCodecContext *s, enum PixelFormat * fmt); 950 enum PixelFormat (*get_format)(struct AVCodecContext *s, enum PixelFormat * fmt);
951
952 /**
953 * DTG active format information (additionnal aspect ratio
954 * information only used in DVB MPEG2 transport streams). 0 if
955 * not set.
956 *
957 * encoding: unused.
958 * decoding: set by decoder
959 */
960 int dtg_active_format;
961 #define FF_DTG_AFD_SAME 8
962 #define FF_DTG_AFD_4_3 9
963 #define FF_DTG_AFD_16_9 10
964 #define FF_DTG_AFD_14_9 11
965 #define FF_DTG_AFD_4_3_SP_14_9 13
966 #define FF_DTG_AFD_16_9_SP_14_9 14
967 #define FF_DTG_AFD_SP_4_3 15
968
951 } AVCodecContext; 969 } AVCodecContext;
952 970
953 //void avcodec_getopt(AVCodecContext* avctx, const char* str, avc_config_t** config); 971 //void avcodec_getopt(AVCodecContext* avctx, const char* str, avc_config_t** config);
954 972
955 typedef struct AVOption { 973 typedef struct AVOption {