Home | History | Annotate | Download | only in src

Lines Matching refs:hBitStream

118                                 HANDLE_FDK_BITSTREAM   hBitStream);
121 HANDLE_FDK_BITSTREAM hBitStream
131 HANDLE_FDK_BITSTREAM hBitStream,
136 HANDLE_FDK_BITSTREAM hBitStream);
139 HANDLE_FDK_BITSTREAM hBitStream,
143 HANDLE_FDK_BITSTREAM hBitStream);
146 HANDLE_FDK_BITSTREAM hBitStream,
150 HANDLE_FDK_BITSTREAM hBitStream,
154 HANDLE_FDK_BITSTREAM hBitStream);
158 HANDLE_FDK_BITSTREAM hBitStream);
343 HANDLE_FDK_BITSTREAM hBitStream)
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,
448 HANDLE_FDK_BITSTREAM hBitStream
455 payloadBits += FDKwriteBits (hBitStream, 0, SI_SBR_DATA_EXTRA_BITS); /* no reserved bits */
460 payloadBits += encodeSbrGrid (sbrEnvData, hBitStream);
463 payloadBits += encodeLowDelaySbrGrid ( sbrEnvData, hBitStream, encodeFreqs(LD_TRANSMISSION));
469 payloadBits += FDKwriteBits (hBitStream, 1, SI_SBR_COUPLING_BITS);
471 payloadBits += encodeSbrGrid (sbrEnvData, hBitStream);
474 payloadBits += encodeSbrDtdf (sbrEnvData, hBitStream);
477 payloadBits += FDKwriteBits (hBitStream, sbrEnvData->sbr_invf_mode_vec[i], SI_SBR_INVF_MODE_BITS);
480 payloadBits += writeEnvelopeData (sbrEnvData, hBitStream, 0);
481 payloadBits += writeNoiseLevelData (sbrEnvData, hBitStream, 0);
483 payloadBits += writeSyntheticCodingData (sbrEnvData,hBitStream);
485 payloadBits += encodeExtendedData(hParametricStereo, hBitStream);
504 HANDLE_FDK_BITSTREAM hBitStream,
510 payloadBits += FDKwriteBits (hBitStream, 0, SI_SBR_DATA_EXTRA_BITS); /* no reserved bits */
512 payloadBits += FDKwriteBits (hBitStream, coupling, SI_SBR_COUPLING_BITS);
518 payloadBits += encodeSbrGrid (sbrEnvDataLeft, hBitStream);
522 payloadBits += encodeLowDelaySbrGrid ( sbrEnvDataLeft, hBitStream, encodeFreqs(LD_TRANSMISSION));
525 payloadBits += encodeSbrGrid (sbrEnvDataLeft, hBitStream);
527 payloadBits += encodeSbrDtdf (sbrEnvDataLeft, hBitStream);
528 payloadBits += encodeSbrDtdf (sbrEnvDataRight, hBitStream);
531 payloadBits += FDKwriteBits (hBitStream, sbrEnvDataLeft->sbr_invf_mode_vec[i], SI_SBR_INVF_MODE_BITS);
534 payloadBits += writeEnvelopeData (sbrEnvDataLeft, hBitStream,1);
535 payloadBits += writeNoiseLevelData (sbrEnvDataLeft, hBitStream,1);
536 payloadBits += writeEnvelopeData (sbrEnvDataRight, hBitStream,1);
537 payloadBits += writeNoiseLevelData (sbrEnvDataRight, hBitStream,1);
539 payloadBits += writeSyntheticCodingData (sbrEnvDataLeft,hBitStream);
540 payloadBits += writeSyntheticCodingData (sbrEnvDataRight,hBitStream);
550 payloadBits += encodeSbrGrid (sbrEnvDataLeft, hBitStream);
554 payloadBits += encodeLowDelaySbrGrid ( sbrEnvDataLeft, hBitStream, encodeFreqs(LD_TRANSMISSION));
561 payloadBits += encodeSbrGrid (sbrEnvDataRight, hBitStream);
565 payloadBits += encodeLowDelaySbrGrid ( sbrEnvDataRight, hBitStream, encodeFreqs(LD_TRANSMISSION));
569 payloadBits += encodeSbrGrid (sbrEnvDataLeft, hBitStream);
570 payloadBits += encodeSbrGrid (sbrEnvDataRight, hBitStream);
572 payloadBits += encodeSbrDtdf (sbrEnvDataLeft, hBitStream);
573 payloadBits += encodeSbrDtdf (sbrEnvDataRight, hBitStream);
576 payloadBits += FDKwriteBits (hBitStream, sbrEnvDataLeft->sbr_invf_mode_vec[i],
580 payloadBits += FDKwriteBits (hBitStream, sbrEnvDataRight->sbr_invf_mode_vec[i],
584 payloadBits += writeEnvelopeData (sbrEnvDataLeft, hBitStream,0);
585 payloadBits += writeEnvelopeData (sbrEnvDataRight, hBitStream,0);
586 payloadBits += writeNoiseLevelData (sbrEnvDataLeft, hBitStream,0);
587 payloadBits += writeNoiseLevelData (sbrEnvDataRight, hBitStream,0);
589 payloadBits += writeSyntheticCodingData (sbrEnvDataLeft,hBitStream);
590 payloadBits += writeSyntheticCodingData (sbrEnvDataRight,hBitStream);
594 payloadBits += encodeExtendedData(hParametricStereo, hBitStream);
610 description: if hBitStream != NULL writes bits that describes the
618 encodeSbrGrid (HANDLE_SBR_ENV_DATA sbrEnvData, HANDLE_FDK_BITSTREAM hBitStream)
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],
711 description: if hBitStream != NULL writes bits that describes the
722 HANDLE_FDK_BITSTREAM hBitStream,
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);
764 encodeSbrDtdf (HANDLE_SBR_ENV_DATA sbrEnvData, HANDLE_FDK_BITSTREAM hBitStream)
771 payloadBits += FDKwriteBits (hBitStream, sbrEnvData->domain_vec[i], SBR_DIR_BITS);
774 payloadBits += FDKwriteBits (hBitStream, sbrEnvData->domain_vec_noise[i], SBR_DIR_BITS);
791 writeNoiseLevelData (HANDLE_SBR_ENV_DATA sbrEnvData, HANDLE_FDK_BITSTREAM hBitStream, INT coupling)
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,
881 writeEnvelopeData (HANDLE_SBR_ENV_DATA sbrEnvData, HANDLE_FDK_BITSTREAM hBitStream, INT coupling)
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,
956 HANDLE_FDK_BITSTREAM 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);
981 writtenNoBits += FDKsbrEnc_PSEnc_WritePSData(hParametricStereo, hBitStream);
989 payloadBits += FDKwriteBits(hBitStream, 0, (8 - writtenNoBits));
991 payloadBits += FDKwriteBits (hBitStream, 0, SI_SBR_EXTENDED_DATA_BITS);
1008 HANDLE_FDK_BITSTREAM hBitStream)
1014 payloadBits += FDKwriteBits (hBitStream, sbrEnvData->addHarmonicFlag, 1);
1018 payloadBits += FDKwriteBits (hBitStream, sbrEnvData->addHarmonic[i], 1);