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.cpp132 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()
[all …]
Dtpenc_adts.h115 UCHAR num_raw_blocks; member
Dtpenc_lib.cpp480 if (hTpEnc->writer.adts.currentBlock >= hTpEnc->writer.adts.num_raw_blocks+1) { in transportEnc_GetFrame()
/external/aac/libMpegTPDec/src/
Dtpdec_adts.cpp205 bs.num_raw_blocks = FDKreadBits(hBs, Adts_Length_NumberOfRawDataBlocksInFrame); in adtsRead_DecodeHeader()
217 if (! bs.protection_absent && bs.num_raw_blocks>0) { in adtsRead_DecodeHeader()
218 for (i=0; i<bs.num_raw_blocks; i++) { in adtsRead_DecodeHeader()
223 pAdts->rawDataBlockDist[bs.num_raw_blocks] = bs.frame_length - 7 - bs.num_raw_blocks*2 - 2 ; in adtsRead_DecodeHeader()
224 for (i=bs.num_raw_blocks; i>0; i--) { in adtsRead_DecodeHeader()
240 if (bs.num_raw_blocks > 0) { in adtsRead_DecodeHeader()
368 if (pAdts->bs.num_raw_blocks == 0) { in adtsRead_GetRawDataBlockLength()
Dtpdec_lib.cpp431 …offset = hTp->parser.adts.rawDataBlockDist[hTp->parser.adts.bs.num_raw_blocks-hTp->numberOfRawDat… in transportDec_AdjustEndOfAccessUnit()
436 if (hTp->parser.adts.bs.num_raw_blocks > 0 && hTp->parser.adts.bs.protection_absent == 0) { in transportDec_AdjustEndOfAccessUnit()
573 hTp->numberOfRawDataBlocks = hTp->parser.adts.bs.num_raw_blocks+1; in transportDec_readHeader()
584 …tsRead_GetRawDataBlockLength(&hTp->parser.adts, (hTp->parser.adts.bs.num_raw_blocks-hTp->numberOfR… in transportDec_readHeader()
1252 nSubFrames = hTp->parser.adts.bs.num_raw_blocks; in transportDec_GetNrOfSubFrames()
1341 if ( (pTp->parser.adts.bs.num_raw_blocks > 0) && (pTp->parser.adts.bs.protection_absent == 0) ) in transportDec_CrcCheck()
Dtpdec_adts.h126 UCHAR num_raw_blocks; member