Lines Matching refs:num_raw_blocks
138 if (hAdts->num_raw_blocks > 0) { in adtsWrite_GetHeaderBits()
140 bits += (hAdts->num_raw_blocks) * 16; in adtsWrite_GetHeaderBits()
144 if (!hAdts->protection_absent && hAdts->num_raw_blocks > 0) { in adtsWrite_GetHeaderBits()
181 hAdts->num_raw_blocks = config->nSubFrames - 1; /* 0 means 1 raw data block */ in adtsWrite_Init()
215 if (hAdts->num_raw_blocks == 0) { in adtsWrite_EncodeHeader()
237 FDKwriteBits(hBitStream, hAdts->num_raw_blocks, 2); in adtsWrite_EncodeHeader()
244 if (hAdts->num_raw_blocks == 0) { in adtsWrite_EncodeHeader()
247 for (i = 0; i < hAdts->num_raw_blocks; i++) { in adtsWrite_EncodeHeader()
267 if (hAdts->num_raw_blocks == 0) { in adtsWrite_EndRawDataBlock()
276 if (hAdts->currentBlock < hAdts->num_raw_blocks) { in adtsWrite_EndRawDataBlock()
279 FDKgetValidBits(hBs) - (56 + (hAdts->num_raw_blocks) * 16 + 16); in adtsWrite_EndRawDataBlock()
287 if (hAdts->num_raw_blocks > 0 && in adtsWrite_EndRawDataBlock()
288 hAdts->currentBlock == hAdts->num_raw_blocks) { in adtsWrite_EndRawDataBlock()
305 FDKpushFor(&bsWriter, 11 + 2 + (hAdts->num_raw_blocks) * 16); in adtsWrite_EndRawDataBlock()
314 if (!hAdts->protection_absent && hAdts->num_raw_blocks > 0) { in adtsWrite_EndRawDataBlock()