Lines Matching refs:pitch

194 	unsigned int pitch;
197 /* get pitch and convert to fixed-point 8.24 format. */
198 pitch = (input_rate / output_rate) << 24;
214 pitch |= input_rate;
217 return pitch;
220 static int select_rom(unsigned int pitch)
222 if (pitch > 0x00428f5c && pitch < 0x01b851ec) {
223 /* 0.26 <= pitch <= 1.72 */
225 } else if (pitch == 0x01d66666 || pitch == 0x01d66667) {
226 /* pitch == 1.8375 */
228 } else if (pitch == 0x02000000) {
229 /* pitch == 2 */
231 } else if (pitch <= 0x08000000) {
232 /* 0 <= pitch <= 8 */
250 unsigned int pitch;
263 pitch = atc_get_pitch(apcm->substream->runtime->rate,
266 src->ops->set_pitch(src, pitch);
267 src->ops->set_rom(src, select_rom(pitch));
451 unsigned int pitch;
461 unsigned int pitch;
463 /* get pitch and convert to fixed-point 8.24 format. */
464 pitch = atc_get_pitch((atc->rsr * atc->msr),
468 if (1 == atc->msr) { /* FIXME: do we really need SRC here if pitch==1 */
470 conf[0].pitch = pitch;
474 if (0x8000000 < pitch) {
477 conf[0].pitch = (atc->msr << 24);
481 conf[1].pitch = atc_get_pitch(atc->rsr,
486 } else if (0x1000000 < pitch) {
489 conf[0].pitch = pitch;
511 unsigned int pitch;
520 * by pitch value. */
524 /* get pitch and convert to fixed-point 8.24 format. */
525 pitch = atc_get_pitch((atc->rsr * atc->msr),
532 if ((multi > 1) && (0x8000000 >= pitch)) {
570 pitch = src_node_conf[i/multi].pitch;
571 src->ops->set_pitch(src, pitch);
572 src->ops->set_rom(src, select_rom(pitch));
601 pitch = atc_get_pitch((atc->rsr * atc->msr),
608 srcimp_dsc.msr = (pitch <= 0x8000000) ? atc->msr : 1;
629 src->ops->set_pitch(src, pitch);
652 unsigned int pitch;
688 pitch = atc_get_pitch((atc->rsr * atc->msr),
691 if ((multi > 1) && (pitch <= 0x8000000)) {
791 unsigned int pitch, rsr = atc->pll_rate;
807 pitch = atc_get_pitch(apcm->substream->runtime->rate, (rsr * desc.msr));
809 src->ops->set_pitch(src, pitch);
810 src->ops->set_rom(src, select_rom(pitch));