Mercurial > libavcodec.hg
comparison avcodec.h @ 2837:45ccf6842c34 libavcodec
parse pict_type for streams in avi
fix mpeg4 parser so it outputs te pict_type
support header only parseing without repacking
author | michael |
---|---|
date | Mon, 15 Aug 2005 15:58:21 +0000 |
parents | b128802eb77b |
children | 5e0c3833d208 |
comparison
equal
deleted
inserted
replaced
2836:7bfea1374957 | 2837:45ccf6842c34 |
---|---|
19 #define FFMPEG_VERSION "CVS" | 19 #define FFMPEG_VERSION "CVS" |
20 | 20 |
21 #define AV_STRINGIFY(s) AV_TOSTRING(s) | 21 #define AV_STRINGIFY(s) AV_TOSTRING(s) |
22 #define AV_TOSTRING(s) #s | 22 #define AV_TOSTRING(s) #s |
23 | 23 |
24 #define LIBAVCODEC_VERSION_INT ((49<<16)+(0<<8)+1) | 24 #define LIBAVCODEC_VERSION_INT ((49<<16)+(0<<8)+2) |
25 #define LIBAVCODEC_VERSION 49.0.1 | 25 #define LIBAVCODEC_VERSION 49.0.2 |
26 #define LIBAVCODEC_BUILD LIBAVCODEC_VERSION_INT | 26 #define LIBAVCODEC_BUILD LIBAVCODEC_VERSION_INT |
27 | 27 |
28 #define LIBAVCODEC_IDENT "Lavc" AV_STRINGIFY(LIBAVCODEC_VERSION) | 28 #define LIBAVCODEC_IDENT "Lavc" AV_STRINGIFY(LIBAVCODEC_VERSION) |
29 | 29 |
30 #define AV_NOPTS_VALUE int64_t_C(0x8000000000000000) | 30 #define AV_NOPTS_VALUE int64_t_C(0x8000000000000000) |
2322 #define AV_PARSER_PTS_NB 4 | 2322 #define AV_PARSER_PTS_NB 4 |
2323 int cur_frame_start_index; | 2323 int cur_frame_start_index; |
2324 int64_t cur_frame_offset[AV_PARSER_PTS_NB]; | 2324 int64_t cur_frame_offset[AV_PARSER_PTS_NB]; |
2325 int64_t cur_frame_pts[AV_PARSER_PTS_NB]; | 2325 int64_t cur_frame_pts[AV_PARSER_PTS_NB]; |
2326 int64_t cur_frame_dts[AV_PARSER_PTS_NB]; | 2326 int64_t cur_frame_dts[AV_PARSER_PTS_NB]; |
2327 | |
2328 int flags; | |
2329 #define PARSER_FLAG_COMPLETE_FRAMES 0x0001 | |
2327 } AVCodecParserContext; | 2330 } AVCodecParserContext; |
2328 | 2331 |
2329 typedef struct AVCodecParser { | 2332 typedef struct AVCodecParser { |
2330 int codec_ids[5]; /* several codec IDs are permitted */ | 2333 int codec_ids[5]; /* several codec IDs are permitted */ |
2331 int priv_data_size; | 2334 int priv_data_size; |