• Home
  • Raw
  • Download

Lines Matching refs:hSbrHeader

280   HANDLE_SBR_HEADER_DATA hSbrHeader;  in sbrDecoder_ResetElement()  local
332 hSbrHeader = &(self->sbrHeader[elementIndex][i]); in sbrDecoder_ResetElement()
333 setDflt = ((hSbrHeader->syncState == SBR_NOT_INITIALIZED) || in sbrDecoder_ResetElement()
339 sbrError = initHeaderData(hSbrHeader, sampleRateIn, sampleRateOut, in sbrDecoder_ResetElement()
344 hSbrHeader->syncState = hSbrHeader->syncState > UPSAMPLING in sbrDecoder_ResetElement()
346 : hSbrHeader->syncState; in sbrDecoder_ResetElement()
765 HANDLE_SBR_HEADER_DATA hSbrHeader, in sbrDecoder_HeaderUpdate() argument
774 errorStatus = resetFreqBandTables(hSbrHeader, self->flags); in sbrDecoder_HeaderUpdate()
777 if (hSbrHeader->syncState == UPSAMPLING && headerStatus != HEADER_RESET) { in sbrDecoder_HeaderUpdate()
787 hSbrHeader->freqBandData.lowSubband = hSbrHeader->numberOfAnalysisBands; in sbrDecoder_HeaderUpdate()
788 hSbrHeader->freqBandData.highSubband = hSbrHeader->numberOfAnalysisBands; in sbrDecoder_HeaderUpdate()
792 hSbrHeader->status |= SBRDEC_HDR_STAT_RESET; in sbrDecoder_HeaderUpdate()
807 HANDLE_SBR_HEADER_DATA hSbrHeader; in sbrDecoder_Header() local
836 hSbrHeader = NULL; in sbrDecoder_Header()
841 hSbrHeader = &(self->sbrHeader[elementIndex][headerIndex]); in sbrDecoder_Header()
844 headerStatus = sbrGetHeaderData(hSbrHeader, hBs, self->flags, 0, configMode); in sbrDecoder_Header()
865 sbrError = sbrDecoder_HeaderUpdate(self, hSbrHeader, headerStatus, in sbrDecoder_Header()
870 hSbrHeader->syncState = SBR_HEADER; in sbrDecoder_Header()
871 hSbrHeader->status |= SBRDEC_HDR_STAT_UPDATE; in sbrDecoder_Header()
873 hSbrHeader->syncState = SBR_NOT_INITIALIZED; in sbrDecoder_Header()
874 hSbrHeader->status = HEADER_ERROR; in sbrDecoder_Header()
955 HANDLE_SBR_HEADER_DATA hSbrHeader; in sbrDecoder_SetParam() local
960 hSbrHeader = &(self->sbrHeader[elementIndex][headerIndex]); in sbrDecoder_SetParam()
964 if (hSbrHeader->syncState != SBR_NOT_INITIALIZED) { in sbrDecoder_SetParam()
965 hSbrHeader->syncState = UPSAMPLING; in sbrDecoder_SetParam()
966 hSbrHeader->status |= SBRDEC_HDR_STAT_UPDATE; in sbrDecoder_SetParam()
1125 HANDLE_SBR_HEADER_DATA hSbrHeader = NULL; in sbrDecoder_Parse() local
1229 hSbrHeader = &self->sbrHeader[elementIndex][thisHdrSlot]; in sbrDecoder_Parse()
1252 if (hSbrHeader->status & SBRDEC_HDR_STAT_UPDATE) { in sbrDecoder_Parse()
1255 hSbrHeader->status &= ~SBRDEC_HDR_STAT_UPDATE; in sbrDecoder_Parse()
1259 copySbrHeader(hSbrHeader, &self->sbrHeader[elementIndex][lastHdrSlot]); in sbrDecoder_Parse()
1355 if (FDKmemcmp(&hSbrHeader->bs_info, &newSbrInfo, in sbrDecoder_Parse()
1361 if ((hSbrHeader->bs_info.pvc_mode != newSbrInfo.pvc_mode) || in sbrDecoder_Parse()
1362 (hSbrHeader->bs_info.xover_band != newSbrInfo.xover_band)) { in sbrDecoder_Parse()
1368 hSbrHeader->bs_info = newSbrInfo; in sbrDecoder_Parse()
1376 hSbrHeader->syncState = hSbrHeader->syncState > UPSAMPLING in sbrDecoder_Parse()
1378 : hSbrHeader->syncState; in sbrDecoder_Parse()
1390 if (FDKmemcmp(&hSbrHeader->bs_data, &hSbrHeader->bs_dflt, in sbrDecoder_Parse()
1392 hSbrHeader->syncState != SBR_ACTIVE) { in sbrDecoder_Parse()
1393 hSbrHeader->bs_data = hSbrHeader->bs_dflt; in sbrDecoder_Parse()
1403 headerStatus = sbrGetHeaderData(hSbrHeader, hBs, self->flags, 1, 0); in sbrDecoder_Parse()
1408 self, hSbrHeader, headerStatus, pSbrChannel, hSbrElement->nChannels); in sbrDecoder_Parse()
1411 hSbrHeader->syncState = SBR_HEADER; in sbrDecoder_Parse()
1413 hSbrHeader->syncState = SBR_NOT_INITIALIZED; in sbrDecoder_Parse()
1428 if ((hSbrHeader->syncState >= SBR_HEADER) && fDoDecodeSbrData) { in sbrDecoder_Parse()
1438 hSbrHeader, hFrameDataLeft, (stereo) ? hFrameDataRight : NULL, in sbrDecoder_Parse()
1484 if (crcFlag && (hSbrHeader->syncState >= SBR_HEADER) && fDoDecodeSbrData) { in sbrDecoder_Parse()
1493 hSbrHeader->syncState = SBR_NOT_INITIALIZED; in sbrDecoder_Parse()
1533 if (!useOldHdr && (thisHdrSlot != lastHdrSlot) && (hSbrHeader != NULL)) { in sbrDecoder_Parse()
1535 (compareSbrHeader(hSbrHeader, in sbrDecoder_Parse()
1584 HANDLE_SBR_HEADER_DATA hSbrHeader = in sbrDecoder_DecodeElement() local
1628 hSbrHeader = in sbrDecoder_DecodeElement()
1642 hSbrHeader->frameErrorFlag = in sbrDecoder_DecodeElement()
1648 if (hSbrHeader->syncState == SBR_NOT_INITIALIZED) { in sbrDecoder_DecodeElement()
1650 initHeaderData(hSbrHeader, self->sampleRateIn, self->sampleRateOut, in sbrDecoder_DecodeElement()
1659 hSbrHeader->syncState = UPSAMPLING; in sbrDecoder_DecodeElement()
1661 errorStatus = sbrDecoder_HeaderUpdate(self, hSbrHeader, HEADER_NOT_PRESENT, in sbrDecoder_DecodeElement()
1665 hSbrHeader->syncState = SBR_NOT_INITIALIZED; in sbrDecoder_DecodeElement()
1671 if (hSbrHeader->status & SBRDEC_HDR_STAT_RESET) { in sbrDecoder_DecodeElement()
1673 int applySbrProc = (hSbrHeader->syncState == SBR_ACTIVE || in sbrDecoder_DecodeElement()
1674 (hSbrHeader->frameErrorFlag == 0 && in sbrDecoder_DecodeElement()
1675 hSbrHeader->syncState == SBR_HEADER)); in sbrDecoder_DecodeElement()
1680 &pSbrChannel[ch]->SbrDec, hSbrHeader, &pSbrChannel[ch]->prevFrameData, in sbrDecoder_DecodeElement()
1684 hSbrHeader->syncState = UPSAMPLING; in sbrDecoder_DecodeElement()
1688 hSbrHeader->status &= ~SBRDEC_HDR_STAT_RESET; in sbrDecoder_DecodeElement()
1693 if ((hSbrHeader->syncState == SBR_ACTIVE) || in sbrDecoder_DecodeElement()
1694 ((hSbrHeader->syncState == SBR_HEADER) && in sbrDecoder_DecodeElement()
1695 (hSbrHeader->frameErrorFlag == 0))) { in sbrDecoder_DecodeElement()
1698 decodeSbrData(hSbrHeader, hFrameDataLeft, &pSbrChannel[0]->prevFrameData, in sbrDecoder_DecodeElement()
1704 hSbrHeader->syncState = SBR_ACTIVE; in sbrDecoder_DecodeElement()
1708 hSbrHeader->numberTimeSlots * hSbrHeader->timeStep * in sbrDecoder_DecodeElement()
1719 if (h_ps_d != NULL && psPossible && (hSbrHeader->syncState == SBR_ACTIVE)) { in sbrDecoder_DecodeElement()
1725 applyPs = DecodePs(h_ps_d, hSbrHeader->frameErrorFlag, pPsScratch); in sbrDecoder_DecodeElement()
1749 timeData + offset1, strideOut, hSbrHeader, hFrameDataLeft, in sbrDecoder_DecodeElement()
1751 (hSbrHeader->syncState == SBR_ACTIVE), h_ps_d, self->flags, in sbrDecoder_DecodeElement()
1757 timeData + offset1, NULL, NULL, strideOut, hSbrHeader, in sbrDecoder_DecodeElement()
1759 (hSbrHeader->syncState == SBR_ACTIVE), NULL, self->flags, in sbrDecoder_DecodeElement()