// Copyright (c) the JPEG XL Project Authors. All rights reserved. // // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file.
std::vector<std::pair<int64_t, int64_t>>
control_points_; // Double delta-encoded. int color_dct_[3][32] = {}; int sigma_dct_[32] = {};
};
// A single "drawable unit" of a spline, i.e. a line of the region in which we // render each Gaussian. The structure doesn't actually depend on the exact // row, which allows reuse for different y values (which are tracked // separately). struct SplineSegment { float center_x, center_y; float maximum_distance; float inv_sigma; float sigma_over_4_times_intensity; float color[3];
};
// If positive, quantization weights are multiplied by 1 + this/8, which // increases precision. If negative, they are divided by 1 - this/8. If 0, // they are unchanged.
int32_t quantization_adjustment_ = 0;
std::vector<QuantizedSpline> splines_;
std::vector<Spline::Point> starting_points_;
std::vector<SplineSegment> segments_;
std::vector<size_t> segment_indices_;
std::vector<size_t> segment_y_start_;
};
} // namespace jxl
#endif// LIB_JXL_SPLINES_H_
Messung V0.5
¤ Dauer der Verarbeitung: 0.11 Sekunden
(vorverarbeitet)
¤
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.