Lines Matching refs:num_raw_blocks
132 if (hAdts->num_raw_blocks>0) { in adtsWrite_GetHeaderBits()
134 bits += (hAdts->num_raw_blocks)*16; in adtsWrite_GetHeaderBits()
138 if (!hAdts->protection_absent && hAdts->num_raw_blocks>0) { in adtsWrite_GetHeaderBits()
177 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()
235 FDKwriteBits(hBitStream, hAdts->num_raw_blocks, 2); in adtsWrite_EncodeHeader()
241 if (hAdts->num_raw_blocks == 0) { in adtsWrite_EncodeHeader()
244 for (i=0; i<hAdts->num_raw_blocks; i++) { in adtsWrite_EncodeHeader()
265 if (hAdts->num_raw_blocks == 0) { in adtsWrite_EndRawDataBlock()
274 if (hAdts->currentBlock < hAdts->num_raw_blocks) { in adtsWrite_EndRawDataBlock()
276 distance = FDKgetValidBits(hBs) - (56 + (hAdts->num_raw_blocks)*16 + 16); in adtsWrite_EndRawDataBlock()
284 if (hAdts->num_raw_blocks > 0 && hAdts->currentBlock == hAdts->num_raw_blocks) { in adtsWrite_EndRawDataBlock()
300 FDKpushFor(&bsWriter, 11+2 + (hAdts->num_raw_blocks)*16); in adtsWrite_EndRawDataBlock()
309 if (!hAdts->protection_absent && hAdts->num_raw_blocks > 0) { in adtsWrite_EndRawDataBlock()