Home
last modified time | relevance | path

Searched refs:sample_format (Results 1 – 25 of 30) sorted by relevance

12

/third_party/alsa-utils/axfer/test/
Dgenerator.c49 snd_pcm_format_t sample_format, in allocate_buf() argument
55 bytes_per_sample = snd_pcm_format_physical_width(sample_format) / 8; in allocate_buf()
61 snd_pcm_format_t sample_format, in allocate_vector() argument
69 bytes_per_sample = snd_pcm_format_physical_width(sample_format) / 8; in allocate_vector()
89 snd_pcm_format_t sample_format, in fill_buf() argument
95 size = snd_pcm_format_physical_width(sample_format) / 8 * in fill_buf()
108 snd_pcm_format_t sample_format, in fill_vector() argument
118 snd_pcm_format_physical_width(sample_format) / 8; in fill_vector()
150 snd_pcm_format_t sample_format, in test_frame_count() argument
154 snd_pcm_format_t sample_format, in test_frame_count()
[all …]
Dmapper-test.c70 snd_pcm_format_t sample_format, in test_demux() argument
93 format = sample_format; in test_demux()
105 assert(format == sample_format); in test_demux()
114 bytes_per_sample = snd_pcm_format_physical_width(sample_format) / 8; in test_demux()
161 snd_pcm_format_t sample_format, in test_mux() argument
183 format = sample_format; in test_mux()
195 assert(format == sample_format); in test_mux()
204 bytes_per_sample = snd_pcm_format_physical_width(sample_format) / 8; in test_mux()
221 snd_pcm_format_t sample_format, in test_mapper() argument
253 err = test_demux(trial, access, sample_format, samples_per_frame, in test_mapper()
[all …]
Dcontainer-test.c39 snd_pcm_format_t sample_format, in test_builder() argument
56 sample = sample_format; in test_builder()
63 assert(sample == sample_format); in test_builder()
85 snd_pcm_access_t access, snd_pcm_format_t sample_format, in test_parser() argument
101 sample = sample_format; in test_parser()
108 assert(sample == sample_format); in test_parser()
128 snd_pcm_format_t sample_format, in callback() argument
149 snd_pcm_format_physical_width(sample_format) / 8; in callback()
171 sample_format, samples_per_frame, in callback()
182 sample_format, samples_per_frame, frames_per_second, in callback()
Dgenerator.h18 snd_pcm_format_t sample_format,
/third_party/ffmpeg/libavdevice/
Dopenal-dec.c43 ALCenum sample_format; member
138 ad->sample_format = sample_formats[ad->sample_size/8-1][ad->channels-1]; in read_header()
144 ad->sample_format, in read_header()
162 par->channels = get_al_format_info(ad->sample_format)->channels; in read_header()
163 par->codec_id = get_al_format_info(ad->sample_format)->codec_id; in read_header()
166 ad->sample_step = (av_get_bits_per_sample(get_al_format_info(ad->sample_format)->codec_id) * in read_header()
167 get_al_format_info(ad->sample_format)->channels) / 8; in read_header()
Davdevice.h405 enum AVSampleFormat sample_format; member
/third_party/boost/boost/gil/extension/io/tiff/detail/
Ddevice.hpp449 struct sample_format : std::integral_constant<int, SAMPLEFORMAT_UINT> {}; struct
451 struct sample_format<uint8_t> : std::integral_constant<int, SAMPLEFORMAT_UINT> {}; struct
453 struct sample_format<uint16_t> : std::integral_constant<int, SAMPLEFORMAT_UINT> {}; struct
455 struct sample_format<uint32_t> : std::integral_constant<int, SAMPLEFORMAT_UINT> {}; struct
457 struct sample_format<float32_t> : std::integral_constant<int, SAMPLEFORMAT_IEEEFP> {}; struct
459 struct sample_format<double> : std::integral_constant<int, SAMPLEFORMAT_IEEEFP> {}; struct
461 struct sample_format<int8_t> : std::integral_constant<int, SAMPLEFORMAT_INT> {}; struct
463 struct sample_format<int16_t> : std::integral_constant<int, SAMPLEFORMAT_INT> {}; struct
465 struct sample_format<int32_t> : std::integral_constant<int, SAMPLEFORMAT_INT> {}; struct
Dwriter_backend.hpp94 tiff_sample_format::type sampl_format = detail::sample_format< channel_t >::value; in write_header()
/third_party/alsa-utils/axfer/
Dsubcmd-transfer.c169 snd_pcm_format_t sample_format = SND_PCM_FORMAT_UNKNOWN; in capture_pre_process() local
176 err = xfer_context_pre_process(&ctx->xfer, &sample_format, in capture_pre_process()
214 &sample_format, &channels, in capture_pre_process()
233 snd_pcm_format_t sample_format = SND_PCM_FORMAT_UNKNOWN; in playback_pre_process() local
268 format = ctx->xfer.sample_format; in playback_pre_process()
272 format = sample_format; in playback_pre_process()
292 sample_format = format; in playback_pre_process()
297 if (format != sample_format) { in playback_pre_process()
323 return xfer_context_pre_process(&ctx->xfer, &sample_format, in playback_pre_process()
356 snd_pcm_format_physical_width(ctx->xfer.sample_format) / 8; in context_pre_process()
[all …]
Dxfer.c135 if (xfer->sample_format != SND_PCM_FORMAT_UNKNOWN) in xfer_context_pre_process()
136 *format = xfer->sample_format; in xfer_context_pre_process()
144 if (*format != xfer->sample_format) { in xfer_context_pre_process()
146 if (xfer->sample_format != SND_PCM_FORMAT_UNKNOWN) { in xfer_context_pre_process()
150 snd_pcm_format_name(xfer->sample_format), in xfer_context_pre_process()
195 xfer->sample_format = *format; in xfer_context_pre_process()
Dcontainer-raw.c17 snd_pcm_format_t *sample_format, in raw_builder_pre_process() argument
28 snd_pcm_format_t *sample_format, in raw_parser_pre_process() argument
Dxfer-options.c128 xfer->sample_format = snd_pcm_format_value(xfer->sample_format_literal); in verify_sample_format()
129 if (xfer->sample_format != SND_PCM_FORMAT_UNKNOWN) in verify_sample_format()
158 xfer->sample_format = entry->be_format; in verify_sample_format()
160 xfer->sample_format = entry->le_format; in verify_sample_format()
227 xfer->sample_format = SND_PCM_FORMAT_UNKNOWN; in validate_options()
Dxfer-libasound-timer-mmap.c342 snd_pcm_format_t sample_format; in fill_buffer_with_zero_samples() local
356 err = snd_pcm_hw_params_get_format(state->hw_params, &sample_format); in fill_buffer_with_zero_samples()
362 sample_format); in fill_buffer_with_zero_samples()
Dxfer.h47 snd_pcm_format_t sample_format; member
/third_party/gstreamer/gstplugins_bad/sys/magicleap/
Dmlaudiowrapper.cpp57 switch (format->sample_format) { in convert_buffer_format()
59 ret.sample_format = AudioSampleFormat::Integer; in convert_buffer_format()
62 ret.sample_format = AudioSampleFormat::Float; in convert_buffer_format()
66 ret.sample_format = (AudioSampleFormat)format->sample_format; in convert_buffer_format()
/third_party/gstreamer/gstplugins_bad/ext/closedcaption/
Dbit_slicer.h117 vbi_pixfmt sample_format,
157 vbi_pixfmt sample_format; member
Dbit_slicer.c543 "Function not implemented for pixfmt %u.", bs->sample_format); in vbi3_bit_slicer_slice_with_points()
650 vbi_pixfmt sample_format, in vbi3_bit_slicer_set_params() argument
692 bs->sample_format = sample_format; in vbi3_bit_slicer_set_params()
704 switch (sample_format) { in vbi3_bit_slicer_set_params()
838 "Unknown sample_format 0x%x.", (unsigned int) sample_format); in vbi3_bit_slicer_set_params()
/third_party/mesa3d/src/gallium/drivers/v3d/
Dv3dx_state.c1024 enum pipe_format sample_format = cso->format; in v3d_create_sampler_view() local
1025 if (sample_format == PIPE_FORMAT_S8_UINT_Z24_UNORM) in v3d_create_sampler_view()
1026 sample_format = PIPE_FORMAT_X8Z24_UNORM; in v3d_create_sampler_view()
1030 util_format_description(sample_format); in v3d_create_sampler_view()
1032 if (util_format_is_pure_integer(sample_format) && in v3d_create_sampler_view()
1034 int chan = util_format_get_first_non_void_channel(sample_format); in v3d_create_sampler_view()
1035 if (util_format_is_pure_uint(sample_format)) { in v3d_create_sampler_view()
1064 if (v3d_get_tex_return_size(&screen->devinfo, sample_format, in v3d_create_sampler_view()
1066 if (util_format_is_alpha(sample_format)) in v3d_create_sampler_view()
1071 if (util_format_is_luminance_alpha(sample_format)) in v3d_create_sampler_view()
[all …]
/third_party/pulseaudio/src/modules/dbus/
Diface-sample.c163 dbus_uint32_t sample_format = 0; in handle_get_sample_format() local
175 sample_format = s->sample->sample_spec.format; in handle_get_sample_format()
177 pa_dbus_send_basic_variant_reply(conn, msg, DBUS_TYPE_UINT32, &sample_format); in handle_get_sample_format()
295 dbus_uint32_t sample_format = 0; in handle_get_all() local
309 sample_format = s->sample->sample_spec.format; in handle_get_all()
330 …property_handlers[PROPERTY_HANDLER_SAMPLE_FORMAT].property_name, DBUS_TYPE_UINT32, &sample_format); in handle_get_all()
Diface-stream.c294 dbus_uint32_t sample_format = 0; in handle_get_sample_format() local
300 sample_format = (s->type == STREAM_TYPE_PLAYBACK) in handle_get_sample_format()
304 pa_dbus_send_basic_variant_reply(conn, msg, DBUS_TYPE_UINT32, &sample_format); in handle_get_sample_format()
524 dbus_uint32_t sample_format = 0; in handle_get_all() local
548 sample_format = s->sink_input->sample_spec.format; in handle_get_all()
558 sample_format = s->source_output->sample_spec.format; in handle_get_all()
589 …property_handlers[PROPERTY_HANDLER_SAMPLE_FORMAT].property_name, DBUS_TYPE_UINT32, &sample_format); in handle_get_all()
Diface-device.c352 dbus_uint32_t sample_format = 0; in handle_get_sample_format() local
358sample_format = (d->type == PA_DEVICE_TYPE_SINK) ? d->sink->sample_spec.format : d->source->sample… in handle_get_sample_format()
360 pa_dbus_send_basic_variant_reply(conn, msg, DBUS_TYPE_UINT32, &sample_format); in handle_get_sample_format()
806 dbus_uint32_t sample_format = 0; in handle_get_all() local
838 sample_format = d->sink->sample_spec.format; in handle_get_all()
859 sample_format = d->source->sample_spec.format; in handle_get_all()
902 …property_handlers[PROPERTY_HANDLER_SAMPLE_FORMAT].property_name, DBUS_TYPE_UINT32, &sample_format); in handle_get_all()
/third_party/gstreamer/gstplugins_bad/ext/openmpt/
Dgstopenmptdec.c272 openmpt_dec->sample_format = DEFAULT_SAMPLE_FORMAT; in gst_openmpt_dec_init()
512 openmpt_dec->sample_format = DEFAULT_SAMPLE_FORMAT; in gst_openmpt_dec_load_from_buffer()
516 &(openmpt_dec->sample_format), &(openmpt_dec->sample_rate), in gst_openmpt_dec_load_from_buffer()
522 openmpt_dec->sample_format, openmpt_dec->num_channels)) in gst_openmpt_dec_load_from_buffer()
853 fmt_info = gst_audio_format_get_info (openmpt_dec->sample_format); in gst_openmpt_dec_decode()
868 switch (openmpt_dec->sample_format) { in gst_openmpt_dec_decode()
Dgstopenmptdec.h60 GstAudioFormat sample_format; member
/third_party/gstreamer/gstplugins_bad/gst-libs/gst/audio/
Dgstnonstreamaudiodecoder.h395 GstAudioFormat sample_format,
/third_party/ffmpeg/libavfilter/
Daf_aiir.c74 enum AVSampleFormat sample_format; member
109 sample_fmts[0] = s->sample_format; in query_formats()
1474 case 0: s->sample_format = AV_SAMPLE_FMT_DBLP; break; in init()
1475 case 1: s->sample_format = AV_SAMPLE_FMT_FLTP; break; in init()
1476 case 2: s->sample_format = AV_SAMPLE_FMT_S32P; break; in init()
1477 case 3: s->sample_format = AV_SAMPLE_FMT_S16P; break; in init()

12