aboutsummaryrefslogtreecommitdiffstats
path: root/src/atrac/atrac3_bitstream.h
diff options
context:
space:
mode:
authorDaniil Cherednik <dan.cherednik@gmail.com>2020-01-20 00:24:21 +0300
committerDaniil Cherednik <dan.cherednik@gmail.com>2020-01-20 00:24:21 +0300
commite16e9c60a18e4b914f5cb16463ed781f09808a25 (patch)
tree23a22c26ff5b20697f9c62b6286258bac04fe6f7 /src/atrac/atrac3_bitstream.h
parent83d5e5d3652608478b5f18212bd3fec2338ae954 (diff)
downloadatracdenc-e16e9c60a18e4b914f5cb16463ed781f09808a25.tar.gz
[atrac3] 0.83/0.16 M/S bitrate separation for joint stereo coding
support of encoding mono source for joint stereo mode
Diffstat (limited to 'src/atrac/atrac3_bitstream.h')
-rw-r--r--src/atrac/atrac3_bitstream.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/atrac/atrac3_bitstream.h b/src/atrac/atrac3_bitstream.h
index 24c2ca7..cc57a60 100644
--- a/src/atrac/atrac3_bitstream.h
+++ b/src/atrac/atrac3_bitstream.h
@@ -67,14 +67,14 @@ private:
uint32_t bfuNum, TFloat spread, TFloat shift);
std::pair<uint8_t, std::vector<uint32_t>> CreateAllocation(const TSingleChannelElement& sce,
- uint16_t bitsUsed, int mt[MaxSpecs]);
+ uint16_t targetBits, int mt[MaxSpecs]);
std::pair<uint8_t, uint32_t> CalcSpecsBitsConsumption(const TSingleChannelElement& sce,
const std::vector<uint32_t>& precisionPerEachBlocks,
int* mantisas);
void EncodeSpecs(const TSingleChannelElement& sce, NBitStream::TBitStream* bitStream,
- uint16_t bitsUsed);
+ const std::pair<uint8_t, std::vector<uint32_t>>&, const int mt[MaxSpecs]);
uint8_t GroupTonalComponents(const std::vector<TTonalBlock>& tonalComponents,
const std::vector<uint32_t>& allocTable,