Home
last modified time | relevance | path

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

/external/aac/libFDK/src/
DFDK_bitbuffer.cpp117 void FDK_CreateBitBuffer(HANDLE_FDK_BITBUF *hBitBuf, UCHAR *pBuffer, in FDK_CreateBitBuffer() argument
119 FDK_InitBitBuffer(*hBitBuf, pBuffer, bufSize, 0); in FDK_CreateBitBuffer()
121 FDKmemclear((*hBitBuf)->Buffer, bufSize * sizeof(UCHAR)); in FDK_CreateBitBuffer()
124 void FDK_DeleteBitBuffer(HANDLE_FDK_BITBUF hBitBuf) { ; } in FDK_DeleteBitBuffer() argument
126 void FDK_InitBitBuffer(HANDLE_FDK_BITBUF hBitBuf, UCHAR *pBuffer, UINT bufSize, 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->BitNdx = 0; in FDK_InitBitBuffer()
133 hBitBuf->Buffer = pBuffer; in FDK_InitBitBuffer()
[all …]
DFDK_crc.cpp437 FDKinitBitStream(&bsReader, hBs->hBitBuf.Buffer, hBs->hBitBuf.bufSize, in crcCalc()
438 hBs->hBitBuf.ValidBits, BS_READER); in crcCalc()
/external/aac/libSBRenc/src/
Dps_bitenc.cpp263 static INT encodeDeltaFreq(HANDLE_FDK_BITSTREAM hBitBuf, const INT *val, in encodeDeltaFreq() argument
279 FDKsbrEnc_WriteBits_ps(hBitBuf, codeTable[delta], lengthTable[delta]); in encodeDeltaFreq()
285 static INT encodeDeltaTime(HANDLE_FDK_BITSTREAM hBitBuf, const INT *val, in encodeDeltaTime() argument
300 FDKsbrEnc_WriteBits_ps(hBitBuf, codeTable[delta], lengthTable[delta]); in encodeDeltaTime()
306 INT FDKsbrEnc_EncodeIid(HANDLE_FDK_BITSTREAM hBitBuf, const INT *iidVal, in FDKsbrEnc_EncodeIid() argument
322 bitCnt += encodeDeltaFreq(hBitBuf, iidVal, nBands, codeTable, in FDKsbrEnc_EncodeIid()
330 encodeDeltaFreq(hBitBuf, iidVal, nBands, codeTable, lengthTable, in FDKsbrEnc_EncodeIid()
344 hBitBuf, iidVal, iidValLast, nBands, codeTable, lengthTable, in FDKsbrEnc_EncodeIid()
350 bitCnt += encodeDeltaTime(hBitBuf, iidVal, iidValLast, nBands, in FDKsbrEnc_EncodeIid()
366 INT FDKsbrEnc_EncodeIcc(HANDLE_FDK_BITSTREAM hBitBuf, const INT *iccVal, in FDKsbrEnc_EncodeIcc() argument
[all …]
Dps_bitenc.h149 INT FDKsbrEnc_EncodeIid(HANDLE_FDK_BITSTREAM hBitBuf, const INT *iidVal,
154 INT FDKsbrEnc_EncodeIcc(HANDLE_FDK_BITSTREAM hBitBuf, const INT *iccVal,
158 INT FDKsbrEnc_EncodeIpd(HANDLE_FDK_BITSTREAM hBitBuf, const INT *ipdVal,
162 INT FDKsbrEnc_EncodeOpd(HANDLE_FDK_BITSTREAM hBitBuf, const INT *opdVal,
167 HANDLE_FDK_BITSTREAM hBitBuf);
/external/aac/libFDK/include/
DFDK_bitstream.h120 FDK_BITBUF hBitBuf; member
142 FDK_InitBitBuffer(&hBitStream->hBitBuf, pBuffer, bufSize, 0);
167 FDK_InitBitBuffer(&hBitStream->hBitBuf, pBuffer, bufSize, validBits);
183 FDK_ResetBitBuffer(&hBitStream->hBitBuf);
195 FDK_DeleteBitBuffer(&hBitStream->hBitBuf); in FDKdeleteBitStream()
218 hBitStream->CacheWord = FDK_get32(&hBitStream->hBitBuf); in FDKreadBits()
230 hBitStream->CacheWord = FDK_get32(&hBitStream->hBitBuf); in FDKreadBit()
257 hBitStream->CacheWord = FDK_get32(&hBitStream->hBitBuf); in FDKread2Bits()
282 FDK_getBwd(&hBitStream->hBitBuf, freeBits); in FDKreadBitsBwd()
330 return FDK_get(&hBitStream->hBitBuf, numBits); in FDKgetBits()
[all …]
DFDK_bitbuffer.h147 INT FDK_get32(HANDLE_FDK_BITBUF hBitBuf);
/external/aac/libSBRdec/src/
Dpsbitdec.cpp120 HANDLE_FDK_BITSTREAM hBitBuf, /*!< Handle to Bitbuffer */ in decode_huff_cw() argument
128 bit = FDKreadBits(hBitBuf, 1); in decode_huff_cw()
451 HANDLE_FDK_BITSTREAM hBitBuf, /*!< handle to struct BIT_BUF */ in ReadPsData() argument
472 startbits = (INT)FDKgetValidBits(hBitBuf); in ReadPsData()
474 bEnableHeader = (SCHAR)FDKreadBits(hBitBuf, 1); in ReadPsData()
479 pBsData->bEnableIid = (UCHAR)FDKreadBits(hBitBuf, 1); in ReadPsData()
481 pBsData->modeIid = (UCHAR)FDKreadBits(hBitBuf, 3); in ReadPsData()
484 pBsData->bEnableIcc = (UCHAR)FDKreadBits(hBitBuf, 1); in ReadPsData()
486 pBsData->modeIcc = (UCHAR)FDKreadBits(hBitBuf, 3); in ReadPsData()
489 pBsData->bEnableExt = (UCHAR)FDKreadBits(hBitBuf, 1); in ReadPsData()
[all …]
Denv_extr.h391 UCHAR pvc_mode_last, HANDLE_FDK_BITSTREAM hBitBuf,
397 HANDLE_FDK_BITSTREAM hBitBuf, const UINT flags,
Dhuff_dec.h115 int DecodeHuffmanCW(Huffman h, HANDLE_FDK_BITSTREAM hBitBuf);
Dsbr_crc.h136 int SbrCrcCheck(HANDLE_FDK_BITSTREAM hBitBuf, LONG NrCrcBits);
Denv_extr.cpp1203 HANDLE_FDK_BITSTREAM hBitBuf, /*!< bitbuffer handle */ in extractLowDelayGrid() argument
1219 temp = FDKreadBits(hBitBuf, 3); in extractLowDelayGrid()
1225 temp = FDKreadBits(hBitBuf, 4); in extractLowDelayGrid()
1245 (UCHAR)FDKreadBits(hBitBuf, 1); /* f = F [1 bits] */ in extractLowDelayGrid()
/external/aac/libMpegTPEnc/src/
Dtpenc_adts.cpp263 FDKinitBitStream(&bsWriter, hBs->hBitBuf.Buffer, hBs->hBitBuf.bufSize, 0, in adtsWrite_EndRawDataBlock()
292 FDKinitBitStream(&bsWriter, hBs->hBitBuf.Buffer, hBs->hBitBuf.bufSize, 0, in adtsWrite_EndRawDataBlock()
Dtpenc_latm.cpp746 FDKinitBitStream(&tmpBuf, hBs->hBitBuf.Buffer, hBs->hBitBuf.bufSize, 0, in transportEnc_LatmGetFrame()
/external/aac/libMpegTPDec/src/
Dtpdec_latm.cpp379 tmpBs.hBitBuf.ValidBits = ascLen; in CLatmDemux_ReadStreamMuxConfig()