Home
last modified time | relevance | path

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

/third_party/alsa-utils/axfer/
H A Dmapper-multiple.c15 struct container_context *cntrs,
23 struct container_context *cntrs, unsigned int cntr_count) in align_to_i()
36 cntr = cntrs + i; in align_to_i()
50 struct container_context *cntrs, in align_from_i()
62 cntr = cntrs + i; in align_from_i()
75 struct container_context *cntrs, in multiple_pre_process()
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()
21 align_to_i(void *frame_buf, unsigned int frame_count, char **src_bufs, unsigned int bytes_per_sample, struct container_context *cntrs, unsigned int cntr_count) align_to_i() argument
48 align_from_i(void *frame_buf, unsigned int frame_count, char **dst_bufs, unsigned int bytes_per_sample, struct container_context *cntrs, unsigned int cntr_count) align_from_i() argument
74 multiple_pre_process(struct mapper_context *mapper, struct container_context *cntrs, unsigned int cntr_count) multiple_pre_process() argument
148 process_containers(char **src_bufs, unsigned int *frame_count, struct container_context *cntrs, unsigned int cntr_count) process_containers() argument
170 multiple_muxer_process_frames(struct mapper_context *mapper, void *frame_buf, unsigned int *frame_count, struct container_context *cntrs, unsigned int cntr_count) multiple_muxer_process_frames() argument
202 multiple_demuxer_process_frames(struct mapper_context *mapper, void *frame_buf, unsigned int *frame_count, struct container_context *cntrs, unsigned int cntr_count) multiple_demuxer_process_frames() argument
[all...]
H A Dxfer-libasound-irq-rw.c18 struct container_context *cntrs);
59 struct container_context *cntrs) in read_frames()
96 &consumed_count, cntrs); in read_frames()
111 struct container_context *cntrs) in r_process_frames_blocking()
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()
191 err = read_frames(state, frame_count, avail_count, mapper, cntrs); in r_process_frames_nonblocking()
204 struct container_context *cntrs) in write_frames()
221 closure->cache.buf_ptr, &avail_count, cntrs); in write_frames()
255 struct container_context *cntrs) in w_process_frames_blocking()
57 read_frames(struct libasound_state *state, unsigned int *frame_count, unsigned int avail_count, struct mapper_context *mapper, struct container_context *cntrs) read_frames() argument
107 r_process_frames_blocking(struct libasound_state *state, snd_pcm_state_t status, unsigned int *frame_count, struct mapper_context *mapper, struct container_context *cntrs) r_process_frames_blocking() argument
155 r_process_frames_nonblocking(struct libasound_state *state, snd_pcm_state_t status, unsigned int *frame_count, struct mapper_context *mapper, struct container_context *cntrs) r_process_frames_nonblocking() argument
201 write_frames(struct libasound_state *state, unsigned int *frame_count, unsigned int avail_count, struct mapper_context *mapper, struct container_context *cntrs) write_frames() argument
251 w_process_frames_blocking(struct libasound_state *state, snd_pcm_state_t status, unsigned int *frame_count, struct mapper_context *mapper, struct container_context *cntrs) w_process_frames_blocking() argument
315 w_process_frames_nonblocking(struct libasound_state *state, snd_pcm_state_t pcm_state ATTRIBUTE_UNUSED, unsigned int *frame_count, struct mapper_context *mapper, struct container_context *cntrs) w_process_frames_nonblocking() argument
409 irq_rw_process_frames(struct libasound_state *state, unsigned int *frame_count, struct mapper_context *mapper, struct container_context *cntrs) irq_rw_process_frames() argument
[all...]
H A 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()
[all...]
H A Dmapper-single.c64 struct container_context *cntrs, in single_pre_process()
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()
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()
161 return container_context_process_frames(cntrs, dst, frame_count); in single_demuxer_process_frames()
63 single_pre_process(struct mapper_context *mapper, struct container_context *cntrs, unsigned int cntr_count ATTRIBUTE_UNUSED) single_pre_process() argument
109 single_muxer_process_frames(struct mapper_context *mapper, void *frame_buf, unsigned int *frame_count, struct container_context *cntrs, unsigned int cntr_count ATTRIBUTE_UNUSED) single_muxer_process_frames() argument
140 single_demuxer_process_frames(struct mapper_context *mapper, void *frame_buf, unsigned int *frame_count, struct container_context *cntrs, unsigned int cntr_count ATTRIBUTE_UNUSED) single_demuxer_process_frames() argument
H A Dmapper.c76 struct container_context *cntrs) in mapper_context_pre_process()
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()
129 assert(cntrs); in mapper_context_process_frames()
132 cntrs, mapper->cntr_count); in mapper_context_process_frames()
71 mapper_context_pre_process(struct mapper_context *mapper, snd_pcm_access_t access, unsigned int bytes_per_sample, unsigned int samples_per_frame, unsigned int frames_per_buffer, struct container_context *cntrs) mapper_context_pre_process() argument
120 mapper_context_process_frames(struct mapper_context *mapper, void *frame_buffer, unsigned int *frame_count, struct container_context *cntrs) mapper_context_process_frames() argument
H A Dmapper.h55 struct container_context *cntrs);
59 struct container_context *cntrs);
67 struct container_context *cntrs,
71 struct container_context *cntrs,
H A Dxfer-libasound-irq-mmap.c73 struct container_context *cntrs) in irq_mmap_process_frames()
164 cntrs); in irq_mmap_process_frames()
187 struct container_context *cntrs) in irq_mmap_r_process_frames()
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()
255 err = irq_mmap_process_frames(state, frame_count, mapper, cntrs); in irq_mmap_w_process_frames()
70 irq_mmap_process_frames(struct libasound_state *state, unsigned int *frame_count, struct mapper_context *mapper, struct container_context *cntrs) irq_mmap_process_frames() argument
184 irq_mmap_r_process_frames(struct libasound_state *state, unsigned *frame_count, struct mapper_context *mapper, struct container_context *cntrs) irq_mmap_r_process_frames() argument
238 irq_mmap_w_process_frames(struct libasound_state *state, unsigned *frame_count, struct mapper_context *mapper, struct container_context *cntrs) irq_mmap_w_process_frames() argument
H A Dxfer-libasound-timer-mmap.c122 struct container_context *cntrs) in timer_mmap_process_frames()
203 cntrs); in timer_mmap_process_frames()
247 struct container_context *cntrs) in timer_mmap_r_process_frames()
277 cntrs); in timer_mmap_r_process_frames()
377 struct container_context *cntrs) in timer_mmap_w_process_frames()
402 cntrs); in timer_mmap_w_process_frames()
119 timer_mmap_process_frames(struct libasound_state *state, unsigned int *frame_count, struct mapper_context *mapper, struct container_context *cntrs) timer_mmap_process_frames() argument
244 timer_mmap_r_process_frames(struct libasound_state *state, unsigned *frame_count, struct mapper_context *mapper, struct container_context *cntrs) timer_mmap_r_process_frames() argument
374 timer_mmap_w_process_frames(struct libasound_state *state, unsigned *frame_count, struct mapper_context *mapper, struct container_context *cntrs) timer_mmap_w_process_frames() argument
H A Dxfer-libffado.c38 struct container_context *cntrs);
177 struct container_context *cntrs) in r_process_frames()
226 &consumed_count, cntrs); in r_process_frames()
240 struct container_context *cntrs) in w_process_frames()
260 &avail_count, cntrs); in w_process_frames()
477 struct container_context *cntrs) in xfer_libffado_process_frames()
490 err = state->process_frames(xfer, frame_count, mapper, cntrs); in xfer_libffado_process_frames()
174 r_process_frames(struct xfer_context *xfer, unsigned int *frame_count, struct mapper_context *mapper, struct container_context *cntrs) r_process_frames() argument
237 w_process_frames(struct xfer_context *xfer, unsigned int *frame_count, struct mapper_context *mapper, struct container_context *cntrs) w_process_frames() argument
474 xfer_libffado_process_frames(struct xfer_context *xfer, unsigned int *frame_count, struct mapper_context *mapper, struct container_context *cntrs) xfer_libffado_process_frames() argument
H A Dxfer.h69 struct container_context *cntrs,
96 struct container_context *cntrs);
H A Dxfer.c227 struct container_context *cntrs, in xfer_context_process_frames()
232 assert(cntrs); in xfer_context_process_frames()
238 return xfer->ops->process_frames(xfer, frame_count, mapper, cntrs); in xfer_context_process_frames()
225 xfer_context_process_frames(struct xfer_context *xfer, struct mapper_context *mapper, struct container_context *cntrs, unsigned int *frame_count) xfer_context_process_frames() argument
H A Dxfer-libasound.h76 struct container_context *cntrs);
H A Dxfer-libasound.c761 struct container_context *cntrs) in xfer_libasound_process_frames()
769 err = state->ops->process_frames(state, frame_count, mapper, cntrs); in xfer_libasound_process_frames()
758 xfer_libasound_process_frames(struct xfer_context *xfer, unsigned int *frame_count, struct mapper_context *mapper, struct container_context *cntrs) xfer_libasound_process_frames() argument
/third_party/alsa-utils/axfer/test/
H A Dmapper-test.c31 struct container_context *cntrs; member
44 struct container_context *cntrs, in test_demuxer()
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 in test_demux()
39 test_demuxer(struct mapper_context *mapper, snd_pcm_access_t access, unsigned int bytes_per_sample, unsigned int samples_per_frame, unsigned int frames_per_buffer, void *frame_buffer, unsigned int frame_count, struct container_context *cntrs, unsigned int cntr_count, bool verbose) test_demuxer() argument
130 test_muxer(struct mapper_context *mapper, snd_pcm_access_t access, unsigned int bytes_per_sample, unsigned int samples_per_frame, unsigned int frames_per_buffer, void *frame_buffer, unsigned int frame_count, struct container_context *cntrs, unsigned int cntr_count, bool verbose) test_muxer() argument
168 struct container_context *cntrs = trial->cntrs; test_mux() local
444 struct container_context *cntrs; main() local
[all...]

Completed in 8 milliseconds