Home
last modified time | relevance | path

Searched refs:hBitBuf (Results 1 – 13 of 13) sorted by relevance

/external/aac/libFDK/src/
DFDK_bitbuffer.cpp115 void FDK_CreateBitBuffer (HANDLE_FDK_BITBUF *hBitBuf, UCHAR *pBuffer, in FDK_CreateBitBuffer() argument
118 FDK_InitBitBuffer (*hBitBuf, pBuffer, bufSize, 0); in FDK_CreateBitBuffer()
120 FDKmemclear((*hBitBuf)->Buffer, bufSize*sizeof(UCHAR)); in FDK_CreateBitBuffer()
123 void FDK_DeleteBitBuffer (HANDLE_FDK_BITBUF hBitBuf) { ; } in FDK_DeleteBitBuffer() argument
125 void FDK_InitBitBuffer (HANDLE_FDK_BITBUF hBitBuf, UCHAR *pBuffer, in FDK_InitBitBuffer() argument
128 hBitBuf->ValidBits = validBits ; in FDK_InitBitBuffer()
129 hBitBuf->ReadOffset = 0 ; in FDK_InitBitBuffer()
130 hBitBuf->WriteOffset = 0 ; in FDK_InitBitBuffer()
131 hBitBuf->BitCnt = 0 ; in FDK_InitBitBuffer()
132 hBitBuf->BitNdx = 0 ; in FDK_InitBitBuffer()
[all …]
DFDK_crc.cpp418 …FDKinitBitStream(&bsReader, hBs->hBitBuf.Buffer, hBs->hBitBuf.bufSize, hBs->hBitBuf.ValidBits, BS_… in crcCalc()
/external/aac/libSBRenc/src/
Dps_bitenc.cpp292 encodeDeltaFreq(HANDLE_FDK_BITSTREAM hBitBuf, in encodeDeltaFreq() argument
312 bitCnt += FDKsbrEnc_WriteBits_ps(hBitBuf, codeTable[delta], lengthTable[delta]); in encodeDeltaFreq()
319 encodeDeltaTime(HANDLE_FDK_BITSTREAM hBitBuf, in encodeDeltaTime() argument
338 bitCnt += FDKsbrEnc_WriteBits_ps(hBitBuf, codeTable[delta], lengthTable[delta]); in encodeDeltaTime()
344 INT FDKsbrEnc_EncodeIid(HANDLE_FDK_BITSTREAM hBitBuf, in FDKsbrEnc_EncodeIid() argument
364 bitCnt += encodeDeltaFreq(hBitBuf, iidVal, nBands, codeTable, in FDKsbrEnc_EncodeIid()
371 bitCnt += encodeDeltaFreq(hBitBuf, iidVal, nBands, codeTable, in FDKsbrEnc_EncodeIid()
385 bitCnt += encodeDeltaTime(hBitBuf, iidVal, iidValLast, nBands, codeTable, in FDKsbrEnc_EncodeIid()
392 bitCnt += encodeDeltaTime(hBitBuf, iidVal, iidValLast, nBands, codeTable, in FDKsbrEnc_EncodeIid()
409 INT FDKsbrEnc_EncodeIcc(HANDLE_FDK_BITSTREAM hBitBuf, in FDKsbrEnc_EncodeIcc() argument
[all …]
Dps_bitenc.h139 INT FDKsbrEnc_EncodeIid(HANDLE_FDK_BITSTREAM hBitBuf,
147 INT FDKsbrEnc_EncodeIcc(HANDLE_FDK_BITSTREAM hBitBuf,
154 INT FDKsbrEnc_EncodeIpd(HANDLE_FDK_BITSTREAM hBitBuf,
161 INT FDKsbrEnc_EncodeOpd(HANDLE_FDK_BITSTREAM hBitBuf,
169 HANDLE_FDK_BITSTREAM hBitBuf);
/external/aac/libFDK/include/
DFDK_bitstream.h113 FDK_BITBUF hBitBuf; member
134 FDK_InitBitBuffer(&hBitStream->hBitBuf, pBuffer, bufSize, 0) ;
161 FDK_InitBitBuffer(&hBitStream->hBitBuf, pBuffer, bufSize, validBits) ;
178 FDK_ResetBitBuffer( &hBitStream->hBitBuf ) ;
192 FDK_DeleteBitBuffer(&hBitStream->hBitBuf) ; in FDKdeleteBitStream()
216 hBitStream->CacheWord = FDK_get32 (&hBitStream->hBitBuf) ; in FDKreadBits()
231 …hBitStream->CacheWord = (hBitStream->CacheWord << freeBits) | FDK_get (&hBitStream->hBitBuf,freeBi… in FDKreadBits()
246 hBitStream->CacheWord = FDK_get32 (&hBitStream->hBitBuf); in FDKreadBit()
273 …hBitStream->CacheWord = (hBitStream->CacheWord << freeBits) | FDK_get (&hBitStream->hBitBuf,freeBi… in FDKread2Bits()
297 …hBitStream->CacheWord = (hBitStream->CacheWord << freeBits) | FDK_getBwd (&hBitStream->hBitBuf,fre… in FDKreadBitsBwd()
[all …]
/external/aac/libSBRdec/src/
Dpsbitdec.cpp103 HANDLE_FDK_BITSTREAM hBitBuf, /*!< Handle to Bitbuffer */ in decode_huff_cw() argument
111 bit = FDKreadBits (hBitBuf, 1); in decode_huff_cw()
438 HANDLE_FDK_BITSTREAM hBitBuf, /*!< handle to struct BIT_BUF */ in ReadPsData() argument
461 startbits = (INT) FDKgetValidBits(hBitBuf); in ReadPsData()
463 bEnableHeader = (SCHAR) FDKreadBits (hBitBuf, 1); in ReadPsData()
468 pBsData->bEnableIid = (UCHAR) FDKreadBits (hBitBuf, 1); in ReadPsData()
470 pBsData->modeIid = (UCHAR) FDKreadBits (hBitBuf, 3); in ReadPsData()
473 pBsData->bEnableIcc = (UCHAR) FDKreadBits (hBitBuf, 1); in ReadPsData()
475 pBsData->modeIcc = (UCHAR) FDKreadBits (hBitBuf, 3); in ReadPsData()
478 pBsData->bEnableExt = (UCHAR) FDKreadBits (hBitBuf, 1); in ReadPsData()
[all …]
Denv_extr.h291 HANDLE_FDK_BITSTREAM hBitBuf,
300 HANDLE_FDK_BITSTREAM hBitBuf,
306 HANDLE_FDK_BITSTREAM hBitBuf,
Dhuff_dec.h98 HANDLE_FDK_BITSTREAM hBitBuf);
Dsbr_crc.h119 int SbrCrcCheck (HANDLE_FDK_BITSTREAM hBitBuf,
Denv_extr.cpp939 extractLowDelayGrid (HANDLE_FDK_BITSTREAM hBitBuf, /*!< bitbuffer handle */ in extractLowDelayGrid() argument
956 temp = FDKreadBits( hBitBuf, 3); in extractLowDelayGrid()
962 temp = FDKreadBits( hBitBuf, 4); in extractLowDelayGrid()
977 pFrameInfo->freqRes[k] = (UCHAR) FDKreadBits (hBitBuf, 1); /* f = F [1 bits] */ in extractLowDelayGrid()
/external/aac/libMpegTPEnc/src/
Dtpenc_adts.cpp262 FDKinitBitStream(&bsWriter, hBs->hBitBuf.Buffer, hBs->hBitBuf.bufSize, 0, BS_WRITER); in adtsWrite_EndRawDataBlock()
288 FDKinitBitStream(&bsWriter, hBs->hBitBuf.Buffer, hBs->hBitBuf.bufSize, 0, BS_WRITER); in adtsWrite_EndRawDataBlock()
Dtpenc_latm.cpp790 FDKinitBitStream( &tmpBuf, hBs->hBitBuf.Buffer, hBs->hBitBuf.bufSize, 0, BS_WRITER ) ; in transportEnc_LatmGetFrame()
/external/aac/libMpegTPDec/src/
Dtpdec_latm.cpp277 tmpBs.hBitBuf.ValidBits = ascLen; in CLatmDemux_ReadStreamMuxConfig()