Home
last modified time | relevance | path

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

/external/aac/libFDK/include/
DFDK_bitstream.h139 HANDLE_FDK_BITSTREAM hBitStream = variable
141 if (hBitStream == NULL) return NULL;
142 FDK_InitBitBuffer(&hBitStream->hBitBuf, pBuffer, bufSize, 0);
145 hBitStream->CacheWord = hBitStream->BitsInCache = 0;
146 hBitStream->ConfigCache = config;
148 return hBitStream;
164 void FDKinitBitStream(HANDLE_FDK_BITSTREAM hBitStream, UCHAR *pBuffer,
167 FDK_InitBitBuffer(&hBitStream->hBitBuf, pBuffer, bufSize, validBits);
170 hBitStream->CacheWord = hBitStream->BitsInCache = 0;
171 hBitStream->ConfigCache = config;
[all …]
/external/aac/libSBRenc/src/
Dbit_sbr.cpp129 HANDLE_FDK_BITSTREAM hBitStream);
132 HANDLE_SBR_ENV_DATA sbrEnvData, HANDLE_FDK_BITSTREAM hBitStream,
137 HANDLE_PARAMETRIC_STEREO hParametricStereo, HANDLE_FDK_BITSTREAM hBitStream,
141 HANDLE_FDK_BITSTREAM hBitStream);
144 HANDLE_FDK_BITSTREAM hBitStream,
149 HANDLE_FDK_BITSTREAM hBitStream);
152 HANDLE_FDK_BITSTREAM hBitStream, INT coupling);
155 HANDLE_FDK_BITSTREAM hBitStream, INT coupling);
158 HANDLE_FDK_BITSTREAM hBitStream);
161 HANDLE_FDK_BITSTREAM hBitStream);
[all …]
Dps_bitenc.cpp107 static inline UCHAR FDKsbrEnc_WriteBits_ps(HANDLE_FDK_BITSTREAM hBitStream, in FDKsbrEnc_WriteBits_ps() argument
111 if (hBitStream != NULL) { in FDKsbrEnc_WriteBits_ps()
112 FDKwriteBits(hBitStream, value, numberOfBits); in FDKsbrEnc_WriteBits_ps()
/external/aac/libAACenc/src/
Dbitenc.cpp130 HANDLE_FDK_BITSTREAM hBitStream) { in FDKaacEnc_encodeSpectralData() argument
132 INT dbgVal = FDKgetValidBits(hBitStream); in FDKaacEnc_encodeSpectralData()
142 sectionData->huffsection[i].codeBook, hBitStream); in FDKaacEnc_encodeSpectralData()
146 return (FDKgetValidBits(hBitStream) - dbgVal); in FDKaacEnc_encodeSpectralData()
159 HANDLE_FDK_BITSTREAM hBitStream, in FDKaacEnc_encodeGlobalGain() argument
161 if (hBitStream != NULL) { in FDKaacEnc_encodeGlobalGain()
162 FDKwriteBits(hBitStream, in FDKaacEnc_encodeGlobalGain()
182 HANDLE_FDK_BITSTREAM hBitStream, in FDKaacEnc_encodeIcsInfo() argument
196 if (hBitStream != NULL) { in FDKaacEnc_encodeIcsInfo()
198 FDKwriteBits(hBitStream, icsReservedBit, 1); in FDKaacEnc_encodeIcsInfo()
[all …]
/external/aac/libMpegTPEnc/src/
Dtpenc_adts.cpp192 int adtsWrite_EncodeHeader(HANDLE_ADTS hAdts, HANDLE_FDK_BITSTREAM hBitStream, in adtsWrite_EncodeHeader() argument
206 FDKresetBitbuffer(hBitStream, BS_WRITER); in adtsWrite_EncodeHeader()
209 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.h133 int adifWrite_EncodeHeader(ADIF_INFO *adif, HANDLE_FDK_BITSTREAM hBitStream,
Dtpenc_adts.h168 INT adtsWrite_EncodeHeader(HANDLE_ADTS hAdts, HANDLE_FDK_BITSTREAM hBitStream,
Dtpenc_latm.cpp488 HANDLE_FDK_BITSTREAM hBitStream, int AuLengthBits) { in WriteAuPayloadLengthInfo() argument
494 FDKwriteBits(hBitStream, 255, 8); /* 255 shows incomplete AU */ in WriteAuPayloadLengthInfo()
499 FDKwriteBits(hBitStream, restBytes, 8); in WriteAuPayloadLengthInfo()
/external/aac/libPCMutils/include/
Dpcmdmx_lib.h371 HANDLE_FDK_BITSTREAM hBitStream, UINT ancDataBits,