Home
last modified time | relevance | path

Searched refs:num_raw_blocks (Results 1 – 6 of 6) sorted by relevance

/external/aac/libMpegTPEnc/src/
Dtpenc_adts.cpp138 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()
[all …]
Dtpenc_adts.h125 UCHAR num_raw_blocks; member
Dtpenc_lib.cpp510 hTpEnc->writer.adts.num_raw_blocks + 1) { in transportEnc_GetFrame()
/external/aac/libMpegTPDec/src/
Dtpdec_adts.cpp206 bs.num_raw_blocks = in adtsRead_DecodeHeader()
223 if (!bs.protection_absent && bs.num_raw_blocks > 0) { in adtsRead_DecodeHeader()
224 if ((INT)FDKgetValidBits(hBs) < bs.num_raw_blocks * 16) { in adtsRead_DecodeHeader()
227 for (i = 0; i < bs.num_raw_blocks; i++) { in adtsRead_DecodeHeader()
232 pAdts->rawDataBlockDist[bs.num_raw_blocks] = in adtsRead_DecodeHeader()
233 bs.frame_length - 7 - bs.num_raw_blocks * 2 - 2; in adtsRead_DecodeHeader()
234 for (i = bs.num_raw_blocks; i > 0; i--) { in adtsRead_DecodeHeader()
254 if (bs.num_raw_blocks > 0) { in adtsRead_DecodeHeader()
411 if (pAdts->bs.num_raw_blocks == 0) { in adtsRead_GetRawDataBlockLength()
Dtpdec_adts.h137 UCHAR num_raw_blocks; member
Dtpdec_lib.cpp766 .rawDataBlockDist[hTp->parser.adts.bs.num_raw_blocks - in transportDec_AdjustEndOfAccessUnit()
775 if (hTp->parser.adts.bs.num_raw_blocks > 0 && in transportDec_AdjustEndOfAccessUnit()
919 hTp->parser.adts.bs.num_raw_blocks + 1; in transportDec_readHeader()
948 (hTp->parser.adts.bs.num_raw_blocks - hTp->numberOfRawDataBlocks)); in transportDec_readHeader()
1743 nSubFrames = hTp->parser.adts.bs.num_raw_blocks; in transportDec_GetNrOfSubFrames()
1815 if ((pTp->parser.adts.bs.num_raw_blocks > 0) && in transportDec_CrcCheck()