Lines Matching refs:adts
123 STRUCT_ADTS adts; member
209 hInput->parser.adts.decoderCanDoMpeg4 = 1; in transportDec_Open()
211 hInput->parser.adts.decoderCanDoMpeg4 = 0; in transportDec_Open()
212 adtsRead_CrcInit(&hInput->parser.adts); in transportDec_Open()
213 hInput->parser.adts.BufferFullnesStartFlag = 1; in transportDec_Open()
690 if (hTp->parser.adts.bs.adts_fullness != 0x7ff) { in transportDec_GetBufferFullness()
691 bufferFullness = hTp->parser.adts.bs.frame_length * 8 + in transportDec_GetBufferFullness()
692 hTp->parser.adts.bs.adts_fullness * 32 * in transportDec_GetBufferFullness()
694 hTp->parser.adts.bs.channel_config); in transportDec_GetBufferFullness()
756 if (hTp->parser.adts.bs.protection_absent == 0) { in transportDec_AdjustEndOfAccessUnit()
760 offset = hTp->parser.adts in transportDec_AdjustEndOfAccessUnit()
761 .rawDataBlockDist[hTp->parser.adts.bs.num_raw_blocks - in transportDec_AdjustEndOfAccessUnit()
767 16 + hTp->parser.adts.bs.num_pce_bits; in transportDec_AdjustEndOfAccessUnit()
770 if (hTp->parser.adts.bs.num_raw_blocks > 0 && in transportDec_AdjustEndOfAccessUnit()
771 hTp->parser.adts.bs.protection_absent == 0) { in transportDec_AdjustEndOfAccessUnit()
774 hTp->parser.adts.crcReadValue = FDKreadBits(hBs, 16); in transportDec_AdjustEndOfAccessUnit()
778 if (hTp->parser.adts.bs.protection_absent == 0) { in transportDec_AdjustEndOfAccessUnit()
781 offset = (hTp->parser.adts.bs.frame_length * 8 - ADTS_SYNCLENGTH + in transportDec_AdjustEndOfAccessUnit()
894 err = adtsRead_DecodeHeader(&hTp->parser.adts, &hTp->asc[0], hBs, in transportDec_readHeader()
914 hTp->parser.adts.bs.num_raw_blocks + 1; in transportDec_readHeader()
931 FDKcrcReset(&hTp->parser.adts.crcInfo); in transportDec_readHeader()
932 hTp->parser.adts.bs.num_pce_bits = 0; in transportDec_readHeader()
937 &hTp->parser.adts, in transportDec_readHeader()
938 (hTp->parser.adts.bs.num_raw_blocks - hTp->numberOfRawDataBlocks)); in transportDec_readHeader()
943 syncLayerFrameBits = (hTp->parser.adts.bs.frame_length << 3) - in transportDec_readHeader()
1724 nSubFrames = hTp->parser.adts.bs.num_raw_blocks; in transportDec_GetNrOfSubFrames()
1772 return adtsRead_CrcStartReg(&pTp->parser.adts, &pTp->bitStream[0], mBits); in transportDec_CrcStartReg()
1783 adtsRead_CrcEndReg(&pTp->parser.adts, &pTp->bitStream[0], reg); in transportDec_CrcEndReg()
1796 if ((pTp->parser.adts.bs.num_raw_blocks > 0) && in transportDec_CrcCheck()
1797 (pTp->parser.adts.bs.protection_absent == 0)) { in transportDec_CrcCheck()
1800 return adtsRead_CrcCheck(&pTp->parser.adts); in transportDec_CrcCheck()