00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017 #ifndef _FMO_H_
00018 #define _FMO_H_
00019
00020 #define MAXSLICEGROUPIDS 8
00021
00022 int FmoInit(ImageParameters * img, pic_parameter_set_rbsp_t * pps, seq_parameter_set_rbsp_t * sps);
00023 void FmoUninit (void);
00024 int FmoFinit (seq_parameter_set_rbsp_t * sps);
00025 int FmoMB2SliceGroup (int mb);
00026 int FmoGetFirstMBOfSliceGroup (int SliceGroupID);
00027 int FmoGetFirstMacroblockInSlice (int SliceGroup);
00028 int FmoGetNextMBNr (int CurrentMbNr);
00029 int FmoGetLastCodedMBOfSliceGroup (int SliceGroupID);
00030 int FmoStartPicture (void);
00031 int FmoEndPicture(void);
00032 int FmoSliceGroupCompletelyCoded(int SliceGroupID);
00033 void FmoSetLastMacroblockInSlice (int mb);
00034
00035 int FmoGetPreviousMBNr (int CurrentMbNr);
00036
00037 extern byte *MBAmap;
00038
00039 #endif