Lines Matching refs:bitCnt
267 INT bitCnt = 0; in encodeDeltaFreq() local
278 bitCnt += in encodeDeltaFreq()
282 return bitCnt; in encodeDeltaFreq()
290 INT bitCnt = 0; in encodeDeltaTime() local
299 bitCnt += in encodeDeltaTime()
303 return bitCnt; in encodeDeltaTime()
312 INT bitCnt = 0; in FDKsbrEnc_EncodeIid() local
314 bitCnt = 0; in FDKsbrEnc_EncodeIid()
322 bitCnt += encodeDeltaFreq(hBitBuf, iidVal, nBands, codeTable, in FDKsbrEnc_EncodeIid()
329 bitCnt += in FDKsbrEnc_EncodeIid()
343 bitCnt += encodeDeltaTime( in FDKsbrEnc_EncodeIid()
350 bitCnt += encodeDeltaTime(hBitBuf, iidVal, iidValLast, nBands, in FDKsbrEnc_EncodeIid()
363 return bitCnt; in FDKsbrEnc_EncodeIid()
371 INT bitCnt = 0; in FDKsbrEnc_EncodeIcc() local
377 bitCnt += encodeDeltaFreq(hBitBuf, iccVal, nBands, codeTable, lengthTable, in FDKsbrEnc_EncodeIcc()
385 bitCnt += in FDKsbrEnc_EncodeIcc()
394 return bitCnt; in FDKsbrEnc_EncodeIcc()
402 INT bitCnt = 0; in FDKsbrEnc_EncodeIpd() local
408 bitCnt += encodeDeltaFreq(hBitBuf, ipdVal, nBands, codeTable, lengthTable, in FDKsbrEnc_EncodeIpd()
416 bitCnt += in FDKsbrEnc_EncodeIpd()
425 return bitCnt; in FDKsbrEnc_EncodeIpd()
433 INT bitCnt = 0; in FDKsbrEnc_EncodeOpd() local
439 bitCnt += encodeDeltaFreq(hBitBuf, opdVal, nBands, codeTable, lengthTable, in FDKsbrEnc_EncodeOpd()
447 bitCnt += in FDKsbrEnc_EncodeOpd()
456 return bitCnt; in FDKsbrEnc_EncodeOpd()
460 INT bitCnt = 0; in encodeIpdOpd() local
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()
485 return bitCnt; in encodeIpdOpd()
528 INT bitCnt = 0; in encodePSExtension() local
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()
549 bitCnt += ipdOpdBits; in encodePSExtension()
552 return (bitCnt); in encodePSExtension()
558 INT bitCnt = 0; in FDKsbrEnc_WritePSBitstream() local
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()
583 bitCnt += FDKsbrEnc_WriteBits_ps( 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()
596 bitCnt += FDKsbrEnc_EncodeIid( 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()
623 return bitCnt; in FDKsbrEnc_WritePSBitstream()