• Home
  • Raw
  • Download

Lines Matching refs:hBs

113 UINT transportEnc_LatmWriteValue(HANDLE_FDK_BITSTREAM hBs, int value)  in transportEnc_LatmWriteValue()  argument
129 FDKwriteBits(hBs, valueBytes-1, 2 ); /* size of value in Bytes */ in transportEnc_LatmWriteValue()
132 FDKwriteBits(hBs, (UCHAR)(value>>((valueBytes-1-i)<<3)), 8); in transportEnc_LatmWriteValue()
289 HANDLE_FDK_BITSTREAM hBs, in CreateStreamMuxConfig() argument
302 FDKwriteBits( hBs, hAss->audioMuxVersion, 1 ); /* audioMuxVersion */ in CreateStreamMuxConfig()
306 FDKwriteBits( hBs, hAss->audioMuxVersionA, 1 ); /* audioMuxVersionA */ in CreateStreamMuxConfig()
313 …hAss->streamMuxConfigBits+= transportEnc_LatmWriteValue( hBs, hAss->taraBufferFullness );/* taraBu… in CreateStreamMuxConfig()
315 FDKwriteBits( hBs, hAss->allStreamsSameTimeFraming ? 1:0, 1 ); /* allStreamsSameTimeFraming */ in CreateStreamMuxConfig()
316 FDKwriteBits( hBs, hAss->noSubframes-1, 6 ); /* Number of Subframes */ in CreateStreamMuxConfig()
317 FDKwriteBits( hBs, hAss->noProgram-1, 4 ); /* Number of Programs */ in CreateStreamMuxConfig()
325 FDKwriteBits( hBs, hAss->noLayer[prog]-1, 3 ); in CreateStreamMuxConfig()
338 FDKwriteBits( hBs, useSameConfig ? 1 : 0, 1 ); in CreateStreamMuxConfig()
345 …FDKpushFor(hBs, 2); /* align to ASC, even if we do not know the length of the "ascLen" field yet */ in CreateStreamMuxConfig()
348 bits = FDKgetValidBits( hBs ); in CreateStreamMuxConfig()
351 hBs, in CreateStreamMuxConfig()
356 bits = FDKgetValidBits( hBs ) - bits; in CreateStreamMuxConfig()
359 FDKpushBack(hBs, bits+2); in CreateStreamMuxConfig()
360 hAss->streamMuxConfigBits += transportEnc_LatmWriteValue( hBs, bits ); in CreateStreamMuxConfig()
362 hBs, in CreateStreamMuxConfig()
390 … FDKwriteBits( hBs, p_linfo->frameLengthType, 3 ); /* frameLengthType */ in CreateStreamMuxConfig()
391 FDKwriteBits( hBs, bufferFullness, 8 ); /* bufferFullness */ in CreateStreamMuxConfig()
398 FDKwriteBits( hBs, coreFrameOffset, 6 ); /* coreFrameOffset */ in CreateStreamMuxConfig()
410 FDKwriteBits( hBs, p_linfo->frameLengthType, 3 ); /* frameLengthType */ in CreateStreamMuxConfig()
411 FDKwriteBits( hBs, tmp, 9 ); in CreateStreamMuxConfig()
419 FDKwriteBits( hBs, p_linfo->frameLengthType, 3 ); /* frameLengthType */ in CreateStreamMuxConfig()
431 … FDKwriteBits( hBs, i, 6 ); /* CELPframeLengthTabelIndex */ in CreateStreamMuxConfig()
439 FDKwriteBits( hBs, p_linfo->frameLengthType, 3 ); /* frameLengthType */ in CreateStreamMuxConfig()
451 … FDKwriteBits( hBs, i, 1 ); /* HVXCframeLengthTableIndex */ in CreateStreamMuxConfig()
465 FDKwriteBits( hBs, (hAss->otherDataLenBytes>0) ? 1:0, 1 ); /* otherDataPresent */ in CreateStreamMuxConfig()
484 FDKwriteBits( hBs, otherDataLenEsc, 1 ); in CreateStreamMuxConfig()
485 FDKwriteBits( hBs, otherDataLenTmp, 8 ); in CreateStreamMuxConfig()
494 FDKwriteBits( hBs, crcCheckPresent, 1 ); /* crcCheckPresent */ in CreateStreamMuxConfig()
497 FDKwriteBits( hBs, crcCheckSum, 8 ); /* crcCheckSum */ in CreateStreamMuxConfig()
667 HANDLE_FDK_BITSTREAM hBs, in AdvanceAudioMuxElement() argument
687 FDKwriteBits( hBs, 0, 1 ); /* useSameStreamMux useNewStreamMux */ in AdvanceAudioMuxElement()
688 CreateStreamMuxConfig(hAss, hBs, bufferFullness, cb); in AdvanceAudioMuxElement()
692 FDKwriteBits( hBs, 1, 1 ); /* useSameStreamMux */ in AdvanceAudioMuxElement()
703 ErrorStatus = WriteAuPayloadLengthInfo( hBs, auBits ); in AdvanceAudioMuxElement()
717 HANDLE_FDK_BITSTREAM hBs, in transportEnc_LatmWrite() argument
727 FDKresetBitbuffer(hBs, BS_WRITER); in transportEnc_LatmWrite()
730 hAss->latmSubframeStart = FDKgetValidBits(hBs); in transportEnc_LatmWrite()
739 FDKwriteBits( hBs, 0x2B7, 11 ); in transportEnc_LatmWrite()
741 hAss->audioMuxLengthBytesPos = FDKgetValidBits( hBs ); /* store read pointer position */ in transportEnc_LatmWrite()
742 FDKwriteBits( hBs, hAss->audioMuxLengthBytes, 13 ); in transportEnc_LatmWrite()
747 hBs, in transportEnc_LatmWrite()
771 HANDLE_FDK_BITSTREAM hBs, in transportEnc_LatmGetFrame() argument
784 latmBytes = (FDKgetValidBits(hBs)+7) >> 3; in transportEnc_LatmGetFrame()
791 FDKinitBitStream( &tmpBuf, hBs->hBitBuf.Buffer, hBs->hBitBuf.bufSize, 0, BS_WRITER ) ; in transportEnc_LatmGetFrame()
799 FDKwriteBits(hBs, 0, hAss->fillBits); in transportEnc_LatmGetFrame()
801 FDK_ASSERT( (FDKgetValidBits(hBs) % 8) == 0); in transportEnc_LatmGetFrame()
805 FDKsyncCache(hBs); in transportEnc_LatmGetFrame()
806 *bytes = (FDKgetValidBits(hBs) + 7)>>3; in transportEnc_LatmGetFrame()
829 HANDLE_FDK_BITSTREAM hBs, in transportEnc_Latm_Init() argument
871 AdvanceAudioMuxElement(hAss, hBs, 0, 0, cb); in transportEnc_Latm_Init()