Searched refs:p_ie (Results 1 – 5 of 5) sorted by relevance
100 const tA2DP_APTX_HD_CIE* p_ie, in A2DP_BuildInfoAptxHd() argument102 if (p_ie == NULL || p_result == NULL) { in A2DP_BuildInfoAptxHd()109 *p_result++ = (uint8_t)(p_ie->vendorId & 0x000000FF); in A2DP_BuildInfoAptxHd()110 *p_result++ = (uint8_t)((p_ie->vendorId & 0x0000FF00) >> 8); in A2DP_BuildInfoAptxHd()111 *p_result++ = (uint8_t)((p_ie->vendorId & 0x00FF0000) >> 16); in A2DP_BuildInfoAptxHd()112 *p_result++ = (uint8_t)((p_ie->vendorId & 0xFF000000) >> 24); in A2DP_BuildInfoAptxHd()113 *p_result++ = (uint8_t)(p_ie->codecId & 0x00FF); in A2DP_BuildInfoAptxHd()114 *p_result++ = (uint8_t)((p_ie->codecId & 0xFF00) >> 8); in A2DP_BuildInfoAptxHd()115 *p_result++ = p_ie->sampleRate | p_ie->channelMode; in A2DP_BuildInfoAptxHd()116 *p_result++ = p_ie->acl_sprint_reserved0; in A2DP_BuildInfoAptxHd()[all …]
126 const tA2DP_SBC_CIE* p_ie, in A2DP_BuildInfoSbc() argument128 if (p_ie == NULL || p_result == NULL || in A2DP_BuildInfoSbc()129 (p_ie->samp_freq & ~A2DP_SBC_IE_SAMP_FREQ_MSK) || in A2DP_BuildInfoSbc()130 (p_ie->ch_mode & ~A2DP_SBC_IE_CH_MD_MSK) || in A2DP_BuildInfoSbc()131 (p_ie->block_len & ~A2DP_SBC_IE_BLOCKS_MSK) || in A2DP_BuildInfoSbc()132 (p_ie->num_subbands & ~A2DP_SBC_IE_SUBBAND_MSK) || in A2DP_BuildInfoSbc()133 (p_ie->alloc_method & ~A2DP_SBC_IE_ALLOC_MD_MSK) || in A2DP_BuildInfoSbc()134 (p_ie->min_bitpool > p_ie->max_bitpool) || in A2DP_BuildInfoSbc()135 (p_ie->min_bitpool < A2DP_SBC_IE_MIN_BITPOOL) || in A2DP_BuildInfoSbc()136 (p_ie->min_bitpool > A2DP_SBC_IE_MAX_BITPOOL) || in A2DP_BuildInfoSbc()[all …]
93 const tA2DP_APTX_CIE* p_ie, in A2DP_BuildInfoAptx() argument95 if (p_ie == NULL || p_result == NULL) { in A2DP_BuildInfoAptx()102 *p_result++ = (uint8_t)(p_ie->vendorId & 0x000000FF); in A2DP_BuildInfoAptx()103 *p_result++ = (uint8_t)((p_ie->vendorId & 0x0000FF00) >> 8); in A2DP_BuildInfoAptx()104 *p_result++ = (uint8_t)((p_ie->vendorId & 0x00FF0000) >> 16); in A2DP_BuildInfoAptx()105 *p_result++ = (uint8_t)((p_ie->vendorId & 0xFF000000) >> 24); in A2DP_BuildInfoAptx()106 *p_result++ = (uint8_t)(p_ie->codecId & 0x00FF); in A2DP_BuildInfoAptx()107 *p_result++ = (uint8_t)((p_ie->codecId & 0xFF00) >> 8); in A2DP_BuildInfoAptx()108 *p_result++ = p_ie->sampleRate | p_ie->channelMode; in A2DP_BuildInfoAptx()119 static tA2DP_STATUS A2DP_ParseInfoAptx(tA2DP_APTX_CIE* p_ie, in A2DP_ParseInfoAptx() argument[all …]
143 const tA2DP_AAC_CIE* p_ie, in A2DP_BuildInfoAac() argument145 if (p_ie == NULL || p_result == NULL) { in A2DP_BuildInfoAac()154 if (p_ie->objectType == 0) return A2DP_INVALID_PARAMS; in A2DP_BuildInfoAac()155 *p_result++ = p_ie->objectType; in A2DP_BuildInfoAac()158 if (p_ie->sampleRate == 0) return A2DP_INVALID_PARAMS; in A2DP_BuildInfoAac()159 *p_result++ = (uint8_t)(p_ie->sampleRate & A2DP_AAC_SAMPLING_FREQ_MASK0); in A2DP_BuildInfoAac()160 *p_result = (uint8_t)((p_ie->sampleRate & A2DP_AAC_SAMPLING_FREQ_MASK1) >> 8); in A2DP_BuildInfoAac()163 if (p_ie->channelMode == 0) return A2DP_INVALID_PARAMS; in A2DP_BuildInfoAac()164 *p_result++ |= (p_ie->channelMode & A2DP_AAC_CHANNEL_MODE_MASK); in A2DP_BuildInfoAac()167 *p_result = (p_ie->variableBitRateSupport & A2DP_AAC_VARIABLE_BIT_RATE_MASK); in A2DP_BuildInfoAac()[all …]
112 const tA2DP_LDAC_CIE* p_ie, in A2DP_BuildInfoLdac() argument114 if (p_ie == NULL || p_result == NULL) { in A2DP_BuildInfoLdac()123 *p_result++ = (uint8_t)(p_ie->vendorId & 0x000000FF); in A2DP_BuildInfoLdac()124 *p_result++ = (uint8_t)((p_ie->vendorId & 0x0000FF00) >> 8); in A2DP_BuildInfoLdac()125 *p_result++ = (uint8_t)((p_ie->vendorId & 0x00FF0000) >> 16); in A2DP_BuildInfoLdac()126 *p_result++ = (uint8_t)((p_ie->vendorId & 0xFF000000) >> 24); in A2DP_BuildInfoLdac()127 *p_result++ = (uint8_t)(p_ie->codecId & 0x00FF); in A2DP_BuildInfoLdac()128 *p_result++ = (uint8_t)((p_ie->codecId & 0xFF00) >> 8); in A2DP_BuildInfoLdac()131 *p_result = (uint8_t)(p_ie->sampleRate & A2DP_LDAC_SAMPLING_FREQ_MASK); in A2DP_BuildInfoLdac()136 *p_result = (uint8_t)(p_ie->channelMode & A2DP_LDAC_CHANNEL_MODE_MASK); in A2DP_BuildInfoLdac()[all …]