Home
last modified time | relevance | path

Searched refs:sample_format (Results 1 - 19 of 19) sorted by relevance

/third_party/alsa-utils/axfer/test/
H A Dgenerator.c49 snd_pcm_format_t sample_format, in allocate_buf()
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()
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()
95 size = snd_pcm_format_physical_width(sample_format) / 8 * in fill_buf()
108 snd_pcm_format_t sample_format, in fill_vector()
118 snd_pcm_format_physical_width(sample_format) / 8; in fill_vector()
150 snd_pcm_format_t sample_format, in test_frame_count()
154 snd_pcm_format_t sample_format, in test_frame_count()
48 allocate_buf(snd_pcm_access_t access, snd_pcm_format_t sample_format, unsigned int samples_per_frame, unsigned int frame_count) allocate_buf() argument
60 allocate_vector(snd_pcm_access_t access, snd_pcm_format_t sample_format, unsigned int samples_per_frame, unsigned int frame_count) allocate_vector() argument
88 fill_buf(int fd, void *frame_buffer, snd_pcm_access_t access, snd_pcm_format_t sample_format, unsigned int samples_per_frame, unsigned int frame_count) fill_buf() argument
107 fill_vector(int fd, void *frame_buffer, snd_pcm_access_t access, snd_pcm_format_t sample_format, unsigned int samples_per_frame, unsigned int frame_count) fill_vector() argument
148 test_frame_count(struct test_generator *gen, snd_pcm_access_t access, snd_pcm_format_t sample_format, unsigned int samples_per_frame) test_frame_count() argument
199 test_samples_per_frame(struct test_generator *gen, snd_pcm_access_t access, snd_pcm_format_t sample_format) test_samples_per_frame() argument
[all...]
H A Dmapper-test.c70 snd_pcm_format_t sample_format, in test_demux()
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()
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()
253 err = test_demux(trial, access, sample_format, samples_per_fram in test_mapper()
69 test_demux(struct mapper_trial *trial, snd_pcm_access_t access, snd_pcm_format_t sample_format, unsigned int samples_per_frame, unsigned int frames_per_second, unsigned int frames_per_buffer, void *frame_buffer, unsigned int frame_count, int *cntr_fds, unsigned int cntr_count) test_demux() argument
160 test_mux(struct mapper_trial *trial, snd_pcm_access_t access, snd_pcm_format_t sample_format, unsigned int samples_per_frame, unsigned int frames_per_second, unsigned int frames_per_buffer, void *frame_buffer, unsigned int frame_count, int *cntr_fds, unsigned int cntr_count) test_mux() argument
220 test_mapper(struct mapper_trial *trial, snd_pcm_access_t access, snd_pcm_format_t sample_format, unsigned int samples_per_frame, unsigned int frames_per_second, void *frame_buffer, void *check_buffer, unsigned int frame_count, unsigned int cntr_count) test_mapper() argument
279 test_i_buf(struct mapper_trial *trial, snd_pcm_access_t access, snd_pcm_format_t sample_format, unsigned int samples_per_frame, unsigned int frames_per_second, void *frame_buffer, unsigned int frame_count, unsigned int cntr_count) test_i_buf() argument
319 test_vector(struct mapper_trial *trial, snd_pcm_access_t access, snd_pcm_format_t sample_format, unsigned int samples_per_frame, unsigned int frames_per_second, void *frame_buffer, unsigned int frame_count, unsigned int cntr_count) test_vector() argument
378 test_n_buf(struct mapper_trial *trial, snd_pcm_access_t access, snd_pcm_format_t sample_format, unsigned int samples_per_frame, unsigned int frames_per_second, void *frame_buffer, unsigned int frame_count, unsigned int cntr_count) test_n_buf() argument
406 callback(struct test_generator *gen, snd_pcm_access_t access, snd_pcm_format_t sample_format, unsigned int samples_per_frame, void *frame_buffer, unsigned int frame_count) callback() argument
[all...]
H A Dcontainer-test.c39 snd_pcm_format_t sample_format, in test_builder()
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()
101 sample = sample_format; in test_parser()
108 assert(sample == sample_format); in test_parser()
128 snd_pcm_format_t sample_format, in callback()
149 snd_pcm_format_physical_width(sample_format) / 8; in callback()
171 sample_format, samples_per_frame, in callback()
182 sample_format, samples_per_fram in callback()
36 test_builder(struct container_context *cntr, int fd, enum container_format format, snd_pcm_access_t access, snd_pcm_format_t sample_format, unsigned int samples_per_frame, unsigned int frames_per_second, void *frame_buffer, unsigned int frame_count, bool verbose) test_builder() argument
83 test_parser(struct container_context *cntr, int fd, enum container_format format, snd_pcm_access_t access, snd_pcm_format_t sample_format, unsigned int samples_per_frame, unsigned int frames_per_second, void *frame_buffer, unsigned int frame_count, bool verbose) test_parser() argument
127 callback(struct test_generator *gen, snd_pcm_access_t access, snd_pcm_format_t sample_format, unsigned int samples_per_frame, void *frame_buffer, unsigned int frame_count) callback() argument
[all...]
H A Dgenerator.h18 snd_pcm_format_t sample_format,
/third_party/ffmpeg/libavdevice/
H A 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->ch_layout.nb_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()
H A Davdevice.h343 * - sample_format: supported sample formats.
411 enum AVSampleFormat sample_format; member
/third_party/alsa-utils/axfer/
H A 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) / in context_pre_process()
[all...]
H A 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()
H A 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()
H A 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()
H A Dxfer.h47 snd_pcm_format_t sample_format; member
/third_party/pulseaudio/src/modules/bluetooth/
H A Da2dp-codec-gst.c84 gchar *sample_format; in gst_create_caps_from_sample_spec() local
90 sample_format = "S16LE"; in gst_create_caps_from_sample_spec()
93 sample_format = "S24LE"; in gst_create_caps_from_sample_spec()
96 sample_format = "S32LE"; in gst_create_caps_from_sample_spec()
99 sample_format = "F32LE"; in gst_create_caps_from_sample_spec()
119 "format", G_TYPE_STRING, sample_format, in gst_create_caps_from_sample_spec()
/third_party/mesa3d/src/gallium/drivers/v3d/
H A Dv3dx_state.c1077 enum pipe_format sample_format = cso->format; in v3d_create_sampler_view() local
1078 if (sample_format == PIPE_FORMAT_S8_UINT_Z24_UNORM) in v3d_create_sampler_view()
1079 sample_format = PIPE_FORMAT_X8Z24_UNORM; in v3d_create_sampler_view()
1083 util_format_description(sample_format); in v3d_create_sampler_view()
1085 if (util_format_is_pure_integer(sample_format) && in v3d_create_sampler_view()
1087 int chan = util_format_get_first_non_void_channel(sample_format); in v3d_create_sampler_view()
1088 if (util_format_is_pure_uint(sample_format)) { in v3d_create_sampler_view()
1117 if (v3d_get_tex_return_size(&screen->devinfo, sample_format, in v3d_create_sampler_view()
1119 if (util_format_is_alpha(sample_format)) in v3d_create_sampler_view()
1124 if (util_format_is_luminance_alpha(sample_format)) in v3d_create_sampler_view()
[all...]
/third_party/pulseaudio/src/modules/dbus/
H A 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 pa_dbus_append_basic_variant_dict_entry(&dict_iter, property_handlers[PROPERTY_HANDLER_SAMPLE_FORMAT].property_name, DBUS_TYPE_UINT32, &sample_format); in handle_get_all()
H A 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 pa_dbus_append_basic_variant_dict_entry(&dict_iter, property_handlers[PROPERTY_HANDLER_SAMPLE_FORMAT].property_name, DBUS_TYPE_UINT32, &sample_format); in handle_get_all()
H A Diface-device.c352 dbus_uint32_t sample_format = 0; in handle_get_sample_format() local
358 sample_format = (d->type == PA_DEVICE_TYPE_SINK) ? d->sink->sample_spec.format : d->source->sample_spec.format; 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 pa_dbus_append_basic_variant_dict_entry(&dict_iter, property_handlers[PROPERTY_HANDLER_SAMPLE_FORMAT].property_name, DBUS_TYPE_UINT32, &sample_format); in handle_get_all()
H A Diface-core.c204 { "sample_format", "u", "in" },
1281 dbus_uint32_t sample_format; in handle_upload_sample() local
1309 dbus_message_iter_get_basic(&msg_iter, &sample_format); in handle_upload_sample()
1329 if (!pa_sample_format_valid(sample_format)) { in handle_upload_sample()
1383 ss.format = sample_format; in handle_upload_sample()
/third_party/ffmpeg/libavfilter/
H A Daf_aiir.c73 enum AVSampleFormat sample_format; member
104 sample_fmts[0] = s->sample_format; in query_formats()
1463 case 0: s->sample_format = AV_SAMPLE_FMT_DBLP; break; in init()
1464 case 1: s->sample_format = AV_SAMPLE_FMT_FLTP; break; in init()
1465 case 2: s->sample_format = AV_SAMPLE_FMT_S32P; break; in init()
1466 case 3: s->sample_format = AV_SAMPLE_FMT_S16P; break; in init()
/third_party/ltp/testcases/kernel/device-drivers/v4l/user_space/
H A Dtest_VIDIOC_FMT.c327 ".sample_format=0x%X " in do_get_formats()
337 format.fmt.vbi.sample_format, in do_get_formats()
362 //CU_ASSERT_EQUAL(format.fmt.vbi.sample_format, ???); in do_get_formats()
1081 ".sample_format=0x%X " in do_set_formats_enum()
1089 format_max.fmt.vbi.sample_format, in do_set_formats_enum()
1117 //CU_ASSERT_EQUAL(format_max.fmt.vbi.sample_format, ???); in do_set_formats_enum()
1151 ".sample_format=0x%X " in do_set_formats_enum()
1159 format_min.fmt.vbi.sample_format, in do_set_formats_enum()
1187 //CU_ASSERT_EQUAL(format_min.fmt.vbi.sample_format, ???); in do_set_formats_enum()

Completed in 22 milliseconds