Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
lieff
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
5 ms
·
1.
▲
by
lieff
2mo ago
I added a comparison with AVIF https://github.com/lieff/miniwtpc/blob/main/results.md#compa...
2.
▲
by
lieff
3mo ago
Both can`t reach 200B, they not designed for this. avif only reached 850B on lena256.png, from ~1-2kb+ avif can lead on psnr depending on vector, but for ssimulacra2 avif only wins 2-22kb range, further quantization steps become too rough a
3.
▲
A new wavelet codec for thumbnails/preview (200B–36KB)
(github.com)
7 points
by
lieff
3mo ago
|
5 comments
4.
▲
by
lieff
3mo ago
Beats JPEG/JP2K/JXL/SQZ in PSNR It uses CDF 9/7 wavelet transform without K-scaling + your choice of arithmetic (EBCOT-lite + BAC) or Huffman entropy coding.
5.
▲
by
lieff
8y ago
You absolutely correct, it's indeed inspired by Keyj`s minimp3. Float-point used because it's hard do with 4-byte fixed-point type and achieve ISO conformance. We must to use different dynamic ranges for different parts of decoder
6.
▲
by
lieff
8y ago
Encoders usually harder, because, for example, you can't verify it using reference vectors (there no exact reference to compare with). Also encoders like h264 contains big part of decoder as well, because it must reconstruct encoded fr
7.
▲
by
lieff
8y ago
It's also single core comparison. Multi-threaded encoding is supported too: with 4 threads I get 0,190s for minih264 and 0,135s for x264.
8.
▲
by
lieff
8y ago
https://github.com/cisco/openh264 can do both encode/decode.
9.
▲
by
lieff
8y ago
There already defines to include\exclude features: H264E_MAX_THREADS=n, H264E_SVC_API=1, MINIH264_ONLY_SIMD. Complete documentation still in progress and subject to change. For now only comments in minih264e.h and minih264e_test.c can tell
10.
▲
by
lieff
8y ago
Yes, It's already been used on STM32F407 and ESP32.
11.
▲
by
lieff
8y ago
I've add screenshot of first intra frame and x264.264 to compare in players.
12.
▲
Minimp3 – Minimalistic, single-header library for decoding MP3
(github.com)
44 points
by
lieff
8y ago
|
10 comments
13.
▲
Minih264 – Minimalistic, single-header library for encoding H264/SVC
(github.com)
131 points
by
lieff
8y ago
|
22 comments