blob: 3400e76739148ffce56c94ecf516a69114508270 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
#pragma once
namespace NAtracDEnc {
class TAtrac1EncodeSettings {
public:
enum class EWindowMode {
EWM_LONG_ONLY,
EWM_SHORT_ONLY,
EWM_AUTO
};
private:
const uint32_t BfuIdxConst = 0;
const bool FastBfuNumSearch = false;
EWindowMode WindowMode = EWindowMode::EWM_LONG_ONLY;
public:
TAtrac1EncodeSettings();
TAtrac1EncodeSettings(uint32_t bfuIdxConst, bool fastBfuNumSearch, EWindowMode windowMode)
: BfuIdxConst(bfuIdxConst)
, FastBfuNumSearch(fastBfuNumSearch)
, WindowMode(windowMode)
{}
uint32_t GetBfuIdxConst() const { return BfuIdxConst; }
bool GetFastBfuNumSearch() const { return FastBfuNumSearch; }
};
}
|