Lines Matching refs:FDKwriteBits
316 payloadBits += FDKwriteBits (&cmonData->sbrBitbuf, 1, 1);
321 payloadBits += FDKwriteBits (&cmonData->sbrBitbuf, 0, 1);
348 payloadBits += FDKwriteBits (hBitStream, sbrHeaderData->sbr_amp_res,
350 payloadBits += FDKwriteBits (hBitStream, sbrHeaderData->sbr_start_frequency,
352 payloadBits += FDKwriteBits (hBitStream, sbrHeaderData->sbr_stop_frequency,
354 payloadBits += FDKwriteBits (hBitStream, sbrHeaderData->sbr_xover_band,
357 payloadBits += FDKwriteBits (hBitStream, 0,
360 payloadBits += FDKwriteBits (hBitStream, sbrHeaderData->header_extra_1,
362 payloadBits += FDKwriteBits (hBitStream, sbrHeaderData->header_extra_2,
367 payloadBits += FDKwriteBits (hBitStream, sbrHeaderData->freqScale,
369 payloadBits += FDKwriteBits (hBitStream, sbrHeaderData->alterScale,
371 payloadBits += FDKwriteBits (hBitStream, sbrHeaderData->sbr_noise_bands,
376 payloadBits += FDKwriteBits (hBitStream, sbrHeaderData->sbr_limiter_bands,
378 payloadBits += FDKwriteBits (hBitStream, sbrHeaderData->sbr_limiter_gains,
380 payloadBits += FDKwriteBits (hBitStream, sbrHeaderData->sbr_interpol_freq,
382 payloadBits += FDKwriteBits (hBitStream, sbrHeaderData->sbr_smoothing_length,
455 payloadBits += FDKwriteBits (hBitStream, 0, SI_SBR_DATA_EXTRA_BITS); /* no reserved bits */
469 payloadBits += FDKwriteBits (hBitStream, 1, SI_SBR_COUPLING_BITS);
477 payloadBits += FDKwriteBits (hBitStream, sbrEnvData->sbr_invf_mode_vec[i], SI_SBR_INVF_MODE_BITS);
510 payloadBits += FDKwriteBits (hBitStream, 0, SI_SBR_DATA_EXTRA_BITS); /* no reserved bits */
512 payloadBits += FDKwriteBits (hBitStream, coupling, SI_SBR_COUPLING_BITS);
531 payloadBits += FDKwriteBits (hBitStream, sbrEnvDataLeft->sbr_invf_mode_vec[i], SI_SBR_INVF_MODE_BITS);
576 payloadBits += FDKwriteBits (hBitStream, sbrEnvDataLeft->sbr_invf_mode_vec[i],
580 payloadBits += FDKwriteBits (hBitStream, sbrEnvDataRight->sbr_invf_mode_vec[i],
626 payloadBits += FDKwriteBits (hBitStream,
630 payloadBits += FDKwriteBits (hBitStream,
640 payloadBits += FDKwriteBits (hBitStream, temp, SBR_ENV_BITS);
642 payloadBits += FDKwriteBits(hBitStream, sbrEnvData->currentAmpResFF, SI_SBR_AMP_RES_BITS);
643 payloadBits += FDKwriteBits (hBitStream, sbrEnvData->hSbrBSGrid->v_f[0], SBR_RES_BITS);
654 payloadBits += FDKwriteBits (hBitStream, temp, SBR_ABS_BITS);
655 payloadBits += FDKwriteBits (hBitStream, sbrEnvData->hSbrBSGrid->n, SBR_NUM_BITS);
659 payloadBits += FDKwriteBits (hBitStream, temp, SBR_REL_BITS);
663 payloadBits += FDKwriteBits (hBitStream, sbrEnvData->hSbrBSGrid->p, temp);
666 payloadBits += FDKwriteBits (hBitStream, sbrEnvData->hSbrBSGrid->v_f[i],
673 payloadBits += FDKwriteBits (hBitStream, temp, SBR_ABS_BITS);
675 payloadBits += FDKwriteBits (hBitStream, temp, SBR_ABS_BITS);
677 payloadBits += FDKwriteBits (hBitStream, sbrEnvData->hSbrBSGrid->bs_num_rel_0, SBR_NUM_BITS);
678 payloadBits += FDKwriteBits (hBitStream, sbrEnvData->hSbrBSGrid->bs_num_rel_1, SBR_NUM_BITS);
682 payloadBits += FDKwriteBits (hBitStream, temp, SBR_REL_BITS);
687 payloadBits += FDKwriteBits (hBitStream, temp, SBR_REL_BITS);
692 payloadBits += FDKwriteBits (hBitStream, sbrEnvData->hSbrBSGrid->p, temp);
698 payloadBits += FDKwriteBits (hBitStream, sbrEnvData->hSbrBSGrid->v_fLR[i],
731 payloadBits += FDKwriteBits(hBitStream, 1, SBR_CLA_BITS_LD);
740 payloadBits += FDKwriteBits ( hBitStream, sbrEnvData->hSbrBSGrid->bs_abs_bord, 3);
742 payloadBits += FDKwriteBits ( hBitStream, sbrEnvData->hSbrBSGrid->bs_abs_bord, 4);
747 payloadBits += FDKwriteBits (hBitStream, sbrEnvData->hSbrBSGrid->v_f[i], SBR_RES_BITS);
771 payloadBits += FDKwriteBits (hBitStream, sbrEnvData->domain_vec[i], SBR_DIR_BITS);
774 payloadBits += FDKwriteBits (hBitStream, sbrEnvData->domain_vec_noise[i], SBR_DIR_BITS);
800 payloadBits += FDKwriteBits (hBitStream,
804 payloadBits += FDKwriteBits (hBitStream,
813 payloadBits += FDKwriteBits (hBitStream,
820 payloadBits += FDKwriteBits (hBitStream,
828 payloadBits += FDKwriteBits (hBitStream,
842 payloadBits += FDKwriteBits (hBitStream,
849 payloadBits += FDKwriteBits (hBitStream,
857 payloadBits += FDKwriteBits (hBitStream,
888 payloadBits += FDKwriteBits (hBitStream, sbrEnvData->ienvelope[j][0], sbrEnvData->si_sbr_start_env_bits_balance);
890 payloadBits += FDKwriteBits (hBitStream, sbrEnvData->ienvelope[j][0], sbrEnvData->si_sbr_start_env_bits);
905 payloadBits += FDKwriteBits (hBitStream,
910 payloadBits += FDKwriteBits (hBitStream,
917 payloadBits += FDKwriteBits (hBitStream,
922 payloadBits += FDKwriteBits (hBitStream,
930 payloadBits += FDKwriteBits (hBitStream,
935 payloadBits += FDKwriteBits (hBitStream,
968 payloadBits += FDKwriteBits (hBitStream, 1, SI_SBR_EXTENDED_DATA_BITS);
972 payloadBits += FDKwriteBits (hBitStream, extDataSize, SI_SBR_EXTENSION_SIZE_BITS);
974 payloadBits += FDKwriteBits (hBitStream, maxExtSize, SI_SBR_EXTENSION_SIZE_BITS);
975 payloadBits += FDKwriteBits (hBitStream, extDataSize - maxExtSize, SI_SBR_EXTENSION_ESC_COUNT_BITS);
980 writtenNoBits += FDKwriteBits (hBitStream, EXTENSION_ID_PS_CODING, SI_SBR_EXTENSION_ID_BITS);
989 payloadBits += FDKwriteBits(hBitStream, 0, (8 - writtenNoBits));
991 payloadBits += FDKwriteBits (hBitStream, 0, SI_SBR_EXTENDED_DATA_BITS);
1014 payloadBits += FDKwriteBits (hBitStream, sbrEnvData->addHarmonicFlag, 1);
1018 payloadBits += FDKwriteBits (hBitStream, sbrEnvData->addHarmonic[i], 1);