Searched refs:hPattern (Results 1 – 5 of 5) sorted by relevance
/external/srec/srec/ca/ |
D | pat_basi.c | 46 CA_Pattern *hPattern = NULL; in CA_AllocatePattern() local 48 hPattern = (CA_Pattern *) CALLOC_CLR(1, in CA_AllocatePattern() 50 hPattern->is_loaded = False; in CA_AllocatePattern() 53 hPattern->ca_rtti = CA_PATTERN_SIGNATURE; in CA_AllocatePattern() 54 return (hPattern); in CA_AllocatePattern() 57 END_CATCH_CA_EXCEPT(hPattern) in CA_AllocatePattern() 61 void CA_FreePattern(CA_Pattern *hPattern) in CA_FreePattern() argument 65 ASSERT(hPattern); in CA_FreePattern() 66 FREE((char *) hPattern); in CA_FreePattern() 70 END_CATCH_CA_EXCEPT(hPattern) in CA_FreePattern() [all …]
|
D | catrans.c | 175 void CA_InheritAccumulates(CA_Transform *hTransform, CA_Pattern *hPattern) in CA_InheritAccumulates() argument 180 ASSERT(hPattern); in CA_InheritAccumulates() 181 if (hPattern->is_loaded == False) in CA_InheritAccumulates() 187 ASSERT(hTransform->dim == hPattern->data.dim); in CA_InheritAccumulates() 192 ASSERT(hPattern->true_accumulates); in CA_InheritAccumulates() 193 ASSERT(hPattern->data.do_mllr); in CA_InheritAccumulates() 194 ASSERT(hPattern->data.mllr_acc.between); in CA_InheritAccumulates() 202 hPattern->data.mllr_acc.between[ii][jj]; in CA_InheritAccumulates() 204 hPattern->data.mllr_acc.within[ii][jj]; in CA_InheritAccumulates() 208 …log_report("\nCA_InheritAccumulates MLLR inheriting %f frames (total now %f)\n\n", hPattern->data.… in CA_InheritAccumulates() [all …]
|
D | ann_api.c | 144 … CA_AnnotateFromVoicing(CA_Annotation* hAnnotation, CA_Utterance *hUtterance, CA_Pattern *hPattern) in CA_AnnotateFromVoicing() argument 150 ASSERT(hPattern); in CA_AnnotateFromVoicing() 157 annotation_from_voicing(hAnnotation->data, &hUtterance->data, hPattern->data.prep); in CA_AnnotateFromVoicing() 311 CA_Pattern* hPattern) in CA_SegmentUtterance() argument 327 ASSERT(hPattern); in CA_SegmentUtterance() 328 ASSERT(hPattern->data.prep); in CA_SegmentUtterance() 331 if (hPattern->data.prep->is_setup_for_noise == False) in CA_SegmentUtterance() 360 hPattern->data.prep, in CA_SegmentUtterance() 384 if ((hPattern->data.prep->end.min_segment_rel_c0 > 0) && (seg_cnt > 1)) in CA_SegmentUtterance() 399 max_peak = max_peak - hPattern->data.prep->end.min_segment_rel_c0; in CA_SegmentUtterance() [all …]
|
D | rec_basi.c | 178 void CA_AdvanceRecognitionByFrame(CA_Recog *hRecog, CA_Pattern *hPattern, in CA_AdvanceRecognitionByFrame() argument 184 ASSERT(hPattern); in CA_AdvanceRecognitionByFrame() 188 if (hPattern->is_loaded == False) in CA_AdvanceRecognitionByFrame() 195 &hPattern->data, in CA_AdvanceRecognitionByFrame() 204 int CA_EndRecognition(CA_Recog *hRecog, CA_Pattern *hPattern, in CA_EndRecognition() argument 211 ASSERT(hPattern); in CA_EndRecognition() 215 if (hPattern->is_loaded == False) in CA_EndRecognition() 230 if (terminated) hPattern->recog_terminated = True; in CA_EndRecognition()
|
/external/srec/srec/include/ |
D | simapi.h | 373 int CA_GetVoicingStatus(CA_Pattern *hPattern); 719 void CA_FreePattern(CA_Pattern *hPattern); 734 int CA_LoadPattern(CA_Pattern *hPattern, 766 void CA_UnloadPattern(CA_Pattern *hPattern); 781 void CA_SetupPatternForAcoustic(CA_Pattern *hPattern, 804 void CA_ClearPatternForAcoustic(CA_Pattern *hPattern, 821 int CA_NextPatternFrame(CA_Pattern *hPattern, 853 int CA_MakePatternFrame(CA_Pattern *hPattern, 878 void CA_SetCepstrumOffsetInPattern(CA_Pattern *hPattern, 895 void CA_SetupNoiseConditioning(CA_Pattern *hPattern, [all …]
|