SPRAAK
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Groups Pages
Data Structures | Typedefs | Enumerations | Functions
sphere.c File Reference

Support for the NIST SPHERE format. More...

Data Structures

struct  SprCoderCommon
 
struct  SprCoderDef
 Structure to define a certain (en/de)coding pair. More...
 
class  SprStreamCoder
 

Typedefs

typedef int(* SprEncodeFunc )(SprCoderCommon *info)
 Function to encode data in the framework defined in sphere.c. More...
 
typedef int(* SprDecodeFunc )(SprCoderCommon *info)
 Function to decode data in the framework defined in sphere.c. More...
 
typedef int(* SprCoderFiniFunc )(SprCoderCommon *info)
 
typedef int(* SprCoderIniFunc )(SprCoderCommon *info, SprStreamOpenParam *param, unsigned int rw_flags)
 

Enumerations

enum  { SPR_CODER_OK, SPR_CODER_ERR, SPR_CODER_EOF }
 

Functions

int spr_stream_check_coder_sphere (SprStreamOpenInfo *info, SprStreamOpenParam *param)
 
int spr_stream_open_coder_generic (SprStreamOpenInfo *restrict info, SprStreamOpenParam *restrict param)
 
int spr_kset_write_sphere (SprStream *restrict fd, SprKeySet *restrict keys)
 
SprKeySetspr_kset_read_sphere (SprStream *restrict fd, SprKeySet *restrict keys)
 

Detailed Description

Support for the NIST SPHERE format.

Support for the NIST SPHERE (SPeech HEader REsources) file format.

Author
Kris Demuynck
Date
20/09/2001 - KD
first implementation (never used)
05/07/2008 - KD
reimplementation for SPRAAK
Bug:
Only uncompressed data and shorten decompression is supported.