Lines Matching defs:hBs

105                      HANDLE_FDK_BITSTREAM hBs,   /*!< handle to current bit buffer structure */
113 return ( FDKcrcStartReg(&pAdts->crcInfo, hBs, mBits) );
119 HANDLE_FDK_BITSTREAM hBs, /*!< handle to current bit buffer structure */
125 FDKcrcEndReg(&pAdts->crcInfo, hBs, reg);
168 HANDLE_FDK_BITSTREAM hBs,
187 valBits = FDKgetValidBits(hBs);
190 bs.mpeg_id = FDKreadBits(hBs, Adts_Length_Id);
191 bs.layer = FDKreadBits(hBs, Adts_Length_Layer);
192 bs.protection_absent = FDKreadBits(hBs, Adts_Length_ProtectionAbsent);
193 bs.profile = FDKreadBits(hBs, Adts_Length_Profile);
194 bs.sample_freq_index = FDKreadBits(hBs, Adts_Length_SamplingFrequencyIndex);
195 bs.private_bit = FDKreadBits(hBs, Adts_Length_PrivateBit);
196 bs.channel_config = FDKreadBits(hBs, Adts_Length_ChannelConfiguration);
197 bs.original = FDKreadBits(hBs, Adts_Length_OriginalCopy);
198 bs.home = FDKreadBits(hBs, Adts_Length_Home);
201 bs.copyright_id = FDKreadBits(hBs, Adts_Length_CopyrightIdentificationBit);
202 bs.copyright_start = FDKreadBits(hBs, Adts_Length_CopyrightIdentificationStart);
203 bs.frame_length = FDKreadBits(hBs, Adts_Length_FrameLength);
204 bs.adts_fullness = FDKreadBits(hBs, Adts_Length_BufferFullness);
205 bs.num_raw_blocks = FDKreadBits(hBs, Adts_Length_NumberOfRawDataBlocksInFrame);
212 FDKpushBack(hBs, 56); /* complete fixed and variable header! */
213 crcReg = FDKcrcStartReg(&pAdts->crcInfo, hBs, 0);
214 FDKpushFor(hBs, 56);
219 pAdts->rawDataBlockDist[i] = (USHORT)FDKreadBits(hBs, 16);
234 FDKcrcEndReg(&pAdts->crcInfo, hBs, crcReg);
235 crc_check = FDKreadBits(hBs, Adts_Length_CrcCheck);
255 FDKpushFor(hBs, bs.frame_length * 8); // try again one frame later
265 FDKpushFor(hBs, bs.frame_length * 8); // try again one frame later
284 FDKpushBack(hBs, adtsHeaderLength);
313 UINT alignAnchor = FDKgetValidBits(hBs);
315 if (FDKreadBits(hBs,3) == ID_PCE) {
318 crcReg = adtsRead_CrcStartReg(pAdts, hBs, 0);
320 CProgramConfig_Read(&pAsc->m_progrConfigElement, hBs, alignAnchor);
322 adtsRead_CrcEndReg(pAdts, hBs, crcReg);
323 pceBits = alignAnchor - FDKgetValidBits(hBs);
329 FDKpushBack(hBs,3);
344 FDKpushFor(hBs, (bs.frame_length<<3) - adtsHeaderLength - 3);