Rename qoi-fast -> qoi (qoi-rust) + update repo
This commit is contained in:
parent
3cc5a260fb
commit
53ecac38a9
10 changed files with 35 additions and 35 deletions
12
README.md
12
README.md
|
|
@ -1,8 +1,8 @@
|
|||
# [qoi-fast](https://crates.io/crates/qoi-fast)
|
||||
# [qoi](https://crates.io/crates/qoi)
|
||||
|
||||
[](https://github.com/aldanor/qoi-fast/actions?query=branch%3Amaster)
|
||||
[](https://crates.io/crates/qoi-fast)
|
||||
[](https://docs.rs/qoi-fast)
|
||||
[](https://github.com/aldanor/qoi-rust/actions?query=branch%3Amaster)
|
||||
[](https://crates.io/crates/qoi)
|
||||
[](https://docs.rs/qoi)
|
||||
[](https://opensource.org/licenses/Apache-2.0)
|
||||
[](https://opensource.org/licenses/MIT)
|
||||
[](https://github.com/rust-secure-code/safety-dance)
|
||||
|
|
@ -19,7 +19,7 @@ Fast encoder/decoder for [QOI image format](https://qoiformat.org/), implemented
|
|||
### Examples
|
||||
|
||||
```rust
|
||||
use qoi_fast::{encode_to_vec, decode_to_vec};
|
||||
use qoi::{encode_to_vec, decode_to_vec};
|
||||
|
||||
let encoded = encode_to_vec(&pixels, width, height)?;
|
||||
let (header, decoded) = decode_to_vec(&encoded)?;
|
||||
|
|
@ -34,7 +34,7 @@ assert_eq!(decoded, pixels);
|
|||
```
|
||||
decode:Mp/s encode:Mp/s decode:MB/s encode:MB/s
|
||||
qoi.h 282.9 225.3 978.3 778.9
|
||||
qoi-fast 427.4 290.0 1477.7 1002.9
|
||||
qoi-rust 427.4 290.0 1477.7 1002.9
|
||||
```
|
||||
|
||||
- Reference C implementation:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue