This file contains functions that specify the reordering of frames between an encoded stream and a decoded stream. There are essentially two correct orderings for frames. There is the temporal ordering, where each frame occurs in order, and the reference ordering, where B frames are temporally ordered and I/P frames are temporally ordered, but B frames are ordered between I/P frames such that they immediately follow the two reference frames which their motion vectors are with respect to.
Component Summary | |
int->int
|
PictureReorderToReference
Reorders pictures from a temporal ordering to a reference ordering. |
int->int
|
PictureReorderToTemporal
Reorders pictures from a temporal ordering to a reference ordering. |
Component Detail |
int->int PictureReorderToReference(int downsampled_data_per_image)
<int>
- A temporally ordered picture stream
<int>
- A reference ordered picture stream downsampled_data_per_image
- The amount of data per image
int->int PictureReorderToTemporal(int width, int height)
<int>
- A reference ordered picture stream
<int>
- A temporally ordered picture stream width
- The width of the image
height
- The height of the image