Mercurial > libavcodec.hg
comparison avcodec.h @ 11770:6d58a4f5e455 libavcodec
Add an AVSTREAM_PARSE_FULL_ONCE parsing mode to parse headers and combine packets once and only once.
| author | alexc |
|---|---|
| date | Wed, 26 May 2010 04:20:32 +0000 |
| parents | cec5a6f0beec |
| children | 3c0dffc64d86 |
comparison
equal
deleted
inserted
replaced
| 11769:847502a2f850 | 11770:6d58a4f5e455 |
|---|---|
| 28 | 28 |
| 29 #include <errno.h> | 29 #include <errno.h> |
| 30 #include "libavutil/avutil.h" | 30 #include "libavutil/avutil.h" |
| 31 | 31 |
| 32 #define LIBAVCODEC_VERSION_MAJOR 52 | 32 #define LIBAVCODEC_VERSION_MAJOR 52 |
| 33 #define LIBAVCODEC_VERSION_MINOR 69 | 33 #define LIBAVCODEC_VERSION_MINOR 70 |
| 34 #define LIBAVCODEC_VERSION_MICRO 0 | 34 #define LIBAVCODEC_VERSION_MICRO 0 |
| 35 | 35 |
| 36 #define LIBAVCODEC_VERSION_INT AV_VERSION_INT(LIBAVCODEC_VERSION_MAJOR, \ | 36 #define LIBAVCODEC_VERSION_INT AV_VERSION_INT(LIBAVCODEC_VERSION_MAJOR, \ |
| 37 LIBAVCODEC_VERSION_MINOR, \ | 37 LIBAVCODEC_VERSION_MINOR, \ |
| 38 LIBAVCODEC_VERSION_MICRO) | 38 LIBAVCODEC_VERSION_MICRO) |
| 3647 int64_t cur_frame_pts[AV_PARSER_PTS_NB]; | 3647 int64_t cur_frame_pts[AV_PARSER_PTS_NB]; |
| 3648 int64_t cur_frame_dts[AV_PARSER_PTS_NB]; | 3648 int64_t cur_frame_dts[AV_PARSER_PTS_NB]; |
| 3649 | 3649 |
| 3650 int flags; | 3650 int flags; |
| 3651 #define PARSER_FLAG_COMPLETE_FRAMES 0x0001 | 3651 #define PARSER_FLAG_COMPLETE_FRAMES 0x0001 |
| 3652 #define PARSER_FLAG_ONCE 0x0002 | |
| 3652 | 3653 |
| 3653 int64_t offset; ///< byte offset from starting packet start | 3654 int64_t offset; ///< byte offset from starting packet start |
| 3654 int64_t cur_frame_end[AV_PARSER_PTS_NB]; | 3655 int64_t cur_frame_end[AV_PARSER_PTS_NB]; |
| 3655 | 3656 |
| 3656 /*! | 3657 /*! |
