auto PrecomputeReferences(const Channel& ch, size_t y, const Image& image, uint32_t i, Channel* references) -> void