
Go to the source code of this file.
Functions | |
| int | fmo_init (ImageParameters *p_Img) |
| int | FmoFinit (ImageParameters *p_Img) |
| int | FmoGetNumberOfSliceGroup (ImageParameters *p_Img) |
| int | FmoGetLastMBOfPicture (ImageParameters *p_Img) |
| int | FmoGetLastMBInSliceGroup (ImageParameters *p_Img, int SliceGroup) |
| int | FmoGetSliceGroupId (ImageParameters *p_Img, int mb) |
| int | FmoGetNextMBNr (ImageParameters *p_Img, int CurrentMbNr) |
Definition in file fmo.h.
| int fmo_init | ( | ImageParameters * | p_Img | ) |
FMO initialization: Generates p_Img->MapUnitToSliceGroupMap and p_Img->MbToSliceGroupMap.
| p_Img | image encoding parameters for current picture |
Definition at line 170 of file fmo.c.
References FmoGenerateMapUnitToSliceGroupMap(), and FmoGenerateMbToSliceGroupMap().
Referenced by read_new_slice().

| int FmoFinit | ( | ImageParameters * | p_Img | ) |
| int FmoGetLastMBInSliceGroup | ( | ImageParameters * | p_Img, | |
| int | SliceGroup | |||
| ) |
FmoGetLastMBInSliceGroup: Returns MB number of last MB in SG.
Definition at line 279 of file fmo.c.
References FmoGetSliceGroupId().
Referenced by FmoGetLastMBOfPicture().

| int FmoGetLastMBOfPicture | ( | ImageParameters * | p_Img | ) |
FmoGetLastMBOfPicture(p_Img) returns the macroblock number of the last MB in a picture. This mb happens to be the last macroblock of the picture if there is only one slice group.
Definition at line 263 of file fmo.c.
References FmoGetLastMBInSliceGroup(), and FmoGetNumberOfSliceGroup().

| int FmoGetNextMBNr | ( | ImageParameters * | p_Img, | |
| int | CurrentMbNr | |||
| ) |
FmoGetNextMBBr: Returns the MB-Nr (in scan order) of the next MB in the (scattered) Slice, -1 if the slice is finished.
| p_Img | image encoding parameters for current picture | |
| CurrentMbNr | number of the current macroblock |
Definition at line 322 of file fmo.c.
References FmoGetSliceGroupId().
Referenced by exit_macroblock().

| int FmoGetNumberOfSliceGroup | ( | ImageParameters * | p_Img | ) |
FmoGetNumberOfSliceGroup(p_Img).
Definition at line 245 of file fmo.c.
Referenced by FmoGetLastMBOfPicture().
| int FmoGetSliceGroupId | ( | ImageParameters * | p_Img, | |
| int | mb | |||
| ) |
Returns SliceGroupID for a given MB.
| p_Img | image encoding parameters for current picture | |
| mb | Macroblock number (in scan order) |
Definition at line 302 of file fmo.c.
Referenced by FmoGetLastMBInSliceGroup(), and FmoGetNextMBNr().