1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
[]
= "rusty_jpeg"
= "0.3.2"
= "2021"
= "(MIT OR Apache-2.0) AND IJG"
= "https://github.com/Remade-With-Rust/rusty_jpeg"
= ["Mata Network <https://www.mata.network>"]
= "https://github.com/Remade-With-Rust/rusty_jpeg"
= "Pure-Rust JPEG/MJPEG decoder and encoder: baseline + progressive, planar YUV in/out, AVX2/NEON kernels, box-averaged chroma, opt-in trellis. At parity with FFmpeg 8.1.2 on encode and decode at matched output size."
= "README.md"
= ["jpeg", "mjpeg", "image", "decoder", "encoder"]
= ["multimedia::images", "multimedia::encoding"]
= "1.85"
[]
# `rayon` is deliberately NOT here. Upstream `jpeg-decoder` enables it by
# default; measured on this decoder it is a net LOSS at every image size, because
# the fork-join costs more than the parallelism it buys on a single frame:
#
# 640x480 1.32x SLOWER with rayon
# 1920x1080 1.91x SLOWER
# 3840x2160 1.32x SLOWER
#
# Turning it off took 1080p decode from 6.94 to 3.82 ms/frame. The feature is
# kept so the measurement is cheap to repeat (and in case a future worker design
# changes the answer), but it must not be on by default.
= ["std", "simd"]
= []
# Encoder AVX2 kernels (FDCT + RGB->YCbCr). NOT default upstream, which is how
# they sat dead in this tree for the whole life of the dependency.
= ["std"]
# Decoder work-stealing threading.
= ["dep:rayon"]
# Decoder: drop all arch-specific code (forbids unsafe outright).
= []
= []
# Exposes internal kernels for benchmarks/oracle A-B tests.
= []
# Feature-gated stage profiler; zero-cost when off.
= []
# Deterministic work counters (symbols, bits, flushes). SEPARATE from `profile`
# on purpose: the counters fire hundreds of millions of times inside the entropy
# coder, so enabling both makes the cycle buckets measure the instrument. Counts
# from this build; cycles from a `profile` build; never the same binary.
= []
[]
= { = "1.5.1", = true }