• Home
  • Raw
  • Download

Lines Matching refs:elementIndex

279                                          const int elementIndex,  in sbrDecoder_ResetElement()  argument
334 hSbrHeader = &(self->sbrHeader[elementIndex][i]); in sbrDecoder_ResetElement()
359 self->sbrHeader[elementIndex][0].numberOfAnalysisBands; in sbrDecoder_ResetElement()
365 self->sbrHeader[elementIndex][0].numberTimeSlots * in sbrDecoder_ResetElement()
366 self->sbrHeader[elementIndex][0].timeStep; in sbrDecoder_ResetElement()
376 for (ch = 0; ch < self->pSbrElement[elementIndex]->nChannels; ch++) { in sbrDecoder_ResetElement()
378 getHeaderSlot(self->pSbrElement[elementIndex]->useFrameSlot, in sbrDecoder_ResetElement()
379 self->pSbrElement[elementIndex]->useHeaderSlot); in sbrDecoder_ResetElement()
383 createSbrDec(self->pSbrElement[elementIndex]->pSbrChannel[ch], in sbrDecoder_ResetElement()
384 &self->sbrHeader[elementIndex][headerIndex], in sbrDecoder_ResetElement()
385 &self->pSbrElement[elementIndex]->transposerSettings, in sbrDecoder_ResetElement()
416 self->pSbrElement[elementIndex]->useFrameSlot = 0; in sbrDecoder_ResetElement()
418 self->pSbrElement[elementIndex]->useHeaderSlot[i] = i; in sbrDecoder_ResetElement()
512 const int elementIndex) { in sbrDecoder_DestroyElement() argument
513 if (self->pSbrElement[elementIndex] != NULL) { in sbrDecoder_DestroyElement()
517 if (self->pSbrElement[elementIndex]->pSbrChannel[ch] != NULL) { in sbrDecoder_DestroyElement()
518 deleteSbrDec(self->pSbrElement[elementIndex]->pSbrChannel[ch]); in sbrDecoder_DestroyElement()
520 &self->pSbrElement[elementIndex]->pSbrChannel[ch]); in sbrDecoder_DestroyElement()
524 FreeRam_SbrDecElement(&self->pSbrElement[elementIndex]); in sbrDecoder_DestroyElement()
532 const MP4_ELEMENT_ID elementID, const int elementIndex, in sbrDecoder_InitElement() argument
547 if (!sbrDecoder_isCoreCodecValid(coreCodec) || elementIndex >= (8)) { in sbrDecoder_InitElement()
559 self->pSbrElement[elementIndex] != NULL && in sbrDecoder_InitElement()
560 self->pSbrElement[elementIndex]->elementID == elementID && in sbrDecoder_InitElement()
611 if (self->pSbrElement[elementIndex] == NULL) { in sbrDecoder_InitElement()
612 self->pSbrElement[elementIndex] = GetRam_SbrDecElement(elementIndex); in sbrDecoder_InitElement()
613 if (self->pSbrElement[elementIndex] == NULL) { in sbrDecoder_InitElement()
619 self->numSbrChannels -= self->pSbrElement[elementIndex]->nChannels; in sbrDecoder_InitElement()
624 self->pSbrElement[elementIndex]->elementID = elementID; in sbrDecoder_InitElement()
642 if (elementIndex == 0 && elementID == ID_SCE) { in sbrDecoder_InitElement()
658 if (elChannels < self->pSbrElement[elementIndex]->nChannels) { in sbrDecoder_InitElement()
659 self->numSbrChannels += self->pSbrElement[elementIndex]->nChannels; in sbrDecoder_InitElement()
664 self->pSbrElement[elementIndex]->nChannels = elChannels; in sbrDecoder_InitElement()
667 if (self->pSbrElement[elementIndex]->pSbrChannel[ch] == NULL) { in sbrDecoder_InitElement()
668 self->pSbrElement[elementIndex]->pSbrChannel[ch] = in sbrDecoder_InitElement()
670 if (self->pSbrElement[elementIndex]->pSbrChannel[ch] == NULL) { in sbrDecoder_InitElement()
677 sbrDecoder_drcInitChannel(&self->pSbrElement[elementIndex] in sbrDecoder_InitElement()
698 FDKmemclear(self->pSbrElement[elementIndex]->frameErrorFlag, in sbrDecoder_InitElement()
713 samplesPerFrame, elementID, elementIndex, in sbrDecoder_InitElement()
722 sbrDecoder_DestroyElement(self, elementIndex); in sbrDecoder_InitElement()
723 } else if ((elementIndex < (8)) && in sbrDecoder_InitElement()
724 (self->pSbrElement[elementIndex] != in sbrDecoder_InitElement()
726 setFrameErrorFlag(self->pSbrElement[elementIndex], FRAME_ERROR); in sbrDecoder_InitElement()
804 const MP4_ELEMENT_ID elementID, const INT elementIndex, in sbrDecoder_Header() argument
816 if (self == NULL || elementIndex >= (8)) { in sbrDecoder_Header()
830 elementIndex, harmonicSBR, stereoConfigIndex, configMode, configChanged, in sbrDecoder_Header()
840 headerIndex = getHeaderSlot(self->pSbrElement[elementIndex]->useFrameSlot, in sbrDecoder_Header()
841 self->pSbrElement[elementIndex]->useHeaderSlot); in sbrDecoder_Header()
843 hSbrHeader = &(self->sbrHeader[elementIndex][headerIndex]); in sbrDecoder_Header()
858 pSbrElement = self->pSbrElement[elementIndex]; in sbrDecoder_Header()
946 int elementIndex; in sbrDecoder_SetParam() local
954 for (elementIndex = 0; elementIndex < self->numSbrElements; in sbrDecoder_SetParam()
955 elementIndex++) { in sbrDecoder_SetParam()
956 if (self->pSbrElement[elementIndex] != NULL) { in sbrDecoder_SetParam()
959 getHeaderSlot(self->pSbrElement[elementIndex]->useFrameSlot, in sbrDecoder_SetParam()
960 self->pSbrElement[elementIndex]->useHeaderSlot); in sbrDecoder_SetParam()
962 hSbrHeader = &(self->sbrHeader[elementIndex][headerIndex]); in sbrDecoder_SetParam()
999 int elementIndex, elChanIdx = 0, numCh = 0; in sbrDecoder_drcGetChannel() local
1001 for (elementIndex = 0; (elementIndex < (8)) && (numCh <= channel); in sbrDecoder_drcGetChannel()
1002 elementIndex++) { in sbrDecoder_drcGetChannel()
1003 SBR_DECODER_ELEMENT *pSbrElement = self->pSbrElement[elementIndex]; in sbrDecoder_drcGetChannel()
1034 elementIndex -= 1; in sbrDecoder_drcGetChannel()
1037 if (elChanIdx < 0 || elementIndex < 0) { in sbrDecoder_drcGetChannel()
1041 if (self->pSbrElement[elementIndex] != NULL) { in sbrDecoder_drcGetChannel()
1042 if (self->pSbrElement[elementIndex]->pSbrChannel[elChanIdx] != NULL) { in sbrDecoder_drcGetChannel()
1043 pSbrDrcChannelData = &self->pSbrElement[elementIndex] in sbrDecoder_drcGetChannel()
1122 MP4_ELEMENT_ID prevElement, int elementIndex, in sbrDecoder_Parse() argument
1145 const int bs_pvc = acElFlags[elementIndex] & AC_EL_USAC_PVC; in sbrDecoder_Parse()
1146 const int bs_interTes = acElFlags[elementIndex] & AC_EL_USAC_ITES; in sbrDecoder_Parse()
1153 setFrameErrorFlag(self->pSbrElement[elementIndex], FRAME_ERROR); in sbrDecoder_Parse()
1210 if (self->pSbrElement[elementIndex] == NULL) { in sbrDecoder_Parse()
1214 hSbrElement = self->pSbrElement[elementIndex]; in sbrDecoder_Parse()
1225 hSbrHeader = &self->sbrHeader[elementIndex][thisHdrSlot]; in sbrDecoder_Parse()
1230 hFrameDataLeft = &self->pSbrElement[elementIndex] in sbrDecoder_Parse()
1234 hFrameDataRight = &self->pSbrElement[elementIndex] in sbrDecoder_Parse()
1255 copySbrHeader(hSbrHeader, &self->sbrHeader[elementIndex][lastHdrSlot]); in sbrDecoder_Parse()
1440 self->pSbrElement[elementIndex]->transposerSettings.overlap); in sbrDecoder_Parse()
1513 setFrameErrorFlag(self->pSbrElement[elementIndex], FRAME_ERROR); in sbrDecoder_Parse()
1522 setFrameErrorFlag(self->pSbrElement[elementIndex], FRAME_OK); in sbrDecoder_Parse()
1549 &self->sbrHeader[elementIndex][lastHdrSlot]) == 0) in sbrDecoder_Parse()
1592 const int mapIdx, int channelIndex, const int elementIndex, in sbrDecoder_DecodeElement() argument
1594 SBR_DECODER_ELEMENT *hSbrElement = self->pSbrElement[elementIndex]; in sbrDecoder_DecodeElement()
1596 self->pSbrElement[elementIndex]->pSbrChannel; in sbrDecoder_DecodeElement()
1598 &self->sbrHeader[elementIndex] in sbrDecoder_DecodeElement()
1630 self->sbrHeader[elementIndex][hdrIdx].syncState = UPSAMPLING; in sbrDecoder_DecodeElement()
1640 &self->sbrHeader[elementIndex] in sbrDecoder_DecodeElement()