Home
last modified time | relevance | path

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

/external/aac/libSBRenc/src/
Dbit_sbr.cpp181 INT payloadBits = 0; in FDKsbrEnc_WriteEnvSingleChannelElement() local
189 payloadBits += encodeSbrHeader(sbrHeaderData, sbrBitstreamData, cmonData); in FDKsbrEnc_WriteEnvSingleChannelElement()
192 payloadBits += encodeSbrData(sbrEnvData, NULL, hParametricStereo, cmonData, in FDKsbrEnc_WriteEnvSingleChannelElement()
195 return payloadBits; in FDKsbrEnc_WriteEnvSingleChannelElement()
215 INT payloadBits = 0; in FDKsbrEnc_WriteEnvChannelPairElement() local
222 payloadBits += encodeSbrHeader(sbrHeaderData, sbrBitstreamData, cmonData); in FDKsbrEnc_WriteEnvChannelPairElement()
225 payloadBits += encodeSbrData(sbrEnvDataLeft, sbrEnvDataRight, in FDKsbrEnc_WriteEnvChannelPairElement()
229 return payloadBits; in FDKsbrEnc_WriteEnvChannelPairElement()
238 INT payloadBits; in FDKsbrEnc_CountSbrChannelPairElement() local
241 payloadBits = FDKsbrEnc_WriteEnvChannelPairElement( in FDKsbrEnc_CountSbrChannelPairElement()
[all …]
/external/aac/libAACenc/src/
Dbitenc.cpp820 INT payloadBits = pExtension->nPayloadBits; in FDKaacEnc_writeExtensionData() local
832 int i, writeBits = payloadBits; in FDKaacEnc_writeExtensionData()
844 extBitsUsed += payloadBits; in FDKaacEnc_writeExtensionData()
848 hBitStream, pExtension->type, pExtension->pPayload, payloadBits); in FDKaacEnc_writeExtensionData()
860 while (payloadBits >= (EL_ID_BITS + FILL_EL_COUNT_BITS)) { in FDKaacEnc_writeExtensionData()
865 payloadBits -= EL_ID_BITS + FILL_EL_COUNT_BITS; in FDKaacEnc_writeExtensionData()
866 if (payloadBits >= 15 * 8) { in FDKaacEnc_writeExtensionData()
867 payloadBits -= FILL_EL_ESC_COUNT_BITS; in FDKaacEnc_writeExtensionData()
873 cnt = fixMin(MAX_FILL_DATA_BYTES, (payloadBits + alignBits) >> 3); in FDKaacEnc_writeExtensionData()
893 cnt = fixMin(cnt * 8, payloadBits); /* convert back to bits */ in FDKaacEnc_writeExtensionData()
[all …]
Daacenc.cpp834 UINT payloadBits = 0; in FDKaacEnc_EncodeFrame() local
839 payloadBits = hAacEnc->ancillaryBitsPerFrame; in FDKaacEnc_EncodeFrame()
844 payloadBits = extPayload[n].dataSize; in FDKaacEnc_EncodeFrame()
847 payloadBits = fixMin(extPayload[n].dataSize, payloadBits); in FDKaacEnc_EncodeFrame()
849 payloadBits = extPayload[n].dataSize; in FDKaacEnc_EncodeFrame()
852 if (payloadBits > 0) { in FDKaacEnc_EncodeFrame()
857 qcOut->extension[idx].nPayloadBits = payloadBits; in FDKaacEnc_EncodeFrame()
866 extPayload[n].dataSize -= payloadBits; in FDKaacEnc_EncodeFrame()