Size definition of semantically units.
More...
#include <float.h>
#include <assert.h>
#include <sphinxbase/prim_type.h>
#include <sphinxbase/err.h>
#include <sphinxbase/ckd_alloc.h>
Go to the source code of this file.
Size definition of semantically units.
Common for both s3 and s3.X decoder.
Definition in file s3types.h.
◆ BAD_S3CIPID
◆ BAD_S3PID
#define BAD_S3PID ((s3pid_t) -1) |
Phone id (triphone or ciphone)
Definition at line 72 of file s3types.h.
◆ BAD_S3SSID
#define BAD_S3SSID ((s3ssid_t) 0xffff) |
Senone sequence id (triphone or ciphone)
Definition at line 78 of file s3types.h.
◆ BAD_S3TMATID
#define BAD_S3TMATID ((s3tmatid_t) -1) |
Transition matrix id; there can be as many as pids.
Definition at line 84 of file s3types.h.
◆ BAD_S3WID
#define BAD_S3WID ((s3wid_t) -1) |
Dictionary word id.
Definition at line 90 of file s3types.h.
◆ IS_S3CIPID
#define IS_S3CIPID |
( |
|
p | ) |
((p)>=0) |
◆ IS_S3PID
#define IS_S3PID |
( |
|
p | ) |
((p)>=0) |
◆ IS_S3SSID
◆ IS_S3TMATID
#define IS_S3TMATID |
( |
|
t | ) |
((t)>=0) |
◆ IS_S3WID
#define IS_S3WID |
( |
|
w | ) |
((w)>=0) |
◆ MAX_S3CIPID
#define MAX_S3CIPID 32767 |
◆ MAX_S3PID
#define MAX_S3PID ((int32)0x7ffffffe) |
◆ MAX_S3SSID
#define MAX_S3SSID ((s3ssid_t)0xfffe) |
◆ MAX_S3TMATID
#define MAX_S3TMATID ((int32)0x7ffffffe) |
◆ MAX_S3WID
#define MAX_S3WID ((int32)0x7ffffffe) |
◆ NOT_S3CIPID
#define NOT_S3CIPID |
( |
|
p | ) |
((p)<0) |
◆ NOT_S3PID
#define NOT_S3PID |
( |
|
p | ) |
((p)<0) |
◆ NOT_S3SSID
◆ NOT_S3TMATID
#define NOT_S3TMATID |
( |
|
t | ) |
((t)<0) |
◆ NOT_S3WID
#define NOT_S3WID |
( |
|
w | ) |
((w)<0) |
◆ s3cipid_t
Size definitions for more semantially meaningful units.
Illegal value definitions, limits, and tests for specific types. NOTE: Types will be either int32 or smaller; only smaller ones may be unsigned (i.e., no type will be uint32).
Definition at line 63 of file s3types.h.
◆ s3pid_t
◆ s3ssid_t
◆ s3tmatid_t
◆ s3wid_t