Utility methods. More...
Instance Methods | |
(instancetype) | - init |
Class Methods | |
(int) | + deriveHeightWithBuffer: |
Derives the height. More... | |
(int) | + deriveWidthWithBuffer: |
Derives the width. More... | |
(int) | + getPictureIdDeltaWithPictureId:lastPictureId: |
Retrieves the difference between two picture IDs while accounting for overflow rollover. More... | |
(bool) | + isKeyFrameWithBuffer: |
Determines whether the buffer holds a keyframe. More... | |
(FMLiveSwitchVp8Utility *) | + utility |
Utility methods.
+ (int) deriveHeightWithBuffer: | (FMLiveSwitchDataBuffer *) | buffer |
Derives the height.
buffer | The buffer. |
+ (int) deriveWidthWithBuffer: | (FMLiveSwitchDataBuffer *) | buffer |
Derives the width.
buffer | The buffer. |
+ (int) getPictureIdDeltaWithPictureId: | (int) | pictureId | |
lastPictureId: | (int) | lastPictureId | |
Retrieves the difference between two picture IDs while accounting for overflow rollover.
pictureId | The current picture ID. |
lastPictureId | The last picture ID. |
- (instancetype) init |
+ (bool) isKeyFrameWithBuffer: | (FMLiveSwitchDataBuffer *) | buffer |
Determines whether the buffer holds a keyframe.
The data buffer must represent the payload of a VP8 packet.
buffer | The buffer. |
+ (FMLiveSwitchVp8Utility*) utility |