Home
last modified time | relevance | path

Searched refs:frames_per_second (Results 1 – 16 of 16) sorted by relevance

/third_party/alsa-utils/axfer/
Dcontainer-voc.c83 unsigned int frames_per_second; member
198 uint32_t frames_per_second; member
220 static int build_time_constant(unsigned int frames_per_second, in build_time_constant() argument
230 frames_per_second *= samples_per_frame; in build_time_constant()
233 if (ex_v110_time_consts[i].frames_per_second == in build_time_constant()
234 frames_per_second) in build_time_constant()
238 frames_per_second <= 192000) { in build_time_constant()
241 *code = 65536 - 256000000 / frames_per_second; in build_time_constant()
248 if (v110_time_consts[i].frames_per_second == in build_time_constant()
249 frames_per_second) in build_time_constant()
[all …]
Dxfer.c117 unsigned int *frames_per_second, in xfer_context_pre_process() argument
126 assert(frames_per_second); in xfer_context_pre_process()
139 if (xfer->frames_per_second > 0) in xfer_context_pre_process()
140 *frames_per_second = xfer->frames_per_second; in xfer_context_pre_process()
168 if (*frames_per_second != xfer->frames_per_second) { in xfer_context_pre_process()
170 if (xfer->frames_per_second != 8000) { in xfer_context_pre_process()
174 xfer->frames_per_second, in xfer_context_pre_process()
175 *frames_per_second); in xfer_context_pre_process()
182 frames_per_second, access, in xfer_context_pre_process()
190 assert(*frames_per_second > 0); in xfer_context_pre_process()
[all …]
Dcontainer-au.c56 uint32_t frames_per_second; member
73 unsigned int *frames_per_second, in au_parser_pre_process() argument
105 *frames_per_second = be32toh(header.frames_per_second); in au_parser_pre_process()
120 unsigned int frames_per_second; member
126 unsigned int frames_per_second, in build_container_header() argument
133 header->frames_per_second = htobe32(frames_per_second); in build_container_header()
143 build_container_header(state, &header, state->frames_per_second, in write_container_header()
152 unsigned int *frames_per_second, in au_builder_pre_process() argument
167 status->frames_per_second = *frames_per_second; in au_builder_pre_process()
Dcontainer-riff-wave.c102 uint32_t frames_per_second; member
120 unsigned int frames_per_second; member
191 state->frames_per_second = be32toh(subchunk->frames_per_second); in parse_wave_fmt_subchunk()
200 state->frames_per_second = le32toh(subchunk->frames_per_second); in parse_wave_fmt_subchunk()
209 state->bytes_per_frame * state->frames_per_second) in parse_wave_fmt_subchunk()
346 unsigned int *frames_per_second, in wave_parser_pre_process() argument
360 state->samples_per_frame / state->frames_per_second; in wave_parser_pre_process()
383 *frames_per_second = state->frames_per_second; in wave_parser_pre_process()
395 unsigned int frames_per_second; member
431 state->samples_per_frame * state->frames_per_second; in build_wave_format_subchunk()
[all …]
Dxfer-options.c117 unsigned int frames_per_second; in verify_sample_format() member
137 if (xfer->frames_per_second > 0 && in verify_sample_format()
138 xfer->frames_per_second != entry->frames_per_second) { in verify_sample_format()
142 entry->literal, entry->frames_per_second); in verify_sample_format()
155 xfer->frames_per_second = entry->frames_per_second; in verify_sample_format()
234 val = xfer->frames_per_second; in validate_options()
235 if (xfer->frames_per_second == 0) in validate_options()
236 xfer->frames_per_second = 8000; in validate_options()
237 if (xfer->frames_per_second < 1000) in validate_options()
238 xfer->frames_per_second *= 1000; in validate_options()
[all …]
Dxfer-libasound.c381 unsigned int frames_per_second, in configure_hw_params() argument
437 if (frames_per_second == 0) { in configure_hw_params()
439 &frames_per_second, NULL); in configure_hw_params()
448 frames_per_second, 0); in configure_hw_params()
452 frames_per_second, snd_strerror(err)); in configure_hw_params()
473 msec = 1000000 * frames_per_buffer / frames_per_second; in configure_hw_params()
489 msec = 1000000 * frames_per_period / frames_per_second; in configure_hw_params()
540 unsigned int *frames_per_second, in retrieve_actual_hw_params() argument
555 err = snd_pcm_hw_params_get_rate(hw_params, frames_per_second, in retrieve_actual_hw_params()
568 unsigned int frames_per_second, in configure_sw_params() argument
[all …]
Dsubcmd-transfer.c171 unsigned int frames_per_second = 0; in capture_pre_process() local
177 &samples_per_frame, &frames_per_second, in capture_pre_process()
215 &frames_per_second, in capture_pre_process()
235 unsigned int frames_per_second = 0; in playback_pre_process() local
270 rate = ctx->xfer.frames_per_second; in playback_pre_process()
274 rate = frames_per_second; in playback_pre_process()
294 frames_per_second = rate; in playback_pre_process()
307 if (rate != frames_per_second) { in playback_pre_process()
324 &samples_per_frame, &frames_per_second, in playback_pre_process()
385 ctx->xfer.frames_per_second); in context_process_frames()
Dcontainer.c285 unsigned int *frames_per_second, in container_context_pre_process() argument
295 assert(frames_per_second); in container_context_pre_process()
303 frames_per_second, &byte_count); in container_context_pre_process()
312 *samples_per_frame == 0 || *frames_per_second == 0) { in container_context_pre_process()
323 assert(*frames_per_second > 0); in container_context_pre_process()
328 cntr->frames_per_second = *frames_per_second; in container_context_pre_process()
346 cntr->frames_per_second); in container_context_pre_process()
Dxfer-libffado.c300 unsigned int frames_per_second) in open_handle() argument
328 options.sample_rate = frames_per_second; in open_handle()
390 unsigned int *frames_per_second, in xfer_libffado_pre_process() argument
413 if (*frames_per_second == 0) in xfer_libffado_pre_process()
414 *frames_per_second = 48000; in xfer_libffado_pre_process()
416 if (*frames_per_second < 32000 || *frames_per_second > 192000) { in xfer_libffado_pre_process()
423 err = open_handle(xfer, *frames_per_second); in xfer_libffado_pre_process()
Dcontainer.h55 unsigned int frames_per_second; member
71 unsigned int *frames_per_second,
85 unsigned int *frames_per_second,
Dxfer.h40 unsigned int frames_per_second; member
64 unsigned int *frames_per_second,
90 unsigned int *frames_per_second,
Dcontainer-raw.c19 unsigned int *frames_per_second, in raw_builder_pre_process() argument
30 unsigned int *frames_per_second, in raw_parser_pre_process() argument
Dxfer-libasound-timer-mmap.c17 unsigned int frames_per_second; member
56 &layout->frames_per_second, NULL); in timer_mmap_pre_process()
166 layout->frames_per_second - 1) / in timer_mmap_process_frames()
167 layout->frames_per_second; in timer_mmap_process_frames()
/third_party/alsa-utils/axfer/test/
Dmapper-test.c72 unsigned int frames_per_second, in test_demux() argument
94 rate = frames_per_second; in test_demux()
106 assert(rate == frames_per_second); in test_demux()
163 unsigned int frames_per_second, in test_mux() argument
184 rate = frames_per_second; in test_mux()
196 assert(rate == frames_per_second); in test_mux()
223 unsigned int frames_per_second, void *frame_buffer, in test_mapper() argument
254 frames_per_second, frames_per_buffer, frame_buffer, in test_mapper()
268 frames_per_second, frames_per_buffer, check_buffer, in test_mapper()
282 unsigned int frames_per_second, void *frame_buffer, in test_i_buf() argument
[all …]
Dcontainer-test.c41 unsigned int frames_per_second, in test_builder() argument
58 rate = frames_per_second; in test_builder()
65 assert(rate == frames_per_second); in test_builder()
87 unsigned int frames_per_second, in test_parser() argument
103 rate = frames_per_second; in test_parser()
110 assert(rate == frames_per_second); in test_parser()
141 unsigned int frames_per_second; in callback() local
158 frames_per_second = entries[i]; in callback()
172 frames_per_second, frame_buffer, frame_count, in callback()
182 sample_format, samples_per_frame, frames_per_second, in callback()
/third_party/ffmpeg/libavformat/
Dgxf.c34 AVRational frames_per_second; member
259 si->frames_per_second = (AVRational){0, 0}; in gxf_track_tags()
272 si->frames_per_second = fps_tag2avr(value); in gxf_track_tags()
385 main_timebase.num = si->frames_per_second.den; in gxf_header()
386 main_timebase.den = si->frames_per_second.num * 2; in gxf_header()