Lines Matching full:s2
71 signed short S1, S2; in resample_expand() local
82 S2 = rchannels->last_S2; in resample_expand()
101 S1 = S2; in resample_expand()
103 S2 = *src; in resample_expand()
107 val = S1 + ((S2 - S1) * (signed int)pos) / BITS; in resample_expand()
117 rchannels->last_S2 = S2; in resample_expand()
130 signed short S1, S2; in resample_shrink() local
141 S2 = rchannels->last_S2; in resample_shrink()
158 S1 = S2; in resample_shrink()
160 S2 = *src; in resample_shrink()
165 val = S1 + ((S2 - S1) * (signed int)pos) / BITS; in resample_shrink()
177 rchannels->last_S2 = S2; in resample_shrink()