Calculate motion vector information based on PTS provided in slice header

Originally committed as revision 13011 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Kostya Shishkov
2008-04-28 13:37:36 +00:00
parent 038f846e41
commit 39902a8c93
4 changed files with 27 additions and 21 deletions

View File

@@ -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