• Home
  • Raw
  • Download

Lines Matching refs:payloadBits

184   INT payloadBits = 0;  in FDKsbrEnc_WriteEnvSingleChannelElement()  local
193 payloadBits += encodeSbrHeader (sbrHeaderData, in FDKsbrEnc_WriteEnvSingleChannelElement()
199 payloadBits += encodeSbrData (sbrEnvData, in FDKsbrEnc_WriteEnvSingleChannelElement()
208 return payloadBits; in FDKsbrEnc_WriteEnvSingleChannelElement()
230 INT payloadBits = 0; in FDKsbrEnc_WriteEnvChannelPairElement() local
238 payloadBits += encodeSbrHeader (sbrHeaderData, in FDKsbrEnc_WriteEnvChannelPairElement()
243 payloadBits += encodeSbrData (sbrEnvDataLeft, in FDKsbrEnc_WriteEnvChannelPairElement()
252 return payloadBits; in FDKsbrEnc_WriteEnvChannelPairElement()
264 INT payloadBits; in FDKsbrEnc_CountSbrChannelPairElement() local
267 payloadBits = FDKsbrEnc_WriteEnvChannelPairElement(sbrHeaderData, in FDKsbrEnc_CountSbrChannelPairElement()
277 return payloadBits; in FDKsbrEnc_CountSbrChannelPairElement()
313 INT payloadBits = 0; in encodeSbrHeader() local
316 payloadBits += FDKwriteBits (&cmonData->sbrBitbuf, 1, 1); in encodeSbrHeader()
317 payloadBits += encodeSbrHeaderData (sbrHeaderData, in encodeSbrHeader()
321 payloadBits += FDKwriteBits (&cmonData->sbrBitbuf, 0, 1); in encodeSbrHeader()
324 cmonData->sbrHdrBits = payloadBits; in encodeSbrHeader()
326 return payloadBits; in encodeSbrHeader()
346 INT payloadBits = 0; in encodeSbrHeaderData() local
348 payloadBits += FDKwriteBits (hBitStream, sbrHeaderData->sbr_amp_res, in encodeSbrHeaderData()
350 payloadBits += FDKwriteBits (hBitStream, sbrHeaderData->sbr_start_frequency, in encodeSbrHeaderData()
352 payloadBits += FDKwriteBits (hBitStream, sbrHeaderData->sbr_stop_frequency, in encodeSbrHeaderData()
354 payloadBits += FDKwriteBits (hBitStream, sbrHeaderData->sbr_xover_band, in encodeSbrHeaderData()
357 payloadBits += FDKwriteBits (hBitStream, 0, in encodeSbrHeaderData()
360 payloadBits += FDKwriteBits (hBitStream, sbrHeaderData->header_extra_1, in encodeSbrHeaderData()
362 payloadBits += FDKwriteBits (hBitStream, sbrHeaderData->header_extra_2, in encodeSbrHeaderData()
367 payloadBits += FDKwriteBits (hBitStream, sbrHeaderData->freqScale, in encodeSbrHeaderData()
369 payloadBits += FDKwriteBits (hBitStream, sbrHeaderData->alterScale, in encodeSbrHeaderData()
371 payloadBits += FDKwriteBits (hBitStream, sbrHeaderData->sbr_noise_bands, in encodeSbrHeaderData()
376 payloadBits += FDKwriteBits (hBitStream, sbrHeaderData->sbr_limiter_bands, in encodeSbrHeaderData()
378 payloadBits += FDKwriteBits (hBitStream, sbrHeaderData->sbr_limiter_gains, in encodeSbrHeaderData()
380 payloadBits += FDKwriteBits (hBitStream, sbrHeaderData->sbr_interpol_freq, in encodeSbrHeaderData()
382 payloadBits += FDKwriteBits (hBitStream, sbrHeaderData->sbr_smoothing_length, in encodeSbrHeaderData()
388 return payloadBits; in encodeSbrHeaderData()
410 INT payloadBits = 0; in encodeSbrData() local
414payloadBits += encodeSbrSingleChannelElement (sbrEnvDataLeft, &cmonData->sbrBitbuf, hParametricSte… in encodeSbrData()
417payloadBits += encodeSbrChannelPairElement (sbrEnvDataLeft, sbrEnvDataRight, hParametricStereo, &c… in encodeSbrData()
424 cmonData->sbrDataBits = payloadBits; in encodeSbrData()
426 return payloadBits; in encodeSbrData()
453 INT i, payloadBits = 0; in encodeSbrSingleChannelElement() local
455 payloadBits += FDKwriteBits (hBitStream, 0, SI_SBR_DATA_EXTRA_BITS); /* no reserved bits */ in encodeSbrSingleChannelElement()
460 payloadBits += encodeSbrGrid (sbrEnvData, hBitStream); in encodeSbrSingleChannelElement()
463payloadBits += encodeLowDelaySbrGrid ( sbrEnvData, hBitStream, encodeFreqs(LD_TRANSMISSION)); in encodeSbrSingleChannelElement()
469 payloadBits += FDKwriteBits (hBitStream, 1, SI_SBR_COUPLING_BITS); in encodeSbrSingleChannelElement()
471 payloadBits += encodeSbrGrid (sbrEnvData, hBitStream); in encodeSbrSingleChannelElement()
474 payloadBits += encodeSbrDtdf (sbrEnvData, hBitStream); in encodeSbrSingleChannelElement()
477payloadBits += FDKwriteBits (hBitStream, sbrEnvData->sbr_invf_mode_vec[i], SI_SBR_INVF_MODE_BITS); in encodeSbrSingleChannelElement()
480 payloadBits += writeEnvelopeData (sbrEnvData, hBitStream, 0); in encodeSbrSingleChannelElement()
481 payloadBits += writeNoiseLevelData (sbrEnvData, hBitStream, 0); in encodeSbrSingleChannelElement()
483 payloadBits += writeSyntheticCodingData (sbrEnvData,hBitStream); in encodeSbrSingleChannelElement()
485 payloadBits += encodeExtendedData(hParametricStereo, hBitStream); in encodeSbrSingleChannelElement()
487 return payloadBits; in encodeSbrSingleChannelElement()
507 INT payloadBits = 0; in encodeSbrChannelPairElement() local
510 payloadBits += FDKwriteBits (hBitStream, 0, SI_SBR_DATA_EXTRA_BITS); /* no reserved bits */ in encodeSbrChannelPairElement()
512 payloadBits += FDKwriteBits (hBitStream, coupling, SI_SBR_COUPLING_BITS); in encodeSbrChannelPairElement()
518 payloadBits += encodeSbrGrid (sbrEnvDataLeft, hBitStream); in encodeSbrChannelPairElement()
522payloadBits += encodeLowDelaySbrGrid ( sbrEnvDataLeft, hBitStream, encodeFreqs(LD_TRANSMISSION)); in encodeSbrChannelPairElement()
525 payloadBits += encodeSbrGrid (sbrEnvDataLeft, hBitStream); in encodeSbrChannelPairElement()
527 payloadBits += encodeSbrDtdf (sbrEnvDataLeft, hBitStream); in encodeSbrChannelPairElement()
528 payloadBits += encodeSbrDtdf (sbrEnvDataRight, hBitStream); in encodeSbrChannelPairElement()
531payloadBits += FDKwriteBits (hBitStream, sbrEnvDataLeft->sbr_invf_mode_vec[i], SI_SBR_INVF_MODE_BI… in encodeSbrChannelPairElement()
534 payloadBits += writeEnvelopeData (sbrEnvDataLeft, hBitStream,1); in encodeSbrChannelPairElement()
535 payloadBits += writeNoiseLevelData (sbrEnvDataLeft, hBitStream,1); in encodeSbrChannelPairElement()
536 payloadBits += writeEnvelopeData (sbrEnvDataRight, hBitStream,1); in encodeSbrChannelPairElement()
537 payloadBits += writeNoiseLevelData (sbrEnvDataRight, hBitStream,1); in encodeSbrChannelPairElement()
539 payloadBits += writeSyntheticCodingData (sbrEnvDataLeft,hBitStream); in encodeSbrChannelPairElement()
540 payloadBits += writeSyntheticCodingData (sbrEnvDataRight,hBitStream); in encodeSbrChannelPairElement()
550 payloadBits += encodeSbrGrid (sbrEnvDataLeft, hBitStream); in encodeSbrChannelPairElement()
554payloadBits += encodeLowDelaySbrGrid ( sbrEnvDataLeft, hBitStream, encodeFreqs(LD_TRANSMISSION)); in encodeSbrChannelPairElement()
561 payloadBits += encodeSbrGrid (sbrEnvDataRight, hBitStream); in encodeSbrChannelPairElement()
565payloadBits += encodeLowDelaySbrGrid ( sbrEnvDataRight, hBitStream, encodeFreqs(LD_TRANSMISSION)); in encodeSbrChannelPairElement()
569 payloadBits += encodeSbrGrid (sbrEnvDataLeft, hBitStream); in encodeSbrChannelPairElement()
570 payloadBits += encodeSbrGrid (sbrEnvDataRight, hBitStream); in encodeSbrChannelPairElement()
572 payloadBits += encodeSbrDtdf (sbrEnvDataLeft, hBitStream); in encodeSbrChannelPairElement()
573 payloadBits += encodeSbrDtdf (sbrEnvDataRight, hBitStream); in encodeSbrChannelPairElement()
576 payloadBits += FDKwriteBits (hBitStream, sbrEnvDataLeft->sbr_invf_mode_vec[i], in encodeSbrChannelPairElement()
580 payloadBits += FDKwriteBits (hBitStream, sbrEnvDataRight->sbr_invf_mode_vec[i], in encodeSbrChannelPairElement()
584 payloadBits += writeEnvelopeData (sbrEnvDataLeft, hBitStream,0); in encodeSbrChannelPairElement()
585 payloadBits += writeEnvelopeData (sbrEnvDataRight, hBitStream,0); in encodeSbrChannelPairElement()
586 payloadBits += writeNoiseLevelData (sbrEnvDataLeft, hBitStream,0); in encodeSbrChannelPairElement()
587 payloadBits += writeNoiseLevelData (sbrEnvDataRight, hBitStream,0); in encodeSbrChannelPairElement()
589 payloadBits += writeSyntheticCodingData (sbrEnvDataLeft,hBitStream); in encodeSbrChannelPairElement()
590 payloadBits += writeSyntheticCodingData (sbrEnvDataRight,hBitStream); in encodeSbrChannelPairElement()
594 payloadBits += encodeExtendedData(hParametricStereo, hBitStream); in encodeSbrChannelPairElement()
596 return payloadBits; in encodeSbrChannelPairElement()
620 INT payloadBits = 0; in encodeSbrGrid() local
626 payloadBits += FDKwriteBits (hBitStream, in encodeSbrGrid()
630 payloadBits += FDKwriteBits (hBitStream, in encodeSbrGrid()
640 payloadBits += FDKwriteBits (hBitStream, temp, SBR_ENV_BITS); in encodeSbrGrid()
642 payloadBits += FDKwriteBits(hBitStream, sbrEnvData->currentAmpResFF, SI_SBR_AMP_RES_BITS); in encodeSbrGrid()
643 payloadBits += FDKwriteBits (hBitStream, sbrEnvData->hSbrBSGrid->v_f[0], SBR_RES_BITS); in encodeSbrGrid()
654 payloadBits += FDKwriteBits (hBitStream, temp, SBR_ABS_BITS); in encodeSbrGrid()
655 payloadBits += FDKwriteBits (hBitStream, sbrEnvData->hSbrBSGrid->n, SBR_NUM_BITS); in encodeSbrGrid()
659 payloadBits += FDKwriteBits (hBitStream, temp, SBR_REL_BITS); in encodeSbrGrid()
663 payloadBits += FDKwriteBits (hBitStream, sbrEnvData->hSbrBSGrid->p, temp); in encodeSbrGrid()
666 payloadBits += FDKwriteBits (hBitStream, sbrEnvData->hSbrBSGrid->v_f[i], in encodeSbrGrid()
673 payloadBits += FDKwriteBits (hBitStream, temp, SBR_ABS_BITS); in encodeSbrGrid()
675 payloadBits += FDKwriteBits (hBitStream, temp, SBR_ABS_BITS); in encodeSbrGrid()
677 payloadBits += FDKwriteBits (hBitStream, sbrEnvData->hSbrBSGrid->bs_num_rel_0, SBR_NUM_BITS); in encodeSbrGrid()
678 payloadBits += FDKwriteBits (hBitStream, sbrEnvData->hSbrBSGrid->bs_num_rel_1, SBR_NUM_BITS); in encodeSbrGrid()
682 payloadBits += FDKwriteBits (hBitStream, temp, SBR_REL_BITS); in encodeSbrGrid()
687 payloadBits += FDKwriteBits (hBitStream, temp, SBR_REL_BITS); in encodeSbrGrid()
692 payloadBits += FDKwriteBits (hBitStream, sbrEnvData->hSbrBSGrid->p, temp); in encodeSbrGrid()
698 payloadBits += FDKwriteBits (hBitStream, sbrEnvData->hSbrBSGrid->v_fLR[i], in encodeSbrGrid()
704 return payloadBits; in encodeSbrGrid()
726 int payloadBits = 0; in encodeLowDelaySbrGrid() local
731 payloadBits += FDKwriteBits(hBitStream, 1, SBR_CLA_BITS_LD); in encodeLowDelaySbrGrid()
740 payloadBits += FDKwriteBits ( hBitStream, sbrEnvData->hSbrBSGrid->bs_abs_bord, 3); in encodeLowDelaySbrGrid()
742 payloadBits += FDKwriteBits ( hBitStream, sbrEnvData->hSbrBSGrid->bs_abs_bord, 4); in encodeLowDelaySbrGrid()
747 payloadBits += FDKwriteBits (hBitStream, sbrEnvData->hSbrBSGrid->v_f[i], SBR_RES_BITS); in encodeLowDelaySbrGrid()
751 return payloadBits; in encodeLowDelaySbrGrid()
766 INT i, payloadBits = 0, noOfNoiseEnvelopes; in encodeSbrDtdf() local
771 payloadBits += FDKwriteBits (hBitStream, sbrEnvData->domain_vec[i], SBR_DIR_BITS); in encodeSbrDtdf()
774 payloadBits += FDKwriteBits (hBitStream, sbrEnvData->domain_vec_noise[i], SBR_DIR_BITS); in encodeSbrDtdf()
777 return payloadBits; in encodeSbrDtdf()
793 INT j, i, payloadBits = 0; in writeNoiseLevelData() local
800 payloadBits += FDKwriteBits (hBitStream, in writeNoiseLevelData()
804 payloadBits += FDKwriteBits (hBitStream, in writeNoiseLevelData()
813 payloadBits += FDKwriteBits (hBitStream, in writeNoiseLevelData()
820 payloadBits += FDKwriteBits (hBitStream, in writeNoiseLevelData()
828 payloadBits += FDKwriteBits (hBitStream, in writeNoiseLevelData()
842 payloadBits += FDKwriteBits (hBitStream, in writeNoiseLevelData()
849 payloadBits += FDKwriteBits (hBitStream, in writeNoiseLevelData()
857 payloadBits += FDKwriteBits (hBitStream, in writeNoiseLevelData()
867 return payloadBits; in writeNoiseLevelData()
883 INT payloadBits = 0, j, i, delta; in writeEnvelopeData() local
888payloadBits += FDKwriteBits (hBitStream, sbrEnvData->ienvelope[j][0], sbrEnvData->si_sbr_start_env… in writeEnvelopeData()
890payloadBits += FDKwriteBits (hBitStream, sbrEnvData->ienvelope[j][0], sbrEnvData->si_sbr_start_env… in writeEnvelopeData()
905 payloadBits += FDKwriteBits (hBitStream, in writeEnvelopeData()
910 payloadBits += FDKwriteBits (hBitStream, in writeEnvelopeData()
917 payloadBits += FDKwriteBits (hBitStream, in writeEnvelopeData()
922 payloadBits += FDKwriteBits (hBitStream, in writeEnvelopeData()
930 payloadBits += FDKwriteBits (hBitStream, in writeEnvelopeData()
935 payloadBits += FDKwriteBits (hBitStream, in writeEnvelopeData()
942 return payloadBits; in writeEnvelopeData()
959 INT payloadBits = 0; in encodeExtendedData() local
968 payloadBits += FDKwriteBits (hBitStream, 1, SI_SBR_EXTENDED_DATA_BITS); in encodeExtendedData()
972 payloadBits += FDKwriteBits (hBitStream, extDataSize, SI_SBR_EXTENSION_SIZE_BITS); in encodeExtendedData()
974 payloadBits += FDKwriteBits (hBitStream, maxExtSize, SI_SBR_EXTENSION_SIZE_BITS); in encodeExtendedData()
975payloadBits += FDKwriteBits (hBitStream, extDataSize - maxExtSize, SI_SBR_EXTENSION_ESC_COUNT_BITS… in encodeExtendedData()
984 payloadBits += writtenNoBits; in encodeExtendedData()
989 payloadBits += FDKwriteBits(hBitStream, 0, (8 - writtenNoBits)); in encodeExtendedData()
991 payloadBits += FDKwriteBits (hBitStream, 0, SI_SBR_EXTENDED_DATA_BITS); in encodeExtendedData()
994 return payloadBits; in encodeExtendedData()
1012 INT payloadBits = 0; in writeSyntheticCodingData() local
1014 payloadBits += FDKwriteBits (hBitStream, sbrEnvData->addHarmonicFlag, 1); in writeSyntheticCodingData()
1018 payloadBits += FDKwriteBits (hBitStream, sbrEnvData->addHarmonic[i], 1); in writeSyntheticCodingData()
1022 return payloadBits; in writeSyntheticCodingData()