diff rv34.h @ 6714:05c3a4b419e9 libavcodec

Calculate motion vector information based on PTS provided in slice header
author kostya
date Mon, 28 Apr 2008 13:37:36 +0000
parents 0e5d68320488
children c4a4495715dd
line wrap: on
line diff
--- a/rv34.h	Mon Apr 28 10:21:58 2008 +0000
+++ b/rv34.h	Mon Apr 28 13:37:36 2008 +0000
@@ -74,6 +74,7 @@
     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 @@
     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