From 39902a8c932a606554fce90551b461993aab10cc Mon Sep 17 00:00:00 2001 From: Kostya Shishkov Date: Mon, 28 Apr 2008 13:37:36 +0000 Subject: Calculate motion vector information based on PTS provided in slice header Originally committed as revision 13011 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/rv34.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'libavcodec/rv34.h') diff --git a/libavcodec/rv34.h b/libavcodec/rv34.h index dff36f29e7..df85fb89ec 100644 --- a/libavcodec/rv34.h +++ b/libavcodec/rv34.h @@ -74,6 +74,7 @@ typedef struct SliceInfo{ int start, end; ///< start and end macroblocks of the slice int width; ///< coded width int height; ///< coded height + int pts; ///< frame timestamp }SliceInfo; /** decoder context */ @@ -99,6 +100,8 @@ typedef struct RV34DecContext{ int rv30; ///< indicates which RV variasnt is currently decoded int rpr; ///< one field size in RV30 slice header + int cur_pts, last_pts, next_pts; + uint16_t *cbp_luma; ///< CBP values for luma subblocks uint8_t *cbp_chroma; ///< CBP values for chroma subblocks -- cgit v1.2.3