mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-12-12 01:40:04 +01:00
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:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user