Lines Matching refs:hSbrBSGrid

458       if ( sbrEnvData->hSbrBSGrid->frameClass != FIXFIXonly ) {  in encodeSbrSingleChannelElement()
516 if ( sbrEnvDataLeft->hSbrBSGrid->frameClass != FIXFIXonly ) { in encodeSbrChannelPairElement()
547 if ( sbrEnvDataLeft->hSbrBSGrid->frameClass != FIXFIXonly) { in encodeSbrChannelPairElement()
558 if ( sbrEnvDataRight->hSbrBSGrid->frameClass != FIXFIXonly) { in encodeSbrChannelPairElement()
622 INT bufferFrameStart = sbrEnvData->hSbrBSGrid->bufferFrameStart; in encodeSbrGrid()
623 INT numberTimeSlots = sbrEnvData->hSbrBSGrid->numberTimeSlots; in encodeSbrGrid()
627 sbrEnvData->hSbrBSGrid->frameClass, in encodeSbrGrid()
631 sbrEnvData->hSbrBSGrid->frameClass, in encodeSbrGrid()
634 switch (sbrEnvData->hSbrBSGrid->frameClass) { in encodeSbrGrid()
639 temp = ceil_ln2(sbrEnvData->hSbrBSGrid->bs_num_env); in encodeSbrGrid()
641 if ((sbrEnvData->ldGrid) && (sbrEnvData->hSbrBSGrid->bs_num_env==1)) in encodeSbrGrid()
643 payloadBits += FDKwriteBits (hBitStream, sbrEnvData->hSbrBSGrid->v_f[0], SBR_RES_BITS); in encodeSbrGrid()
649 if (sbrEnvData->hSbrBSGrid->frameClass == FIXVAR) in encodeSbrGrid()
650 temp = sbrEnvData->hSbrBSGrid->bs_abs_bord - (bufferFrameStart + numberTimeSlots); in encodeSbrGrid()
652 temp = sbrEnvData->hSbrBSGrid->bs_abs_bord - bufferFrameStart; in encodeSbrGrid()
655 payloadBits += FDKwriteBits (hBitStream, sbrEnvData->hSbrBSGrid->n, SBR_NUM_BITS); in encodeSbrGrid()
657 for (i = 0; i < sbrEnvData->hSbrBSGrid->n; i++) { in encodeSbrGrid()
658 temp = (sbrEnvData->hSbrBSGrid->bs_rel_bord[i] - 2) >> 1; in encodeSbrGrid()
662 temp = ceil_ln2(sbrEnvData->hSbrBSGrid->n + 2); in encodeSbrGrid()
663 payloadBits += FDKwriteBits (hBitStream, sbrEnvData->hSbrBSGrid->p, temp); in encodeSbrGrid()
665 for (i = 0; i < sbrEnvData->hSbrBSGrid->n + 1; i++) { in encodeSbrGrid()
666 payloadBits += FDKwriteBits (hBitStream, sbrEnvData->hSbrBSGrid->v_f[i], in encodeSbrGrid()
672 temp = sbrEnvData->hSbrBSGrid->bs_abs_bord_0 - bufferFrameStart; in encodeSbrGrid()
674 temp = sbrEnvData->hSbrBSGrid->bs_abs_bord_1 - (bufferFrameStart + numberTimeSlots); 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()
680 for (i = 0; i < sbrEnvData->hSbrBSGrid->bs_num_rel_0; i++) { in encodeSbrGrid()
681 temp = (sbrEnvData->hSbrBSGrid->bs_rel_bord_0[i] - 2) >> 1; in encodeSbrGrid()
685 for (i = 0; i < sbrEnvData->hSbrBSGrid->bs_num_rel_1; i++) { in encodeSbrGrid()
686 temp = (sbrEnvData->hSbrBSGrid->bs_rel_bord_1[i] - 2) >> 1; in encodeSbrGrid()
690 temp = ceil_ln2(sbrEnvData->hSbrBSGrid->bs_num_rel_0 + in encodeSbrGrid()
691 sbrEnvData->hSbrBSGrid->bs_num_rel_1 + 2); in encodeSbrGrid()
692 payloadBits += FDKwriteBits (hBitStream, sbrEnvData->hSbrBSGrid->p, temp); in encodeSbrGrid()
694 temp = sbrEnvData->hSbrBSGrid->bs_num_rel_0 + in encodeSbrGrid()
695 sbrEnvData->hSbrBSGrid->bs_num_rel_1 + 1; in encodeSbrGrid()
698 payloadBits += FDKwriteBits (hBitStream, sbrEnvData->hSbrBSGrid->v_fLR[i], in encodeSbrGrid()
739 if (sbrEnvData->hSbrBSGrid->numberTimeSlots == 8) 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()
746 for (i = 0; i < sbrEnvData->hSbrBSGrid->bs_num_env; i++) { in encodeLowDelaySbrGrid()
747 payloadBits += FDKwriteBits (hBitStream, sbrEnvData->hSbrBSGrid->v_f[i], SBR_RES_BITS); in encodeLowDelaySbrGrid()