Expand description
WebP 画像デコーダ(vendoring 版)。
上流: image-webp (MIT/Apache-2.0) を
no_std 向けに vendoring。std::io/byteorder_lite/quick_error への依存を
自前 io シム・手書き enum に置換し、エンコーダ(encoder.rs)は除外。
アルゴリズム本体(vp8/lossless 等)は無改変。
エントリポイントは decode_webp(先頭フレームを RGBA8888 にデコード)。
Modules§
- alpha_
blending 🔒 - decoder 🔒
- extended 🔒
- huffman 🔒
- io
- loop_
filter 🔒 - lossless 🔒
- lossless_
transform 🔒 - transform 🔒
- vp8
- vp8_
arithmetic_ 🔒decoder - yuv
Structs§
- WebP
Decoder - WebP image format decoder.
Enums§
- Decoding
Error - Errors that can occur when attempting to decode a WebP image
Functions§
- decode_
webp - WebP バイト列を RGBA8888 にデコードする(先頭フレーム)。 返り値: (width, height, rgba)