Lines Matching refs:coreCodec
288 const int sbr_min_sample_rate_in = IS_USAC(self->coreCodec) ? 2000 : 6400; in sbrDecoder_ResetElement()
304 if (self->coreCodec == AOT_ER_AAC_ELD) { in sbrDecoder_ResetElement()
398 switch (self->coreCodec) { in sbrDecoder_ResetElement()
495 static int sbrDecoder_isCoreCodecValid(AUDIO_OBJECT_TYPE coreCodec) { in sbrDecoder_isCoreCodecValid() argument
496 switch (coreCodec) { in sbrDecoder_isCoreCodecValid()
531 const int samplesPerFrame, const AUDIO_OBJECT_TYPE coreCodec, in sbrDecoder_InitElement() argument
547 if (!sbrDecoder_isCoreCodecValid(coreCodec) || elementIndex >= (8)) { in sbrDecoder_InitElement()
558 self->codecFrameSize == samplesPerFrame && self->coreCodec == coreCodec && in sbrDecoder_InitElement()
584 self->flags |= (coreCodec == AOT_ER_AAC_ELD) ? SBRDEC_ELD_GRID : 0; in sbrDecoder_InitElement()
585 self->flags |= (coreCodec == AOT_ER_AAC_SCAL) ? SBRDEC_SYNTAX_SCAL : 0; in sbrDecoder_InitElement()
587 (coreCodec == AOT_DRM_AAC) ? SBRDEC_SYNTAX_SCAL | SBRDEC_SYNTAX_DRM : 0; in sbrDecoder_InitElement()
588 self->flags |= (coreCodec == AOT_DRM_SURROUND) in sbrDecoder_InitElement()
591 self->flags |= (coreCodec == AOT_USAC) ? SBRDEC_SYNTAX_USAC : 0; in sbrDecoder_InitElement()
603 self->coreCodec = coreCodec; in sbrDecoder_InitElement()
643 switch (coreCodec) { in sbrDecoder_InitElement()
704 if (coreCodec == AOT_ER_AAC_ELD) { in sbrDecoder_InitElement()
803 const AUDIO_OBJECT_TYPE coreCodec, in sbrDecoder_Header() argument
820 if (!sbrDecoder_isCoreCodecValid(coreCodec)) { in sbrDecoder_Header()
829 self, sampleRateIn, sampleRateOut, samplesPerFrame, coreCodec, elementID, in sbrDecoder_Header()
848 if (coreCodec == AOT_USAC) { in sbrDecoder_Header()
1279 switch (self->coreCodec) { in sbrDecoder_Parse()
1454 switch (self->coreCodec) { in sbrDecoder_Parse()
1486 switch (self->coreCodec) { in sbrDecoder_Parse()
2001 if ((flags & SBRDEC_ELD_GRID) && IS_LOWDELAY(self->coreCodec)) { in sbrDecoder_GetDelay()
2010 } else if (!IS_USAC(self->coreCodec)) { in sbrDecoder_GetDelay()