// 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.
// Reserved by ISO/IEC 10918-1. LF causes files opened in text mode to be // rejected because the marker changes to 0x0D instead. The 0xFF prefix also // ensures there were no 7-bit transmission limitations. static constexpr uint8_t kCodestreamMarker = 0x0A;
// Compact representation of image dimensions (best case: 9 bits) so decoders // can preallocate early. class SizeHeader : public Fields { public:
SizeHeader();
JXL_FIELDS_NAME(SizeHeader)
Status VisitFields(Visitor* JXL_RESTRICT visitor) override;
// (Similar to SizeHeader but different encoding because previews are smaller) class PreviewHeader : public Fields { public:
PreviewHeader();
JXL_FIELDS_NAME(PreviewHeader)
Status VisitFields(Visitor* JXL_RESTRICT visitor) override;
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.