Lines Matching refs:hSbrBSGrid

410     if (sbrEnvData->hSbrBSGrid->frameClass != FIXFIXonly) {  in encodeSbrSingleChannelElement()
465 if (sbrEnvDataLeft->hSbrBSGrid->frameClass != FIXFIXonly) { in encodeSbrChannelPairElement()
500 if (sbrEnvDataLeft->hSbrBSGrid->frameClass != FIXFIXonly) { in encodeSbrChannelPairElement()
513 if (sbrEnvDataRight->hSbrBSGrid->frameClass != FIXFIXonly) { in encodeSbrChannelPairElement()
578 INT bufferFrameStart = sbrEnvData->hSbrBSGrid->bufferFrameStart; in encodeSbrGrid()
579 INT numberTimeSlots = sbrEnvData->hSbrBSGrid->numberTimeSlots; in encodeSbrGrid()
582 payloadBits += FDKwriteBits(hBitStream, sbrEnvData->hSbrBSGrid->frameClass, in encodeSbrGrid()
585 payloadBits += FDKwriteBits(hBitStream, sbrEnvData->hSbrBSGrid->frameClass, in encodeSbrGrid()
588 switch (sbrEnvData->hSbrBSGrid->frameClass) { in encodeSbrGrid()
593 temp = ceil_ln2(sbrEnvData->hSbrBSGrid->bs_num_env); in encodeSbrGrid()
595 if ((sbrEnvData->ldGrid) && (sbrEnvData->hSbrBSGrid->bs_num_env == 1)) in encodeSbrGrid()
598 payloadBits += FDKwriteBits(hBitStream, sbrEnvData->hSbrBSGrid->v_f[0], in encodeSbrGrid()
605 if (sbrEnvData->hSbrBSGrid->frameClass == FIXVAR) in encodeSbrGrid()
606 temp = sbrEnvData->hSbrBSGrid->bs_abs_bord - in encodeSbrGrid()
609 temp = sbrEnvData->hSbrBSGrid->bs_abs_bord - bufferFrameStart; in encodeSbrGrid()
613 FDKwriteBits(hBitStream, sbrEnvData->hSbrBSGrid->n, SBR_NUM_BITS); in encodeSbrGrid()
615 for (i = 0; i < sbrEnvData->hSbrBSGrid->n; i++) { in encodeSbrGrid()
616 temp = (sbrEnvData->hSbrBSGrid->bs_rel_bord[i] - 2) >> 1; in encodeSbrGrid()
620 temp = ceil_ln2(sbrEnvData->hSbrBSGrid->n + 2); in encodeSbrGrid()
621 payloadBits += FDKwriteBits(hBitStream, sbrEnvData->hSbrBSGrid->p, temp); in encodeSbrGrid()
623 for (i = 0; i < sbrEnvData->hSbrBSGrid->n + 1; i++) { in encodeSbrGrid()
624 payloadBits += FDKwriteBits(hBitStream, sbrEnvData->hSbrBSGrid->v_f[i], in encodeSbrGrid()
630 temp = sbrEnvData->hSbrBSGrid->bs_abs_bord_0 - bufferFrameStart; in encodeSbrGrid()
632 temp = sbrEnvData->hSbrBSGrid->bs_abs_bord_1 - 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()
641 for (i = 0; i < sbrEnvData->hSbrBSGrid->bs_num_rel_0; i++) { in encodeSbrGrid()
642 temp = (sbrEnvData->hSbrBSGrid->bs_rel_bord_0[i] - 2) >> 1; in encodeSbrGrid()
646 for (i = 0; i < sbrEnvData->hSbrBSGrid->bs_num_rel_1; i++) { in encodeSbrGrid()
647 temp = (sbrEnvData->hSbrBSGrid->bs_rel_bord_1[i] - 2) >> 1; in encodeSbrGrid()
651 temp = ceil_ln2(sbrEnvData->hSbrBSGrid->bs_num_rel_0 + in encodeSbrGrid()
652 sbrEnvData->hSbrBSGrid->bs_num_rel_1 + 2); in encodeSbrGrid()
653 payloadBits += FDKwriteBits(hBitStream, sbrEnvData->hSbrBSGrid->p, temp); in encodeSbrGrid()
655 temp = sbrEnvData->hSbrBSGrid->bs_num_rel_0 + in encodeSbrGrid()
656 sbrEnvData->hSbrBSGrid->bs_num_rel_1 + 1; in encodeSbrGrid()
660 hBitStream, sbrEnvData->hSbrBSGrid->v_fLR[i], SBR_RES_BITS); in encodeSbrGrid()
699 if (sbrEnvData->hSbrBSGrid->numberTimeSlots == 8) in encodeLowDelaySbrGrid()
701 FDKwriteBits(hBitStream, sbrEnvData->hSbrBSGrid->bs_abs_bord, 3); in encodeLowDelaySbrGrid()
704 FDKwriteBits(hBitStream, sbrEnvData->hSbrBSGrid->bs_abs_bord, 4); in encodeLowDelaySbrGrid()
708 for (i = 0; i < sbrEnvData->hSbrBSGrid->bs_num_env; i++) { in encodeLowDelaySbrGrid()
709 payloadBits += FDKwriteBits(hBitStream, sbrEnvData->hSbrBSGrid->v_f[i], in encodeLowDelaySbrGrid()