Lines Matching refs:bitCnt
299 INT bitCnt = 0;
310 bitCnt += FDKsbrEnc_WriteBits_ps(hBitBuf, codeTable[delta], lengthTable[delta]);
313 return bitCnt;
327 INT bitCnt = 0;
336 bitCnt += FDKsbrEnc_WriteBits_ps(hBitBuf, codeTable[delta], lengthTable[delta]);
339 return bitCnt;
352 INT bitCnt = 0;
354 bitCnt = 0;
362 bitCnt += encodeDeltaFreq(hBitBuf, iidVal, nBands, codeTable,
369 bitCnt += encodeDeltaFreq(hBitBuf, iidVal, nBands, codeTable,
383 bitCnt += encodeDeltaTime(hBitBuf, iidVal, iidValLast, nBands, codeTable,
390 bitCnt += encodeDeltaTime(hBitBuf, iidVal, iidValLast, nBands, codeTable,
403 return bitCnt;
416 INT bitCnt = 0;
422 bitCnt += encodeDeltaFreq(hBitBuf, iccVal, nBands, codeTable,
430 bitCnt += encodeDeltaTime(hBitBuf, iccVal, iccValLast, nBands, codeTable,
438 return bitCnt;
450 INT bitCnt = 0;
456 bitCnt += encodeDeltaFreq(hBitBuf, ipdVal, nBands, codeTable,
464 bitCnt += encodeDeltaTime(hBitBuf, ipdVal, ipdValLast, nBands, codeTable,
472 return bitCnt;
484 INT bitCnt = 0;
490 bitCnt += encodeDeltaFreq(hBitBuf, opdVal, nBands, codeTable,
498 bitCnt += encodeDeltaTime(hBitBuf, opdVal, opdValLast, nBands, codeTable,
506 return bitCnt;
512 INT bitCnt = 0;
523 bitCnt += FDKsbrEnc_WriteBits_ps( hBitBuf, psOut->deltaIPD[env], 1);
524 bitCnt += FDKsbrEnc_EncodeIpd( hBitBuf,
531 bitCnt += FDKsbrEnc_WriteBits_ps( hBitBuf, psOut->deltaOPD[env], 1);
532 bitCnt += FDKsbrEnc_EncodeOpd( hBitBuf,
540 bitCnt += FDKsbrEnc_WriteBits_ps( hBitBuf, 0, 1);
544 return bitCnt;
590 INT bitCnt = 0;
597 bitCnt += FDKsbrEnc_WriteBits_ps(hBitBuf, extSize, 4);
600 bitCnt += FDKsbrEnc_WriteBits_ps(hBitBuf, 15 , 4);
601 bitCnt += FDKsbrEnc_WriteBits_ps(hBitBuf, (extSize-15), 8);
612 bitCnt += ipdOpdBits;
615 return (bitCnt);
622 INT bitCnt = 0;
629 bitCnt += FDKsbrEnc_WriteBits_ps( hBitBuf, psOut->enablePSHeader, 1);
633 bitCnt += FDKsbrEnc_WriteBits_ps( hBitBuf, psOut->enableIID, 1);
635 bitCnt += FDKsbrEnc_WriteBits_ps( hBitBuf, psOut->iidMode, 3);
637 bitCnt += FDKsbrEnc_WriteBits_ps( hBitBuf, psOut->enableICC, 1);
639 bitCnt += FDKsbrEnc_WriteBits_ps( hBitBuf, psOut->iccMode, 3);
644 bitCnt += FDKsbrEnc_WriteBits_ps( hBitBuf, psExtEnable, 1);
648 bitCnt += FDKsbrEnc_WriteBits_ps( hBitBuf, psOut->frameClass, 1);
649 bitCnt += FDKsbrEnc_WriteBits_ps( hBitBuf, getEnvIdx(psOut->nEnvelopes, psOut->frameClass), 2);
653 bitCnt += FDKsbrEnc_WriteBits_ps( hBitBuf, psOut->frameBorder[env], 5);
660 bitCnt += FDKsbrEnc_WriteBits_ps( hBitBuf, psOut->deltaIID[env], 1);
661 bitCnt += FDKsbrEnc_EncodeIid( hBitBuf,
676 bitCnt += FDKsbrEnc_WriteBits_ps( hBitBuf, psOut->deltaICC[env], 1);
677 bitCnt += FDKsbrEnc_EncodeIcc( hBitBuf,
689 bitCnt += encodePSExtension(psOut, hBitBuf);
694 return bitCnt;