Lines Matching refs:vp
31 struct v29 *vp; in create_viterbi29_mmx() local
38 if((vp = (struct v29 *)malloc(sizeof(struct v29))) == NULL) in create_viterbi29_mmx()
41 if((vp->decisions = (decision_t *)malloc((len+8)*sizeof(decision_t))) == NULL){ in create_viterbi29_mmx()
42 free(vp); in create_viterbi29_mmx()
45 init_viterbi29(vp,0); in create_viterbi29_mmx()
46 return vp; in create_viterbi29_mmx()
70 struct v29 *vp = p; in init_viterbi29_mmx() local
76 vp->metrics1.c[i] = 63; in init_viterbi29_mmx()
78 vp->old_metrics = &vp->metrics1; in init_viterbi29_mmx()
79 vp->new_metrics = &vp->metrics2; in init_viterbi29_mmx()
80 vp->dp = vp->decisions; in init_viterbi29_mmx()
81 vp->old_metrics->c[starting_state & 255] = 0; /* Bias known start state */ in init_viterbi29_mmx()
92 struct v29 *vp = (struct v29 *)p; in chainback_viterbi29_mmx() local
98 d = (decision_t *)vp->decisions; in chainback_viterbi29_mmx()
112 struct v29 *vp = p; in delete_viterbi29_mmx() local
114 if(vp != NULL){ in delete_viterbi29_mmx()
115 free(vp->decisions); in delete_viterbi29_mmx()
116 free(vp); in delete_viterbi29_mmx()