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 FmoInit (pic_parameter_set_rbsp_t *pps, seq_parameter_set_rbsp_t *sps)
int FmoFinit (void)
int FmoGetNumberOfSliceGroup (void)
int FmoGetLastMBOfPicture (void)
int FmoGetLastMBInSliceGroup (int SliceGroup)
int FmoGetSliceGroupId (int mb)
int FmoGetNextMBNr (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 FmoFinit ( void   ) 

Free memory allocated by FMO functions.

Definition at line 224 of file fmo.c.

Referenced by main().

int FmoGetLastMBInSliceGroup ( int  SliceGroup  ) 

FmoGetLastMBInSliceGroup: Returns MB number of last MB in SG.

Input:
SliceGroupID (0 to 7)

Definition at line 283 of file fmo.c.

References FmoGetSliceGroupId(), and img.

Referenced by FmoGetLastMBOfPicture().

Here is the call graph for this function:

int FmoGetLastMBOfPicture ( void   ) 

FmoGetLastMBOfPicture() 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 267 of file fmo.c.

References FmoGetLastMBInSliceGroup(), and FmoGetNumberOfSliceGroup().

Here is the call graph for this function:

int FmoGetNextMBNr ( 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:
CurrentMbNr number of the current macroblock

Definition at line 322 of file fmo.c.

References FmoGetSliceGroupId(), and img.

Referenced by exit_macroblock().

Here is the call graph for this function:

int FmoGetNumberOfSliceGroup ( void   ) 

FmoGetNumberOfSliceGroup().

Input:
None

Definition at line 249 of file fmo.c.

Referenced by FmoGetLastMBOfPicture().

int FmoGetSliceGroupId ( int  mb  ) 

Returns SliceGroupID for a given MB.

Parameters:
mb Macroblock number (in scan order)

Definition at line 304 of file fmo.c.

References img.

Referenced by FmoGetLastMBInSliceGroup(), and FmoGetNextMBNr().

int FmoInit ( pic_parameter_set_rbsp_t *  pps,
seq_parameter_set_rbsp_t *  sps 
)

FMO initialization: Generates MapUnitToSliceGroupMap and MbToSliceGroupMap.

Parameters:
pps Picture Parameter set to be used for map generation
sps Sequence Parameter set to be used for map generation

Definition at line 176 of file fmo.c.

References FmoGenerateMapUnitToSliceGroupMap(), FmoGenerateMbToSliceGroupMap(), and img.

Referenced by read_new_slice().

Here is the call graph for this function:


Documentation generated with DoxyGen