HomeSort by relevance Sort by last modified time
    Searched refs:hBitBuf (Results 1 - 15 of 15) sorted by null

  /frameworks/av/media/libstagefright/codecs/aacenc/src/
bitbuffer.c 31 static void updateBitBufWordPtr(HANDLE_BIT_BUF hBitBuf,
38 if(*pBitBufWord > hBitBuf->pBitBufEnd) {
39 *pBitBufWord -= (hBitBuf->pBitBufEnd - hBitBuf->pBitBufBase + 1);
42 if(*pBitBufWord < hBitBuf->pBitBufBase) {
43 *pBitBufWord += (hBitBuf->pBitBufEnd - hBitBuf->pBitBufBase + 1);
54 HANDLE_BIT_BUF CreateBitBuffer(HANDLE_BIT_BUF hBitBuf,
60 hBitBuf->pBitBufBase = pBitBufBase;
61 hBitBuf->pBitBufEnd = pBitBufBase + bitBufSize - 1
    [all...]
  /external/aac/libFDK/src/
FDK_bitbuffer.cpp 115 void FDK_CreateBitBuffer (HANDLE_FDK_BITBUF *hBitBuf, UCHAR *pBuffer,
118 FDK_InitBitBuffer (*hBitBuf, pBuffer, bufSize, 0);
120 FDKmemclear((*hBitBuf)->Buffer, bufSize*sizeof(UCHAR));
123 void FDK_DeleteBitBuffer (HANDLE_FDK_BITBUF hBitBuf) { ; }
125 void FDK_InitBitBuffer (HANDLE_FDK_BITBUF hBitBuf, UCHAR *pBuffer,
128 hBitBuf->ValidBits = validBits ;
129 hBitBuf->ReadOffset = 0 ;
130 hBitBuf->WriteOffset = 0 ;
131 hBitBuf->BitCnt = 0 ;
132 hBitBuf->BitNdx = 0
    [all...]
FDK_crc.cpp 418 FDKinitBitStream(&bsReader, hBs->hBitBuf.Buffer, hBs->hBitBuf.bufSize, hBs->hBitBuf.ValidBits, BS_READER);
  /frameworks/av/media/libstagefright/codecs/aacenc/inc/
bitbuffer.h 67 HANDLE_BIT_BUF CreateBitBuffer(HANDLE_BIT_BUF hBitBuf,
72 void DeleteBitBuffer(HANDLE_BIT_BUF *hBitBuf);
75 Word16 GetBitsAvail(HANDLE_BIT_BUF hBitBuf);
78 Word16 WriteBits(HANDLE_BIT_BUF hBitBuf,
82 void ResetBitBuf(HANDLE_BIT_BUF hBitBuf,
86 #define GetNrBitsAvailable(hBitBuf) ( (hBitBuf)->cntBits)
87 #define GetNrBitsRead(hBitBuf) ((hBitBuf)->size-(hBitBuf)->cntBits
    [all...]
  /external/aac/libSBRdec/src/
huff_dec.h 98 HANDLE_FDK_BITSTREAM hBitBuf);
sbr_crc.h 119 int SbrCrcCheck (HANDLE_FDK_BITSTREAM hBitBuf,
psbitdec.cpp 103 HANDLE_FDK_BITSTREAM hBitBuf, /*!< Handle to Bitbuffer */
111 bit = FDKreadBits (hBitBuf, 1);
438 HANDLE_FDK_BITSTREAM hBitBuf, /*!< handle to struct BIT_BUF */
461 startbits = (INT) FDKgetValidBits(hBitBuf);
463 bEnableHeader = (SCHAR) FDKreadBits (hBitBuf, 1);
468 pBsData->bEnableIid = (UCHAR) FDKreadBits (hBitBuf, 1);
470 pBsData->modeIid = (UCHAR) FDKreadBits (hBitBuf, 3);
473 pBsData->bEnableIcc = (UCHAR) FDKreadBits (hBitBuf, 1);
475 pBsData->modeIcc = (UCHAR) FDKreadBits (hBitBuf, 3);
478 pBsData->bEnableExt = (UCHAR) FDKreadBits (hBitBuf, 1)
    [all...]
env_extr.h 286 HANDLE_FDK_BITSTREAM hBitBuf,
295 HANDLE_FDK_BITSTREAM hBitBuf,
301 HANDLE_FDK_BITSTREAM hBitBuf,
env_extr.cpp 936 extractLowDelayGrid (HANDLE_FDK_BITSTREAM hBitBuf, /*!< bitbuffer handle */
953 temp = FDKreadBits( hBitBuf, 3);
959 temp = FDKreadBits( hBitBuf, 4);
974 pFrameInfo->freqRes[k] = (UCHAR) FDKreadBits (hBitBuf, 1); /* f = F [1 bits] */
    [all...]
  /external/aac/libFDK/include/
FDK_bitstream.h 113 FDK_BITBUF hBitBuf;
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) ;
216 hBitStream->CacheWord = FDK_get32 (&hBitStream->hBitBuf) ;
231 hBitStream->CacheWord = (hBitStream->CacheWord << freeBits) | FDK_get (&hBitStream->hBitBuf,freeBits) ;
246 hBitStream->CacheWord = FDK_get32 (&hBitStream->hBitBuf);
273 hBitStream->CacheWord = (hBitStream->CacheWord << freeBits) | FDK_get (&hBitStream->hBitBuf,freeBits) ;
297 hBitStream->CacheWord = (hBitStream->CacheWord << freeBits) | FDK_getBwd (&hBitStream->hBitBuf,freeBits)
    [all...]
  /external/aac/libSBRenc/src/
ps_bitenc.cpp 290 encodeDeltaFreq(HANDLE_FDK_BITSTREAM hBitBuf,
310 bitCnt += FDKsbrEnc_WriteBits_ps(hBitBuf, codeTable[delta], lengthTable[delta]);
317 encodeDeltaTime(HANDLE_FDK_BITSTREAM hBitBuf,
336 bitCnt += FDKsbrEnc_WriteBits_ps(hBitBuf, codeTable[delta], lengthTable[delta]);
342 INT FDKsbrEnc_EncodeIid(HANDLE_FDK_BITSTREAM hBitBuf,
362 bitCnt += encodeDeltaFreq(hBitBuf, iidVal, nBands, codeTable,
369 bitCnt += encodeDeltaFreq(hBitBuf, iidVal, nBands, codeTable,
383 bitCnt += encodeDeltaTime(hBitBuf, iidVal, iidValLast, nBands, codeTable,
390 bitCnt += encodeDeltaTime(hBitBuf, iidVal, iidValLast, nBands, codeTable,
407 INT FDKsbrEnc_EncodeIcc(HANDLE_FDK_BITSTREAM hBitBuf,
    [all...]
ps_bitenc.h 139 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/libMpegTPEnc/src/
tpenc_adts.cpp 262 FDKinitBitStream(&bsWriter, hBs->hBitBuf.Buffer, hBs->hBitBuf.bufSize, 0, BS_WRITER);
288 FDKinitBitStream(&bsWriter, hBs->hBitBuf.Buffer, hBs->hBitBuf.bufSize, 0, BS_WRITER);
tpenc_latm.cpp 791 FDKinitBitStream( &tmpBuf, hBs->hBitBuf.Buffer, hBs->hBitBuf.bufSize, 0, BS_WRITER ) ;
  /external/aac/libMpegTPDec/src/
tpdec_latm.cpp 269 tmpBs.hBitBuf.ValidBits = ascLen;

Completed in 302 milliseconds