• Claudio Freire's avatar
    AAC encoder: make pe.min a local minimum · 88e498a8
    Claudio Freire authored
    As noted in a comment, pe.min in the reference encoder
    is centered around current pe. The bit reservoir algo
    needs pe.min to be a local minimum, because it can only
    account for local PE variations. If it's set to a global
    minimum as was being done, bit reservoir logic doesn't
    work as efficiently.
    
    This patch tries to forget old minimums and converge to
    a local minimum without losing the stability of the
    previous solution. Listening tests until now suggest this
    solves numerous RC issues.
    88e498a8
aac.mak 12 KB