/third_party/alsa-lib/src/pcm/ |
H A D | pcm_iec958.c | 58 snd_pcm_format_t sformat; member 247 if (iec->sformat == SND_PCM_FORMAT_IEC958_SUBFRAME_LE || in snd_pcm_iec958_hw_refine_cprepare() 248 iec->sformat == SND_PCM_FORMAT_IEC958_SUBFRAME_BE) { in snd_pcm_iec958_hw_refine_cprepare() 276 _snd_pcm_hw_params_set_format(sparams, iec->sformat); in snd_pcm_iec958_hw_refine_sprepare() 345 if (iec->sformat == SND_PCM_FORMAT_IEC958_SUBFRAME_LE || in snd_pcm_iec958_hw_params() 346 iec->sformat == SND_PCM_FORMAT_IEC958_SUBFRAME_BE) { in snd_pcm_iec958_hw_params() 349 iec->byteswap = iec->sformat != SND_PCM_FORMAT_IEC958_SUBFRAME; in snd_pcm_iec958_hw_params() 351 iec->getput_idx = snd_pcm_linear_put_index(SND_PCM_FORMAT_S32, iec->sformat); in snd_pcm_iec958_hw_params() 356 if (iec->sformat == SND_PCM_FORMAT_IEC958_SUBFRAME_LE || in snd_pcm_iec958_hw_params() 357 iec->sformat in snd_pcm_iec958_hw_params() 564 snd_pcm_iec958_open(snd_pcm_t **pcmp, const char *name, snd_pcm_format_t sformat, snd_pcm_t *slave, int close_slave, const unsigned char *status_bits, const unsigned char *preamble_vals, int hdmi_mode) snd_pcm_iec958_open() argument 695 snd_pcm_format_t sformat; _snd_pcm_iec958_open() local [all...] |
H A D | pcm_mulaw.c | 53 snd_pcm_format_t sformat; member 246 if (mulaw->sformat == SND_PCM_FORMAT_MU_LAW) { in snd_pcm_mulaw_hw_refine_cprepare() 268 _snd_pcm_hw_params_set_format(sparams, mulaw->sformat); in snd_pcm_mulaw_hw_refine_sprepare() 336 if (mulaw->sformat == SND_PCM_FORMAT_MU_LAW) { in snd_pcm_mulaw_hw_params() 340 mulaw->getput_idx = snd_pcm_linear_put_index(SND_PCM_FORMAT_S16, mulaw->sformat); in snd_pcm_mulaw_hw_params() 344 if (mulaw->sformat == SND_PCM_FORMAT_MU_LAW) { in snd_pcm_mulaw_hw_params() 348 mulaw->getput_idx = snd_pcm_linear_get_index(mulaw->sformat, SND_PCM_FORMAT_S16); in snd_pcm_mulaw_hw_params() 399 snd_pcm_format_name(mulaw->sformat)); in snd_pcm_mulaw_dump() 429 * \param sformat Slave (destination) format 437 int snd_pcm_mulaw_open(snd_pcm_t **pcmp, const char *name, snd_pcm_format_t sformat, snd_pcm_ argument 529 snd_pcm_format_t sformat; _snd_pcm_mulaw_open() local [all...] |
H A D | pcm_adpcm.c | 84 snd_pcm_format_t sformat; member 332 if (adpcm->sformat == SND_PCM_FORMAT_IMA_ADPCM) { in snd_pcm_adpcm_hw_refine_cprepare() 357 _snd_pcm_hw_params_set_format(sparams, adpcm->sformat); in snd_pcm_adpcm_hw_refine_sprepare() 425 if (adpcm->sformat == SND_PCM_FORMAT_IMA_ADPCM) { in snd_pcm_adpcm_hw_params() 429 adpcm->getput_idx = snd_pcm_linear_put_index(SND_PCM_FORMAT_S16, adpcm->sformat); in snd_pcm_adpcm_hw_params() 433 if (adpcm->sformat == SND_PCM_FORMAT_IMA_ADPCM) { in snd_pcm_adpcm_hw_params() 437 adpcm->getput_idx = snd_pcm_linear_get_index(adpcm->sformat, SND_PCM_FORMAT_S16); in snd_pcm_adpcm_hw_params() 511 snd_pcm_format_name(adpcm->sformat)); in snd_pcm_adpcm_dump() 542 * \param sformat Slave (destination) format 550 int snd_pcm_adpcm_open(snd_pcm_t **pcmp, const char *name, snd_pcm_format_t sformat, snd_pcm_ argument 641 snd_pcm_format_t sformat; _snd_pcm_adpcm_open() local [all...] |
H A D | pcm_alaw.c | 54 snd_pcm_format_t sformat; member 230 if (alaw->sformat == SND_PCM_FORMAT_A_LAW) { in snd_pcm_alaw_hw_refine_cprepare() 254 _snd_pcm_hw_params_set_format(sparams, alaw->sformat); in snd_pcm_alaw_hw_refine_sprepare() 322 if (alaw->sformat == SND_PCM_FORMAT_A_LAW) { in snd_pcm_alaw_hw_params() 326 alaw->getput_idx = snd_pcm_linear_put_index(SND_PCM_FORMAT_S16, alaw->sformat); in snd_pcm_alaw_hw_params() 330 if (alaw->sformat == SND_PCM_FORMAT_A_LAW) { in snd_pcm_alaw_hw_params() 334 alaw->getput_idx = snd_pcm_linear_get_index(alaw->sformat, SND_PCM_FORMAT_S16); in snd_pcm_alaw_hw_params() 385 snd_pcm_format_name(alaw->sformat)); in snd_pcm_alaw_dump() 416 * \param sformat Slave (destination) format 424 int snd_pcm_alaw_open(snd_pcm_t **pcmp, const char *name, snd_pcm_format_t sformat, snd_pcm_ argument 516 snd_pcm_format_t sformat; _snd_pcm_alaw_open() local [all...] |
H A D | pcm_softvol.c | 45 snd_pcm_format_t sformat; member 330 svol->sformat); in softvol_convert_stereo_vol() 335 channels, frames, svol->sformat); in softvol_convert_stereo_vol() 348 switch (svol->sformat) { in softvol_convert_stereo_vol() 353 !snd_pcm_format_cpu_endian(svol->sformat)); in softvol_convert_stereo_vol() 359 !snd_pcm_format_cpu_endian(svol->sformat)); in softvol_convert_stereo_vol() 391 svol->sformat); in softvol_convert_mono_vol() 395 channels, frames, svol->sformat); in softvol_convert_mono_vol() 403 switch (svol->sformat) { in softvol_convert_mono_vol() 408 !snd_pcm_format_cpu_endian(svol->sformat)); in softvol_convert_mono_vol() 914 snd_pcm_softvol_open(snd_pcm_t **pcmp, const char *name, snd_pcm_format_t sformat, int ctl_card, snd_ctl_elem_id_t *ctl_id, int cchannels, double min_dB, double max_dB, int resolution, snd_pcm_t *slave, int close_slave) snd_pcm_softvol_open() argument 1159 snd_pcm_format_t sformat = SND_PCM_FORMAT_UNKNOWN; _snd_pcm_softvol_open() local [all...] |
H A D | pcm_linear.c | 46 snd_pcm_format_t sformat; member 245 _snd_pcm_hw_params_set_format(sparams, linear->sformat); in snd_pcm_linear_hw_refine_sprepare() 311 snd_pcm_format_physical_width(linear->sformat) == 24 || in snd_pcm_linear_hw_params() 313 snd_pcm_format_width(linear->sformat) == 20); in snd_pcm_linear_hw_params() 317 linear->put_idx = snd_pcm_linear_put_index(SND_PCM_FORMAT_S32, linear->sformat); in snd_pcm_linear_hw_params() 319 linear->get_idx = snd_pcm_linear_get_index(linear->sformat, SND_PCM_FORMAT_S32); in snd_pcm_linear_hw_params() 325 linear->sformat); in snd_pcm_linear_hw_params() 327 linear->conv_idx = snd_pcm_linear_convert_index(linear->sformat, in snd_pcm_linear_hw_params() 387 snd_pcm_format_name(linear->sformat)); in snd_pcm_linear_dump() 419 * \param sformat Slav 427 snd_pcm_linear_open(snd_pcm_t **pcmp, const char *name, snd_pcm_format_t sformat, snd_pcm_t *slave, int close_slave) snd_pcm_linear_open() argument 517 snd_pcm_format_t sformat; _snd_pcm_linear_open() local [all...] |
H A D | pcm_lfloat.c | 53 snd_pcm_format_t sformat; member 199 snd_pcm_format_linear(lfloat->sformat) ? in snd_pcm_lfloat_hw_refine_cprepare() 217 _snd_pcm_hw_params_set_format(sparams, lfloat->sformat); in snd_pcm_lfloat_hw_refine_sprepare() 343 snd_pcm_format_name(lfloat->sformat)); in snd_pcm_lfloat_dump() 374 * \param sformat Slave (destination) format 382 int snd_pcm_lfloat_open(snd_pcm_t **pcmp, const char *name, snd_pcm_format_t sformat, snd_pcm_t *slave, int close_slave) in snd_pcm_lfloat_open() argument 388 if (snd_pcm_format_linear(sformat) != 1 && in snd_pcm_lfloat_open() 389 snd_pcm_format_float(sformat) != 1) in snd_pcm_lfloat_open() 396 lfloat->sformat = sformat; in snd_pcm_lfloat_open() 474 snd_pcm_format_t sformat; _snd_pcm_lfloat_open() local [all...] |
H A D | pcm_route.c | 102 snd_pcm_format_t sformat; member 478 if (route->sformat != SND_PCM_FORMAT_UNKNOWN) { in snd_pcm_route_hw_refine_sprepare() 479 _snd_pcm_hw_params_set_format(sparams, route->sformat); in snd_pcm_route_hw_refine_sprepare() 501 if (route->sformat == SND_PCM_FORMAT_UNKNOWN) in snd_pcm_route_hw_refine_schange() 525 if (route->sformat == SND_PCM_FORMAT_UNKNOWN) in snd_pcm_route_hw_refine_cchange() 686 if (route->sformat == SND_PCM_FORMAT_UNKNOWN) in snd_pcm_route_dump() 689 snd_output_printf(out, "Route conversion PCM (sformat=%s)\n", in snd_pcm_route_dump() 690 snd_pcm_format_name(route->sformat)); in snd_pcm_route_dump() 1004 * \param sformat Slave format 1018 snd_pcm_format_t sformat, in in snd_pcm_route_open() 1017 snd_pcm_route_open(snd_pcm_t **pcmp, const char *name, snd_pcm_format_t sformat, int schannels, snd_pcm_route_ttable_entry_t *ttable, unsigned int tt_ssize, unsigned int tt_cused, unsigned int tt_sused, snd_pcm_t *slave, int close_slave) snd_pcm_route_open() argument 1298 snd_pcm_format_t sformat = SND_PCM_FORMAT_UNKNOWN; _snd_pcm_route_open() local [all...] |
H A D | pcm_plug.c | 50 snd_pcm_format_t sformat; member 500 snd_pcm_format_t sformat, snd_pcm_t *slave, in iec958_open() 506 return snd_pcm_iec958_open(pcmp, name, sformat, slave, close_slave, NULL, preamble_vals, 0); in iec958_open() 515 int (*f)(snd_pcm_t **_pcm, const char *name, snd_pcm_format_t sformat, snd_pcm_t *slave, int close_slave); in snd_pcm_plug_change_format() 748 if (plug->sformat >= 0) { in snd_pcm_plug_hw_refine_sprepare() 749 _snd_pcm_hw_params_set_format(sparams, plug->sformat); in snd_pcm_plug_hw_refine_sprepare() 843 if (plug->sformat == -2 || (pcm->mode & SND_PCM_NO_AUTO_FORMAT)) in snd_pcm_plug_hw_refine_schange() 930 if (plug->sformat == -2 || (pcm->mode & SND_PCM_NO_AUTO_FORMAT)) in snd_pcm_plug_hw_refine_cchange() 1138 * \param sformat Slave (destination) format 1148 snd_pcm_format_t sformat, in in snd_pcm_plug_open() 499 iec958_open(snd_pcm_t **pcmp, const char *name, snd_pcm_format_t sformat, snd_pcm_t *slave, int close_slave) iec958_open() argument 1146 snd_pcm_plug_open(snd_pcm_t **pcmp, const char *name, snd_pcm_format_t sformat, int schannels, int srate, const snd_config_t *rate_converter, enum snd_pcm_plug_route_policy route_policy, snd_pcm_route_ttable_entry_t *ttable, unsigned int tt_ssize, unsigned int tt_cused, unsigned int tt_sused, snd_pcm_t *slave, int close_slave) snd_pcm_plug_open() argument 1277 snd_pcm_format_t sformat = SND_PCM_FORMAT_UNKNOWN; _snd_pcm_plug_open() local [all...] |
H A D | pcm_rate.c | 56 snd_pcm_format_t sformat; member 161 if (rate->sformat != SND_PCM_FORMAT_UNKNOWN) { in snd_pcm_rate_hw_refine_sprepare() 162 _snd_pcm_hw_params_set_format(sparams, rate->sformat); in snd_pcm_rate_hw_refine_sprepare() 180 if (rate->sformat == SND_PCM_FORMAT_UNKNOWN) in snd_pcm_rate_hw_refine_schange() 213 if (rate->sformat == SND_PCM_FORMAT_UNKNOWN) in snd_pcm_rate_hw_refine_cchange() 1255 if (rate->sformat == SND_PCM_FORMAT_UNKNOWN) in snd_pcm_rate_dump() 1259 snd_output_printf(out, "Rate conversion PCM (%d, sformat=%s)\n", in snd_pcm_rate_dump() 1261 snd_pcm_format_name(rate->sformat)); in snd_pcm_rate_dump() 1485 * \param sformat Slave format 1496 snd_pcm_format_t sformat, unsigne in snd_pcm_rate_open() 1495 snd_pcm_rate_open(snd_pcm_t **pcmp, const char *name, snd_pcm_format_t sformat, unsigned int srate, const snd_config_t *converter, snd_pcm_t *slave, int close_slave) snd_pcm_rate_open() argument 1682 snd_pcm_format_t sformat = SND_PCM_FORMAT_UNKNOWN; _snd_pcm_rate_open() local [all...] |
H A D | pcm_share.c | 1367 * \param sformat Slave format 1382 snd_pcm_format_t sformat, int srate, in snd_pcm_share_open() 1501 slave->format = sformat; in snd_pcm_share_open() 1622 snd_pcm_format_t sformat = SND_PCM_FORMAT_UNKNOWN; in _snd_pcm_share_open() local 1655 SND_PCM_HW_PARAM_FORMAT, 0, &sformat, in _snd_pcm_share_open() 1723 err = snd_pcm_share_open(pcmp, name, sname, sformat, srate, in _snd_pcm_share_open() 1381 snd_pcm_share_open(snd_pcm_t **pcmp, const char *name, const char *sname, snd_pcm_format_t sformat, int srate, unsigned int schannels, int speriod_time, int sbuffer_time, unsigned int channels, unsigned int *channels_map, snd_pcm_stream_t stream, int mode) snd_pcm_share_open() argument
|
/third_party/alsa-lib/include/ |
H A D | pcm_plugin.h | 90 snd_pcm_format_t sformat, snd_pcm_t *slave, 100 snd_pcm_format_t sformat, snd_pcm_t *slave, 110 snd_pcm_format_t sformat, snd_pcm_t *slave, 120 snd_pcm_format_t sformat, snd_pcm_t *slave, 130 snd_pcm_format_t sformat, snd_pcm_t *slave, 140 snd_pcm_format_t sformat, snd_pcm_t *slave, 160 snd_pcm_format_t sformat, int schannels, 173 snd_pcm_format_t sformat, unsigned int srate,
|
/third_party/mesa3d/src/gallium/drivers/svga/ |
H A D | svga_format.h | 128 SVGA3dSurfaceFormat sformat,
|
H A D | svga_format.c | 2129 * \param sformat[in] svga3d format of the imported surface. 2136 SVGA3dSurfaceFormat sformat, in svga_format_is_shareable() 2146 if (default_format == sformat) in svga_format_is_shareable() 2154 if (*compat_format == sformat) in svga_format_is_shareable() 2165 svga_format_name(sformat)); in svga_format_is_shareable() 2134 svga_format_is_shareable(const struct svga_screen *ss, enum pipe_format pformat, SVGA3dSurfaceFormat sformat, unsigned bind, bool verbose) svga_format_is_shareable() argument
|
/third_party/ffmpeg/libavcodec/ |
H A D | mfenc.c | 590 enum AVSampleFormat sformat = ff_media_type_to_sample_fmt((IMFAttributes *)type); in mf_enca_input_score() local 591 if (sformat == AV_SAMPLE_FMT_NONE) in mf_enca_input_score() 594 if (sformat == avctx->sample_fmt) in mf_enca_input_score() 613 enum AVSampleFormat sformat = ff_media_type_to_sample_fmt((IMFAttributes *)type); in mf_enca_input_adjust() local 614 if (sformat != avctx->sample_fmt) { in mf_enca_input_adjust()
|
/third_party/python/Lib/test/ |
H A D | test_buffer.py | 2581 sformat = '@' + sfmt if randrange(2) else sfmt 2582 ssize = struct.calcsize(sformat) 2586 ex = ndarray(list(range(32)), shape=[32//ssize], format=sformat)
|