Home
last modified time | relevance | path

Searched refs:adif (Results 1 – 4 of 4) sorted by relevance

/external/aac/libMpegTPEnc/src/
Dtpenc_adif.cpp97 int adifWrite_EncodeHeader(ADIF_INFO *adif, in adifWrite_EncodeHeader() argument
109 INT sampleRate = adif->samplingRate; in adifWrite_EncodeHeader()
110 INT totalBitRate = adif->bitRate; in adifWrite_EncodeHeader()
112 if (adif->headerWritten) in adifWrite_EncodeHeader()
119 adif->bVariableRate = ( adif_buffer_fullness >= (INT)(0x1<<20) ) ? 1 : 0; in adifWrite_EncodeHeader()
136 FDKwriteBits(hBs, adif->bVariableRate?1:0, 1); in adifWrite_EncodeHeader()
142 if(!adif->bVariableRate) { in adifWrite_EncodeHeader()
147 …transportEnc_writePCE(hBs, adif->cm, sampleRate, adif->instanceTag, adif->profile, 0, 0, alignAnch… in adifWrite_EncodeHeader()
152 int adifWrite_GetHeaderBits(ADIF_INFO *adif) in adifWrite_GetHeaderBits() argument
157 if (adif->headerWritten) in adifWrite_GetHeaderBits()
[all …]
Dtpenc_lib.cpp129 ADIF_INFO adif; member
269 hTpEnc->writer.adif.headerWritten = 0; in transportEnc_Init()
270 hTpEnc->writer.adif.samplingRate = hTpEnc->config.samplingRate; in transportEnc_Init()
271 hTpEnc->writer.adif.bitRate = hTpEnc->config.bitRate; in transportEnc_Init()
272 hTpEnc->writer.adif.profile = ((int)hTpEnc->config.aot) - 1; in transportEnc_Init()
273 hTpEnc->writer.adif.cm = hTpEnc->config.channelMode; in transportEnc_Init()
274 hTpEnc->writer.adif.bVariableRate = 0; in transportEnc_Init()
275 hTpEnc->writer.adif.instanceTag = 0; in transportEnc_Init()
370 &hTp->writer.adif, in transportEnc_WriteAccessUnit()
455 *bits -= adifWrite_GetHeaderBits(&hTp->writer.adif); in transportEnc_EndAccessUnit()
[all …]
Dtpenc_adif.h119 ADIF_INFO *adif,
132 int adifWrite_GetHeaderBits( ADIF_INFO *adif );
/external/aac/libMpegTPDec/src/
Dtpdec_lib.cpp113 CAdifHeader adif; member
1074 err = adifRead_DecodeHeader(&hTp->parser.adif, pce, hBs); in transportDec_ReadAccessUnit()
1084 hTp->avgBitRate = hTp->parser.adif.BitRate; in transportDec_ReadAccessUnit()