Lines Matching defs:pos
85 unsigned int pos;
103 pos = get_threshold;
105 if (pos >= get_threshold) {
106 pos -= get_threshold;
117 new_weight = (pos << (16 - rate->pitch_shift)) / (get_threshold >> rate->pitch_shift);
127 pos += LINEAR_DIV;
128 if (pos >= get_threshold) {
148 unsigned int pos;
166 pos = get_threshold;
168 if (pos >= get_threshold) {
169 pos -= get_threshold;
174 new_weight = (pos << (16 - rate->pitch_shift)) / (get_threshold >> rate->pitch_shift);
179 pos += LINEAR_DIV;
180 if (pos >= get_threshold) {
207 unsigned int pos;
218 pos = LINEAR_DIV - get_increment; /* Force first sample to be copied */
235 pos += get_increment;
236 if (pos >= LINEAR_DIV) {
237 pos -= LINEAR_DIV;
238 old_weight = (pos << (32 - LINEAR_DIV_SHIFT)) / (get_increment >> (LINEAR_DIV_SHIFT - 16));
269 unsigned int pos = 0;
280 pos = LINEAR_DIV - get_increment; /* Force first sample to be copied */
292 pos += get_increment;
293 if (pos >= LINEAR_DIV) {
294 pos -= LINEAR_DIV;
295 old_weight = (pos << (32 - LINEAR_DIV_SHIFT)) / (get_increment >> (LINEAR_DIV_SHIFT - 16));