Lines Matching refs:hBs
390 HANDLE_FDK_BITSTREAM hBs, in CAacDecoder_AncDataParse() argument
408 ancData->buffer[i + offset] = FDKreadBits(hBs, 8); in CAacDecoder_AncDataParse()
423 FDKpushFor(hBs, readBytes << 3); in CAacDecoder_AncDataParse()
655 HANDLE_FDK_BITSTREAM hBs; in CAacDecoder_PreRollExtensionPayloadParse() local
674 hBs = transportDec_GetBitstream(self->hInput, 0); in CAacDecoder_PreRollExtensionPayloadParse()
675 bs = *hBs; in CAacDecoder_PreRollExtensionPayloadParse()
677 auStartAnchor = (INT)FDKgetValidBits(hBs); in CAacDecoder_PreRollExtensionPayloadParse()
684 FDKreadBit(hBs); in CAacDecoder_PreRollExtensionPayloadParse()
687 extPayloadPresentFlag = FDKreadBits(hBs, 1); in CAacDecoder_PreRollExtensionPayloadParse()
693 useDefaultLengthFlag = FDKreadBits(hBs, 1); in CAacDecoder_PreRollExtensionPayloadParse()
700 escapedValue(hBs, 8, 16, 0); in CAacDecoder_PreRollExtensionPayloadParse()
703 configLength = escapedValue(hBs, 4, 4, 8); in CAacDecoder_PreRollExtensionPayloadParse()
725 config[i] = FDKreadBits(hBs, 8); in CAacDecoder_PreRollExtensionPayloadParse()
756 self->applyCrossfade |= FDKreadBit(hBs); in CAacDecoder_PreRollExtensionPayloadParse()
757 FDKreadBit(hBs); /* reserved */ in CAacDecoder_PreRollExtensionPayloadParse()
759 *numPrerollAU = escapedValue(hBs, 2, 4, 0); in CAacDecoder_PreRollExtensionPayloadParse()
771 prerollAULength[i] = escapedValue(hBs, 16, 16, 0); in CAacDecoder_PreRollExtensionPayloadParse()
773 prerollAUOffset[i] = auStartAnchor - (INT)FDKgetValidBits(hBs); in CAacDecoder_PreRollExtensionPayloadParse()
774 independencyFlag = FDKreadBit(hBs); in CAacDecoder_PreRollExtensionPayloadParse()
780 FDKpushFor(hBs, prerollAULength[i] * 8 - 1); in CAacDecoder_PreRollExtensionPayloadParse()
791 *hBs = bs; in CAacDecoder_PreRollExtensionPayloadParse()
806 HANDLE_AACDECODER self, HANDLE_FDK_BITSTREAM hBs, int *count, in CAacDecoder_ExtPayloadParse() argument
815 } else if ((INT)FDKgetValidBits(hBs) < *count) { in CAacDecoder_ExtPayloadParse()
820 (EXT_PAYLOAD_TYPE)FDKreadBits(hBs, 4); /* bs_extension_type */ in CAacDecoder_ExtPayloadParse()
834 aacDecoder_drcMarkPayload(self->hDrcInfo, hBs, MPEG_DRC_EXT_DATA); in CAacDecoder_ExtPayloadParse()
844 INT nBitsRemaining = FDKgetValidBits(hBs); in CAacDecoder_ExtPayloadParse()
864 drcErr = FDK_drcDec_ReadUniDrc(self->hUniDrcDecoder, hBs); in CAacDecoder_ExtPayloadParse()
869 readBits = (INT)nBitsRemaining - (INT)FDKgetValidBits(hBs); in CAacDecoder_ExtPayloadParse()
875 FDKpushFor(hBs, *count); in CAacDecoder_ExtPayloadParse()
919 (CMpegSurroundDecoder *)self->pMpegSurroundDecoder, hBs, count, in CAacDecoder_ExtPayloadParse()
929 FDKpushFor(hBs, *count); in CAacDecoder_ExtPayloadParse()
957 sbrError = sbrDecoder_Parse(self->hSbrDecoder, hBs, in CAacDecoder_ExtPayloadParse()
976 FDKpushBiDirectional(hBs, *count); in CAacDecoder_ExtPayloadParse()
993 temp = FDKreadBits(hBs, 4); in CAacDecoder_ExtPayloadParse()
1000 temp = FDKreadBits(hBs, 8); in CAacDecoder_ExtPayloadParse()
1013 dataElementVersion = FDKreadBits(hBs, 4); in CAacDecoder_ExtPayloadParse()
1019 temp = FDKreadBits(hBs, 8); in CAacDecoder_ExtPayloadParse()
1024 CAacDecoder_AncDataParse(&self->ancData, hBs, dataElementLength); in CAacDecoder_ExtPayloadParse()
1040 int bitCnt, len = FDKreadBits(hBs, 4); in CAacDecoder_ExtPayloadParse()
1044 int add_len = FDKreadBits(hBs, 8); in CAacDecoder_ExtPayloadParse()
1049 len += FDKreadBits(hBs, 16); in CAacDecoder_ExtPayloadParse()
1056 if ((EXT_PAYLOAD_TYPE)FDKreadBits(hBs, 4) == EXT_DATA_LENGTH) { in CAacDecoder_ExtPayloadParse()
1063 FDKpushBack(hBs, 4); in CAacDecoder_ExtPayloadParse()
1066 self, hBs, &bitCnt, previous_element, elIndex, in CAacDecoder_ExtPayloadParse()
1081 FDKpushFor(hBs, *count); in CAacDecoder_ExtPayloadParse()
1089 FDKpushBiDirectional(hBs, *count); in CAacDecoder_ExtPayloadParse()