• Home
  • Raw
  • Download

Lines Matching refs:hBitBuf

263 static INT encodeDeltaFreq(HANDLE_FDK_BITSTREAM hBitBuf, const INT *val,  in encodeDeltaFreq()  argument
279 FDKsbrEnc_WriteBits_ps(hBitBuf, codeTable[delta], lengthTable[delta]); in encodeDeltaFreq()
285 static INT encodeDeltaTime(HANDLE_FDK_BITSTREAM hBitBuf, const INT *val, in encodeDeltaTime() argument
300 FDKsbrEnc_WriteBits_ps(hBitBuf, codeTable[delta], lengthTable[delta]); in encodeDeltaTime()
306 INT FDKsbrEnc_EncodeIid(HANDLE_FDK_BITSTREAM hBitBuf, const INT *iidVal, in FDKsbrEnc_EncodeIid() argument
322 bitCnt += encodeDeltaFreq(hBitBuf, iidVal, nBands, codeTable, in FDKsbrEnc_EncodeIid()
330 encodeDeltaFreq(hBitBuf, iidVal, nBands, codeTable, lengthTable, in FDKsbrEnc_EncodeIid()
344 hBitBuf, iidVal, iidValLast, nBands, codeTable, lengthTable, in FDKsbrEnc_EncodeIid()
350 bitCnt += encodeDeltaTime(hBitBuf, iidVal, iidValLast, nBands, in FDKsbrEnc_EncodeIid()
366 INT FDKsbrEnc_EncodeIcc(HANDLE_FDK_BITSTREAM hBitBuf, const INT *iccVal, in FDKsbrEnc_EncodeIcc() argument
377 bitCnt += encodeDeltaFreq(hBitBuf, iccVal, nBands, codeTable, lengthTable, in FDKsbrEnc_EncodeIcc()
386 encodeDeltaTime(hBitBuf, iccVal, iccValLast, nBands, codeTable, in FDKsbrEnc_EncodeIcc()
397 INT FDKsbrEnc_EncodeIpd(HANDLE_FDK_BITSTREAM hBitBuf, const INT *ipdVal, in FDKsbrEnc_EncodeIpd() argument
408 bitCnt += encodeDeltaFreq(hBitBuf, ipdVal, nBands, codeTable, lengthTable, in FDKsbrEnc_EncodeIpd()
417 encodeDeltaTime(hBitBuf, ipdVal, ipdValLast, nBands, codeTable, in FDKsbrEnc_EncodeIpd()
428 INT FDKsbrEnc_EncodeOpd(HANDLE_FDK_BITSTREAM hBitBuf, const INT *opdVal, in FDKsbrEnc_EncodeOpd() argument
439 bitCnt += encodeDeltaFreq(hBitBuf, opdVal, nBands, codeTable, lengthTable, in FDKsbrEnc_EncodeOpd()
448 encodeDeltaTime(hBitBuf, opdVal, opdValLast, nBands, codeTable, in FDKsbrEnc_EncodeOpd()
459 static INT encodeIpdOpd(HANDLE_PS_OUT psOut, HANDLE_FDK_BITSTREAM hBitBuf) { in encodeIpdOpd() argument
464 FDKsbrEnc_WriteBits_ps(hBitBuf, psOut->enableIpdOpd, 1); in encodeIpdOpd()
471 bitCnt += FDKsbrEnc_WriteBits_ps(hBitBuf, psOut->deltaIPD[env], 1); in encodeIpdOpd()
472 bitCnt += FDKsbrEnc_EncodeIpd(hBitBuf, psOut->ipd[env], ipdLast, in encodeIpdOpd()
476 bitCnt += FDKsbrEnc_WriteBits_ps(hBitBuf, psOut->deltaOPD[env], 1); in encodeIpdOpd()
477 bitCnt += FDKsbrEnc_EncodeOpd(hBitBuf, psOut->opd[env], opdLast, in encodeIpdOpd()
482 bitCnt += FDKsbrEnc_WriteBits_ps(hBitBuf, 0, 1); in encodeIpdOpd()
527 HANDLE_FDK_BITSTREAM hBitBuf) { in encodePSExtension() argument
535 bitCnt += FDKsbrEnc_WriteBits_ps(hBitBuf, extSize, 4); in encodePSExtension()
537 bitCnt += FDKsbrEnc_WriteBits_ps(hBitBuf, 15, 4); in encodePSExtension()
538 bitCnt += FDKsbrEnc_WriteBits_ps(hBitBuf, (extSize - 15), 8); in encodePSExtension()
542 ipdOpdBits += FDKsbrEnc_WriteBits_ps(hBitBuf, PS_EXT_ID_V0, 2); in encodePSExtension()
543 ipdOpdBits += encodeIpdOpd(psOut, hBitBuf); in encodePSExtension()
547 ipdOpdBits += FDKsbrEnc_WriteBits_ps(hBitBuf, 0, (8 - (ipdOpdBits % 8))); in encodePSExtension()
556 HANDLE_FDK_BITSTREAM hBitBuf) { in FDKsbrEnc_WritePSBitstream() argument
564 bitCnt += FDKsbrEnc_WriteBits_ps(hBitBuf, psOut->enablePSHeader, 1); in FDKsbrEnc_WritePSBitstream()
567 bitCnt += FDKsbrEnc_WriteBits_ps(hBitBuf, psOut->enableIID, 1); in FDKsbrEnc_WritePSBitstream()
569 bitCnt += FDKsbrEnc_WriteBits_ps(hBitBuf, psOut->iidMode, 3); in FDKsbrEnc_WritePSBitstream()
571 bitCnt += FDKsbrEnc_WriteBits_ps(hBitBuf, psOut->enableICC, 1); in FDKsbrEnc_WritePSBitstream()
573 bitCnt += FDKsbrEnc_WriteBits_ps(hBitBuf, psOut->iccMode, 3); in FDKsbrEnc_WritePSBitstream()
578 bitCnt += FDKsbrEnc_WriteBits_ps(hBitBuf, psExtEnable, 1); in FDKsbrEnc_WritePSBitstream()
582 bitCnt += FDKsbrEnc_WriteBits_ps(hBitBuf, psOut->frameClass, 1); in FDKsbrEnc_WritePSBitstream()
584 hBitBuf, getEnvIdx(psOut->nEnvelopes, psOut->frameClass), 2); in FDKsbrEnc_WritePSBitstream()
588 bitCnt += FDKsbrEnc_WriteBits_ps(hBitBuf, psOut->frameBorder[env], 5); in FDKsbrEnc_WritePSBitstream()
595 bitCnt += FDKsbrEnc_WriteBits_ps(hBitBuf, psOut->deltaIID[env], 1); in FDKsbrEnc_WritePSBitstream()
597 hBitBuf, psOut->iid[env], iidLast, getNoBands(psOut->iidMode), in FDKsbrEnc_WritePSBitstream()
608 bitCnt += FDKsbrEnc_WriteBits_ps(hBitBuf, psOut->deltaICC[env], 1); in FDKsbrEnc_WritePSBitstream()
609 bitCnt += FDKsbrEnc_EncodeIcc(hBitBuf, psOut->icc[env], iccLast, in FDKsbrEnc_WritePSBitstream()
618 bitCnt += encodePSExtension(psOut, hBitBuf); in FDKsbrEnc_WritePSBitstream()