// 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.
namespace jxl { // Some enums and typedefs used by more than one header file.
// Block is the square grid of pixels to which an "energy compaction" // transformation (e.g. DCT) is applied. Each block has its own AC quantizer.
constexpr size_t kBlockDim = 8;
// Image size without any upsampling, i.e. original_size / upsampling.
size_t xsize;
size_t ysize; // Original image size.
size_t xsize_upsampled;
size_t ysize_upsampled; // Image size after upsampling the padded image.
size_t xsize_upsampled_padded;
size_t ysize_upsampled_padded; // Image size after padding to a multiple of kBlockDim (if VarDCT mode).
size_t xsize_padded;
size_t ysize_padded; // Image size in kBlockDim blocks.
size_t xsize_blocks;
size_t ysize_blocks; // Image size in number of groups.
size_t xsize_groups;
size_t ysize_groups; // Image size in number of DC groups.
size_t xsize_dc_groups;
size_t ysize_dc_groups; // Number of AC or DC groups.
size_t num_groups;
size_t num_dc_groups; // Size of a group.
size_t group_dim;
size_t dc_group_dim;
};
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.