Searched refs:pipeline (Results 1 – 5 of 5) sorted by relevance
/device/google/dragon/audio/hal/ |
D | cras_dsp_pipeline.h | 32 struct pipeline; 42 struct pipeline *cras_dsp_pipeline_create(struct ini* ini, 47 void cras_dsp_pipeline_free(struct pipeline *pipeline); 55 int cras_dsp_pipeline_load(struct pipeline *pipeline); 63 int cras_dsp_pipeline_instantiate(struct pipeline *pipeline, int sample_rate); 68 void cras_dsp_pipeline_deinstantiate(struct pipeline *pipeline); 75 int cras_dsp_pipeline_get_delay(struct pipeline *pipeline); 78 int cras_dsp_pipeline_get_num_input_channels(struct pipeline *pipeline); 79 int cras_dsp_pipeline_get_num_output_channels(struct pipeline *pipeline); 90 float *cras_dsp_pipeline_get_source_buffer(struct pipeline *pipeline, [all …]
|
D | cras_dsp_pipeline.c | 100 struct pipeline { struct 277 static int topological_sort(struct pipeline *pipeline, in topological_sort() argument 287 struct ini *ini = pipeline->ini; in topological_sort() 304 if (topological_sort(pipeline, env, flow->from, visited) < 0) in topological_sort() 312 instance = ARRAY_APPEND_ZERO(&pipeline->instances); in topological_sort() 323 if (find_origin_port(ini, &pipeline->instances, plugin, in topological_sort() 340 &pipeline->instances, origin, in topological_sort() 360 &pipeline->instances, origin, in topological_sort() 401 struct pipeline *cras_dsp_pipeline_create(struct ini *ini, in cras_dsp_pipeline_create() 405 struct pipeline *pipeline; in cras_dsp_pipeline_create() local [all …]
|
D | cras_dsp.c | 26 struct pipeline *pipeline; member 46 static struct pipeline *prepare_pipeline(struct cras_dsp_context *ctx) in prepare_pipeline() 48 struct pipeline *pipeline; in prepare_pipeline() local 54 pipeline = cras_dsp_pipeline_create(ini, &ctx->env, purpose); in prepare_pipeline() 56 if (pipeline) { in prepare_pipeline() 63 if (cras_dsp_pipeline_load(pipeline) != 0) { in prepare_pipeline() 68 if (cras_dsp_pipeline_instantiate(pipeline, ctx->sample_rate) != 0) { in prepare_pipeline() 73 if (cras_dsp_pipeline_get_sample_rate(pipeline) != ctx->sample_rate) { in prepare_pipeline() 75 cras_dsp_pipeline_get_sample_rate(pipeline), in prepare_pipeline() 80 return pipeline; in prepare_pipeline() [all …]
|
D | cras_dsp.h | 55 struct pipeline *cras_dsp_get_pipeline(struct cras_dsp_context *ctx);
|
D | audio_hw.c | 2042 struct pipeline *pipeline; in apply_dsp() local 2048 pipeline = cras_dsp_get_pipeline(ctx); in apply_dsp() 2049 if (!pipeline) in apply_dsp() 2052 cras_dsp_pipeline_apply(pipeline, in apply_dsp()
|