00001
00002 #ifndef _TEXT_BITS_H_
00003 #define _TEXT_BITS_H_
00004
00005
00006 #include "momusys.h"
00007 #include "text_defs.h"
00008
00009
00010
00011
00012
00013 typedef struct {
00014 Int Y;
00015 Int C;
00016 Int vec;
00017 Int CBPY;
00018 Int CBPC;
00019 Int MCBPC;
00020 Int MODB;
00021 Int CBPB;
00022 Int MBTYPE;
00023 Int COD;
00024 Int MB_Mode;
00025 Int header;
00026 Int DQUANT;
00027 Int total;
00028 Int no_inter;
00029 Int no_inter4v;
00030 Int no_intra;
00031 Int no_GMC;
00032 Int ACpred_flag;
00033 Int G;
00034 Int CODA;
00035 Int CBPA;
00036 Int g_ACpred_flag;
00037 Int no_field;
00038 Int no_skipped;
00039 Int no_Pskip;
00040 Int no_noDCT;
00041 Int fieldDCT;
00042 Int interlaced;
00043 Int Btype[7];
00044 Int Nmvs[3];
00045 } Bits;
00046
00047 #ifdef __cplusplus
00048 extern "C" {
00049 #endif
00050
00051 Void MB_CodeCoeff _P_(( Bits *bits,
00052 Int *qcoeff,
00053 Int Mode,
00054 Int CBP,
00055 Int ncoeffs,
00056 Int intra_dcpred_disable,
00057 Image *DCbitstream,
00058 Image *bitstream,
00059 Int transp_pattern[],
00060 Int direction[],
00061 Int error_res_disable,
00062 Int reverse_vlc,
00063 Int switched,
00064 Int alternate_scan
00065 ));
00066
00067 void Bits_Reset _P_(( Bits *bits
00068 ));
00069
00070 #ifdef __cplusplus
00071 }
00072 #endif
00073
00074
00075 #endif