• Home
  • Raw
  • Download

Lines Matching refs:hBs

115     HANDLE_FDK_BITSTREAM hBs, /*!< handle to current bit buffer structure */  in adtsRead_CrcStartReg()  argument
122 return (FDKcrcStartReg(&pAdts->crcInfo, hBs, mBits)); in adtsRead_CrcStartReg()
127 HANDLE_FDK_BITSTREAM hBs, /*!< handle to current bit buffer structure */ in adtsRead_CrcEndReg() argument
131 FDKcrcEndReg(&pAdts->crcInfo, hBs, reg); in adtsRead_CrcEndReg()
168 HANDLE_FDK_BITSTREAM hBs, in adtsRead_DecodeHeader() argument
183 valBits = FDKgetValidBits(hBs) + ADTS_SYNCLENGTH; in adtsRead_DecodeHeader()
190 bs.mpeg_id = FDKreadBits(hBs, Adts_Length_Id); in adtsRead_DecodeHeader()
191 bs.layer = FDKreadBits(hBs, Adts_Length_Layer); in adtsRead_DecodeHeader()
192 bs.protection_absent = FDKreadBits(hBs, Adts_Length_ProtectionAbsent); in adtsRead_DecodeHeader()
193 bs.profile = FDKreadBits(hBs, Adts_Length_Profile); in adtsRead_DecodeHeader()
194 bs.sample_freq_index = FDKreadBits(hBs, Adts_Length_SamplingFrequencyIndex); in adtsRead_DecodeHeader()
195 bs.private_bit = FDKreadBits(hBs, Adts_Length_PrivateBit); in adtsRead_DecodeHeader()
196 bs.channel_config = FDKreadBits(hBs, Adts_Length_ChannelConfiguration); in adtsRead_DecodeHeader()
197 bs.original = FDKreadBits(hBs, Adts_Length_OriginalCopy); in adtsRead_DecodeHeader()
198 bs.home = FDKreadBits(hBs, Adts_Length_Home); in adtsRead_DecodeHeader()
201 bs.copyright_id = FDKreadBits(hBs, Adts_Length_CopyrightIdentificationBit); in adtsRead_DecodeHeader()
203 FDKreadBits(hBs, Adts_Length_CopyrightIdentificationStart); in adtsRead_DecodeHeader()
204 bs.frame_length = FDKreadBits(hBs, Adts_Length_FrameLength); in adtsRead_DecodeHeader()
205 bs.adts_fullness = FDKreadBits(hBs, Adts_Length_BufferFullness); in adtsRead_DecodeHeader()
207 FDKreadBits(hBs, Adts_Length_NumberOfRawDataBlocksInFrame); in adtsRead_DecodeHeader()
218 FDKpushBack(hBs, 56); /* complete fixed and variable header! */ in adtsRead_DecodeHeader()
219 crcReg = FDKcrcStartReg(&pAdts->crcInfo, hBs, 0); in adtsRead_DecodeHeader()
220 FDKpushFor(hBs, 56); in adtsRead_DecodeHeader()
224 if ((INT)FDKgetValidBits(hBs) < bs.num_raw_blocks * 16) { in adtsRead_DecodeHeader()
228 pAdts->rawDataBlockDist[i] = (USHORT)FDKreadBits(hBs, 16); in adtsRead_DecodeHeader()
243 FDKcrcEndReg(&pAdts->crcInfo, hBs, crcReg); in adtsRead_DecodeHeader()
245 if ((INT)FDKgetValidBits(hBs) < Adts_Length_CrcCheck) { in adtsRead_DecodeHeader()
249 crc_check = FDKreadBits(hBs, Adts_Length_CrcCheck); in adtsRead_DecodeHeader()
267 FDKpushFor(hBs, bs.frame_length * 8); // try again one frame later in adtsRead_DecodeHeader()
275 FDKpushFor(hBs, bs.frame_length * 8); // try again one frame later in adtsRead_DecodeHeader()
291 FDKpushBack(hBs, adtsHeaderLength); in adtsRead_DecodeHeader()
316 UINT alignAnchor = FDKgetValidBits(hBs); in adtsRead_DecodeHeader()
319 if (FDKreadBits(hBs, 3) == ID_PCE) { in adtsRead_DecodeHeader()
321 crcReg = adtsRead_CrcStartReg(pAdts, hBs, 0); in adtsRead_DecodeHeader()
324 CProgramConfig_Read(&tmpPce, hBs, alignAnchor); in adtsRead_DecodeHeader()
341 FDKpushBack(hBs, adtsHeaderLength); in adtsRead_DecodeHeader()
353 FDKpushBack(hBs, adtsHeaderLength); in adtsRead_DecodeHeader()
358 adtsRead_CrcEndReg(pAdts, hBs, crcReg); in adtsRead_DecodeHeader()
359 pceBits = (INT)alignAnchor - (INT)FDKgetValidBits(hBs); in adtsRead_DecodeHeader()
370 FDKpushBack(hBs, 3); in adtsRead_DecodeHeader()
387 FDKpushFor(hBs, (bs.frame_length << 3) - adtsHeaderLength - 3); in adtsRead_DecodeHeader()
404 FDKpushBack(hBs, adtsHeaderLength); in adtsRead_DecodeHeader()