Lines Matching refs:FDKwriteBits
220 FDKwriteBits(hBitStream, 0xFFF, 12); in adtsWrite_EncodeHeader()
221 FDKwriteBits(hBitStream, hAdts->mpeg_id, 1); in adtsWrite_EncodeHeader()
222 FDKwriteBits(hBitStream, hAdts->layer, 2); in adtsWrite_EncodeHeader()
223 FDKwriteBits(hBitStream, hAdts->protection_absent, 1); in adtsWrite_EncodeHeader()
224 FDKwriteBits(hBitStream, hAdts->profile, 2); in adtsWrite_EncodeHeader()
225 FDKwriteBits(hBitStream, hAdts->sample_freq_index, 4); in adtsWrite_EncodeHeader()
226 FDKwriteBits(hBitStream, hAdts->private_bit, 1); in adtsWrite_EncodeHeader()
227 FDKwriteBits(hBitStream, getChannelConfig(hAdts->channel_mode), 3); in adtsWrite_EncodeHeader()
228 FDKwriteBits(hBitStream, hAdts->original, 1); in adtsWrite_EncodeHeader()
229 FDKwriteBits(hBitStream, hAdts->home, 1); in adtsWrite_EncodeHeader()
231 FDKwriteBits(hBitStream, hAdts->copyright_id, 1); in adtsWrite_EncodeHeader()
232 FDKwriteBits(hBitStream, hAdts->copyright_start, 1); in adtsWrite_EncodeHeader()
233 FDKwriteBits(hBitStream, (frame_length + hAdts->headerBits)>>3, 13); in adtsWrite_EncodeHeader()
234 FDKwriteBits(hBitStream, buffer_fullness, 11); in adtsWrite_EncodeHeader()
235 FDKwriteBits(hBitStream, hAdts->num_raw_blocks, 2); in adtsWrite_EncodeHeader()
245 FDKwriteBits(hBitStream, 0, 16); in adtsWrite_EncodeHeader()
248 FDKwriteBits(hBitStream, 0, 16); in adtsWrite_EncodeHeader()
266 FDKwriteBits(&bsWriter, FDKcrcGetCRC(&hAdts->crcInfo), 16); in adtsWrite_EndRawDataBlock()
271 FDKwriteBits(hBs, FDKcrcGetCRC(&hAdts->crcInfo), 16); in adtsWrite_EndRawDataBlock()
277 FDKwriteBits(&bsWriter, distance>>3, 16); in adtsWrite_EndRawDataBlock()
296 FDKwriteBits(&bsWriter, FDKgetValidBits(hBs)>>3, 13); in adtsWrite_EndRawDataBlock()
302 FDKwriteBits(&bsWriter, FDKcrcGetCRC(&hAdts->crcInfo), 16); in adtsWrite_EndRawDataBlock()