81 #ifndef _S3_S3TYPES_H_ 82 #define _S3_S3TYPES_H_ 87 #include <prim_type.h> 89 #include <ckd_alloc.h> 111 #define BAD_S3CIPID ((s3cipid_t) -1) 112 #define NOT_S3CIPID(p) ((p)<0) 113 #define IS_S3CIPID(p) ((p)>=0) 114 #define MAX_S3CIPID 32767 119 #define BAD_S3PID ((s3pid_t) -1) 120 #define NOT_S3PID(p) ((p)<0) 121 #define IS_S3PID(p) ((p)>=0) 122 #define MAX_S3PID ((int32)0x7ffffffe) 125 #define BAD_S3SSID ((s3ssid_t) -1) 126 #define NOT_S3SSID(p) ((p)<0) 127 #define IS_S3SSID(p) ((p)>=0) 128 #define MAX_S3SSID ((int32)0x7ffffffe) 131 #define BAD_S3TMATID ((s3tmatid_t) -1) 132 #define NOT_S3TMATID(t) ((t)<0) 133 #define IS_S3TMATID(t) ((t)>=0) 134 #define MAX_S3TMATID ((int32)0x7ffffffe) 137 #define BAD_S3WID ((s3wid_t) -1) 138 #define NOT_S3WID(w) ((w)<0) 139 #define IS_S3WID(w) ((w)>=0) 140 #define MAX_S3WID ((int32)0x7ffffffe) 143 #define BAD_S3LMWID ((s3lmwid_t) 0xffff) 144 #define NOT_S3LMWID(w) ((w)==BAD_S3LMWID) 145 #define IS_S3LMWID(w) ((w)!=BAD_S3LMWID) 146 #define MAX_S3LMWID ((uint32)0xfffe) 147 #define BAD_LMCLASSID (-1) 150 #define BAD_S3LMWID32 ((s3lmwid32_t) 0x0fffffff) 151 #define NOT_S3LMWID32(w) ((w)==BAD_S3LMWID32) 152 #define IS_S3LMWID32(w) ((w)!=BAD_S3LMWID32) 153 #define MAX_S3LMWID32 ((uint32)0xfffffffe) 161 #define BAD_LMWID(lm) (lm->is32bits? BAD_S3LMWID32 : BAD_S3LMWID) 162 #define NOT_LMWID(lm,w) (lm->is32bits? NOT_S3LMWID32(w): NOT_S3LMWID(w)) 163 #define IS_LMWID(lm,w) (lm->is32bits? IS_S3LMWID32(w): IS_S3LMWID(w)) 164 #define MAX_LMWID(lm) (lm->is32bits? MAX_S3LMWID32: MAX_S3LMWID) 167 #define BAD_S3LATID ((s3latid_t) -1) 168 #define NOT_S3LATID(l) ((l)<0) 169 #define IS_S3LATID(l) ((l)>=0) 170 #define MAX_S3LATID ((int32)0x7ffffffe) 173 #define BAD_S3FRMID ((s3frmid_t) -1) 174 #define NOT_S3FRMID(f) ((f)<0) 175 #define IS_S3FRMID(f) ((f)>=0) 176 #define MAX_S3FRMID ((int32)0x7ffe) 179 #define BAD_S3SENID ((s3senid_t) -1) 180 #define NOT_S3SENID(s) ((s)<0) 181 #define IS_S3SENID(s) ((s)>=0) 182 #define MAX_S3SENID ((int16)0x7ffe) 185 #define BAD_S3MGAUID ((s3mgauid_t) -1) 186 #define NOT_S3MGAUID(m) ((m)<0) 187 #define IS_S3MGAUID(m) ((m)>=0) 188 #define MAX_S3MGAUID ((int32)0x00007ffe) 191 #define S3_LOGPROB_ZERO ((int32) 0xc8000000) 192 #define S3_LOGPROB_ZERO_F ((float32) -1e30) 195 #define S3_MAX_FRAMES 15000 197 #define RENORM_THRESH ((int32) ((S3_LOGPROB_ZERO)>>1)) 201 #define S3_WARNING -2 204 #define MAX_N_STATE 20 208 #define MAX_N_ATTRIB 5 219 #define UTT_ELAPSED 1 220 #define UTT_IO_ELAPSED 2 221 #define UTT_BW_ELAPSED 3 223 #define TYING_NON_EMITTING (0xffffffff) 224 #define TYING_NO_ID (0xffffffff) 226 #define MAX_VERSION_LEN 128 228 #define MEG *1024*1024 uint16 s3lmwid_t
Definition: s3types.h:142
int32 s3wid_t
Definition: s3types.h:136
int16 s3frmid_t
Definition: s3types.h:172
int16 s3mgauid_t
Definition: s3types.h:184
int16 s3cipid_t
Definition: s3types.h:110
int32 s3tmatid_t
Definition: s3types.h:130
int16 s3senid_t
Definition: s3types.h:178
s3pid_t s3ssid_t
Definition: s3types.h:124
int32 s3latid_t
Definition: s3types.h:166
uint32 s3lmwid32_t
Definition: s3types.h:149
int32 s3pid_t
Definition: s3types.h:118