Home
last modified time | relevance | path

Searched refs:hBitStream (Results 1 – 9 of 9) sorted by relevance

/external/aac/libFDK/include/
DFDK_bitstream.h133 HANDLE_FDK_BITSTREAM hBitStream = (HANDLE_FDK_BITSTREAM) FDKcalloc(1, sizeof(FDK_BITSTREAM)); variable
134 FDK_InitBitBuffer(&hBitStream->hBitBuf, pBuffer, bufSize, 0) ;
137 hBitStream->CacheWord = hBitStream->BitsInCache = 0 ;
138 hBitStream->ConfigCache = config ;
140 return hBitStream ;
155 void FDKinitBitStream (HANDLE_FDK_BITSTREAM hBitStream,
161 FDK_InitBitBuffer(&hBitStream->hBitBuf, pBuffer, bufSize, validBits) ;
164 hBitStream->CacheWord = hBitStream->BitsInCache = 0 ;
165 hBitStream->ConfigCache = config ;
176 FDK_INLINE void FDKresetBitbuffer( HANDLE_FDK_BITSTREAM hBitStream, FDK_BS_CFG config = BS_READER)
[all …]
/external/aac/libSBRenc/src/
Dbit_sbr.cpp118 HANDLE_FDK_BITSTREAM hBitStream);
121 HANDLE_FDK_BITSTREAM hBitStream
131 HANDLE_FDK_BITSTREAM hBitStream,
136 HANDLE_FDK_BITSTREAM hBitStream);
139 HANDLE_FDK_BITSTREAM hBitStream,
143 HANDLE_FDK_BITSTREAM hBitStream);
146 HANDLE_FDK_BITSTREAM hBitStream,
150 HANDLE_FDK_BITSTREAM hBitStream,
154 HANDLE_FDK_BITSTREAM hBitStream);
158 HANDLE_FDK_BITSTREAM hBitStream);
[all …]
Dps_bitenc.cpp98 inline UCHAR FDKsbrEnc_WriteBits_ps(HANDLE_FDK_BITSTREAM hBitStream, UINT value, in FDKsbrEnc_WriteBits_ps() argument
102 if(hBitStream!=NULL){ in FDKsbrEnc_WriteBits_ps()
103 FDKwriteBits(hBitStream, value, numberOfBits); in FDKsbrEnc_WriteBits_ps()
/external/aac/libAACenc/src/
Dbitenc.cpp119 HANDLE_FDK_BITSTREAM hBitStream) in FDKaacEnc_encodeSpectralData() argument
122 INT dbgVal = FDKgetValidBits(hBitStream); in FDKaacEnc_encodeSpectralData()
135 hBitStream); in FDKaacEnc_encodeSpectralData()
139 return(FDKgetValidBits(hBitStream)-dbgVal); in FDKaacEnc_encodeSpectralData()
153 HANDLE_FDK_BITSTREAM hBitStream, in FDKaacEnc_encodeGlobalGain() argument
156 if (hBitStream != NULL) { in FDKaacEnc_encodeGlobalGain()
157 FDKwriteBits(hBitStream,globalGain - scalefac + globalGainOffset-4*(LOG_NORM_PCM-mdctScale),8); in FDKaacEnc_encodeGlobalGain()
177 HANDLE_FDK_BITSTREAM hBitStream, in FDKaacEnc_encodeIcsInfo() argument
193 if (hBitStream != NULL) { in FDKaacEnc_encodeIcsInfo()
196 FDKwriteBits(hBitStream,icsReservedBit,1); in FDKaacEnc_encodeIcsInfo()
[all …]
/external/aac/libMpegTPEnc/src/
Dtpenc_adts.cpp188 HANDLE_FDK_BITSTREAM hBitStream, in adtsWrite_EncodeHeader() argument
205 FDKresetBitbuffer(hBitStream, BS_WRITER); in adtsWrite_EncodeHeader()
208 hAdts->subFrameStartBit = FDKgetValidBits(hBitStream); in adtsWrite_EncodeHeader()
213 FDKresetBitbuffer(hBitStream, BS_WRITER); in adtsWrite_EncodeHeader()
216 crcIndex = adtsWrite_CrcStartReg(hAdts, hBitStream, 0); in adtsWrite_EncodeHeader()
220 FDKwriteBits(hBitStream, 0xFFF, 12); in adtsWrite_EncodeHeader()
221 FDKwriteBits(hBitStream, hAdts->mpeg_id, 1); in adtsWrite_EncodeHeader()
222 FDKwriteBits(hBitStream, hAdts->layer, 2); in adtsWrite_EncodeHeader()
223 FDKwriteBits(hBitStream, hAdts->protection_absent, 1); in adtsWrite_EncodeHeader()
224 FDKwriteBits(hBitStream, hAdts->profile, 2); in adtsWrite_EncodeHeader()
[all …]
Dtpenc_adif.h120 HANDLE_FDK_BITSTREAM hBitStream,
Dtpenc_adts.h161 HANDLE_FDK_BITSTREAM hBitStream,
Dtpenc_latm.cpp512 WriteAuPayloadLengthInfo( HANDLE_FDK_BITSTREAM hBitStream, int AuLengthBits ) in WriteAuPayloadLengthInfo() argument
520 FDKwriteBits( hBitStream, 255, 8 ); /* 255 shows incomplete AU */ in WriteAuPayloadLengthInfo()
525 FDKwriteBits( hBitStream, restBytes, 8 ); in WriteAuPayloadLengthInfo()
/external/aac/libPCMutils/include/
Dpcmutils_lib.h239 HANDLE_FDK_BITSTREAM hBitStream,