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