Lines Matching refs:payloadBits
836 INT payloadBits = pExtension->nPayloadBits; in FDKaacEnc_writeExtensionData() local
856 int i, writeBits = payloadBits; in FDKaacEnc_writeExtensionData()
858 FDKpushFor(hBitStream, payloadBits-1); /* Does a cache sync internally */ in FDKaacEnc_writeExtensionData()
869 FDKpushFor (hBitStream, payloadBits+1); in FDKaacEnc_writeExtensionData()
871 extBitsUsed += payloadBits; in FDKaacEnc_writeExtensionData()
878 int writeBits = payloadBits; in FDKaacEnc_writeExtensionData()
885 extBitsUsed += payloadBits; in FDKaacEnc_writeExtensionData()
893 int i, writeBits = payloadBits; in FDKaacEnc_writeExtensionData()
904 extBitsUsed += payloadBits; in FDKaacEnc_writeExtensionData()
912 payloadBits ); in FDKaacEnc_writeExtensionData()
929 while (payloadBits >= (EL_ID_BITS + FILL_EL_COUNT_BITS)) { in FDKaacEnc_writeExtensionData()
934 payloadBits -= EL_ID_BITS + FILL_EL_COUNT_BITS; in FDKaacEnc_writeExtensionData()
935 if (payloadBits >= 15*8) { in FDKaacEnc_writeExtensionData()
936 payloadBits -= FILL_EL_ESC_COUNT_BITS; in FDKaacEnc_writeExtensionData()
942 cnt = fixMin(MAX_FILL_DATA_BYTES, (payloadBits+alignBits)>>3); in FDKaacEnc_writeExtensionData()
961 cnt = fixMin(cnt*8, payloadBits); /* convert back to bits */ in FDKaacEnc_writeExtensionData()
966 payloadBits -= cnt; in FDKaacEnc_writeExtensionData()