Home
last modified time | relevance | path

Searched refs:cntrs (Results 1 – 14 of 14) sorted by relevance

/third_party/alsa-utils/axfer/
Dmapper-multiple.c15 struct container_context *cntrs,
23 struct container_context *cntrs, unsigned int cntr_count) in align_to_i() argument
36 cntr = cntrs + i; in align_to_i()
50 struct container_context *cntrs, in align_from_i() argument
62 cntr = cntrs + i; in align_from_i()
75 struct container_context *cntrs, in multiple_pre_process() argument
85 cntr = cntrs + i; in multiple_pre_process()
117 cntr = cntrs + i; in multiple_pre_process()
132 cntr = cntrs + i; in multiple_pre_process()
149 struct container_context *cntrs, in process_containers() argument
[all …]
Dxfer-libasound-irq-rw.c18 struct container_context *cntrs);
59 struct container_context *cntrs) in read_frames() argument
96 &consumed_count, cntrs); in read_frames()
111 struct container_context *cntrs) in r_process_frames_blocking() argument
145 err = read_frames(state, frame_count, avail_count, mapper, cntrs); in r_process_frames_blocking()
159 struct container_context *cntrs) in r_process_frames_nonblocking() argument
191 err = read_frames(state, frame_count, avail_count, mapper, cntrs); in r_process_frames_nonblocking()
204 struct container_context *cntrs) in write_frames() argument
221 closure->cache.buf_ptr, &avail_count, cntrs); in write_frames()
255 struct container_context *cntrs) in w_process_frames_blocking() argument
[all …]
Dsubcmd-transfer.c19 struct container_context *cntrs; member
37 ctx_ptr->cntrs[i].interrupted = true; in handle_unix_signal_for_finish()
153 ctx->cntrs = calloc(count, sizeof(*ctx->cntrs)); in allocate_containers()
154 if (ctx->cntrs == NULL) in allocate_containers()
207 err = container_builder_init(ctx->cntrs + i, ctx->cntr_fds[i], in capture_pre_process()
213 err = container_context_pre_process(ctx->cntrs + i, in capture_pre_process()
261 err = container_parser_init(ctx->cntrs + i, ctx->cntr_fds[i], in playback_pre_process()
277 err = container_context_pre_process(ctx->cntrs + i, &format, in playback_pre_process()
361 frames_per_buffer, ctx->cntrs); in context_pre_process()
402 ctx->cntrs, &frame_count); in context_process_frames()
[all …]
Dmapper-single.c64 struct container_context *cntrs, in single_pre_process() argument
70 if (cntrs->bytes_per_sample != mapper->bytes_per_sample || in single_pre_process()
71 cntrs->samples_per_frame != mapper->samples_per_frame) in single_pre_process()
112 struct container_context *cntrs, in single_muxer_process_frames() argument
127 err = container_context_process_frames(cntrs, src, frame_count); in single_muxer_process_frames()
143 struct container_context *cntrs, in single_demuxer_process_frames() argument
161 return container_context_process_frames(cntrs, dst, frame_count); in single_demuxer_process_frames()
Dmapper.c76 struct container_context *cntrs) in mapper_context_pre_process() argument
85 assert(cntrs); in mapper_context_pre_process()
98 err = mapper->ops->pre_process(mapper, cntrs, mapper->cntr_count); in mapper_context_pre_process()
123 struct container_context *cntrs) in mapper_context_process_frames() argument
129 assert(cntrs); in mapper_context_process_frames()
132 cntrs, mapper->cntr_count); in mapper_context_process_frames()
Dmapper.h55 struct container_context *cntrs);
59 struct container_context *cntrs);
67 struct container_context *cntrs,
71 struct container_context *cntrs,
Dxfer-libasound-irq-mmap.c73 struct container_context *cntrs) in irq_mmap_process_frames() argument
164 cntrs); in irq_mmap_process_frames()
187 struct container_context *cntrs) in irq_mmap_r_process_frames() argument
228 err = irq_mmap_process_frames(state, frame_count, mapper, cntrs); in irq_mmap_r_process_frames()
241 struct container_context *cntrs) in irq_mmap_w_process_frames() argument
255 err = irq_mmap_process_frames(state, frame_count, mapper, cntrs); in irq_mmap_w_process_frames()
Dxfer-libasound-timer-mmap.c122 struct container_context *cntrs) in timer_mmap_process_frames() argument
203 cntrs); in timer_mmap_process_frames()
247 struct container_context *cntrs) in timer_mmap_r_process_frames() argument
277 cntrs); in timer_mmap_r_process_frames()
377 struct container_context *cntrs) in timer_mmap_w_process_frames() argument
402 cntrs); in timer_mmap_w_process_frames()
Dxfer-libffado.c38 struct container_context *cntrs);
177 struct container_context *cntrs) in r_process_frames() argument
226 &consumed_count, cntrs); in r_process_frames()
240 struct container_context *cntrs) in w_process_frames() argument
260 &avail_count, cntrs); in w_process_frames()
477 struct container_context *cntrs) in xfer_libffado_process_frames() argument
490 err = state->process_frames(xfer, frame_count, mapper, cntrs); in xfer_libffado_process_frames()
Dxfer.h69 struct container_context *cntrs,
96 struct container_context *cntrs);
Dxfer.c227 struct container_context *cntrs, in xfer_context_process_frames() argument
232 assert(cntrs); in xfer_context_process_frames()
238 return xfer->ops->process_frames(xfer, frame_count, mapper, cntrs); in xfer_context_process_frames()
Dxfer-libasound.h76 struct container_context *cntrs);
Dxfer-libasound.c761 struct container_context *cntrs) in xfer_libasound_process_frames() argument
769 err = state->ops->process_frames(state, frame_count, mapper, cntrs); in xfer_libasound_process_frames()
/third_party/alsa-utils/axfer/test/
Dmapper-test.c31 struct container_context *cntrs; member
44 struct container_context *cntrs, in test_demuxer() argument
56 cntrs); in test_demuxer()
61 &total_frame_count, cntrs); in test_demuxer()
77 struct container_context *cntrs = trial->cntrs; in test_demux() local
89 err = container_builder_init(cntrs + i, cntr_fds[i], cntr_format, 0); in test_demux()
100 err = container_context_pre_process(cntrs + i, &format, in test_demux()
117 frame_count, cntrs, cntr_count, trial->verbose); in test_demux()
120 container_context_post_process(cntrs + i, &total_frame_count); in test_demux()
125 container_context_destroy(cntrs + i); in test_demux()
[all …]