Lines Matching refs:bitCnt

301   INT bitCnt = 0;  in encodeDeltaFreq()  local
312 bitCnt += FDKsbrEnc_WriteBits_ps(hBitBuf, codeTable[delta], lengthTable[delta]); in encodeDeltaFreq()
315 return bitCnt; in encodeDeltaFreq()
329 INT bitCnt = 0; in encodeDeltaTime() local
338 bitCnt += FDKsbrEnc_WriteBits_ps(hBitBuf, codeTable[delta], lengthTable[delta]); in encodeDeltaTime()
341 return bitCnt; in encodeDeltaTime()
354 INT bitCnt = 0; in FDKsbrEnc_EncodeIid() local
356 bitCnt = 0; in FDKsbrEnc_EncodeIid()
364 bitCnt += encodeDeltaFreq(hBitBuf, iidVal, nBands, codeTable, in FDKsbrEnc_EncodeIid()
371 bitCnt += encodeDeltaFreq(hBitBuf, iidVal, nBands, codeTable, in FDKsbrEnc_EncodeIid()
385 bitCnt += encodeDeltaTime(hBitBuf, iidVal, iidValLast, nBands, codeTable, in FDKsbrEnc_EncodeIid()
392 bitCnt += encodeDeltaTime(hBitBuf, iidVal, iidValLast, nBands, codeTable, in FDKsbrEnc_EncodeIid()
405 return bitCnt; in FDKsbrEnc_EncodeIid()
418 INT bitCnt = 0; in FDKsbrEnc_EncodeIcc() local
424 bitCnt += encodeDeltaFreq(hBitBuf, iccVal, nBands, codeTable, in FDKsbrEnc_EncodeIcc()
432 bitCnt += encodeDeltaTime(hBitBuf, iccVal, iccValLast, nBands, codeTable, in FDKsbrEnc_EncodeIcc()
440 return bitCnt; in FDKsbrEnc_EncodeIcc()
452 INT bitCnt = 0; in FDKsbrEnc_EncodeIpd() local
458 bitCnt += encodeDeltaFreq(hBitBuf, ipdVal, nBands, codeTable, in FDKsbrEnc_EncodeIpd()
466 bitCnt += encodeDeltaTime(hBitBuf, ipdVal, ipdValLast, nBands, codeTable, in FDKsbrEnc_EncodeIpd()
474 return bitCnt; in FDKsbrEnc_EncodeIpd()
486 INT bitCnt = 0; in FDKsbrEnc_EncodeOpd() local
492 bitCnt += encodeDeltaFreq(hBitBuf, opdVal, nBands, codeTable, in FDKsbrEnc_EncodeOpd()
500 bitCnt += encodeDeltaTime(hBitBuf, opdVal, opdValLast, nBands, codeTable, in FDKsbrEnc_EncodeOpd()
508 return bitCnt; in FDKsbrEnc_EncodeOpd()
514 INT bitCnt = 0; in encodeIpdOpd() local
525 bitCnt += FDKsbrEnc_WriteBits_ps( hBitBuf, psOut->deltaIPD[env], 1); in encodeIpdOpd()
526 bitCnt += FDKsbrEnc_EncodeIpd( hBitBuf, in encodeIpdOpd()
533 bitCnt += FDKsbrEnc_WriteBits_ps( hBitBuf, psOut->deltaOPD[env], 1); in encodeIpdOpd()
534 bitCnt += FDKsbrEnc_EncodeOpd( hBitBuf, in encodeIpdOpd()
542 bitCnt += FDKsbrEnc_WriteBits_ps( hBitBuf, 0, 1); in encodeIpdOpd()
546 return bitCnt; in encodeIpdOpd()
592 INT bitCnt = 0; in encodePSExtension() local
599 bitCnt += FDKsbrEnc_WriteBits_ps(hBitBuf, extSize, 4); in encodePSExtension()
602 bitCnt += FDKsbrEnc_WriteBits_ps(hBitBuf, 15 , 4); in encodePSExtension()
603 bitCnt += FDKsbrEnc_WriteBits_ps(hBitBuf, (extSize-15), 8); in encodePSExtension()
614 bitCnt += ipdOpdBits; in encodePSExtension()
617 return (bitCnt); in encodePSExtension()
624 INT bitCnt = 0; in FDKsbrEnc_WritePSBitstream() local
631 bitCnt += FDKsbrEnc_WriteBits_ps( hBitBuf, psOut->enablePSHeader, 1); in FDKsbrEnc_WritePSBitstream()
635 bitCnt += FDKsbrEnc_WriteBits_ps( hBitBuf, psOut->enableIID, 1); in FDKsbrEnc_WritePSBitstream()
637 bitCnt += FDKsbrEnc_WriteBits_ps( hBitBuf, psOut->iidMode, 3); in FDKsbrEnc_WritePSBitstream()
639 bitCnt += FDKsbrEnc_WriteBits_ps( hBitBuf, psOut->enableICC, 1); in FDKsbrEnc_WritePSBitstream()
641 bitCnt += FDKsbrEnc_WriteBits_ps( hBitBuf, psOut->iccMode, 3); in FDKsbrEnc_WritePSBitstream()
646 bitCnt += FDKsbrEnc_WriteBits_ps( hBitBuf, psExtEnable, 1); in FDKsbrEnc_WritePSBitstream()
650 bitCnt += FDKsbrEnc_WriteBits_ps( hBitBuf, psOut->frameClass, 1); in FDKsbrEnc_WritePSBitstream()
651 bitCnt += FDKsbrEnc_WriteBits_ps( hBitBuf, getEnvIdx(psOut->nEnvelopes, psOut->frameClass), 2); in FDKsbrEnc_WritePSBitstream()
655 bitCnt += FDKsbrEnc_WriteBits_ps( hBitBuf, psOut->frameBorder[env], 5); in FDKsbrEnc_WritePSBitstream()
662 bitCnt += FDKsbrEnc_WriteBits_ps( hBitBuf, psOut->deltaIID[env], 1); in FDKsbrEnc_WritePSBitstream()
663 bitCnt += FDKsbrEnc_EncodeIid( hBitBuf, in FDKsbrEnc_WritePSBitstream()
678 bitCnt += FDKsbrEnc_WriteBits_ps( hBitBuf, psOut->deltaICC[env], 1); in FDKsbrEnc_WritePSBitstream()
679 bitCnt += FDKsbrEnc_EncodeIcc( hBitBuf, in FDKsbrEnc_WritePSBitstream()
691 bitCnt += encodePSExtension(psOut, hBitBuf); in FDKsbrEnc_WritePSBitstream()
696 return bitCnt; in FDKsbrEnc_WritePSBitstream()