Lines Matching refs:streamIndex

1485   const int streamIndex = 0;  in CAacDecoder_Init()  local
1642 self->flags[streamIndex] = 0; in CAacDecoder_Init()
1651 self->pUsacConfig[streamIndex] = &asc->m_sc.m_usacConfig; in CAacDecoder_Init()
1654 if (self->pUsacConfig[streamIndex]->m_usacNumElements > in CAacDecoder_Init()
1659 if (self->numUsacElements[streamIndex] != in CAacDecoder_Init()
1665 self->numUsacElements[streamIndex] = in CAacDecoder_Init()
1671 _el < (int)self->pUsacConfig[streamIndex]->m_usacNumElements; in CAacDecoder_Init()
1675 self->pUsacConfig[streamIndex]->element[_el].usacElementType) { in CAacDecoder_Init()
1684 self->pUsacConfig[streamIndex]->element[_el].usacElementType; in CAacDecoder_Init()
1722 if (self->pUsacConfig[streamIndex]->m_usacNumElements) { in CAacDecoder_Init()
1728 self->pUsacConfig[streamIndex]->m_usacNumElements] = in CAacDecoder_Init()
1831 self->flags[streamIndex] |= (asc->m_sbrPresentFlag) ? AC_SBR_PRESENT : 0; in CAacDecoder_Init()
1832 self->flags[streamIndex] |= (asc->m_psPresentFlag) ? AC_PS_PRESENT : 0; in CAacDecoder_Init()
1852 self->flags[streamIndex] |= (asc->m_vcb11Flag) ? AC_ER_VCB11 : 0; in CAacDecoder_Init()
1855 self->flags[streamIndex] |= (asc->m_rvlcFlag) ? AC_ER_RVLC : 0; in CAacDecoder_Init()
1858 self->flags[streamIndex] |= (asc->m_hcrFlag) ? AC_ER_HCR : 0; in CAacDecoder_Init()
1862 self->flags[streamIndex] |= AC_ELD; in CAacDecoder_Init()
1863 self->flags[streamIndex] |= in CAacDecoder_Init()
1868 self->flags[streamIndex] |= in CAacDecoder_Init()
1870 self->flags[streamIndex] |= in CAacDecoder_Init()
1877 self->flags[streamIndex] |= (asc->m_aot == AOT_ER_AAC_LD) ? AC_LD : 0; in CAacDecoder_Init()
1878 self->flags[streamIndex] |= (asc->m_epConfig >= 0) ? AC_ER : 0; in CAacDecoder_Init()
1881 self->flags[streamIndex] |= AC_USAC; in CAacDecoder_Init()
1882 self->flags[streamIndex] |= in CAacDecoder_Init()
1888 self->flags[streamIndex] |= AC_DRM | AC_SBRCRC | AC_SCALABLE; in CAacDecoder_Init()
1891 self->flags[streamIndex] |= in CAacDecoder_Init()
1896 self->flags[streamIndex] |= AC_SCALABLE; in CAacDecoder_Init()
1911 if ((self->samplingRateInfo[streamIndex].samplingRate != in CAacDecoder_Init()
1922 &self->samplingRateInfo[streamIndex], asc->m_samplesPerFrame, in CAacDecoder_Init()
1935 if (self->ascChannels[streamIndex] != ascChannels) { in CAacDecoder_Init()
1952 _el < (int)self->pUsacConfig[streamIndex]->m_usacNumElements; in CAacDecoder_Init()
1972 self->flags[streamIndex] |= AC_USAC_SCFGI3; in CAacDecoder_Init()
1991 FDK_ASSERT(streamIndex == 0); in CAacDecoder_Init()
2053 if (self->flags[streamIndex] & (AC_RSV603DA | AC_USAC)) { in CAacDecoder_Init()
2060 if (self->flags[streamIndex] & in CAacDecoder_Init()
2160 if (self->flags[streamIndex] & in CAacDecoder_Init()
2168 if (!(self->flags[streamIndex] & (AC_USAC | AC_RSV603DA))) { in CAacDecoder_Init()
2179 if (self->flags[streamIndex] & AC_USAC) { in CAacDecoder_Init()
2191 if (self->flags[streamIndex] & (AC_USAC | AC_RSV603DA)) { in CAacDecoder_Init()
2282 self->ascChannels[streamIndex] = ascChannels; in CAacDecoder_Init()
2303 for (int _ch = 0; _ch < self->ascChannels[streamIndex]; _ch++) { in CAacDecoder_Init()
2387 const int streamIndex = 0; /* index of the current substream */ in CAacDecoder_DecodeFrame() local
2526 if ((self->flags[streamIndex] & (AC_USAC | AC_RSVD50) && in CAacDecoder_DecodeFrame()
2528 (self->flags[streamIndex] & AC_RSV603DA)) { in CAacDecoder_DecodeFrame()
2529 self->flags[streamIndex] &= ~AC_INDEP; in CAacDecoder_DecodeFrame()
2532 self->flags[streamIndex] |= AC_INDEP; in CAacDecoder_DecodeFrame()
2536 for (int chIdx = aacChannels; chIdx < self->ascChannels[streamIndex]; in CAacDecoder_DecodeFrame()
2549 !(self->flags[streamIndex] & AC_INDEP)) { in CAacDecoder_DecodeFrame()
2594 if (!(self->flags[streamIndex] & (AC_USAC | AC_RSVD50 | AC_RSV603DA))) { in CAacDecoder_DecodeFrame()
2608 self->streamInfo.aot, &self->samplingRateInfo[streamIndex], in CAacDecoder_DecodeFrame()
2609 self->flags[streamIndex], self->elFlags[element_count], in CAacDecoder_DecodeFrame()
2635 ((self->flags[streamIndex] & AC_SBR_PRESENT) || in CAacDecoder_DecodeFrame()
2637 !(self->flags[streamIndex] & in CAacDecoder_DecodeFrame()
2662 if (self->frameOK && (self->flags[streamIndex] & AC_USAC) && in CAacDecoder_DecodeFrame()
2677 if (el_cnt[type] > self->ascChannels[streamIndex]) { in CAacDecoder_DecodeFrame()
2713 &self->samplingRateInfo[streamIndex], self->flags[streamIndex], in CAacDecoder_DecodeFrame()
2772 self->ascChannels[streamIndex] = pce->NumChannels; in CAacDecoder_DecodeFrame()
2832 self->pUsacConfig[streamIndex] in CAacDecoder_DecodeFrame()
2845 if (self->pUsacConfig[streamIndex] in CAacDecoder_DecodeFrame()
2858 self->pUsacConfig[streamIndex] in CAacDecoder_DecodeFrame()
2864 if (streamIndex == 0) { in CAacDecoder_DecodeFrame()
2908 if (!(self->flags[streamIndex] & (AC_RSVD50 | AC_USAC)) || in CAacDecoder_DecodeFrame()
2924 if (((self->flags[streamIndex] & (AC_RSVD50 | AC_USAC)) && in CAacDecoder_DecodeFrame()
2927 ((!(self->flags[streamIndex] & (AC_RSVD50 | AC_USAC)) || in CAacDecoder_DecodeFrame()
2932 (self->flags[streamIndex] & AC_USAC))) { in CAacDecoder_DecodeFrame()
2979 if (self->flags[streamIndex] & (AC_USAC | AC_RSV603DA | AC_BSAC)) { in CAacDecoder_DecodeFrame()
3007 &self->samplingRateInfo[streamIndex], self->flags[streamIndex], in CAacDecoder_DecodeFrame()
3173 self->flags[streamIndex] |= AC_DRC_PRESENT; in CAacDecoder_DecodeFrame()
3198 if (self->flags[streamIndex] & (AC_USAC | AC_RSV603DA | AC_BSAC)) { in CAacDecoder_DecodeFrame()
3281 &self->samplingRateInfo[streamIndex], in CAacDecoder_DecodeFrame()
3285 self->flags[streamIndex]); in CAacDecoder_DecodeFrame()
3351 &self->samplingRateInfo[streamIndex], in CAacDecoder_DecodeFrame()
3354 flags, self->flags[streamIndex]); in CAacDecoder_DecodeFrame()
3379 if (self->flags[streamIndex] & AC_USAC) { in CAacDecoder_DecodeFrame()
3416 self->flags[streamIndex] |= AC_DRC_PRESENT; in CAacDecoder_DecodeFrame()