Lines Matching refs:adts
136 STRUCT_ADTS adts; member
293 if (adtsWrite_Init(&hTpEnc->writer.adts, &hTpEnc->config) != 0) { in transportEnc_Init()
410 adtsWrite_EncodeHeader(&hTp->writer.adts, &hTp->bitStream, bufferFullness, in transportEnc_WriteAccessUnit()
445 !hTp->writer.adts.protection_absent) { in transportEnc_WriteAccessUnit()
446 crcIndex = adtsWrite_CrcStartReg(&hTp->writer.adts, &hTp->bitStream, 0); in transportEnc_WriteAccessUnit()
456 !hTp->writer.adts.protection_absent) { in transportEnc_WriteAccessUnit()
457 adtsWrite_CrcEndReg(&hTp->writer.adts, &hTp->bitStream, crcIndex); in transportEnc_WriteAccessUnit()
479 adtsWrite_EndRawDataBlock(&hTp->writer.adts, &hTp->bitStream, bits); in transportEnc_EndAccessUnit()
509 if (hTpEnc->writer.adts.currentBlock >= in transportEnc_GetFrame()
510 hTpEnc->writer.adts.num_raw_blocks + 1) { in transportEnc_GetFrame()
512 hTpEnc->writer.adts.currentBlock = 0; in transportEnc_GetFrame()
552 nbits = adtsWrite_GetHeaderBits(&hTp->writer.adts); in transportEnc_GetStaticBits()
585 crcReg = adtsWrite_CrcStartReg(&hTpEnc->writer.adts, &hTpEnc->bitStream, in transportEnc_CrcStartReg()
598 adtsWrite_CrcEndReg(&hTpEnc->writer.adts, &hTpEnc->bitStream, reg); in transportEnc_CrcEndReg()