Home
last modified time | relevance | path

Searched refs:ancillaryRate (Results 1 – 1 of 1) sorted by relevance

/external/aac/libAACenc/src/
Daacenc.cpp145 INT bitRate, INT framelength, INT ancillaryRate, INT *ancillaryBitsPerFrame,
997 INT bitRate, INT framelength, INT ancillaryRate, INT *ancillaryBitsPerFrame, in FDKaacEnc_InitCheckAncillary() argument
1000 if (ancillaryRate < -1) return AAC_ENC_UNSUPPORTED_ANC_BITRATE; in FDKaacEnc_InitCheckAncillary()
1003 if ((ancillaryRate != (-1)) && (ancillaryRate != 0)) { in FDKaacEnc_InitCheckAncillary()
1005 if ((ancillaryRate >= MAX_ANCRATE) || in FDKaacEnc_InitCheckAncillary()
1006 ((ancillaryRate * 20) > (bitRate * 3))) { in FDKaacEnc_InitCheckAncillary()
1009 } else if (ancillaryRate == -1) { in FDKaacEnc_InitCheckAncillary()
1014 ancillaryRate = (MAX_ANCRATE - 1); in FDKaacEnc_InitCheckAncillary()
1016 ancillaryRate = bitRate / 10; in FDKaacEnc_InitCheckAncillary()
1022 FDKaacEnc_CalcBitsPerFrame(ancillaryRate, framelength, sampleRate) & ~0x7; in FDKaacEnc_InitCheckAncillary()