// 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.
// Converts any color space to XYB in-place. If `linear` is not null, fills it // with a linear sRGB copy of `image`.
Status ToXYB(const ColorEncoding& c_current, float intensity_target, const ImageF* black, ThreadPool* pool, Image3F* JXL_RESTRICT image, const JxlCmsInterface& cms, Image3F* JXL_RESTRICT linear);
Status ToXYB(const ImageBundle& in, ThreadPool* pool, Image3F* JXL_RESTRICT xyb, const JxlCmsInterface& cms,
Image3F* JXL_RESTRICT linear = nullptr);
// Transforms each color component of the given XYB image into the [0.0, 1.0] // interval with an affine transform. void ScaleXYB(Image3F* opsin); void ScaleXYBRow(float* row0, float* row1, float* row2, size_t xsize);
// Bt.601 to match JPEG/JFIF. Outputs _signed_ YCbCr values suitable for DCT, // see F.1.1.3 of T.81 (because our data type is float, there is no need to add // a bias to make the values unsigned).
Status RgbToYcbcr(const ImageF& r_plane, const ImageF& g_plane, const ImageF& b_plane, ImageF* y_plane, ImageF* cb_plane,
ImageF* cr_plane, ThreadPool* pool);
} // namespace jxl
#endif// LIB_JXL_ENC_XYB_H_
Messung V0.5
¤ Dauer der Verarbeitung: 0.14 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.