/packages/modules/Bluetooth/system/embdrv/encoder_for_aptxhd/src/ |
D | QuantiseDifference.c | 22 int32_t qCode = 0; in BsearchLL() local 31 qCode = 128; in BsearchLL() 34 tmp_acc.s64 = (int64_t)lc_delta * (int64_t)dqbitTablePrt[qCode + 64]; in BsearchLL() 38 qCode += 64; in BsearchLL() 41 tmp_acc.s64 = (int64_t)lc_delta * (int64_t)dqbitTablePrt[qCode + 32]; in BsearchLL() 45 qCode += 32; in BsearchLL() 48 tmp_acc.s64 = (int64_t)lc_delta * (int64_t)dqbitTablePrt[qCode + 16]; in BsearchLL() 52 qCode += 16; in BsearchLL() 54 tmp_acc.s64 = (int64_t)lc_delta * (int64_t)dqbitTablePrt[qCode + 8]; in BsearchLL() 58 qCode += 8; in BsearchLL() [all …]
|
D | CodewordPacker.h | 43 (EncoderDataPt->m_qdata[0].qCode ^ EncoderDataPt->m_qdata[1].qCode ^ in packCodeword() 44 EncoderDataPt->m_qdata[2].qCode ^ EncoderDataPt->m_qdata[3].qCode ^ in packCodeword() 47 hhCode = (EncoderDataPt->m_qdata[HH].qCode & 0x1eL) | syncContribution; in packCodeword() 51 codeword = (EncoderDataPt->m_qdata[LL].qCode & 0x1ff) | in packCodeword() 52 ((EncoderDataPt->m_qdata[LH].qCode & 0x3f) << 9) | in packCodeword() 53 ((EncoderDataPt->m_qdata[HL].qCode & 0xf) << 15) | (hhCode << 19); in packCodeword()
|
D | AptxEncoder.h | 46 qCodes[0] = EncoderDataPt->m_qdata[0].qCode; in aptxhdEncode() 49 qCodes[1] = EncoderDataPt->m_qdata[1].qCode; in aptxhdEncode() 52 qCodes[2] = EncoderDataPt->m_qdata[2].qCode; in aptxhdEncode() 55 qCodes[3] = EncoderDataPt->m_qdata[3].qCode; in aptxhdEncode() 84 processSubband_HDLL(EncoderDataPt->m_qdata[0].qCode, in aptxhdPostEncode() 89 processSubband_HD(EncoderDataPt->m_qdata[1].qCode, in aptxhdPostEncode() 94 processSubband_HDHL(EncoderDataPt->m_qdata[2].qCode, in aptxhdPostEncode() 99 processSubband_HD(EncoderDataPt->m_qdata[3].qCode, in aptxhdPostEncode()
|
D | ProcessSubband.c | 22 void processSubband_HD(const int32_t qCode, const int32_t ditherVal, in processSubband_HD() argument 25 invertQuantisation(qCode, ditherVal, iqDataPt); in processSubband_HD() 37 void processSubband_HDLL(const int32_t qCode, const int32_t ditherVal, in processSubband_HDLL() argument 41 invertQuantisation(qCode, ditherVal, iqDataPt); in processSubband_HDLL() 53 void processSubband_HDHL(const int32_t qCode, const int32_t ditherVal, in processSubband_HDHL() argument 57 invertQuantisationHL(qCode, ditherVal, iqDataPt); in processSubband_HDHL()
|
D | SubbandFunctionsCommon.h | 30 void processSubband_HD(const int32_t qCode, const int32_t ditherVal, 32 void processSubband_HDLL(const int32_t qCode, const int32_t ditherVal, 35 void processSubband_HDHL(const int32_t qCode, const int32_t ditherVal, 40 XBT_INLINE_ void invertQuantisation(const int32_t qCode, in invertQuantisation() argument 60 index = qCode; in invertQuantisation() 61 if (qCode < 0) { in invertQuantisation() 66 if (qCode < 0) { in invertQuantisation() 138 XBT_INLINE_ void invertQuantisationHL(const int32_t qCode, in invertQuantisationHL() argument 158 index = qCode; in invertQuantisationHL() 159 if (qCode < 0) { in invertQuantisationHL() [all …]
|
D | SyncInserter.h | 68 xorCodeLsbs = ((rightQuant[LL]->qCode) & 0x1) ^ in xbtEncinsertSync() 76 xorCodeLsbs ^= (rightQuant[i]->qCode) & 0x1; in xbtEncinsertSync() 95 xorCodeLsbs ^= (leftQuant[i]->qCode) & 0x1; in xbtEncinsertSync() 119 minPenaltyQuantiser->qCode = minPenaltyQuantiser->altQcode; in xbtEncinsertSync()
|
D | AptxParameters.h | 181 int32_t qCode; member
|
D | aptXHDbtenc.c | 98 encode_dat->m_qdata[i].qCode = 0L; in aptxhdbtenc_init()
|
/packages/modules/Bluetooth/system/embdrv/encoder_for_aptx/src/ |
D | CodewordPacker.h | 43 (EncoderDataPt->m_qdata[0].qCode ^ EncoderDataPt->m_qdata[1].qCode ^ in packCodeword() 44 EncoderDataPt->m_qdata[2].qCode ^ EncoderDataPt->m_qdata[3].qCode ^ in packCodeword() 47 hhCode = (EncoderDataPt->m_qdata[HH].qCode & 0x6) | syncContribution; in packCodeword() 51 codeword = (EncoderDataPt->m_qdata[LL].qCode & 0x7fL) | in packCodeword() 52 ((EncoderDataPt->m_qdata[LH].qCode & 0xfL) << 7) | in packCodeword() 53 ((EncoderDataPt->m_qdata[HL].qCode & 0x3L) << 11) | in packCodeword() 56 codeword = (EncoderDataPt->m_qdata[LL].qCode & 0x7fL) | in packCodeword() 57 ((EncoderDataPt->m_qdata[LH].qCode & 0xfL) << 7) | in packCodeword() 58 ((EncoderDataPt->m_qdata[HL].qCode & 0x3L) << 11) | in packCodeword() 59 ((EncoderDataPt->m_qdata[HH].qCode & 0x7L) << 13); in packCodeword()
|
D | QuantiseDifference.c | 23 int32_t qCode; in BsearchLL() local 28 qCode = 0; in BsearchLL() 34 qCode = 32; in BsearchLL() 37 tmp_acc.s64 = (int64_t)lc_delta * (int64_t)dqbitTablePrt[qCode + 16]; in BsearchLL() 41 qCode += 16; in BsearchLL() 43 tmp_acc.s64 = (int64_t)lc_delta * (int64_t)dqbitTablePrt[qCode + 8]; in BsearchLL() 47 qCode += 8; in BsearchLL() 50 tmp_acc.s64 = (int64_t)lc_delta * (int64_t)dqbitTablePrt[qCode + 4]; in BsearchLL() 54 qCode += 4; in BsearchLL() 57 tmp_acc.s64 = (int64_t)lc_delta * (int64_t)dqbitTablePrt[qCode + 2]; in BsearchLL() [all …]
|
D | ProcessSubband.c | 22 void processSubband(const int32_t qCode, const int32_t ditherVal, in processSubband() argument 25 invertQuantisation(qCode, ditherVal, iqDataPt); in processSubband() 37 void processSubbandLL(const int32_t qCode, const int32_t ditherVal, in processSubbandLL() argument 40 invertQuantisation(qCode, ditherVal, iqDataPt); in processSubbandLL() 52 void processSubbandHL(const int32_t qCode, const int32_t ditherVal, in processSubbandHL() argument 55 invertQuantisationHL(qCode, ditherVal, iqDataPt); in processSubbandHL()
|
D | SyncInserter.h | 68 xorCodeLsbs = ((rightQuant[LL]->qCode) & 0x1) ^ in xbtEncinsertSync() 76 xorCodeLsbs ^= (rightQuant[i]->qCode) & 0x1; in xbtEncinsertSync() 95 xorCodeLsbs ^= (leftQuant[i]->qCode) & 0x1; in xbtEncinsertSync() 119 minPenaltyQuantiser->qCode = minPenaltyQuantiser->altQcode; in xbtEncinsertSync() 166 xorCodeLsbs ^= (leftQuant[i]->qCode) & 0x1; in xbtEncinsertSyncDualMono() 190 minPenaltyQuantiser->qCode = minPenaltyQuantiser->altQcode; in xbtEncinsertSyncDualMono() 201 xorCodeLsbs ^= (rightQuant[i]->qCode) & 0x1; in xbtEncinsertSyncDualMono() 225 minPenaltyQuantiser->qCode = minPenaltyQuantiser->altQcode; in xbtEncinsertSyncDualMono()
|
D | AptxEncoder.h | 47 qCodes[i] = EncoderDataPt->m_qdata[i].qCode; in aptxEncode() 77 processSubbandLL(EncoderDataPt->m_qdata[0].qCode, in aptxPostEncode() 82 processSubband(EncoderDataPt->m_qdata[1].qCode, in aptxPostEncode() 87 processSubbandHL(EncoderDataPt->m_qdata[2].qCode, in aptxPostEncode() 92 processSubband(EncoderDataPt->m_qdata[3].qCode, in aptxPostEncode()
|
D | SubbandFunctionsCommon.h | 30 void processSubband(const int32_t qCode, const int32_t ditherVal, 32 void processSubbandLL(const int32_t qCode, const int32_t ditherVal, 34 void processSubbandHL(const int32_t qCode, const int32_t ditherVal, 38 XBT_INLINE_ void invertQuantisation(const int32_t qCode, in invertQuantisation() argument 59 index = qCode; in invertQuantisation() 60 if (qCode < 0) { in invertQuantisation() 65 if (qCode < 0) { in invertQuantisation() 139 XBT_INLINE_ void invertQuantisationHL(const int32_t qCode, in invertQuantisationHL() argument 160 index = qCode; in invertQuantisationHL() 161 if (qCode < 0) { in invertQuantisationHL() [all …]
|
D | AptxParameters.h | 185 int32_t qCode; member
|
D | aptXbtenc.c | 111 encode_dat->m_qdata[i].qCode = 0L; in aptxbtenc_init()
|