• Home
  • Raw
  • Download

Lines Matching refs:hBitStream

129                                HANDLE_FDK_BITSTREAM hBitStream);
132 HANDLE_SBR_ENV_DATA sbrEnvData, HANDLE_FDK_BITSTREAM hBitStream,
137 HANDLE_PARAMETRIC_STEREO hParametricStereo, HANDLE_FDK_BITSTREAM hBitStream,
141 HANDLE_FDK_BITSTREAM hBitStream);
144 HANDLE_FDK_BITSTREAM hBitStream,
149 HANDLE_FDK_BITSTREAM hBitStream);
152 HANDLE_FDK_BITSTREAM hBitStream, INT coupling);
155 HANDLE_FDK_BITSTREAM hBitStream, INT coupling);
158 HANDLE_FDK_BITSTREAM hBitStream);
161 HANDLE_FDK_BITSTREAM hBitStream);
303 HANDLE_FDK_BITSTREAM hBitStream) in encodeSbrHeaderData() argument
308 payloadBits += FDKwriteBits(hBitStream, sbrHeaderData->sbr_amp_res, in encodeSbrHeaderData()
310 payloadBits += FDKwriteBits(hBitStream, sbrHeaderData->sbr_start_frequency, in encodeSbrHeaderData()
312 payloadBits += FDKwriteBits(hBitStream, sbrHeaderData->sbr_stop_frequency, in encodeSbrHeaderData()
314 payloadBits += FDKwriteBits(hBitStream, sbrHeaderData->sbr_xover_band, in encodeSbrHeaderData()
317 payloadBits += FDKwriteBits(hBitStream, 0, SI_SBR_RESERVED_BITS); in encodeSbrHeaderData()
319 payloadBits += FDKwriteBits(hBitStream, sbrHeaderData->header_extra_1, in encodeSbrHeaderData()
321 payloadBits += FDKwriteBits(hBitStream, sbrHeaderData->header_extra_2, in encodeSbrHeaderData()
325 payloadBits += FDKwriteBits(hBitStream, sbrHeaderData->freqScale, in encodeSbrHeaderData()
327 payloadBits += FDKwriteBits(hBitStream, sbrHeaderData->alterScale, in encodeSbrHeaderData()
329 payloadBits += FDKwriteBits(hBitStream, sbrHeaderData->sbr_noise_bands, in encodeSbrHeaderData()
334 payloadBits += FDKwriteBits(hBitStream, sbrHeaderData->sbr_limiter_bands, in encodeSbrHeaderData()
336 payloadBits += FDKwriteBits(hBitStream, sbrHeaderData->sbr_limiter_gains, in encodeSbrHeaderData()
338 payloadBits += FDKwriteBits(hBitStream, sbrHeaderData->sbr_interpol_freq, in encodeSbrHeaderData()
341 FDKwriteBits(hBitStream, sbrHeaderData->sbr_smoothing_length, in encodeSbrHeaderData()
402 HANDLE_SBR_ENV_DATA sbrEnvData, HANDLE_FDK_BITSTREAM hBitStream, in encodeSbrSingleChannelElement() argument
406 payloadBits += FDKwriteBits(hBitStream, 0, in encodeSbrSingleChannelElement()
412 payloadBits += encodeSbrGrid(sbrEnvData, hBitStream); in encodeSbrSingleChannelElement()
416 sbrEnvData, hBitStream, encodeFreqs(LD_TRANSMISSION), sbrSyntaxFlags); in encodeSbrSingleChannelElement()
420 payloadBits += FDKwriteBits(hBitStream, 1, SI_SBR_COUPLING_BITS); in encodeSbrSingleChannelElement()
422 payloadBits += encodeSbrGrid(sbrEnvData, hBitStream); in encodeSbrSingleChannelElement()
425 payloadBits += encodeSbrDtdf(sbrEnvData, hBitStream); in encodeSbrSingleChannelElement()
428 payloadBits += FDKwriteBits(hBitStream, sbrEnvData->sbr_invf_mode_vec[i], in encodeSbrSingleChannelElement()
432 payloadBits += writeEnvelopeData(sbrEnvData, hBitStream, 0); in encodeSbrSingleChannelElement()
433 payloadBits += writeNoiseLevelData(sbrEnvData, hBitStream, 0); in encodeSbrSingleChannelElement()
435 payloadBits += writeSyntheticCodingData(sbrEnvData, hBitStream); in encodeSbrSingleChannelElement()
437 payloadBits += encodeExtendedData(hParametricStereo, hBitStream); in encodeSbrSingleChannelElement()
453 HANDLE_PARAMETRIC_STEREO hParametricStereo, HANDLE_FDK_BITSTREAM hBitStream, in encodeSbrChannelPairElement() argument
458 payloadBits += FDKwriteBits(hBitStream, 0, in encodeSbrChannelPairElement()
461 payloadBits += FDKwriteBits(hBitStream, coupling, SI_SBR_COUPLING_BITS); in encodeSbrChannelPairElement()
467 payloadBits += encodeSbrGrid(sbrEnvDataLeft, hBitStream); in encodeSbrChannelPairElement()
472 encodeLowDelaySbrGrid(sbrEnvDataLeft, hBitStream, in encodeSbrChannelPairElement()
476 payloadBits += encodeSbrGrid(sbrEnvDataLeft, hBitStream); in encodeSbrChannelPairElement()
478 payloadBits += encodeSbrDtdf(sbrEnvDataLeft, hBitStream); in encodeSbrChannelPairElement()
479 payloadBits += encodeSbrDtdf(sbrEnvDataRight, hBitStream); in encodeSbrChannelPairElement()
483 FDKwriteBits(hBitStream, sbrEnvDataLeft->sbr_invf_mode_vec[i], in encodeSbrChannelPairElement()
487 payloadBits += writeEnvelopeData(sbrEnvDataLeft, hBitStream, 1); in encodeSbrChannelPairElement()
488 payloadBits += writeNoiseLevelData(sbrEnvDataLeft, hBitStream, 1); in encodeSbrChannelPairElement()
489 payloadBits += writeEnvelopeData(sbrEnvDataRight, hBitStream, 1); in encodeSbrChannelPairElement()
490 payloadBits += writeNoiseLevelData(sbrEnvDataRight, hBitStream, 1); in encodeSbrChannelPairElement()
492 payloadBits += writeSyntheticCodingData(sbrEnvDataLeft, hBitStream); in encodeSbrChannelPairElement()
493 payloadBits += writeSyntheticCodingData(sbrEnvDataRight, hBitStream); in encodeSbrChannelPairElement()
503 payloadBits += encodeSbrGrid(sbrEnvDataLeft, hBitStream); in encodeSbrChannelPairElement()
508 encodeLowDelaySbrGrid(sbrEnvDataLeft, hBitStream, in encodeSbrChannelPairElement()
516 payloadBits += encodeSbrGrid(sbrEnvDataRight, hBitStream); in encodeSbrChannelPairElement()
521 encodeLowDelaySbrGrid(sbrEnvDataRight, hBitStream, in encodeSbrChannelPairElement()
525 payloadBits += encodeSbrGrid(sbrEnvDataLeft, hBitStream); in encodeSbrChannelPairElement()
526 payloadBits += encodeSbrGrid(sbrEnvDataRight, hBitStream); in encodeSbrChannelPairElement()
528 payloadBits += encodeSbrDtdf(sbrEnvDataLeft, hBitStream); in encodeSbrChannelPairElement()
529 payloadBits += encodeSbrDtdf(sbrEnvDataRight, hBitStream); in encodeSbrChannelPairElement()
533 FDKwriteBits(hBitStream, sbrEnvDataLeft->sbr_invf_mode_vec[i], in encodeSbrChannelPairElement()
538 FDKwriteBits(hBitStream, sbrEnvDataRight->sbr_invf_mode_vec[i], in encodeSbrChannelPairElement()
542 payloadBits += writeEnvelopeData(sbrEnvDataLeft, hBitStream, 0); in encodeSbrChannelPairElement()
543 payloadBits += writeEnvelopeData(sbrEnvDataRight, hBitStream, 0); in encodeSbrChannelPairElement()
544 payloadBits += writeNoiseLevelData(sbrEnvDataLeft, hBitStream, 0); in encodeSbrChannelPairElement()
545 payloadBits += writeNoiseLevelData(sbrEnvDataRight, hBitStream, 0); in encodeSbrChannelPairElement()
547 payloadBits += writeSyntheticCodingData(sbrEnvDataLeft, hBitStream); in encodeSbrChannelPairElement()
548 payloadBits += writeSyntheticCodingData(sbrEnvDataRight, hBitStream); in encodeSbrChannelPairElement()
552 payloadBits += encodeExtendedData(hParametricStereo, hBitStream); in encodeSbrChannelPairElement()
575 HANDLE_FDK_BITSTREAM hBitStream) { in encodeSbrGrid() argument
582 payloadBits += FDKwriteBits(hBitStream, sbrEnvData->hSbrBSGrid->frameClass, in encodeSbrGrid()
585 payloadBits += FDKwriteBits(hBitStream, sbrEnvData->hSbrBSGrid->frameClass, in encodeSbrGrid()
594 payloadBits += FDKwriteBits(hBitStream, temp, SBR_ENV_BITS); in encodeSbrGrid()
596 payloadBits += FDKwriteBits(hBitStream, sbrEnvData->currentAmpResFF, in encodeSbrGrid()
598 payloadBits += FDKwriteBits(hBitStream, sbrEnvData->hSbrBSGrid->v_f[0], in encodeSbrGrid()
611 payloadBits += FDKwriteBits(hBitStream, temp, SBR_ABS_BITS); in encodeSbrGrid()
613 FDKwriteBits(hBitStream, sbrEnvData->hSbrBSGrid->n, SBR_NUM_BITS); in encodeSbrGrid()
617 payloadBits += FDKwriteBits(hBitStream, temp, SBR_REL_BITS); in encodeSbrGrid()
621 payloadBits += FDKwriteBits(hBitStream, sbrEnvData->hSbrBSGrid->p, temp); in encodeSbrGrid()
624 payloadBits += FDKwriteBits(hBitStream, sbrEnvData->hSbrBSGrid->v_f[i], in encodeSbrGrid()
631 payloadBits += FDKwriteBits(hBitStream, temp, SBR_ABS_BITS); in encodeSbrGrid()
634 payloadBits += FDKwriteBits(hBitStream, temp, SBR_ABS_BITS); in encodeSbrGrid()
637 hBitStream, sbrEnvData->hSbrBSGrid->bs_num_rel_0, SBR_NUM_BITS); in encodeSbrGrid()
639 hBitStream, sbrEnvData->hSbrBSGrid->bs_num_rel_1, SBR_NUM_BITS); in encodeSbrGrid()
643 payloadBits += FDKwriteBits(hBitStream, temp, SBR_REL_BITS); in encodeSbrGrid()
648 payloadBits += FDKwriteBits(hBitStream, temp, SBR_REL_BITS); in encodeSbrGrid()
653 payloadBits += FDKwriteBits(hBitStream, sbrEnvData->hSbrBSGrid->p, temp); in encodeSbrGrid()
660 hBitStream, sbrEnvData->hSbrBSGrid->v_fLR[i], SBR_RES_BITS); in encodeSbrGrid()
682 HANDLE_FDK_BITSTREAM hBitStream, in encodeLowDelaySbrGrid() argument
690 payloadBits += FDKwriteBits(hBitStream, 1, SBR_CLA_BITS_LD); in encodeLowDelaySbrGrid()
701 FDKwriteBits(hBitStream, sbrEnvData->hSbrBSGrid->bs_abs_bord, 3); in encodeLowDelaySbrGrid()
704 FDKwriteBits(hBitStream, sbrEnvData->hSbrBSGrid->bs_abs_bord, 4); in encodeLowDelaySbrGrid()
709 payloadBits += FDKwriteBits(hBitStream, sbrEnvData->hSbrBSGrid->v_f[i], in encodeLowDelaySbrGrid()
725 HANDLE_FDK_BITSTREAM hBitStream) { in encodeSbrDtdf() argument
732 FDKwriteBits(hBitStream, sbrEnvData->domain_vec[i], SBR_DIR_BITS); in encodeSbrDtdf()
736 FDKwriteBits(hBitStream, sbrEnvData->domain_vec_noise[i], SBR_DIR_BITS); in encodeSbrDtdf()
752 HANDLE_FDK_BITSTREAM hBitStream, INT coupling) { in writeNoiseLevelData() argument
761 hBitStream, in writeNoiseLevelData()
766 hBitStream, in writeNoiseLevelData()
776 payloadBits += FDKwriteBits(hBitStream, in writeNoiseLevelData()
786 hBitStream, in writeNoiseLevelData()
795 hBitStream, in writeNoiseLevelData()
812 payloadBits += FDKwriteBits(hBitStream, in writeNoiseLevelData()
822 hBitStream, in writeNoiseLevelData()
831 hBitStream, in writeNoiseLevelData()
856 HANDLE_FDK_BITSTREAM hBitStream, INT coupling) { in writeEnvelopeData() argument
863 payloadBits += FDKwriteBits(hBitStream, sbrEnvData->ienvelope[j][0], in writeEnvelopeData()
866 payloadBits += FDKwriteBits(hBitStream, sbrEnvData->ienvelope[j][0], in writeEnvelopeData()
884 hBitStream, in writeEnvelopeData()
894 hBitStream, in writeEnvelopeData()
906 hBitStream, in writeEnvelopeData()
914 hBitStream, in writeEnvelopeData()
925 hBitStream, in writeEnvelopeData()
931 hBitStream, in writeEnvelopeData()
951 HANDLE_FDK_BITSTREAM hBitStream) { in encodeExtendedData() argument
961 payloadBits += FDKwriteBits(hBitStream, 1, SI_SBR_EXTENDED_DATA_BITS); in encodeExtendedData()
966 FDKwriteBits(hBitStream, extDataSize, SI_SBR_EXTENSION_SIZE_BITS); in encodeExtendedData()
969 FDKwriteBits(hBitStream, maxExtSize, SI_SBR_EXTENSION_SIZE_BITS); in encodeExtendedData()
970 payloadBits += FDKwriteBits(hBitStream, extDataSize - maxExtSize, in encodeExtendedData()
976 writtenNoBits += FDKwriteBits(hBitStream, EXTENSION_ID_PS_CODING, in encodeExtendedData()
979 FDKsbrEnc_PSEnc_WritePSData(hParametricStereo, hBitStream); in encodeExtendedData()
987 payloadBits += FDKwriteBits(hBitStream, 0, (8 - writtenNoBits)); in encodeExtendedData()
989 payloadBits += FDKwriteBits(hBitStream, 0, SI_SBR_EXTENDED_DATA_BITS); in encodeExtendedData()
1005 HANDLE_FDK_BITSTREAM hBitStream) in writeSyntheticCodingData() argument
1011 payloadBits += FDKwriteBits(hBitStream, sbrEnvData->addHarmonicFlag, 1); in writeSyntheticCodingData()
1015 payloadBits += FDKwriteBits(hBitStream, sbrEnvData->addHarmonic[i], 1); in writeSyntheticCodingData()