Home
last modified time | relevance | path

Searched refs:p_cfg (Results 1 – 3 of 3) sorted by relevance

/external/libldac/src/
Dencode_ldac.c26 CFG *p_cfg = &p_sfinfo->cfg; in alloc_encode_ldac() local
28 int nchs = p_cfg->ch; in alloc_encode_ldac()
29 int nbks = gaa_block_setting_ldac[p_cfg->chconfig_id][1]; in alloc_encode_ldac()
67 CFG *p_cfg = &p_sfinfo->cfg; in init_encode_ldac() local
72 int chconfig_id = p_cfg->chconfig_id; in init_encode_ldac()
81 p_cfg->frame_status = LDAC_FRMSTAT_LEV_0; in init_encode_ldac()
88 p_ab->p_smplrate_id = &p_cfg->smplrate_id; in init_encode_ldac()
113 CFG *p_cfg = &p_sfinfo->cfg; in calc_initial_bits_ldac() local
118 int chconfig_id = p_cfg->chconfig_id; in calc_initial_bits_ldac()
121 nbits_ac = p_cfg->frame_length * LDAC_BYTESIZE / p_cfg->ch; in calc_initial_bits_ldac()
Dldaclib_api.c335 CFG *p_cfg = &hData->sfinfo.cfg; local
367 p_cfg->smplrate_id = smplrate_id;
368 p_cfg->chconfig_id = chconfig_id;
369 p_cfg->frame_length = frame_length;
370 p_cfg->frame_status = frame_status;
372 ldaclib_get_channel(chconfig_id, &p_cfg->ch);
387 CFG *p_cfg = &hData->sfinfo.cfg; local
389 *p_smplrate_id = p_cfg->smplrate_id;
390 *p_chconfig_id = p_cfg->chconfig_id;
391 *p_frame_length = p_cfg->frame_length;
[all …]
Dpack_ldac.c428 CFG *p_cfg = &p_sfinfo->cfg; in pack_raw_data_frame_ldac() local
431 int nbks = gaa_block_setting_ldac[p_cfg->chconfig_id][1]; in pack_raw_data_frame_ldac()
443 pack_frame_alignment_ldac(p_stream, p_loc, p_cfg->frame_length); in pack_raw_data_frame_ldac()
467 CFG *p_cfg = &p_sfinfo->cfg; in pack_null_data_frame_ldac() local
470 int nbks = gaa_block_setting_ldac[p_cfg->chconfig_id][1]; in pack_null_data_frame_ldac()
483 if (p_cfg->frame_length < offset) { in pack_null_data_frame_ldac()
487 pack_frame_alignment_ldac(p_stream, p_loc, p_cfg->frame_length); in pack_null_data_frame_ldac()