Lines Matching refs:coreCodec
286 const int sbr_min_sample_rate_in = IS_USAC(self->coreCodec) ? 2000 : 6400; in sbrDecoder_ResetElement()
302 if (self->coreCodec == AOT_ER_AAC_ELD) { in sbrDecoder_ResetElement()
396 switch (self->coreCodec) { in sbrDecoder_ResetElement()
493 static int sbrDecoder_isCoreCodecValid(AUDIO_OBJECT_TYPE coreCodec) { in sbrDecoder_isCoreCodecValid() argument
494 switch (coreCodec) { in sbrDecoder_isCoreCodecValid()
529 const int samplesPerFrame, const AUDIO_OBJECT_TYPE coreCodec, in sbrDecoder_InitElement() argument
545 if (!sbrDecoder_isCoreCodecValid(coreCodec) || elementIndex >= (8)) { in sbrDecoder_InitElement()
556 self->codecFrameSize == samplesPerFrame && self->coreCodec == coreCodec && in sbrDecoder_InitElement()
582 self->flags |= (coreCodec == AOT_ER_AAC_ELD) ? SBRDEC_ELD_GRID : 0; in sbrDecoder_InitElement()
583 self->flags |= (coreCodec == AOT_ER_AAC_SCAL) ? SBRDEC_SYNTAX_SCAL : 0; in sbrDecoder_InitElement()
585 (coreCodec == AOT_DRM_AAC) ? SBRDEC_SYNTAX_SCAL | SBRDEC_SYNTAX_DRM : 0; in sbrDecoder_InitElement()
586 self->flags |= (coreCodec == AOT_DRM_SURROUND) in sbrDecoder_InitElement()
589 self->flags |= (coreCodec == AOT_USAC) ? SBRDEC_SYNTAX_USAC : 0; in sbrDecoder_InitElement()
601 self->coreCodec = coreCodec; in sbrDecoder_InitElement()
637 switch (coreCodec) { in sbrDecoder_InitElement()
702 if (coreCodec == AOT_ER_AAC_ELD) { in sbrDecoder_InitElement()
801 const AUDIO_OBJECT_TYPE coreCodec, in sbrDecoder_Header() argument
818 if (!sbrDecoder_isCoreCodecValid(coreCodec)) { in sbrDecoder_Header()
827 self, sampleRateIn, sampleRateOut, samplesPerFrame, coreCodec, elementID, in sbrDecoder_Header()
846 if (coreCodec == AOT_USAC) { in sbrDecoder_Header()
1283 switch (self->coreCodec) { in sbrDecoder_Parse()
1459 switch (self->coreCodec) { in sbrDecoder_Parse()
1994 if ((flags & SBRDEC_ELD_GRID) && IS_LOWDELAY(self->coreCodec)) { in sbrDecoder_GetDelay()
2003 } else if (!IS_USAC(self->coreCodec)) { in sbrDecoder_GetDelay()