/external/aac/libMpegTPEnc/src/ |
tpenc_adif.cpp | 98 HANDLE_FDK_BITSTREAM hBs, 116 UINT alignAnchor = FDKgetValidBits(hBs); 121 FDKwriteBits(hBs, adifId[0],8); 122 FDKwriteBits(hBs, adifId[1],8); 123 FDKwriteBits(hBs, adifId[2],8); 124 FDKwriteBits(hBs, adifId[3],8); 127 FDKwriteBits(hBs, copyRightIdPresent ? 1:0,1); 131 FDKwriteBits(hBs,0,1); 134 FDKwriteBits(hBs, originalCopy ? 1:0,1); 135 FDKwriteBits(hBs, home ? 1:0,1) [all...] |
tpenc_latm.cpp | 113 UINT transportEnc_LatmWriteValue(HANDLE_FDK_BITSTREAM hBs, int value) 129 FDKwriteBits(hBs, valueBytes-1, 2 ); /* size of value in Bytes */ 132 FDKwriteBits(hBs, (UCHAR)(value>>((valueBytes-1-i)<<3)), 8); 289 HANDLE_FDK_BITSTREAM hBs, 302 FDKwriteBits( hBs, hAss->audioMuxVersion, 1 ); /* audioMuxVersion */ 306 FDKwriteBits( hBs, hAss->audioMuxVersionA, 1 ); /* audioMuxVersionA */ 313 hAss->streamMuxConfigBits+= transportEnc_LatmWriteValue( hBs, hAss->taraBufferFullness );/* taraBufferFullness */ 315 FDKwriteBits( hBs, hAss->allStreamsSameTimeFraming ? 1:0, 1 ); /* allStreamsSameTimeFraming */ 316 FDKwriteBits( hBs, hAss->noSubframes-1, 6 ); /* Number of Subframes */ 317 FDKwriteBits( hBs, hAss->noProgram-1, 4 ); /* Number of Programs * [all...] |
tpenc_asc.cpp | 219 int transportEnc_writePCE(HANDLE_FDK_BITSTREAM hBs, 245 FDKwriteBits(hBs, instanceTagPCE, 4); /* Element instance tag */ 246 FDKwriteBits(hBs, profile, 2); /* Object type */ 247 FDKwriteBits(hBs, sampleRateIndex, 4); /* Sample rate index*/ 249 FDKwriteBits(hBs, config->num_front_channel_elements, 4); /* Front channel Elements */ 250 FDKwriteBits(hBs, config->num_side_channel_elements , 4); /* No Side Channel Elements */ 251 FDKwriteBits(hBs, config->num_back_channel_elements , 4); /* No Back channel Elements */ 252 FDKwriteBits(hBs, config->num_lfe_channel_elements , 2); /* No Lfe channel elements */ 254 FDKwriteBits(hBs, 0, 3); /* No assoc data elements */ 255 FDKwriteBits(hBs, 0, 4); /* No valid cc elements * [all...] |
tpenc_adts.h | 169 * \param hBs bitstream handle into which the ADTS may be written into 176 HANDLE_FDK_BITSTREAM hBs, 190 * \param hBs bitstream handle of which the CRC region ends 197 HANDLE_FDK_BITSTREAM hBs, 205 * \param hBs bitstream handle of which the CRC region ends 210 HANDLE_FDK_BITSTREAM hBs,
|
tpenc_asc.h | 106 * \param hBs bitstream handle into which the PCE is appended 117 HANDLE_FDK_BITSTREAM hBs,
|
tpenc_adts.cpp | 100 HANDLE_FDK_BITSTREAM hBs, /*!< handle to current bit buffer structure */ 107 return ( FDKcrcStartReg(&pAdts->crcInfo, hBs, mBits) ); 112 HANDLE_FDK_BITSTREAM hBs, /*!< handle to current bit buffer structure */ 118 FDKcrcEndReg(&pAdts->crcInfo, hBs, reg); 256 HANDLE_FDK_BITSTREAM hBs, 262 FDKinitBitStream(&bsWriter, hBs->hBitBuf.Buffer, hBs->hBitBuf.bufSize, 0, BS_WRITER); 271 FDKwriteBits(hBs, FDKcrcGetCRC(&hAdts->crcInfo), 16); 276 distance = FDKgetValidBits(hBs) - (56 + (hAdts->num_raw_blocks)*16 + 16); 288 FDKinitBitStream(&bsWriter, hBs->hBitBuf.Buffer, hBs->hBitBuf.bufSize, 0, BS_WRITER) [all...] |
tpenc_latm.h | 166 * \param hBs Bitstream handle 176 HANDLE_FDK_BITSTREAM hBs, 232 * \param hBs Bitstream handle 241 HANDLE_FDK_BITSTREAM hBs, 249 * \param hBs Bitstream handle 258 HANDLE_FDK_BITSTREAM hBs,
|
tpenc_lib.cpp | 359 HANDLE_FDK_BITSTREAM hBs = &hTp->bitStream; 371 hBs, 394 hBs, 405 hTp->writer.raw.prevBits = FDKgetValidBits(hBs); 470 HANDLE_FDK_BITSTREAM hBs = &hTpEnc->bitStream; 477 transportEnc_LatmGetFrame(&hTpEnc->writer.latm, hBs, nbytes); 481 *nbytes = (FDKgetValidBits(hBs) + 7)>>3; 488 FDK_ASSERT((INT)FDKgetValidBits(hBs) >= 0); 489 *nbytes = (FDKgetValidBits(hBs) + 7)>>3; 492 FDKsyncCache(hBs); [all...] |
/external/aac/libSBRdec/src/ |
huff_dec.cpp | 106 HANDLE_FDK_BITSTREAM hBs) /*!< Handle to Bitbuffer */ 112 bit = FDKreadBits (hBs, 1);
|
psbitdec.h | 95 HANDLE_FDK_BITSTREAM hBs,
|
sbr_crc.cpp | 124 getCrc (HANDLE_FDK_BITSTREAM hBs, ULONG NrBits) 139 bValue = FDKreadBits (hBs, MAXCRCSTEP); 143 bValue = FDKreadBits (hBs, CrcNrBitsRest); 156 SbrCrcCheck (HANDLE_FDK_BITSTREAM hBs, /*!< handle to bit-buffer */ 165 crcCheckSum = FDKreadBits (hBs, 10); 167 NrBitsAvailable = FDKgetValidBits(hBs); 174 crcCheckResult = getCrc (hBs, NrCrcBits); 175 FDKpushBack(hBs, (NrBitsAvailable - FDKgetValidBits(hBs)) );
|
env_extr.cpp | 140 static int extractFrameInfo (HANDLE_FDK_BITSTREAM hBs, 150 HANDLE_FDK_BITSTREAM hBs, 154 HANDLE_FDK_BITSTREAM hBs); 158 HANDLE_FDK_BITSTREAM hBs); 270 HANDLE_FDK_BITSTREAM hBs, 289 hHeaderData->bs_info.ampResolution = FDKreadBits (hBs, 1); 292 pBsData->startFreq = FDKreadBits (hBs, 4); 293 pBsData->stopFreq = FDKreadBits (hBs, 4); 296 hHeaderData->bs_info.xover_band = FDKreadBits (hBs, 3); 297 FDKreadBits (hBs, 2) [all...] |
sbr_ram.h | 105 HANDLE_FDK_BITSTREAM hBs;
|
sbrdecoder.cpp | 608 HANDLE_FDK_BITSTREAM hBs, 650 hBs, 918 HANDLE_FDK_BITSTREAM hBs, 947 startPos = FDKgetValidBits(hBs); 996 if ((INT)FDKgetValidBits(hBs) <= 0) { 1009 FDKpushFor (hBs, 10); 1017 fDoDecodeSbrData = SbrCrcCheck (hBs, CRCLen); 1032 sbrHeaderPresent = FDKreadBit(hBs); 1037 hBs, 1076 hBs, [all...] |
/external/aac/libMpegTPDec/src/ |
tpdec_adts.cpp | 105 HANDLE_FDK_BITSTREAM hBs, /*!< handle to current bit buffer structure */ 113 return ( FDKcrcStartReg(&pAdts->crcInfo, hBs, mBits) ); 119 HANDLE_FDK_BITSTREAM hBs, /*!< handle to current bit buffer structure */ 125 FDKcrcEndReg(&pAdts->crcInfo, hBs, reg); 168 HANDLE_FDK_BITSTREAM hBs, 187 valBits = FDKgetValidBits(hBs); 190 bs.mpeg_id = FDKreadBits(hBs, Adts_Length_Id); 191 bs.layer = FDKreadBits(hBs, Adts_Length_Layer); 192 bs.protection_absent = FDKreadBits(hBs, Adts_Length_ProtectionAbsent); 193 bs.profile = FDKreadBits(hBs, Adts_Length_Profile) [all...] |
tpdec_lib.cpp | 222 HANDLE_FDK_BITSTREAM hBs = &bs; 224 FDKinitBitStream(hBs, conf, 0x10000000, length<<3, BS_READER); 238 err = CLatmDemux_ReadStreamMuxConfig(hBs, pLatmDemux, &hTp->callbacks, hTp->asc, &fConfigFound); 246 err = AudioSpecificConfig_Parse(&hTp->asc[layer], hBs, 1, &hTp->callbacks); 302 HANDLE_FDK_BITSTREAM hBs; 315 hBs = &hTp->bitStream[layer]; 323 FDKinitBitStream(hBs, pBuffer, 0x10000, (*pBytesValid)<<3, BS_READER); 329 FDKfeedBuffer (hBs, pBuffer, bufferSize, pBytesValid) ; 378 HANDLE_FDK_BITSTREAM hBs = &hTp->bitStream[0]; 388 FDKbyteAlign(hBs, hTp->globalFramePos) [all...] |
tpdec_adts.h | 162 * \param hBs bitstream handle, on which the CRC region referes to 169 HANDLE_FDK_BITSTREAM hBs, 177 * \param hBs bitstream handle, on which the CRC region referes to 184 HANDLE_FDK_BITSTREAM hBs,
|
tpdec_asc.cpp | [all...] |
/external/aac/libAACdec/src/ |
aacdec_drc.h | 135 HANDLE_FDK_BITSTREAM hBs, 140 HANDLE_FDK_BITSTREAM hBs, 170 HANDLE_FDK_BITSTREAM hBs,
|
channel.cpp | 228 AAC_DECODER_ERROR CChannelElement_Read(HANDLE_FDK_BITSTREAM hBs, 276 pAacDecoderChannelInfo[0]->ElementInstanceTag = FDKreadBits(hBs, 4); 282 decision_bit = pAacDecoderChannelInfo[ch]->pDynData->RawDataInfo.CommonWindow = FDKreadBits(hBs, 1); 289 error = IcsRead( hBs, 301 if (FDKreadBits(hBs, 1) != 0) { 308 hBs, 320 pAacDecoderChannelInfo[ch]->pDynData->RawDataInfo.GlobalGain = (UCHAR) FDKreadBits(hBs,8); 324 error = CBlock_ReadSectionData( hBs, 334 CRvlc_Read(pAacDecoderChannelInfo[ch], hBs); 338 error = CBlock_ReadScaleFactorData(pAacDecoderChannelInfo[ch], hBs, flags) [all...] |
channel.h | 125 * \param hBs bitstream handle to access bitstream data. 136 AAC_DECODER_ERROR CChannelElement_Read(HANDLE_FDK_BITSTREAM hBs,
|
/external/aac/libFDK/include/ |
FDK_crc.h | 181 * \param hBs Pointer to current bit buffer structure. 194 const HANDLE_FDK_BITSTREAM hBs, 207 * \param hBs Pointer to current bit buffer structure. 214 const HANDLE_FDK_BITSTREAM hBs,
|
/external/aac/libFDK/src/ |
FDK_crc.cpp | 182 HANDLE_FDK_BITSTREAM hBs, 189 HANDLE_FDK_BITSTREAM hBs, 195 HANDLE_FDK_BITSTREAM hBs, 256 const HANDLE_FDK_BITSTREAM hBs, 265 hCrcInfo->crcRegData[reg].validBits = FDKgetValidBits(hBs) ; 275 const HANDLE_FDK_BITSTREAM hBs, 281 if (hBs->ConfigCache==BS_WRITER) { 282 hCrcInfo->crcRegData[reg].bitBufCntBits = FDKgetValidBits(hBs) - hCrcInfo->crcRegData[reg].validBits; 285 hCrcInfo->crcRegData[reg].bitBufCntBits = hCrcInfo->crcRegData[reg].validBits - FDKgetValidBits(hBs); 292 crcCalc( hCrcInfo, hBs, reg) [all...] |
/external/aac/libPCMutils/src/ |
pcmutils_lib.cpp | [all...] |
/external/aac/libSBRdec/include/ |
sbrdecoder.h | 196 * \param hBs bit stream handle data source. 204 HANDLE_FDK_BITSTREAM hBs, 267 * \param hBs Bit stream handle as data source. 278 HANDLE_FDK_BITSTREAM hBs,
|