Lines Matching refs:pFrameInfo
160 static int checkFrameInfo (FRAME_INFO *pFrameInfo, int numberOfTimeSlots, int overlap, int timeStep…
942 FRAME_INFO * pFrameInfo = &h_frame_data->frameInfo; in extractLowDelayGrid() local
967 generateFixFixOnly ( pFrameInfo, in extractLowDelayGrid()
973 for (k = 0; k < pFrameInfo->nEnvelopes; k++) { in extractLowDelayGrid()
974 pFrameInfo->freqRes[k] = (UCHAR) FDKreadBits (hBitBuf, 1); /* f = F [1 bits] */ in extractLowDelayGrid()
993 FRAME_INFO * pFrameInfo = &h_frame_data->frameInfo; in extractFrameInfo() local
1006 pFrameInfo->frameClass = frameClass; in extractFrameInfo()
1036 FDKmemcpy (pFrameInfo, &FDK_sbrDecoder_sbr_frame_info1_15, sizeof(FRAME_INFO)); in extractFrameInfo()
1039 FDKmemcpy (pFrameInfo, &FDK_sbrDecoder_sbr_frame_info1_16, sizeof(FRAME_INFO)); in extractFrameInfo()
1048 FDKmemcpy (pFrameInfo, &FDK_sbrDecoder_sbr_frame_info2_15, sizeof(FRAME_INFO)); in extractFrameInfo()
1051 FDKmemcpy (pFrameInfo, &FDK_sbrDecoder_sbr_frame_info2_16, sizeof(FRAME_INFO)); in extractFrameInfo()
1060 FDKmemcpy (pFrameInfo, &FDK_sbrDecoder_sbr_frame_info4_15, sizeof(FRAME_INFO)); in extractFrameInfo()
1063 FDKmemcpy (pFrameInfo, &FDK_sbrDecoder_sbr_frame_info4_16, sizeof(FRAME_INFO)); in extractFrameInfo()
1073 FDKmemcpy (pFrameInfo, &FDK_sbrDecoder_sbr_frame_info8_15, sizeof(FRAME_INFO)); in extractFrameInfo()
1076 FDKmemcpy (pFrameInfo, &FDK_sbrDecoder_sbr_frame_info8_16, sizeof(FRAME_INFO)); in extractFrameInfo()
1089 pFrameInfo->freqRes[i] = 0; in extractFrameInfo()
1108 pFrameInfo->borders[0] = 0; /* first border */ in extractFrameInfo()
1111 pFrameInfo->borders[i] = border; /* last border */ in extractFrameInfo()
1116 pFrameInfo->borders[--i] = border; in extractFrameInfo()
1127 pFrameInfo->tranEnv = p ? n + 2 - p : -1; in extractFrameInfo()
1132 pFrameInfo->freqRes[k] = FDKreadBits (hBs, 1); /* f = F [1 bits] */ in extractFrameInfo()
1138 pFrameInfo->bordersNoise[1] = pFrameInfo->borders[n]; in extractFrameInfo()
1140 pFrameInfo->bordersNoise[1] = pFrameInfo->borders[pFrameInfo->tranEnv]; in extractFrameInfo()
1147 pFrameInfo->borders[0] = border; /* first border */ in extractFrameInfo()
1152 pFrameInfo->borders[k] = border; in extractFrameInfo()
1154 pFrameInfo->borders[k] = numberTimeSlots; /* last border */ in extractFrameInfo()
1164 pFrameInfo->tranEnv = -1; in extractFrameInfo()
1166 pFrameInfo->tranEnv = p - 1; in extractFrameInfo()
1172 pFrameInfo->freqRes[k] = FDKreadBits(hBs, 1); /* f = F [1 bits] */ in extractFrameInfo()
1180 pFrameInfo->bordersNoise[1] = pFrameInfo->borders[1]; in extractFrameInfo()
1183 pFrameInfo->bordersNoise[1] = pFrameInfo->borders[n]; in extractFrameInfo()
1186 pFrameInfo->bordersNoise[1] = pFrameInfo->borders[pFrameInfo->tranEnv]; in extractFrameInfo()
1224 pFrameInfo->borders[0] = border; in extractFrameInfo()
1229 pFrameInfo->borders[k] = border; in extractFrameInfo()
1237 pFrameInfo->borders[i] = border; in extractFrameInfo()
1242 pFrameInfo->borders[--i] = border; in extractFrameInfo()
1253 pFrameInfo->tranEnv = p ? b - p : -1; in extractFrameInfo()
1259 pFrameInfo->freqRes[k] = FDKreadBits(hBs, 1); /* f = F [1 bits] */ in extractFrameInfo()
1267 pFrameInfo->bordersNoise[0] = aL; in extractFrameInfo()
1271 pFrameInfo->bordersNoise[1] = aR; in extractFrameInfo()
1276 pFrameInfo->bordersNoise[1] = pFrameInfo->borders[nEnv - 1]; in extractFrameInfo()
1278 pFrameInfo->bordersNoise[1] = pFrameInfo->borders[pFrameInfo->tranEnv]; in extractFrameInfo()
1279 pFrameInfo->bordersNoise[2] = aR; in extractFrameInfo()
1288 pFrameInfo->nEnvelopes = nEnv; in extractFrameInfo()
1291 pFrameInfo->nNoiseEnvelopes = 1; in extractFrameInfo()
1293 pFrameInfo->nNoiseEnvelopes = 2; in extractFrameInfo()
1295 pFrameInfo->frameClass = frameClass; in extractFrameInfo()
1297 if (pFrameInfo->frameClass == 2 || pFrameInfo->frameClass == 1) { in extractFrameInfo()
1299 pFrameInfo->bordersNoise[0] = pFrameInfo->borders[0]; in extractFrameInfo()
1300 pFrameInfo->bordersNoise[pFrameInfo->nNoiseEnvelopes] = pFrameInfo->borders[nEnv]; in extractFrameInfo()
1313 checkFrameInfo (FRAME_INFO * pFrameInfo, /*!< pointer to frameInfo */ in checkFrameInfo() argument
1324 int nEnvelopes = pFrameInfo->nEnvelopes; in checkFrameInfo()
1325 int nNoiseEnvelopes = pFrameInfo->nNoiseEnvelopes; in checkFrameInfo()
1333 startPos = pFrameInfo->borders[0]; in checkFrameInfo()
1334 stopPos = pFrameInfo->borders[nEnvelopes]; in checkFrameInfo()
1335 tranEnv = pFrameInfo->tranEnv; in checkFrameInfo()
1336 startPosNoise = pFrameInfo->bordersNoise[0]; in checkFrameInfo()
1337 stopPosNoise = pFrameInfo->bordersNoise[nNoiseEnvelopes]; in checkFrameInfo()
1359 if(pFrameInfo->borders[i] >= pFrameInfo->borders[i+1]) in checkFrameInfo()
1378 if(pFrameInfo->bordersNoise[i] >= pFrameInfo->bordersNoise[i+1]) in checkFrameInfo()
1384 startPosNoise = pFrameInfo->bordersNoise[i]; in checkFrameInfo()
1387 if(pFrameInfo->borders[j] == startPosNoise) in checkFrameInfo()