/third_party/alsa-utils/axfer/ |
H A D | mapper-multiple.c | 16 unsigned int cntr_count); 18 unsigned int cntr_count; member 23 struct container_context *cntrs, unsigned int cntr_count) in align_to_i() 34 for (i = 0; i < cntr_count; ++i) { in align_to_i() 41 dst_pos = bytes_per_sample * (cntr_count * j + i); in align_to_i() 51 unsigned int cntr_count) in align_from_i() 60 for (i = 0; i < cntr_count; ++i) { in align_from_i() 66 src_pos = bytes_per_sample * (cntr_count * j + i); in align_from_i() 76 unsigned int cntr_count) in multiple_pre_process() 84 for (i = 0; i < cntr_count; in multiple_pre_process() 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 D | mapper.c | 26 enum mapper_type type, unsigned int cntr_count, in mapper_context_init() 32 assert(cntr_count > 0); in mapper_context_init() 40 if (cntr_count == 1) { in mapper_context_init() 48 if (cntr_count == 1) { in mapper_context_init() 65 mapper->cntr_count = cntr_count; in mapper_context_init() 90 samples_per_frame != mapper->cntr_count) in mapper_context_pre_process() 98 err = mapper->ops->pre_process(mapper, cntrs, mapper->cntr_count); in mapper_context_pre_process() 132 cntrs, mapper->cntr_count); in mapper_context_process_frames() 25 mapper_context_init(struct mapper_context *mapper, enum mapper_type type, unsigned int cntr_count, unsigned int verbose) mapper_context_init() argument
|
H A D | subcmd-transfer.c | 20 unsigned int cntr_count; member 36 for (i = 0; i < ctx_ptr->cntr_count; ++i) in handle_unix_signal_for_finish() 156 ctx->cntr_count = count; in allocate_containers() 187 if (ctx->cntr_count > 1) in capture_pre_process() 193 for (i = 0; i < ctx->cntr_count; ++i) { in capture_pre_process() 244 for (i = 0; i < ctx->cntr_count; ++i) { in playback_pre_process() 319 if (ctx->cntr_count > 1) in playback_pre_process() 320 samples_per_frame = ctx->cntr_count; in playback_pre_process() 350 err = mapper_context_init(&ctx->mapper, mapper_type, ctx->cntr_count, in context_pre_process() 412 for (i = 0; i < ctx->cntr_count; in context_process_frames() [all...] |
H A D | mapper.h | 36 unsigned int cntr_count; member 48 enum mapper_type type, unsigned int cntr_count, 68 unsigned int cntr_count); 72 unsigned int cntr_count);
|
H A D | mapper-single.c | 65 unsigned int cntr_count ATTRIBUTE_UNUSED) in single_pre_process() 113 unsigned int cntr_count ATTRIBUTE_UNUSED) in single_muxer_process_frames() 144 unsigned int cntr_count ATTRIBUTE_UNUSED) in single_demuxer_process_frames()
|
/third_party/alsa-utils/axfer/test/ |
H A D | mapper-test.c | 45 unsigned int cntr_count, bool verbose) in test_demuxer() 50 err = mapper_context_init(mapper, MAPPER_TYPE_DEMUXER, cntr_count, in test_demuxer() 75 int *cntr_fds, unsigned int cntr_count) in test_demux() 84 for (i = 0; i < cntr_count; ++i) { in test_demux() 96 if (cntr_count > 1) in test_demux() 108 if (cntr_count > 1) in test_demux() 117 frame_count, cntrs, cntr_count, trial->verbose); in test_demux() 119 for (i = 0; i < cntr_count; ++i) { in test_demux() 124 for (i = 0; i < cntr_count; ++i) in test_demux() 136 unsigned int cntr_count, boo in test_muxer() 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 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 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 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 [all...] |