summaryrefslogtreecommitdiff
path: root/libavcodec/rv34.h
diff options
context:
space:
mode:
authorKostya Shishkov <kostya.shishkov@gmail.com>2008-04-28 13:37:36 +0000
committerKostya Shishkov <kostya.shishkov@gmail.com>2008-04-28 13:37:36 +0000
commit39902a8c932a606554fce90551b461993aab10cc (patch)
tree748a123587bba317b8479ac3264ed0b60344fd0b /libavcodec/rv34.h
parent038f846e41b2ef7e760a39876beaebea999e27e9 (diff)
Calculate motion vector information based on PTS provided in slice header
Originally committed as revision 13011 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/rv34.h')
-rw-r--r--libavcodec/rv34.h3
1 files changed, 3 insertions, 0 deletions
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