fmo.h File Reference

Support for Flexilble Macroblock Ordering (FMO). More...

This graph shows which files directly or indirectly include this file:

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)


Detailed Description

Support for Flexilble Macroblock Ordering (FMO).

Date:
19 June, 2002
Author:
Stephan Wenger stewe@cs.tu-berlin.de

Definition in file fmo.h.


Function Documentation

int fmo_init ( ImageParameters *  p_Img  ) 

FMO initialization: Generates p_Img->MapUnitToSliceGroupMap and p_Img->MbToSliceGroupMap.

Parameters:
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().

Here is the call graph for this function:

int FmoFinit ( ImageParameters *  p_Img  ) 

Free memory allocated by FMO functions.

Definition at line 220 of file fmo.c.

Referenced by main().

int FmoGetLastMBInSliceGroup ( ImageParameters *  p_Img,
int  SliceGroup 
)

FmoGetLastMBInSliceGroup: Returns MB number of last MB in SG.

Input:
SliceGroupID (0 to 7)

Definition at line 279 of file fmo.c.

References FmoGetSliceGroupId().

Referenced by FmoGetLastMBOfPicture().

Here is the call graph for this function:

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.

Input:
None

Definition at line 263 of file fmo.c.

References FmoGetLastMBInSliceGroup(), and FmoGetNumberOfSliceGroup().

Here is the call graph for this function:

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.

Parameters:
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().

Here is the call graph for this function:

int FmoGetNumberOfSliceGroup ( ImageParameters *  p_Img  ) 

FmoGetNumberOfSliceGroup(p_Img).

p_Img:
ImageParameters

Definition at line 245 of file fmo.c.

Referenced by FmoGetLastMBOfPicture().

int FmoGetSliceGroupId ( ImageParameters *  p_Img,
int  mb 
)

Returns SliceGroupID for a given MB.

Parameters:
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().


Documentation generated with DoxyGen