SPRAAK
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Groups Pages
Data Fields
SprSspDesc Struct Reference
+ Collaboration diagram for SprSspDesc:

Data Fields

char * script_name
 file with textual description More...
 
char ** line_array
 textual description (used for setup only) More...
 
int status
 
char * obsdir
 observation directory name for a data base (@ replacement) More...
 
int obsdir_len
 length of the observation directory name More...
 
char * suffix
 file suffix for a data base (@ replacement) More...
 
int suffix_len
 length of the file suffix More...
 
char * dfname
 name of current input stream More...
 
int dfname_len
 length of the current input stream without obsdir and suffix More...
 
SprKeySetkeys
 resulting keyset after setup More...
 
int dtype_in
 input file type: SAMPLE or TRACK More...
 
double samplefreq
 
double fshift
 frame shift for input file (for time base conversion) More...
 
int nchan_in
 
int ord_file
 
SprSspInfossp_list
 all routines to call and their specific info More...
 
int nfr
 number of frames in the current file More...
 
int nfr_left
 
int nfr_in
 number of frames given as input to ssp_process() More...
 
int nfr_out
 number of frames returned by ssp_process() More...
 
int history
 required history (number of previous frames) More...
 
int partial_end
 
int truncate
 truncate the file according to the last ssp_fseek() call More...
 
int trunc_f0
 truncate file to this region More...
 
int trunc_f1
 truncate file to this region More...
 
int ftype_in
 input frame type: used to indicate special input frames More...
 
int ftype_out
 output frame type: frame code after processing a frame More...
 
SprSspFinfofi_list
 
SprSspFinfo ** fi_link
 link pointer (add new element to the list) More...
 
SprSspFinfofi_hold
 hold a frame info element for use in next pass More...
 
void * fr_out_hld
 output frame hold buffer More...
 
void * tmp_frame [5]
 internal buffers More...
 
int vlen_in
 input vector length More...
 
const SprDTtype_in
 input data type More...
 
int bytes_in
 size of an input frame in bytes More...
 
void * frame_in
 
int vlen_out
 output vector length More...
 
const SprDTtype_out
 output data type More...
 
int bytes_out
 size of output frame in bytes More...
 
void * frame_out
 
_FuncPtr4_SSP_MASTER_ read_frame
 
int flist_cnt
 number of frames in the frame list More...
 
SprSspFlistflist
 
SprSspFlist ** flist_link
 
SprSspFlist ** flist_hold
 do not store the frames for a while More...
 
SprSspASaux_stream
 

Field Documentation

char* SprSspDesc::script_name

file with textual description

char** SprSspDesc::line_array

textual description (used for setup only)

int SprSspDesc::status

flag indicating the current status: not initialized, initialized, fatal error requiring a reset, fatal error

char* SprSspDesc::obsdir

observation directory name for a data base (@ replacement)

int SprSspDesc::obsdir_len

length of the observation directory name

char* SprSspDesc::suffix

file suffix for a data base (@ replacement)

int SprSspDesc::suffix_len

length of the file suffix

char* SprSspDesc::dfname

name of current input stream

int SprSspDesc::dfname_len

length of the current input stream without obsdir and suffix

SprKeySet* SprSspDesc::keys

resulting keyset after setup

int SprSspDesc::dtype_in

input file type: SAMPLE or TRACK

double SprSspDesc::samplefreq

expected sample frequency for input files (only for SAMPLE files)

double SprSspDesc::fshift

frame shift for input file (for time base conversion)

int SprSspDesc::nchan_in

expected number of channels for input files (both for SAMPLE and TRACK files)

int SprSspDesc::ord_file

flag indicating that the current file is ordinary (set after the first ssp_fseek)

SprSspInfo* SprSspDesc::ssp_list

all routines to call and their specific info

int SprSspDesc::nfr

number of frames in the current file

int SprSspDesc::nfr_left

number of frames left in the current file that have to be processed

int SprSspDesc::nfr_in

number of frames given as input to ssp_process()

int SprSspDesc::nfr_out

number of frames returned by ssp_process()

int SprSspDesc::history

required history (number of previous frames)

int SprSspDesc::partial_end

0: do not process a partial end frame, 1: extend with mirror samples, -1: extend with zeros (old behaviour)

int SprSspDesc::truncate

truncate the file according to the last ssp_fseek() call

int SprSspDesc::trunc_f0

truncate file to this region

int SprSspDesc::trunc_f1

truncate file to this region

int SprSspDesc::ftype_in

input frame type: used to indicate special input frames

int SprSspDesc::ftype_out

output frame type: frame code after processing a frame

SprSspFinfo* SprSspDesc::fi_list

frame info list (where is each frame, what is its status and delayed data)

SprSspFinfo** SprSspDesc::fi_link

link pointer (add new element to the list)

SprSspFinfo* SprSspDesc::fi_hold

hold a frame info element for use in next pass

void* SprSspDesc::fr_out_hld

output frame hold buffer

void* SprSspDesc::tmp_frame[5]

internal buffers

int SprSspDesc::vlen_in

input vector length

const SprDT* SprSspDesc::type_in

input data type

int SprSspDesc::bytes_in

size of an input frame in bytes

void* SprSspDesc::frame_in

buffer that can be used as input buffer, will be overwritten during processing

int SprSspDesc::vlen_out

output vector length

const SprDT* SprSspDesc::type_out

output data type

int SprSspDesc::bytes_out

size of output frame in bytes

void* SprSspDesc::frame_out

pointer to last returned output frame, this can be same buffer as input buffer

_FuncPtr4_SSP_MASTER_ SprSspDesc::read_frame
int SprSspDesc::flist_cnt

number of frames in the frame list

SprSspFlist* SprSspDesc::flist

backup of all frames being processed and returned to the caller (ssp_process)

SprSspFlist** SprSspDesc::flist_link

link pointer to last element, also used as flag to indicate whether to backup if wanted or not

SprSspFlist** SprSspDesc::flist_hold

do not store the frames for a while

SprSspAS* SprSspDesc::aux_stream

auxilary streams that have to be stored on used defined locations at the end