Skip to main content

Module webp

Module webp 

Source
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§

WebPDecoder
WebP image format decoder.

Enums§

DecodingError
Errors that can occur when attempting to decode a WebP image

Functions§

decode_webp
WebP バイト列を RGBA8888 にデコードする(先頭フレーム)。 返り値: (width, height, rgba)