Lines Matching refs:vp
28 struct v27 *vp; in create_viterbi27_sse() local
35 if((vp = malloc(sizeof(struct v27))) == NULL) in create_viterbi27_sse()
37 if((vp->decisions = malloc((len+6)*sizeof(decision_t))) == NULL){ in create_viterbi27_sse()
38 free(vp); in create_viterbi27_sse()
41 init_viterbi27(vp,0); in create_viterbi27_sse()
42 return vp; in create_viterbi27_sse()
57 struct v27 *vp = p; in init_viterbi27_sse() local
63 vp->metrics1.c[i] = 63; in init_viterbi27_sse()
65 vp->old_metrics = &vp->metrics1; in init_viterbi27_sse()
66 vp->new_metrics = &vp->metrics2; in init_viterbi27_sse()
67 vp->dp = vp->decisions; in init_viterbi27_sse()
68 vp->old_metrics->c[starting_state & 63] = 0; /* Bias known start state */ in init_viterbi27_sse()
78 struct v27 *vp = p; in chainback_viterbi27_sse() local
84 d = vp->decisions; in chainback_viterbi27_sse()
107 struct v27 *vp = p; in delete_viterbi27_sse() local
109 if(vp != NULL){ in delete_viterbi27_sse()
110 free(vp->decisions); in delete_viterbi27_sse()
111 free(vp); in delete_viterbi27_sse()