
Go to the source code of this file.
Defines | |
| #define | MAXSLICEGROUPIDS 8 |
Functions | |
| int | FmoInit (ImageParameters *img, pic_parameter_set_rbsp_t *pps, seq_parameter_set_rbsp_t *sps) |
| void | FmoUninit (void) |
| int | FmoFinit (seq_parameter_set_rbsp_t *sps) |
| int | FmoMB2SliceGroup (int mb) |
| int | FmoGetFirstMBOfSliceGroup (int SliceGroupID) |
| int | FmoGetFirstMacroblockInSlice (int SliceGroup) |
| int | FmoGetNextMBNr (int CurrentMbNr) |
| int | FmoGetLastCodedMBOfSliceGroup (int SliceGroupID) |
| int | FmoStartPicture (void) |
| int | FmoEndPicture (void) |
| int | FmoSliceGroupCompletelyCoded (int SliceGroupID) |
| void | FmoSetLastMacroblockInSlice (int mb) |
| int | FmoGetPreviousMBNr (int CurrentMbNr) |
Variables | |
| byte * | MBAmap |
Definition in file fmo.h.
| int FmoEndPicture | ( | void | ) |
FmoEndPicture: Ends the Scattered Slices Module (called once per picture).
Definition at line 575 of file fmo.c.
Referenced by code_a_plane().
| int FmoGetFirstMBOfSliceGroup | ( | int | SliceGroupID | ) |
FmoGetFirstMBOfSliceGroup: Returns the MB-Nr (in scan order) of the next first MB of the Slice group, -1 if no such MB exists.
Definition at line 658 of file fmo.c.
References FmoMB2SliceGroup(), and ImageParameters::PicSizeInMbs.
Referenced by FmoStartPicture().

| int FmoGetLastCodedMBOfSliceGroup | ( | int | SliceGroupID | ) |
FmoGetLastCodedMBOfSlice: Returns the MB-Nr (in scan order) of the last MB of the slice group.
Definition at line 684 of file fmo.c.
References FmoMB2SliceGroup(), and ImageParameters::PicSizeInMbs.
Referenced by encode_one_slice_MBAFF(), and end_macroblock().

| int FmoGetNextMBNr | ( | int | CurrentMbNr | ) |
FmoGetNextMBBr: Returns the MB-Nr (in scan order) of the next MB in the (FMO) Slice, -1 if the SliceGroup is finished.
Definition at line 608 of file fmo.c.
References FmoMB2SliceGroup(), and ImageParameters::PicSizeInMbs.
Referenced by encode_one_slice(), encode_one_slice_MBAFF(), and writeMBLayer().

| int FmoGetPreviousMBNr | ( | int | CurrentMbNr | ) |
FmoGetNextMBBr: Returns the MB-Nr (in scan order) of the next MB in the (FMO) Slice, -1 if the SliceGroup is finished.
Definition at line 633 of file fmo.c.
References FmoMB2SliceGroup().
Referenced by encode_one_slice(), encode_one_slice_MBAFF(), start_macroblock(), and writeMBLayer().

| int FmoInit | ( | ImageParameters * | img, | |
| pic_parameter_set_rbsp_t * | pps, | |||
| seq_parameter_set_rbsp_t * | sps | |||
| ) |
FMO initialization: Generates MapUnitToSliceGroupMap and MBAmap.
| img | Image Parameter to be used for map generation | |
| pps | Picture Parameter set to be used for map generation | |
| sps | Sequence Parameter set to be used for map generation |
Definition at line 216 of file fmo.c.
References FirstMBInSlice, FmoGenerateMapUnitToSliceGroupMap(), FmoGenerateMBAmap(), ImageParameters::PicHeightInMapUnits, ImageParameters::PicSizeInMbs, and ImageParameters::PicWidthInMbs.
Referenced by code_a_plane().

| int FmoMB2SliceGroup | ( | int | mb | ) |
FmoMB2Slice: Returns SliceID for a given MB.
Definition at line 591 of file fmo.c.
References ImageParameters::PicSizeInMbs.
Referenced by encode_one_slice_MBAFF(), end_macroblock(), FmoGetFirstMBOfSliceGroup(), FmoGetLastCodedMBOfSliceGroup(), FmoGetNextMBNr(), and FmoGetPreviousMBNr().
| int FmoStartPicture | ( | void | ) |
FmoStartPicture: initializes FMO at the begin of each new picture.
Definition at line 552 of file fmo.c.
References FirstMBInSlice, and FmoGetFirstMBOfSliceGroup().
Referenced by code_a_plane().

| void FmoUninit | ( | void | ) |
Free memory if allocated by FMO functions.
Definition at line 289 of file fmo.c.
Referenced by free_encoder_memory().