Lines Matching refs:bs
100 UINT CLatmDemux_GetValue(HANDLE_FDK_BITSTREAM bs) in CLatmDemux_GetValue() argument
105 bytesForValue = (UCHAR) FDKreadBits(bs,2); in CLatmDemux_GetValue()
109 tmp = (UCHAR) FDKreadBits(bs,8); in CLatmDemux_GetValue()
119 HANDLE_FDK_BITSTREAM bs, in CLatmDemux_ReadAudioMuxElement() argument
130 pLatmDemux->m_useSameStreamMux = FDKreadBits(bs,1); in CLatmDemux_ReadAudioMuxElement()
133 …if ((ErrorStatus = CLatmDemux_ReadStreamMuxConfig(bs, pLatmDemux, pTpDecCallbacks, pAsc, pfConfigF… in CLatmDemux_ReadAudioMuxElement()
146 if ((ErrorStatus = CLatmDemux_ReadPayloadLengthInfo(bs,pLatmDemux))) { in CLatmDemux_ReadAudioMuxElement()
158 HANDLE_FDK_BITSTREAM bs, in CLatmDemux_Read() argument
172 cntBits = FDKgetValidBits(bs); in CLatmDemux_Read()
178 …if ((ErrorStatus = CLatmDemux_ReadAudioMuxElement(bs, pLatmDemux, (tt != TT_MP4_LATM_MCP0), pTpDec… in CLatmDemux_Read()
212 HANDLE_FDK_BITSTREAM bs, in CLatmDemux_ReadStreamMuxConfig() argument
222 pLatmDemux->m_AudioMuxVersion = FDKreadBits(bs,1); in CLatmDemux_ReadStreamMuxConfig()
227 pLatmDemux->m_AudioMuxVersionA = FDKreadBits(bs,1); in CLatmDemux_ReadStreamMuxConfig()
232 pLatmDemux->m_taraBufferFullness = CLatmDemux_GetValue(bs); in CLatmDemux_ReadStreamMuxConfig()
234 pLatmDemux->m_allStreamsSameTimeFraming = FDKreadBits(bs,1); in CLatmDemux_ReadStreamMuxConfig()
235 pLatmDemux->m_noSubFrames = FDKreadBits(bs,6) + 1; in CLatmDemux_ReadStreamMuxConfig()
236 pLatmDemux->m_numProgram = FDKreadBits(bs,4) + 1; in CLatmDemux_ReadStreamMuxConfig()
244 pLatmDemux->m_numLayer = FDKreadBits(bs,3) + 1; in CLatmDemux_ReadStreamMuxConfig()
258 pLatmDemux->m_useSameConfig = FDKreadBits(bs,1); in CLatmDemux_ReadStreamMuxConfig()
273 ascLen = CLatmDemux_GetValue(bs); in CLatmDemux_ReadStreamMuxConfig()
274 ascStartPos = FDKgetValidBits(bs); in CLatmDemux_ReadStreamMuxConfig()
275 tmpBs = *bs; in CLatmDemux_ReadStreamMuxConfig()
289 FDKpushFor(bs, ascLen); /* position bitstream after ASC */ in CLatmDemux_ReadStreamMuxConfig()
293 …if ((ErrorStatus = AudioSpecificConfig_Parse(&pAsc[TPDEC_TRACKINDEX(prog,lay)], bs, 0, pTpDecCallb… in CLatmDemux_ReadStreamMuxConfig()
308 p_linfo->m_frameLengthType = FDKreadBits(bs,3); in CLatmDemux_ReadStreamMuxConfig()
311 p_linfo->m_bufferFullness = FDKreadBits(bs,8); in CLatmDemux_ReadStreamMuxConfig()
336 pLatmDemux->m_otherDataPresent = FDKreadBits(bs,1); in CLatmDemux_ReadStreamMuxConfig()
343 otherDataLenEsc = FDKreadBits(bs,1); in CLatmDemux_ReadStreamMuxConfig()
344 pLatmDemux->m_otherDataLength += FDKreadBits(bs,8); in CLatmDemux_ReadStreamMuxConfig()
348 pLatmDemux->m_crcCheckPresent = FDKreadBits(bs,1); in CLatmDemux_ReadStreamMuxConfig()
352 pLatmDemux->m_crcCheckSum = FDKreadBits(bs,8); in CLatmDemux_ReadStreamMuxConfig()
363 TRANSPORTDEC_ERROR CLatmDemux_ReadPayloadLengthInfo(HANDLE_FDK_BITSTREAM bs, CLatmDemux *pLatmDemux) in CLatmDemux_ReadPayloadLengthInfo() argument
375 p_linfo->m_frameLengthInBits = CLatmDemux_ReadAuChunkLengthInfo(bs); in CLatmDemux_ReadPayloadLengthInfo()
396 int CLatmDemux_ReadAuChunkLengthInfo(HANDLE_FDK_BITSTREAM bs) in CLatmDemux_ReadAuChunkLengthInfo() argument
402 UCHAR tmp = (UCHAR) FDKreadBits(bs,8); in CLatmDemux_ReadAuChunkLengthInfo()