• Home
  • Raw
  • Download

Lines Matching refs:hCmonData

154     HANDLE_COMMON_DATA hCmonData,  in FDKsbrEnc_InitSbrBitstream()  argument
162 FDKresetBitbuffer(&hCmonData->sbrBitbuf, BS_WRITER); in FDKsbrEnc_InitSbrBitstream()
164 FDKinitBitStream(&hCmonData->tmpWriteBitbuf, memoryBase, memorySize, 0, in FDKsbrEnc_InitSbrBitstream()
169 FDKwriteBits(&hCmonData->sbrBitbuf, 0x0, SI_SBR_DRM_CRC_BITS); in FDKsbrEnc_InitSbrBitstream()
171 crcRegion = FDKcrcStartReg(hCrcInfo, &hCmonData->sbrBitbuf, 0); in FDKsbrEnc_InitSbrBitstream()
173 FDKwriteBits(&hCmonData->sbrBitbuf, 0x0, SI_SBR_CRC_BITS); in FDKsbrEnc_InitSbrBitstream()
191 void FDKsbrEnc_AssembleSbrBitstream(HANDLE_COMMON_DATA hCmonData, in FDKsbrEnc_AssembleSbrBitstream() argument
198 if (hCmonData == NULL) return; in FDKsbrEnc_AssembleSbrBitstream()
200 hCmonData->sbrFillBits = 0; /* Fill bits are written only for GA streams */ in FDKsbrEnc_AssembleSbrBitstream()
206 FDKcrcEndReg(hCrcInfo, &hCmonData->sbrBitbuf, crcRegion); in FDKsbrEnc_AssembleSbrBitstream()
207 FDKwriteBits(&hCmonData->tmpWriteBitbuf, FDKcrcGetCRC(hCrcInfo) ^ 0xFF, in FDKsbrEnc_AssembleSbrBitstream()
213 int sbrLoad = hCmonData->sbrHdrBits + hCmonData->sbrDataBits; in FDKsbrEnc_AssembleSbrBitstream()
222 hCmonData->sbrFillBits = (8 - (sbrLoad % 8)) % 8; in FDKsbrEnc_AssembleSbrBitstream()
227 FDKwriteBits(&hCmonData->sbrBitbuf, 0, hCmonData->sbrFillBits); in FDKsbrEnc_AssembleSbrBitstream()
229 FDK_ASSERT(FDKgetValidBits(&hCmonData->sbrBitbuf) % 8 == 4); in FDKsbrEnc_AssembleSbrBitstream()
236 FDK_BITSTREAM tmpCRCBuf = hCmonData->sbrBitbuf; in FDKsbrEnc_AssembleSbrBitstream()
239 numCrcBits = hCmonData->sbrHdrBits + hCmonData->sbrDataBits + in FDKsbrEnc_AssembleSbrBitstream()
240 hCmonData->sbrFillBits; in FDKsbrEnc_AssembleSbrBitstream()
252 FDKwriteBits(&hCmonData->tmpWriteBitbuf, crcReg, SI_SBR_CRC_BITS); in FDKsbrEnc_AssembleSbrBitstream()
256 FDKsyncCache(&hCmonData->tmpWriteBitbuf); in FDKsbrEnc_AssembleSbrBitstream()