ascr.h File Reference

Wrapper to hold senone scores. More...

#include <s3types.h>

Go to the source code of this file.

Classes

struct  ascr_t

Functions

S3DECODER_EXPORT ascr_tascr_init (int32 n_sen, int32 n_comsen, int32 n_sseq, int32 n_comsseq, int32 pl_win, int32 n_cisen)
void ascr_report (ascr_t *a)
void ascr_print_senscr (ascr_t *a)
S3DECODER_EXPORT void ascr_free (ascr_t *a)
void ascr_shift_one_cache_frame (ascr_t *a, int32 win_efv)
void ascr_clear_sen_active (ascr_t *a)
void ascr_clear_ssid_active (ascr_t *a)
void ascr_clear_comssid_active (ascr_t *a)

Detailed Description

Wrapper to hold senone scores.


Function Documentation

void ascr_clear_comssid_active ( ascr_t a  ) 

Clear the composite senone sequence ID active array

Parameters:
a Input, an initialized ascr data structure
void ascr_clear_sen_active ( ascr_t a  ) 

Clear the senone active array

Parameters:
a Input, an initialized ascr data structure
void ascr_clear_ssid_active ( ascr_t a  ) 

Clear senone sequence ID active array.

Parameters:
a Input, an initialized ascr data structure
S3DECODER_EXPORT void ascr_free ( ascr_t a  ) 

Free ascr_t

Parameters:
a Input: an initialized ascr data structure
S3DECODER_EXPORT ascr_t* ascr_init ( int32  n_sen,
int32  n_comsen,
int32  n_sseq,
int32  n_comsseq,
int32  pl_win,
int32  n_cisen 
)

Create an ascr_t structure for the given number of senones (ordinary and composite).

Returns:
Pointer to created structure if successful, NULL otherwise.
Parameters:
n_sen Input: #Ordinary senones
n_comsen Input: #Composite senones
n_sseq Input: # of senone sequences
n_comsseq Input: # of composite senone sequences
pl_win Input: size of phoneme lookahead windows
n_cisen Input: # of CI senones
void ascr_print_senscr ( ascr_t a  ) 

Report the senone scores and comsen scores array. For debugging.

Parameters:
a Input: ascr data structure
void ascr_report ( ascr_t a  ) 

Report the ascr parameters.

Parameters:
a Input : ascr data structure
void ascr_shift_one_cache_frame ( ascr_t a,
int32  win_efv 
)

Shift one frame for the cache

Parameters:
a Input: an initialized ascr data structure
win_efv Input: the effective size of cache windows

Generated on 7 Mar 2010 by  doxygen 1.6.1