/external/fec/ |
D | viterbi27_av.c | 22 metric_t *old_metrics,*new_metrics; /* Pointers to path metrics, swapped on every bit */ member 36 vp->new_metrics = &vp->metrics2; in init_viterbi27_av() 166 vp->new_metrics->v[0] = vec_mergeh(survivor0,survivor1); in update_viterbi27_blk_av() 167 vp->new_metrics->v[1] = vec_mergel(survivor0,survivor1); in update_viterbi27_blk_av() 178 vp->new_metrics->v[2] = vec_mergeh(survivor0,survivor1); in update_viterbi27_blk_av() 179 vp->new_metrics->v[3] = vec_mergel(survivor0,survivor1); in update_viterbi27_blk_av() 182 if(vp->new_metrics->c[0] >= 105){ in update_viterbi27_blk_av() 186 scale0 = vec_min(vp->new_metrics->v[0],vp->new_metrics->v[1]); in update_viterbi27_blk_av() 187 scale1 = vec_min(vp->new_metrics->v[2],vp->new_metrics->v[3]); in update_viterbi27_blk_av() 195 vp->new_metrics->v[0] = vec_subs(vp->new_metrics->v[0],scale0); in update_viterbi27_blk_av() [all …]
|
D | viterbi29_av.c | 22 metric_t *old_metrics,*new_metrics; /* Pointers to path metrics, swapped on every bit */ member 37 vp->new_metrics = &vp->metrics2; in init_viterbi29_av() 157 vp->new_metrics->v[2*i] = vec_mergeh(survivor0,survivor1); in update_viterbi29_blk_av() 158 vp->new_metrics->v[2*i+1] = vec_mergel(survivor0,survivor1); in update_viterbi29_blk_av() 162 if(vp->new_metrics->c[0] >= 50){ in update_viterbi29_blk_av() 167 scale0 = vp->new_metrics->v[0]; in update_viterbi29_blk_av() 168 scale1 = vp->new_metrics->v[1]; in update_viterbi29_blk_av() 170 scale0 = vec_min(scale0,vp->new_metrics->v[i]); in update_viterbi29_blk_av() 171 scale1 = vec_min(scale1,vp->new_metrics->v[i+1]); in update_viterbi29_blk_av() 181 vp->new_metrics->v[i] = vec_subs(vp->new_metrics->v[i],scale0); in update_viterbi29_blk_av() [all …]
|
D | viterbi39_av.c | 23 metric_t *old_metrics,*new_metrics; /* Pointers to path metrics, swapped on every bit */ member 36 vp->new_metrics = &vp->metrics2; in init_viterbi39_av() 168 vp->new_metrics->v[2*i] = vec_mergeh(survivor0,survivor1); in update_viterbi39_blk_av() 169 vp->new_metrics->v[2*i+1] = vec_mergel(survivor0,survivor1); in update_viterbi39_blk_av() 188 min_metric = max_metric = vp->new_metrics->v[0]; in update_viterbi39_blk_av() 190 min_metric = vec_min(min_metric,vp->new_metrics->v[i]); in update_viterbi39_blk_av() 191 max_metric = vec_max(max_metric,vp->new_metrics->v[i]); in update_viterbi39_blk_av() 222 if(vp->new_metrics->s[0] >= USHRT_MAX-5000){ in update_viterbi39_blk_av() 227 scale = vp->new_metrics->v[0]; in update_viterbi39_blk_av() 229 scale = vec_min(scale,vp->new_metrics->v[i]); in update_viterbi39_blk_av() [all …]
|
D | viterbi615_av.c | 23 metric_t *old_metrics,*new_metrics; /* Pointers to path metrics, swapped on every bit */ member 39 vp->new_metrics = &vp->metrics2; in init_viterbi615_av() 173 vp->new_metrics->v[2*i] = vec_mergeh(survivor0,survivor1); in update_viterbi615_blk_av() 174 vp->new_metrics->v[2*i+1] = vec_mergel(survivor0,survivor1); in update_viterbi615_blk_av() 193 min_metric = max_metric = vp->new_metrics->v[0]; in update_viterbi615_blk_av() 195 min_metric = vec_min(min_metric,vp->new_metrics->v[i]); in update_viterbi615_blk_av() 196 max_metric = vec_max(max_metric,vp->new_metrics->v[i]); in update_viterbi615_blk_av() 228 if(vp->new_metrics->s[0] >= USHRT_MAX-12750){ in update_viterbi615_blk_av() 233 scale = vp->new_metrics->v[0]; in update_viterbi615_blk_av() 235 scale = vec_min(scale,vp->new_metrics->v[i]); in update_viterbi615_blk_av() [all …]
|
D | viterbi615_sse2.c | 23 metric_t *old_metrics,*new_metrics; /* Pointers to path metrics, swapped on every bit */ member 38 vp->new_metrics = &vp->metrics2; in init_viterbi615_sse2() 165 vp->new_metrics->v[2*i] = _mm_unpacklo_epi16(survivor0,survivor1); in update_viterbi615_blk_sse2() 166 vp->new_metrics->v[2*i+1] = _mm_unpackhi_epi16(survivor0,survivor1); in update_viterbi615_blk_sse2() 171 if(vp->new_metrics->s[0] >= SHRT_MAX-12750){ in update_viterbi615_blk_sse2() 177 adjustv = vp->new_metrics->v[0]; in update_viterbi615_blk_sse2() 179 adjustv = _mm_min_epi16(adjustv,vp->new_metrics->v[i]); in update_viterbi615_blk_sse2() 192 vp->new_metrics->v[i] = _mm_sub_epi16(vp->new_metrics->v[i],adjustv); in update_viterbi615_blk_sse2() 197 vp->old_metrics = vp->new_metrics; in update_viterbi615_blk_sse2() 198 vp->new_metrics = tmp; in update_viterbi615_blk_sse2()
|
D | viterbi39_sse2.c | 23 metric_t *old_metrics,*new_metrics; /* Pointers to path metrics, swapped on every bit */ member 36 vp->new_metrics = &vp->metrics2; in init_viterbi39_sse2() 162 vp->new_metrics->v[2*i] = _mm_unpacklo_epi16(survivor0,survivor1); in update_viterbi39_blk_sse2() 163 vp->new_metrics->v[2*i+1] = _mm_unpackhi_epi16(survivor0,survivor1); in update_viterbi39_blk_sse2() 166 if(vp->new_metrics->s[0] >= SHRT_MAX-5000){ in update_viterbi39_blk_sse2() 172 adjustv = vp->new_metrics->v[0]; in update_viterbi39_blk_sse2() 174 adjustv = _mm_min_epi16(adjustv,vp->new_metrics->v[i]); in update_viterbi39_blk_sse2() 188 vp->new_metrics->v[i] = _mm_sub_epi16(vp->new_metrics->v[i],adjustv); in update_viterbi39_blk_sse2() 193 vp->old_metrics = vp->new_metrics; in update_viterbi39_blk_sse2() 194 vp->new_metrics = tmp; in update_viterbi39_blk_sse2()
|
D | viterbi39_sse.c | 23 metric_t *old_metrics,*new_metrics; /* Pointers to path metrics, swapped on every bit */ member 38 vp->new_metrics = &vp->metrics2; in init_viterbi39_sse() 166 vp->new_metrics->v[2*i] = _mm_unpacklo_pi16(survivor0,survivor1); in update_viterbi39_blk_sse() 167 vp->new_metrics->v[2*i+1] = _mm_unpackhi_pi16(survivor0,survivor1); in update_viterbi39_blk_sse() 172 if(vp->new_metrics->s[0] >= SHRT_MAX-5000){ in update_viterbi39_blk_sse() 178 adjustv = vp->new_metrics->v[0]; in update_viterbi39_blk_sse() 180 adjustv = _mm_min_pi16(adjustv,vp->new_metrics->v[i]); in update_viterbi39_blk_sse() 190 vp->new_metrics->v[i] = _mm_sub_pi16(vp->new_metrics->v[i],adjustv); in update_viterbi39_blk_sse() 195 vp->old_metrics = vp->new_metrics; in update_viterbi39_blk_sse() 196 vp->new_metrics = tmp; in update_viterbi39_blk_sse()
|
D | viterbi615_sse.c | 23 metric_t *old_metrics,*new_metrics; /* Pointers to path metrics, swapped on every bit */ member 38 vp->new_metrics = &vp->metrics2; in init_viterbi615_sse() 167 vp->new_metrics->v[2*i] = _mm_unpacklo_pi16(survivor0,survivor1); in update_viterbi615_blk_sse() 168 vp->new_metrics->v[2*i+1] = _mm_unpackhi_pi16(survivor0,survivor1); in update_viterbi615_blk_sse() 173 if(vp->new_metrics->s[0] >= SHRT_MAX-12750){ in update_viterbi615_blk_sse() 179 adjustv = vp->new_metrics->v[0]; in update_viterbi615_blk_sse() 181 adjustv = _mm_min_pi16(adjustv,vp->new_metrics->v[i]); in update_viterbi615_blk_sse() 190 vp->new_metrics->v[i] = _mm_sub_pi16(vp->new_metrics->v[i],adjustv); in update_viterbi615_blk_sse() 195 vp->old_metrics = vp->new_metrics; in update_viterbi615_blk_sse() 196 vp->new_metrics = tmp; in update_viterbi615_blk_sse()
|
D | viterbi39_mmx.c | 22 metric_t *old_metrics,*new_metrics; /* Pointers to path metrics, swapped on every bit */ member 37 vp->new_metrics = &vp->metrics2; in init_viterbi39_mmx() 171 vp->new_metrics->v[2*i] = _mm_unpacklo_pi16(survivor0,survivor1); in update_viterbi39_blk_mmx() 172 vp->new_metrics->v[2*i+1] = _mm_unpackhi_pi16(survivor0,survivor1); in update_viterbi39_blk_mmx() 174 if(vp->new_metrics->s[0] < vp->old_metrics->s[0]) in update_viterbi39_blk_mmx() 179 vp->old_metrics = vp->new_metrics; in update_viterbi39_blk_mmx() 180 vp->new_metrics = tmp; in update_viterbi39_blk_mmx()
|
D | viterbi29_port.c | 21 metric_t *old_metrics,*new_metrics; /* Pointers to path metrics, swapped on every bit */ member 36 vp->new_metrics = &vp->metrics2; in init_viterbi29_port() 124 vp->new_metrics->w[2*i] = decision ? m1 : m0;\ 129 vp->new_metrics->w[2*i+1] = decision ? m1 : m0;\ 161 vp->old_metrics = vp->new_metrics; in update_viterbi29_blk_port() 162 vp->new_metrics = tmp; in update_viterbi29_blk_port()
|
D | viterbi615_port.c | 22 metric_t *old_metrics,*new_metrics; /* Pointers to path metrics, swapped on every bit */ member 66 vp->new_metrics = &vp->metrics2; in init_viterbi615_port() 123 vp->new_metrics->w[2*i] = decision0 ? m1 : m0;\ 124 vp->new_metrics->w[2*i+1] = decision1 ? m3 : m2;\ 150 vp->old_metrics = vp->new_metrics; in update_viterbi615_blk_port() 151 vp->new_metrics = tmp; in update_viterbi615_blk_port()
|
D | viterbi39_port.c | 21 metric_t *old_metrics,*new_metrics; /* Pointers to path metrics, swapped on every bit */ member 36 vp->new_metrics = &vp->metrics2; in init_viterbi39_port() 125 vp->new_metrics->w[2*i] = decision ? m1 : m0;\ 130 vp->new_metrics->w[2*i+1] = decision ? m1 : m0;\ 163 vp->old_metrics = vp->new_metrics; in update_viterbi39_blk_port() 164 vp->new_metrics = tmp; in update_viterbi39_blk_port()
|
D | viterbi27_port.c | 24 metric_t *old_metrics,*new_metrics; /* Pointers to path metrics, swapped on every bit */ member 39 vp->new_metrics = &vp->metrics2; in init_viterbi27_port() 123 vp->new_metrics->w[2*i] = decision ? m1 : m0;\ 128 vp->new_metrics->w[2*i+1] = decision ? m1 : m0;\ 186 vp->old_metrics = vp->new_metrics; in update_viterbi27_blk_port() 187 vp->new_metrics = tmp; in update_viterbi27_blk_port()
|
D | viterbi27_sse2.c | 22 metric_t *old_metrics,*new_metrics; /* Pointers to path metrics, swapped on every bit */ member 37 vp->new_metrics = &vp->metrics2; in init_viterbi27_sse2() 169 vp->new_metrics->v[2*i] = _mm_unpacklo_epi8(survivor0,survivor1); 170 vp->new_metrics->v[2*i+1] = _mm_unpackhi_epi8(survivor0,survivor1); 175 vp->old_metrics = vp->new_metrics; 176 vp->new_metrics = tmp;
|
D | viterbi615_mmx.c | 22 metric_t *old_metrics,*new_metrics; /* Pointers to path metrics, swapped on every bit */ member 37 vp->new_metrics = &vp->metrics2; in init_viterbi615_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() 177 vp->old_metrics = vp->new_metrics; in update_viterbi615_blk_mmx() 178 vp->new_metrics = tmp; in update_viterbi615_blk_mmx()
|
D | viterbi29_sse.c | 24 metric_t *old_metrics,*new_metrics; /* Pointers to path metrics, swapped on every bit */ member 68 vp->new_metrics = &vp->metrics2; in init_viterbi29_sse()
|
D | viterbi27_sse.c | 22 metric_t *old_metrics,*new_metrics; /* Pointers to path metrics, swapped on every bit */ member 66 vp->new_metrics = &vp->metrics2; in init_viterbi27_sse()
|
D | viterbi29_mmx.c | 25 metric_t *old_metrics,*new_metrics; /* Pointers to path metrics, swapped on every bit */ member 79 vp->new_metrics = &vp->metrics2; in init_viterbi29_mmx()
|
D | viterbi29_sse2.c | 24 metric_t *old_metrics,*new_metrics; /* Pointers to path metrics, swapped on every bit */ member 37 vp->new_metrics = &vp->metrics2; in init_viterbi29_sse2()
|
D | viterbi27_mmx.c | 24 metric_t *old_metrics,*new_metrics; /* Pointers to path metrics, swapped on every bit */ member 39 vp->new_metrics = &vp->metrics2; in init_viterbi27_mmx()
|