44 constexpr auto COSTAS =
45 std::array{std::array{std::array{4, 2, 5, 6, 1, 3, 0},
46 std::array{4, 2, 5, 6, 1, 3, 0},
47 std::array{4, 2, 5, 6, 1, 3, 0}},
48 std::array{std::array{0, 6, 2, 3, 5, 4, 1},
49 std::array{1, 5, 0, 2, 3, 6, 4},
50 std::array{2, 5, 0, 6, 4, 1, 3}}};
52 return [COSTAS](
Type type) ->
Array const & {
53 return COSTAS[
static_cast<std::underlying_type_t<Type>
>(type)];
122 std::variant<DecodeStarted, SyncStart, SyncState, Decoded, DecodeFinished>;
std::variant< DecodeStarted, SyncStart, SyncState, Decoded, DecodeFinished > Variant
Definition JS8.h:121