Lines Matching refs:frame
90 OI_CODEC_SBC_FRAME_INFO* frame = &common->frameInfo; in OI_SBC_ReadHeader() local
101 if (d1 != frame->cachedInfo) { in OI_SBC_ReadHeader()
102 frame->freqIndex = (d1 & (BIT7 | BIT6)) >> 6; in OI_SBC_ReadHeader()
103 frame->frequency = freq_values[frame->freqIndex]; in OI_SBC_ReadHeader()
105 frame->blocks = (d1 & (BIT5 | BIT4)) >> 4; in OI_SBC_ReadHeader()
106 frame->nrof_blocks = block_values[frame->blocks]; in OI_SBC_ReadHeader()
108 frame->mode = (d1 & (BIT3 | BIT2)) >> 2; in OI_SBC_ReadHeader()
109 frame->nrof_channels = channel_values[frame->mode]; in OI_SBC_ReadHeader()
111 frame->alloc = (d1 & BIT1) >> 1; in OI_SBC_ReadHeader()
113 frame->subbands = (d1 & BIT0); in OI_SBC_ReadHeader()
114 frame->nrof_subbands = band_values[frame->subbands]; in OI_SBC_ReadHeader()
116 frame->cachedInfo = d1; in OI_SBC_ReadHeader()
121 frame->bitpool = data[2]; in OI_SBC_ReadHeader()
122 frame->crc = data[3]; in OI_SBC_ReadHeader()