Lines Matching refs:pIcsInfo

99         CIcsInfo *pIcsInfo,  in IcsReadMaxSfb()  argument
106 if (IsLongBlock(pIcsInfo)) { in IcsReadMaxSfb()
108 pIcsInfo->TotalSfBands = pSamplingRateInfo->NumberOfScaleFactorBands_Long; in IcsReadMaxSfb()
111 pIcsInfo->TotalSfBands = pSamplingRateInfo->NumberOfScaleFactorBands_Short; in IcsReadMaxSfb()
113 pIcsInfo->MaxSfBands = (UCHAR) FDKreadBits(bs, nbits); in IcsReadMaxSfb()
115 if (pIcsInfo->MaxSfBands > pIcsInfo->TotalSfBands){ in IcsReadMaxSfb()
125 CIcsInfo *pIcsInfo, in IcsRead() argument
131 pIcsInfo->Valid = 0; in IcsRead()
134 pIcsInfo->WindowSequence = OnlyLongSequence; in IcsRead()
135 pIcsInfo->WindowShape = 0; in IcsRead()
141 pIcsInfo->WindowSequence = (UCHAR) FDKreadBits(bs,2); in IcsRead()
142 pIcsInfo->WindowShape = (UCHAR) FDKreadBits(bs,1); in IcsRead()
144 if (pIcsInfo->WindowShape) { in IcsRead()
145 pIcsInfo->WindowShape = 2; /* select low overlap instead of KBD */ in IcsRead()
151 if ( (flags & (AC_ELD|AC_LD)) && pIcsInfo->WindowSequence != OnlyLongSequence) { in IcsRead()
152 pIcsInfo->WindowSequence = OnlyLongSequence; in IcsRead()
157 ErrorStatus = IcsReadMaxSfb(bs, pIcsInfo, pSamplingRateInfo); in IcsRead()
162 if (IsLongBlock(pIcsInfo)) in IcsRead()
173 pIcsInfo->WindowGroups = 1; in IcsRead()
174 pIcsInfo->WindowGroupLength[0] = 1; in IcsRead()
181 pIcsInfo->ScaleFactorGrouping = (UCHAR) FDKreadBits(bs,7); in IcsRead()
183 pIcsInfo->WindowGroups = 0 ; in IcsRead()
188 pIcsInfo->WindowGroupLength[i] = 1; in IcsRead()
190 if (pIcsInfo->ScaleFactorGrouping & mask) in IcsRead()
192 pIcsInfo->WindowGroupLength[pIcsInfo->WindowGroups]++; in IcsRead()
196 pIcsInfo->WindowGroups++; in IcsRead()
201 pIcsInfo->WindowGroupLength[8-1] = 1; in IcsRead()
202 pIcsInfo->WindowGroups++; in IcsRead()
208 pIcsInfo->Valid = 1; in IcsRead()