diff options
author | Daniil Cherednik <dan.cherednik@gmail.com> | 2024-08-03 00:52:04 +0200 |
---|---|---|
committer | Daniil Cherednik <dan.cherednik@gmail.com> | 2024-08-03 00:52:04 +0200 |
commit | a18796c67f26df138601a0e6061daeed03808a29 (patch) | |
tree | bfc91dffdad5358d8e0f6dd46b225274d65b97be /src/atrac/atrac_psy_common.h | |
parent | c4b19af8391640f143aaf446658354dcf01432d1 (diff) | |
download | atracdenc-a18796c67f26df138601a0e6061daeed03808a29.tar.gz |
Bring some ATH related code from musepack project
Motivations:
- We need some psychoacoustic model to apply it
in the AT3P during GHA. The idea is try to use ATH
along with some tonality measurement to determine
whether GHA gives profit or just penalty due to
non effitient GHA bit encoding.
- We can try to improve AT1 and AT3 quality applying ATH
Diffstat (limited to 'src/atrac/atrac_psy_common.h')
-rw-r--r-- | src/atrac/atrac_psy_common.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/atrac/atrac_psy_common.h b/src/atrac/atrac_psy_common.h index 1a83e74..1a826bb 100644 --- a/src/atrac/atrac_psy_common.h +++ b/src/atrac/atrac_psy_common.h @@ -22,5 +22,6 @@ namespace NAtracDEnc { TFloat AnalizeScaleFactorSpread(const std::vector<TScaledBlock>& scaledBlocks); +std::vector<float> CalcATH(int len, int sampleRate); } //namespace NAtracDEnc |