Lines Matching refs:FDKwriteBits
162 FDKwriteBits(hBitStream, in FDKaacEnc_encodeGlobalGain()
198 FDKwriteBits(hBitStream, icsReservedBit, 1); in FDKaacEnc_encodeIcsInfo()
199 FDKwriteBits(hBitStream, blockType, 2); in FDKaacEnc_encodeIcsInfo()
200 FDKwriteBits(hBitStream, in FDKaacEnc_encodeIcsInfo()
208 FDKwriteBits(hBitStream, maxSfbPerGroup, 6); in FDKaacEnc_encodeIcsInfo()
213 FDKwriteBits(hBitStream, 0, 1); in FDKaacEnc_encodeIcsInfo()
218 FDKwriteBits(hBitStream, maxSfbPerGroup, 4); in FDKaacEnc_encodeIcsInfo()
221 FDKwriteBits(hBitStream, groupingMask, TRANS_FAC - 1); in FDKaacEnc_encodeIcsInfo()
266 FDKwriteBits(hBitStream, codeBook, sectCbBits); in FDKaacEnc_encodeSectionData()
272 FDKwriteBits(hBitStream, sectEscapeVal, sectLenBits); in FDKaacEnc_encodeSectionData()
275 FDKwriteBits(hBitStream, sectLen, sectLenBits); in FDKaacEnc_encodeSectionData()
335 FDKwriteBits(hBitStream, deltaPns + (1 << (PNS_PCM_BITS - 1)), in FDKaacEnc_encodeScaleFactorData()
388 FDKwriteBits(hBitStream, SI_MS_MASK_NONE, 2); in FDKaacEnc_encodeMSInfo()
393 FDKwriteBits(hBitStream, SI_MS_MASK_ALL, 2); in FDKaacEnc_encodeMSInfo()
398 FDKwriteBits(hBitStream, SI_MS_MASK_SOME, 2); in FDKaacEnc_encodeMSInfo()
403 FDKwriteBits(hBitStream, 1, 1); in FDKaacEnc_encodeMSInfo()
405 FDKwriteBits(hBitStream, 0, 1); in FDKaacEnc_encodeMSInfo()
448 FDKwriteBits(hBitStream, 0, 1); in FDKaacEnc_encodeTnsDataPresent()
450 FDKwriteBits(hBitStream, 1, 1); in FDKaacEnc_encodeTnsDataPresent()
484 FDKwriteBits(hBitStream, tnsInfo->numOfFilters[i], in FDKaacEnc_encodeTnsData()
488 FDKwriteBits(hBitStream, (tnsInfo->coefRes[i] == 4 ? 1 : 0), 1); in FDKaacEnc_encodeTnsData()
492 FDKwriteBits(hBitStream, tnsInfo->length[i][j], in FDKaacEnc_encodeTnsData()
496 FDKwriteBits(hBitStream, tnsInfo->order[i][j], in FDKaacEnc_encodeTnsData()
500 FDKwriteBits(hBitStream, tnsInfo->direction[i][j], 1); in FDKaacEnc_encodeTnsData()
521 FDKwriteBits(hBitStream, -(coefBits - tnsInfo->coefRes[i]), in FDKaacEnc_encodeTnsData()
526 FDKwriteBits(hBitStream, in FDKaacEnc_encodeTnsData()
591 FDKwriteBits(hBitStream, 0, 1); in FDKaacEnc_encodeGainControlData()
607 FDKwriteBits(hBitStream, 0, 1); in FDKaacEnc_encodePulseData()
635 FDKwriteBits(hBitStream, extPayloadType, EXT_TYPE_BITS); in FDKaacEnc_writeExtensionPayload()
643 FDKwriteBits(hBitStream, *extPayloadData++, 4); /* nibble */ in FDKaacEnc_writeExtensionPayload()
653 FDKwriteBits(hBitStream, *extPayloadData++, 8); in FDKaacEnc_writeExtensionPayload()
657 FDKwriteBits(hBitStream, (*extPayloadData) >> (8 - writeBits), in FDKaacEnc_writeExtensionPayload()
676 FDKwriteBits( in FDKaacEnc_writeExtensionPayload()
681 FDKwriteBits(hBitStream, 255, 8); in FDKaacEnc_writeExtensionPayload()
683 FDKwriteBits(hBitStream, dataElementLength, 8); in FDKaacEnc_writeExtensionPayload()
686 FDKwriteBits(hBitStream, extPayloadData[i], 8); in FDKaacEnc_writeExtensionPayload()
699 FDKwriteBits(hBitStream, 0x00, FILL_NIBBLE_BITS); in FDKaacEnc_writeExtensionPayload()
703 FDKwriteBits(hBitStream, fillByte, 8); in FDKaacEnc_writeExtensionPayload()
766 FDKwriteBits(hBitStream, ID_DSE, EL_ID_BITS); in FDKaacEnc_writeDataStreamElement()
770 FDKwriteBits(hBitStream, elementInstanceTag, EL_INSTANCE_TAG_BITS); in FDKaacEnc_writeDataStreamElement()
771 FDKwriteBits(hBitStream, DATA_BYTE_ALIGN_FLAG, DATA_BYTE_ALIGN_FLAG_BITS); in FDKaacEnc_writeDataStreamElement()
775 FDKwriteBits(hBitStream, 255, DATA_LEN_COUNT_BITS); in FDKaacEnc_writeDataStreamElement()
776 FDKwriteBits(hBitStream, esc_count, DATA_LEN_ESC_COUNT_BITS); in FDKaacEnc_writeDataStreamElement()
778 FDKwriteBits(hBitStream, cnt, DATA_LEN_COUNT_BITS); in FDKaacEnc_writeDataStreamElement()
791 FDKwriteBits(hBitStream, dataBuffer[i], 8); in FDKaacEnc_writeDataStreamElement()
836 FDKwriteBits(hBitStream, extPayloadData[i], 8); in FDKaacEnc_writeExtensionData()
840 FDKwriteBits(hBitStream, extPayloadData[i] >> (8 - writeBits), in FDKaacEnc_writeExtensionData()
881 FDKwriteBits(hBitStream, ID_FIL, EL_ID_BITS); in FDKaacEnc_writeExtensionData()
883 FDKwriteBits(hBitStream, 15, FILL_EL_COUNT_BITS); in FDKaacEnc_writeExtensionData()
884 FDKwriteBits(hBitStream, esc_count, FILL_EL_ESC_COUNT_BITS); in FDKaacEnc_writeExtensionData()
886 FDKwriteBits(hBitStream, cnt, FILL_EL_COUNT_BITS); in FDKaacEnc_writeExtensionData()
915 FDKwriteBits(hBitStream, 0, alignBits); in FDKaacEnc_ByteAlignment()
951 FDKwriteBits(hBitStream, pElInfo->elType, EL_ID_BITS); in FDKaacEnc_ChannelElementWrite()
1001 FDKwriteBits(hBitStream, pElInfo->instanceTag, 4); in FDKaacEnc_ChannelElementWrite()
1010 FDKwriteBits(hBitStream, psyOutElement->commonWindow, 1); in FDKaacEnc_ChannelElementWrite()
1026 FDKwriteBits(hBitStream, 0, 1); in FDKaacEnc_ChannelElementWrite()
1300 FDKwriteBits(hBs, ID_END, EL_ID_BITS); in FDKaacEnc_WriteBitstream()