Lines Matching refs:bsWriter
261 FDK_BITSTREAM bsWriter; in adtsWrite_EndRawDataBlock() local
263 FDKinitBitStream(&bsWriter, hBs->hBitBuf.Buffer, hBs->hBitBuf.bufSize, 0, in adtsWrite_EndRawDataBlock()
265 FDKpushFor(&bsWriter, 56); in adtsWrite_EndRawDataBlock()
268 FDKwriteBits(&bsWriter, FDKcrcGetCRC(&hAdts->crcInfo), 16); in adtsWrite_EndRawDataBlock()
277 FDKpushFor(&bsWriter, hAdts->currentBlock * 16); in adtsWrite_EndRawDataBlock()
280 FDKwriteBits(&bsWriter, distance >> 3, 16); in adtsWrite_EndRawDataBlock()
283 FDKsyncCache(&bsWriter); in adtsWrite_EndRawDataBlock()
289 FDK_BITSTREAM bsWriter; in adtsWrite_EndRawDataBlock() local
292 FDKinitBitStream(&bsWriter, hBs->hBitBuf.Buffer, hBs->hBitBuf.bufSize, 0, in adtsWrite_EndRawDataBlock()
297 crcIndex = FDKcrcStartReg(&hAdts->crcInfo, &bsWriter, 0); in adtsWrite_EndRawDataBlock()
300 FDKpushFor(&bsWriter, 56 - 28 + 2); in adtsWrite_EndRawDataBlock()
301 FDKwriteBits(&bsWriter, FDKgetValidBits(hBs) >> 3, 13); in adtsWrite_EndRawDataBlock()
305 FDKpushFor(&bsWriter, 11 + 2 + (hAdts->num_raw_blocks) * 16); in adtsWrite_EndRawDataBlock()
306 FDKcrcEndReg(&hAdts->crcInfo, &bsWriter, crcIndex); in adtsWrite_EndRawDataBlock()
307 FDKwriteBits(&bsWriter, FDKcrcGetCRC(&hAdts->crcInfo), 16); in adtsWrite_EndRawDataBlock()
309 FDKsyncCache(&bsWriter); in adtsWrite_EndRawDataBlock()