Searched refs:cpd (Results 1 – 5 of 5) sorted by relevance
/sof-2.7.6/src/audio/codec_adapter/codec/ |
D | passthrough.c | 29 codec->cpd.in_buff = rballoc(0, SOF_MEM_CAPS_RAM, cd->period_bytes); in passthrough_codec_prepare() 30 if (!codec->cpd.in_buff) { in passthrough_codec_prepare() 34 codec->cpd.in_buff_size = cd->period_bytes; in passthrough_codec_prepare() 36 codec->cpd.out_buff = rballoc(0, SOF_MEM_CAPS_RAM, cd->period_bytes); in passthrough_codec_prepare() 37 if (!codec->cpd.out_buff) { in passthrough_codec_prepare() 39 rfree(codec->cpd.in_buff); in passthrough_codec_prepare() 42 codec->cpd.out_buff_size = cd->period_bytes; in passthrough_codec_prepare() 53 codec->cpd.produced = 0; in passthrough_codec_init_process() 54 codec->cpd.consumed = 0; in passthrough_codec_init_process() 55 codec->cpd.init_done = 1; in passthrough_codec_init_process() [all …]
|
D | cadence.c | 107 codec->cpd.init_done = 0; in cadence_codec_init() 296 codec->cpd.in_buff = ptr; in init_memory_tables() 297 codec->cpd.in_buff_size = mem_size; in init_memory_tables() 300 codec->cpd.out_buff = ptr; in init_memory_tables() 301 codec->cpd.out_buff_size = mem_size; in init_memory_tables() 320 if (codec->cpd.in_buff) in init_memory_tables() 321 codec_free_memory(dev, codec->cpd.in_buff); in init_memory_tables() 322 if (codec->cpd.out_buff) in init_memory_tables() 323 codec_free_memory(dev, codec->cpd.out_buff); in init_memory_tables() 355 API_CALL(cd, XA_API_CMD_SET_INPUT_BYTES, 0, &codec->cpd.avail, ret); in cadence_codec_init_process() [all …]
|
D | waves.c | 405 codec->cpd.in_buff = waves_codec->i_buffer; in waves_effect_buffers() 406 codec->cpd.in_buff_size = waves_codec->buffer_bytes; in waves_effect_buffers() 407 codec->cpd.out_buff = waves_codec->o_buffer; in waves_effect_buffers() 408 codec->cpd.out_buff_size = waves_codec->buffer_bytes; in waves_effect_buffers() 662 codec->cpd.produced = 0; in waves_codec_init_process() 663 codec->cpd.consumed = 0; in waves_codec_init_process() 664 codec->cpd.init_done = 1; in waves_codec_init_process() 686 if (codec->cpd.avail != waves_codec->buffer_bytes) { in waves_codec_process() 688 codec->cpd.avail, waves_codec->buffer_bytes); in waves_codec_process() 689 num_input_samples = codec->cpd.avail / in waves_codec_process() [all …]
|
/sof-2.7.6/src/audio/codec_adapter/ |
D | codec_adapter.c | 226 if (codec->cpd.in_buff_size != cd->period_bytes) { in codec_adapter_prepare() 227 if (codec->cpd.in_buff_size > cd->period_bytes) { in codec_adapter_prepare() 228 buff_periods = (codec->cpd.in_buff_size % cd->period_bytes) ? in codec_adapter_prepare() 229 (codec->cpd.in_buff_size / cd->period_bytes) + 2 : in codec_adapter_prepare() 230 (codec->cpd.in_buff_size / cd->period_bytes) + 1; in codec_adapter_prepare() 232 buff_periods = (cd->period_bytes % codec->cpd.in_buff_size) ? in codec_adapter_prepare() 233 (cd->period_bytes / codec->cpd.in_buff_size) + 2 : in codec_adapter_prepare() 234 (cd->period_bytes / codec->cpd.in_buff_size) + 1; in codec_adapter_prepare() 243 buff_size = MAX(cd->period_bytes, codec->cpd.out_buff_size) * buff_periods; in codec_adapter_prepare() 292 const struct codec_processing_data *cpd, in codec_adapter_copy_from_source_to_lib() argument [all …]
|
/sof-2.7.6/src/include/sof/audio/codec_adapter/codec/ |
D | generic.h | 220 struct codec_processing_data cpd; /**< shared data comp <-> codec */ member
|