// 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.
// Creates a modular image for a given DC group of VarDCT mode. `dc` is the // input DC image, not quantized; the group is specified by `group_index`, and // `nl_dc` decides whether to apply a near-lossless processing to the DC or // not.
Status AddVarDCTDC(const FrameHeader& frame_header, const Image3F& dc, const Rect& r, size_t group_index, bool nl_dc,
PassesEncoderState* enc_state, bool jpeg_transcode); // Creates a modular image for the AC metadata of the given group // (`group_index`).
Status AddACMetadata(const Rect& r, size_t group_index, bool jpeg_transcode,
PassesEncoderState* enc_state); // Encodes a RAW quantization table in `writer`. If `modular_frame_encoder` is // null, the quantization table in `encoding` is used, with dimensions `size_x // x size_y`. Otherwise, the table with ID `idx` is encoded from the given // `modular_frame_encoder`. static Status EncodeQuantTable(JxlMemoryManager* memory_manager,
size_t size_x, size_t size_y,
BitWriter* writer, const QuantEncoding& encoding, size_t idx,
ModularFrameEncoder* modular_frame_encoder); // Stores a quantization table for future usage with `EncodeQuantTable`.
Status AddQuantTable(size_t size_x, size_t size_y, const QuantEncoding& encoding, size_t idx);
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.