Lines Matching refs:endianness
327 audfmt_to_pw(AudioFormat fmt, int endianness) in audfmt_to_pw() argument
339 format = endianness ? SPA_AUDIO_FORMAT_S16_BE : SPA_AUDIO_FORMAT_S16_LE; in audfmt_to_pw()
342 format = endianness ? SPA_AUDIO_FORMAT_U16_BE : SPA_AUDIO_FORMAT_U16_LE; in audfmt_to_pw()
345 format = endianness ? SPA_AUDIO_FORMAT_S32_BE : SPA_AUDIO_FORMAT_S32_LE; in audfmt_to_pw()
348 format = endianness ? SPA_AUDIO_FORMAT_U32_BE : SPA_AUDIO_FORMAT_U32_LE; in audfmt_to_pw()
351 format = endianness ? SPA_AUDIO_FORMAT_F32_BE : SPA_AUDIO_FORMAT_F32_LE; in audfmt_to_pw()
362 pw_to_audfmt(enum spa_audio_format fmt, int *endianness, in pw_to_audfmt() argument
374 *endianness = 1; in pw_to_audfmt()
378 *endianness = 0; in pw_to_audfmt()
382 *endianness = 1; in pw_to_audfmt()
386 *endianness = 0; in pw_to_audfmt()
390 *endianness = 1; in pw_to_audfmt()
394 *endianness = 0; in pw_to_audfmt()
398 *endianness = 1; in pw_to_audfmt()
402 *endianness = 0; in pw_to_audfmt()
406 *endianness = 1; in pw_to_audfmt()
410 *endianness = 0; in pw_to_audfmt()
531 v->info.format = audfmt_to_pw(as->fmt, as->endianness); in qpw_init_out()
537 pw_to_audfmt(v->info.format, &obt_as.endianness, &v->frame_size); in qpw_init_out()
578 v->info.format = audfmt_to_pw(as->fmt, as->endianness); in qpw_init_in()
584 pw_to_audfmt(v->info.format, &obt_as.endianness, &v->frame_size); in qpw_init_in()