Public Member Functions | |
Utility () | |
Static Public Member Functions | |
static int | deriveHeight (fm.liveswitch.DataBuffer buffer) |
Derives the height. More... | |
static int | deriveWidth (fm.liveswitch.DataBuffer buffer) |
Derives the width. More... | |
static int | getPictureIdDelta (int pictureId, int lastPictureId) |
Retrieves the difference between two picture IDs while accounting for overflow rollover. More... | |
static boolean | isKeyFrame (fm.liveswitch.DataBuffer buffer) |
Determines whether the buffer holds a keyframe. More... | |
Utility methods.
fm.liveswitch.vp8.Utility.Utility | ( | ) |
|
static |
Derives the height.
buffer | The buffer. |
|
static |
Derives the width.
buffer | The buffer. |
|
static |
Retrieves the difference between two picture IDs while accounting for overflow rollover.
pictureId | The current picture ID. |
lastPictureId | The last picture ID. |
|
static |
Determines whether the buffer holds a keyframe.
The data buffer must represent the payload of a VP8 packet.
buffer | The buffer. |