Benign rust 161 installs Download

ps-jxl-image 0.13.2

“JPEG XL image header representation, part of jxl-oxide: pathscale fork of jxl-oxide.”

Basename is uppercase README.mdSource references XOR syntax
SHA-256e3706707ba916fa0c19fc1bb68a06e0dd20ae87a63aa197f9cdde71f067187f8
MaleculeH(Db)Md

Evidence

English function-word token "the" lines 1–6
1//! This crate provides types related to JPEG XL image headers, such as
2//! [image size information][SizeHeader], [color encoding][ColourEncoding] and
3//! [animation TPS (ticks per second) information][AnimationHeader]. Most of the information is in
4//! the [`ImageMetadata`] struct.
5//!
6//! Image header is at the beginning of …
imports alloc::vec::Vec lines 8–23
8:22… re = "std"), no_std)]
9
10extern crate alloc;
11
12use alloc::vec::Vec;
13
14use jxl_bitstream::{Bitstream, BitstreamResult, U};
15use jxl_oxide_common::{Bundle, Name, define_bundle};
16
17pub mod color;
18use color::*;
19
20/// JPEG XL image header.
21///
22/// Use [`Bundle::parse`] to parse the header.
23#[derive(Debug)] …
English function-word token "for" lines 28–34
28:11… tadata: ImageMetadata,
29}
30
31impl<Ctx> Bundle<Ctx> for ImageHeader {
32 type Error = jxl_bitstream::Error;
33
34 fn parse(bitstream: &mut Bitstream, _ …
Source contains low-bit mask syntax lines 222–226
222:59… (extension_bits.count_ones() as usize);
223 for extension_idx in 0..64 {
224 if bits & 1 != 0 {
225 tracing::warn!(extension_idx, "Unknown extension");
226 exte …
Source references XOR syntax lines 477–480
477:5… let exp_mask = ((1u32 << (bits_per_sample - 1)) - 1) ^ mantissa_mask;
478
479 let is_signed = (sample & (1u32 << (bits_per_sample - 1))) != 0;
480 let mantissa = …

No evidence locations were recorded for this file. Raw result

Keyboard shortcuts on this page: j for the next sample, k for the previous one, x to go back to the feed, d to download the original bytes, r to re-queue the sample for analysis.