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 HANDLE_BIT_BUF CreateBitBuffer(HANDLE_BIT_BUF hBitBuf,
37 hBitBuf->pBitBufBase = pBitBufBase;
38 hBitBuf->pBitBufEnd = pBitBufBase + bitBufSize - 1;
40 hBitBuf->pWriteNext = pBitBufBase;
42 hBitBuf->cache = 0;
44 hBitBuf->wBitPos = 0;
45 hBitBuf->cntBits = 0;
47 hBitBuf->size = (bitBufSize << 3);
48 hBitBuf->isValid = 1;
50 return hBitBuf;
    [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 291 HANDLE_FDK_BITSTREAM hBitBuf,
300 HANDLE_FDK_BITSTREAM hBitBuf,
306 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 292 encodeDeltaFreq(HANDLE_FDK_BITSTREAM hBitBuf,
312 bitCnt += FDKsbrEnc_WriteBits_ps(hBitBuf, codeTable[delta], lengthTable[delta]);
319 encodeDeltaTime(HANDLE_FDK_BITSTREAM hBitBuf,
338 bitCnt += FDKsbrEnc_WriteBits_ps(hBitBuf, codeTable[delta], lengthTable[delta]);
344 INT FDKsbrEnc_EncodeIid(HANDLE_FDK_BITSTREAM hBitBuf,
364 bitCnt += encodeDeltaFreq(hBitBuf, iidVal, nBands, codeTable,
371 bitCnt += encodeDeltaFreq(hBitBuf, iidVal, nBands, codeTable,
385 bitCnt += encodeDeltaTime(hBitBuf, iidVal, iidValLast, nBands, codeTable,
392 bitCnt += encodeDeltaTime(hBitBuf, iidVal, iidValLast, nBands, codeTable,
409 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 790 FDKinitBitStream( &tmpBuf, hBs->hBitBuf.Buffer, hBs->hBitBuf.bufSize, 0, BS_WRITER ) ;
  /external/aac/libMpegTPDec/src/
tpdec_latm.cpp 277 tmpBs.hBitBuf.ValidBits = ascLen;

Completed in 1801 milliseconds