Lines Matching refs:vp
28 struct v615 *vp = p; in init_viterbi615_mmx() local
34 vp->metrics1.s[i] = 5000; in init_viterbi615_mmx()
36 vp->old_metrics = &vp->metrics1; in init_viterbi615_mmx()
37 vp->new_metrics = &vp->metrics2; in init_viterbi615_mmx()
38 vp->dp = vp->decisions; in init_viterbi615_mmx()
39 vp->old_metrics->s[starting_state & 16383] = 0; /* Bias known start state */ in init_viterbi615_mmx()
45 struct v615 *vp; in create_viterbi615_mmx() local
52 if((vp = (struct v615 *)malloc(sizeof(struct v615))) == NULL) in create_viterbi615_mmx()
54 if((vp->decisions = malloc((len+14)*sizeof(decision_t))) == NULL){ in create_viterbi615_mmx()
55 free(vp); in create_viterbi615_mmx()
58 init_viterbi615_mmx(vp,0); in create_viterbi615_mmx()
59 return vp; in create_viterbi615_mmx()
79 struct v615 *vp = p; in chainback_viterbi615_mmx() local
85 d = (decision_t *)vp->decisions; in chainback_viterbi615_mmx()
106 struct v615 *vp = p; in delete_viterbi615_mmx() local
108 if(vp != NULL){ in delete_viterbi615_mmx()
109 free(vp->decisions); in delete_viterbi615_mmx()
110 free(vp); in delete_viterbi615_mmx()
116 struct v615 *vp = p; in update_viterbi615_blk_mmx() local
122 d = (decision_t *)vp->dp; in update_viterbi615_blk_mmx()
153 m0 = _mm_add_pi16(vp->old_metrics->v[i],metric); in update_viterbi615_blk_mmx()
154 m3 = _mm_add_pi16(vp->old_metrics->v[2048+i],metric); in update_viterbi615_blk_mmx()
155 m1 = _mm_add_pi16(vp->old_metrics->v[2048+i],m_metric); in update_viterbi615_blk_mmx()
156 m2 = _mm_add_pi16(vp->old_metrics->v[i],m_metric); in update_viterbi615_blk_mmx()
171 vp->new_metrics->v[2*i] = _mm_unpacklo_pi16(survivor0,survivor1); in update_viterbi615_blk_mmx()
172 vp->new_metrics->v[2*i+1] = _mm_unpackhi_pi16(survivor0,survivor1); in update_viterbi615_blk_mmx()
176 tmp = vp->old_metrics; in update_viterbi615_blk_mmx()
177 vp->old_metrics = vp->new_metrics; in update_viterbi615_blk_mmx()
178 vp->new_metrics = tmp; in update_viterbi615_blk_mmx()
180 vp->dp = d; in update_viterbi615_blk_mmx()