struct PassesEncoderState
{ ... };
std::vector<std::unique_ptr<ACImage>> coeffs
std::unique_ptr<EncoderHeuristics> heuristics
std::vector<uint8_t> histogram_idx
std::vector<PassData> passes
std::vector<std::unique_ptr<BitWriter>> special_frames
std::vector<uint32_t> used_orders