Lines Matching refs:vp
30 struct v29 *vp; in create_viterbi29_sse() local
37 if((vp = (struct v29 *)malloc(sizeof(struct v29))) == NULL) in create_viterbi29_sse()
39 if((vp->decisions = (decision_t *)malloc((len+8)*sizeof(decision_t))) == NULL){ in create_viterbi29_sse()
40 free(vp); in create_viterbi29_sse()
43 init_viterbi29(vp,0); in create_viterbi29_sse()
44 return vp; in create_viterbi29_sse()
59 struct v29 *vp = p; in init_viterbi29_sse() local
65 vp->metrics1.w[i] = 200; in init_viterbi29_sse()
67 vp->old_metrics = &vp->metrics1; in init_viterbi29_sse()
68 vp->new_metrics = &vp->metrics2; in init_viterbi29_sse()
69 vp->dp = vp->decisions; in init_viterbi29_sse()
70 vp->old_metrics->w[starting_state & 255] = 0; /* Bias known start state */ in init_viterbi29_sse()
80 struct v29 *vp = p; in chainback_viterbi29_sse() local
85 d = vp->decisions; in chainback_viterbi29_sse()
108 struct v29 *vp = p; in delete_viterbi29_sse() local
110 if(vp != NULL){ in delete_viterbi29_sse()
111 free(vp->decisions); in delete_viterbi29_sse()
112 free(vp); in delete_viterbi29_sse()