aacpsy: Add energy spread for each band
authorRostislav Pehlivanov <atomnuker@gmail.com>
Fri, 26 Jun 2015 20:16:35 +0000 (21:16 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Sun, 28 Jun 2015 12:24:30 +0000 (14:24 +0200)
commit02dbed6e71e77f98c5831378f188fc268fc94fc2
tree5c9e71c2108b25cde45b05c031272c9c2072ac47
parenta57ee6cca10d7329a2ce425db1b0a2f49e0971af
aacpsy: Add energy spread for each band

This commit adds the energy spread to the struct for each band and removes 2 unused fields.
distortion and perceptual_weight were not referenced in any file nor were they set to any value,
so it was safe to remove them. The energy spread is currently only used in the aac psy model.
It's defined as being proportional to the tonality of each band.

Reviewed-by: Claudio Freire <klaussfreire@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/aacpsy.c
libavcodec/psymodel.h