Home
last modified time | relevance | path

Searched refs:adts (Results 1 – 2 of 2) sorted by relevance

/external/aac/libMpegTPDec/src/
Dtpdec_lib.cpp110 STRUCT_ADTS adts; member
177 hInput->parser.adts.decoderCanDoMpeg4 = 1; in C_ALLOC_MEM()
179 hInput->parser.adts.decoderCanDoMpeg4 = 0; in C_ALLOC_MEM()
180 adtsRead_CrcInit(&hInput->parser.adts); in C_ALLOC_MEM()
181 hInput->parser.adts.BufferFullnesStartFlag = 1; in C_ALLOC_MEM()
352 if (hTp->parser.adts.bs.adts_fullness != 0x7ff) { in transportDec_GetBufferFullness()
353 …llness = hTp->parser.adts.bs.frame_length*8 + hTp->parser.adts.bs.adts_fullness * 32 * getNumberOf… in transportDec_GetBufferFullness()
409 if (hTp->parser.adts.bs.protection_absent == 0) in transportDec_AdjustEndOfAccessUnit()
414 …offset = hTp->parser.adts.rawDataBlockDist[hTp->parser.adts.bs.num_raw_blocks-hTp->numberOfRawDat… in transportDec_AdjustEndOfAccessUnit()
416 … offset -= hTp->accessUnitAnchor[0] - FDKgetValidBits(hBs) + 16 + hTp->parser.adts.bs.num_pce_bits; in transportDec_AdjustEndOfAccessUnit()
[all …]
/external/aac/libMpegTPEnc/src/
Dtpenc_lib.cpp127 STRUCT_ADTS adts; member
285 if ( adtsWrite_Init(&hTpEnc->writer.adts, &hTpEnc->config) != 0) { in transportEnc_Init()
380 &hTp->writer.adts, in transportEnc_WriteAccessUnit()
421 if ( (hTp->transportFmt==TT_MP4_ADTS) && !hTp->writer.adts.protection_absent) { in transportEnc_WriteAccessUnit()
422 crcIndex = adtsWrite_CrcStartReg(&hTp->writer.adts, &hTp->bitStream, 0); in transportEnc_WriteAccessUnit()
428 if ( (hTp->transportFmt==TT_MP4_ADTS) && !hTp->writer.adts.protection_absent) { in transportEnc_WriteAccessUnit()
429 adtsWrite_CrcEndReg(&hTp->writer.adts, &hTp->bitStream, crcIndex); in transportEnc_WriteAccessUnit()
451 adtsWrite_EndRawDataBlock(&hTp->writer.adts, &hTp->bitStream, bits); in transportEnc_EndAccessUnit()
480 if (hTpEnc->writer.adts.currentBlock >= hTpEnc->writer.adts.num_raw_blocks+1) { in transportEnc_GetFrame()
482 hTpEnc->writer.adts.currentBlock = 0; in transportEnc_GetFrame()
[all …]