aboutsummaryrefslogtreecommitdiffstats
path: root/src/atrac/atrac_scale.h
diff options
context:
space:
mode:
authorDaniil Cherednik <dan.cherednik@gmail.com>2024-10-06 17:02:43 +0200
committerDaniil Cherednik <dan.cherednik@gmail.com>2024-10-06 19:54:31 +0200
commit073ddad9e7ae600db9dd942728dcd4b46b1357ec (patch)
treeb6a7a1935c598274ec97d5e96841273706ec3023 /src/atrac/atrac_scale.h
parenta18796c67f26df138601a0e6061daeed03808a29 (diff)
downloadatracdenc-073ddad9e7ae600db9dd942728dcd4b46b1357ec.tar.gz
Use ATH during ATRAC1 encoding
Diffstat (limited to 'src/atrac/atrac_scale.h')
-rw-r--r--src/atrac/atrac_scale.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/atrac/atrac_scale.h b/src/atrac/atrac_scale.h
index 855010e..b590662 100644
--- a/src/atrac/atrac_scale.h
+++ b/src/atrac/atrac_scale.h
@@ -28,9 +28,10 @@
namespace NAtracDEnc {
struct TScaledBlock {
- TScaledBlock(uint8_t sfi) : ScaleFactorIndex(sfi) {}
+ TScaledBlock(uint8_t sfi) : ScaleFactorIndex(sfi) {}
/* const */ uint8_t ScaleFactorIndex = 0;
std::vector<TFloat> Values;
+ TFloat MaxEnergy;
};
class TBlockSize;