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()
724 HANDLE_FDK_BITSTREAM hBs; in CAacDecoder_PreRollExtensionPayloadParse() local
743 hBs = transportDec_GetBitstream(self->hInput, 0); in CAacDecoder_PreRollExtensionPayloadParse()
744 bs = *hBs; in CAacDecoder_PreRollExtensionPayloadParse()
746 auStartAnchor = (INT)FDKgetValidBits(hBs); in CAacDecoder_PreRollExtensionPayloadParse()
753 FDKreadBit(hBs); in CAacDecoder_PreRollExtensionPayloadParse()
756 extPayloadPresentFlag = FDKreadBits(hBs, 1); in CAacDecoder_PreRollExtensionPayloadParse()
762 useDefaultLengthFlag = FDKreadBits(hBs, 1); in CAacDecoder_PreRollExtensionPayloadParse()
769 escapedValue(hBs, 8, 16, 0); in CAacDecoder_PreRollExtensionPayloadParse()
772 configLength = escapedValue(hBs, 4, 4, 8); in CAacDecoder_PreRollExtensionPayloadParse()
794 config[i] = FDKreadBits(hBs, 8); in CAacDecoder_PreRollExtensionPayloadParse()
825 UCHAR applyCrossfade = FDKreadBit(hBs); in CAacDecoder_PreRollExtensionPayloadParse()
831 FDKreadBit(hBs); /* reserved */ in CAacDecoder_PreRollExtensionPayloadParse()
833 *numPrerollAU = escapedValue(hBs, 2, 4, 0); in CAacDecoder_PreRollExtensionPayloadParse()
845 prerollAULength[i] = escapedValue(hBs, 16, 16, 0); in CAacDecoder_PreRollExtensionPayloadParse()
847 prerollAUOffset[i] = auStartAnchor - (INT)FDKgetValidBits(hBs); in CAacDecoder_PreRollExtensionPayloadParse()
848 independencyFlag = FDKreadBit(hBs); in CAacDecoder_PreRollExtensionPayloadParse()
854 FDKpushFor(hBs, prerollAULength[i] * 8 - 1); in CAacDecoder_PreRollExtensionPayloadParse()
865 *hBs = bs; in CAacDecoder_PreRollExtensionPayloadParse()
880 HANDLE_AACDECODER self, HANDLE_FDK_BITSTREAM hBs, int *count, in CAacDecoder_ExtPayloadParse() argument
889 } else if ((INT)FDKgetValidBits(hBs) < *count) { in CAacDecoder_ExtPayloadParse()
894 (EXT_PAYLOAD_TYPE)FDKreadBits(hBs, 4); /* bs_extension_type */ in CAacDecoder_ExtPayloadParse()
908 aacDecoder_drcMarkPayload(self->hDrcInfo, hBs, MPEG_DRC_EXT_DATA); in CAacDecoder_ExtPayloadParse()
918 INT nBitsRemaining = FDKgetValidBits(hBs); in CAacDecoder_ExtPayloadParse()
938 drcErr = FDK_drcDec_ReadUniDrc(self->hUniDrcDecoder, hBs); in CAacDecoder_ExtPayloadParse()
943 readBits = (INT)nBitsRemaining - (INT)FDKgetValidBits(hBs); in CAacDecoder_ExtPayloadParse()
949 FDKpushFor(hBs, *count); in CAacDecoder_ExtPayloadParse()
993 (CMpegSurroundDecoder *)self->pMpegSurroundDecoder, hBs, count, in CAacDecoder_ExtPayloadParse()
1003 FDKpushFor(hBs, *count); in CAacDecoder_ExtPayloadParse()
1031 sbrError = sbrDecoder_Parse(self->hSbrDecoder, hBs, in CAacDecoder_ExtPayloadParse()
1050 FDKpushBiDirectional(hBs, *count); in CAacDecoder_ExtPayloadParse()
1067 temp = FDKreadBits(hBs, 4); in CAacDecoder_ExtPayloadParse()
1074 temp = FDKreadBits(hBs, 8); in CAacDecoder_ExtPayloadParse()
1087 dataElementVersion = FDKreadBits(hBs, 4); in CAacDecoder_ExtPayloadParse()
1093 temp = FDKreadBits(hBs, 8); in CAacDecoder_ExtPayloadParse()
1098 CAacDecoder_AncDataParse(&self->ancData, hBs, dataElementLength); in CAacDecoder_ExtPayloadParse()
1114 int bitCnt, len = FDKreadBits(hBs, 4); in CAacDecoder_ExtPayloadParse()
1118 int add_len = FDKreadBits(hBs, 8); in CAacDecoder_ExtPayloadParse()
1123 len += FDKreadBits(hBs, 16); in CAacDecoder_ExtPayloadParse()
1130 if ((EXT_PAYLOAD_TYPE)FDKreadBits(hBs, 4) == EXT_DATA_LENGTH) { in CAacDecoder_ExtPayloadParse()
1137 FDKpushBack(hBs, 4); in CAacDecoder_ExtPayloadParse()
1140 self, hBs, &bitCnt, previous_element, elIndex, in CAacDecoder_ExtPayloadParse()
1155 FDKpushFor(hBs, *count); in CAacDecoder_ExtPayloadParse()
1163 FDKpushBiDirectional(hBs, *count); in CAacDecoder_ExtPayloadParse()