Mercurial > libavcodec.hg
comparison avcodec.h @ 6977:de032bcdeff9 libavcodec
Simplify parser core.
| author | michael |
|---|---|
| date | Mon, 02 Jun 2008 02:55:30 +0000 |
| parents | da73a98945ea |
| children | 4257fdcf664e |
comparison
equal
deleted
inserted
replaced
| 6976:4e96557381d9 | 6977:de032bcdeff9 |
|---|---|
| 2835 int fetch_timestamp; | 2835 int fetch_timestamp; |
| 2836 | 2836 |
| 2837 #define AV_PARSER_PTS_NB 4 | 2837 #define AV_PARSER_PTS_NB 4 |
| 2838 int cur_frame_start_index; | 2838 int cur_frame_start_index; |
| 2839 int64_t cur_frame_offset[AV_PARSER_PTS_NB]; | 2839 int64_t cur_frame_offset[AV_PARSER_PTS_NB]; |
| 2840 int64_t cur_frame_end[AV_PARSER_PTS_NB]; | |
| 2840 int64_t cur_frame_pts[AV_PARSER_PTS_NB]; | 2841 int64_t cur_frame_pts[AV_PARSER_PTS_NB]; |
| 2841 int64_t cur_frame_dts[AV_PARSER_PTS_NB]; | 2842 int64_t cur_frame_dts[AV_PARSER_PTS_NB]; |
| 2842 | 2843 |
| 2843 int flags; | 2844 int flags; |
| 2844 #define PARSER_FLAG_COMPLETE_FRAMES 0x0001 | 2845 #define PARSER_FLAG_COMPLETE_FRAMES 0x0001 |
| 2845 | 2846 |
| 2846 int64_t offset; ///< byte offset from starting packet start | 2847 int64_t offset; ///< byte offset from starting packet start |
| 2847 int64_t last_offset; | |
| 2848 } AVCodecParserContext; | 2848 } AVCodecParserContext; |
| 2849 | 2849 |
| 2850 typedef struct AVCodecParser { | 2850 typedef struct AVCodecParser { |
| 2851 int codec_ids[5]; /* several codec IDs are permitted */ | 2851 int codec_ids[5]; /* several codec IDs are permitted */ |
| 2852 int priv_data_size; | 2852 int priv_data_size; |
