Skip to content

Commit

Permalink
Merge pull request #22 from awxkee/dev
Browse files Browse the repository at this point in the history
Dev
  • Loading branch information
awxkee authored Jan 4, 2025
2 parents 56fe3ba + 4c3df67 commit f579250
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 16 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build_push.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: "Build"
name: Build

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
Expand Down
33 changes: 18 additions & 15 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# Image scaling library in Rust

[![crates.io](https://img.shields.io/crates/v/pic-scale.svg)](https://crates.io/crates/pic-scale)
![Build](https://github.com/awxkee/pic-scale/actions/workflows/build_push.yml/badge.svg)

Rust image scale in different color spaces using SIMD and multithreading.

Supported NEON, SSE, AVX-2, WASM.
Expand Down Expand Up @@ -44,21 +47,21 @@ Despite all implementation are fast, not all the paths are implemented using SIM

`~` - Partially implemented

| | NEON | SSE | AVX2 | AVX-512 | WASM |
|----------------|------|-----|------|---------|------|
| RGBA (8 bit) | x | x | x | ~ | ~ |
| RGB (8 bit) | x | x | ~ | ~ | ~ |
| Plane (8 bit) | x | x | ~ | ~ | ~ |
| RGBA (8+ bit) | x | x | ~ | - | - |
| RGB (8+ bit) | x | x | ~ | - | - |
| Plane (8+ bit) | ~ | ~ | ~ | - | - |
| RGBA (f32) | x | x | x | - | - |
| RGB (f32) | x | x | ~ | - | - |
| Plane (f32) | x | x | ~ | - | - |
| RGBA (f16) | x | x | x | - | - |
| RGB (f16) | x | ~ | ~ | - | - |
| Plane (f16) | ~ | ~ | ~ | - | - |
| AR30/RA30 | x | - | - | - | - |
| | NEON | SSE | AVX2 | AVX-512 | WASM |
|----------------|------|-----|------|------------|------|
| RGBA (8 bit) | x | x | x | x(avxvnni) | ~ |
| RGB (8 bit) | x | x | ~ | ~ | ~ |
| Plane (8 bit) | x | x | ~ | ~ | ~ |
| RGBA (8+ bit) | x | x | ~ | - | - |
| RGB (8+ bit) | x | x | ~ | - | - |
| Plane (8+ bit) | ~ | ~ | ~ | - | - |
| RGBA (f32) | x | x | x | - | - |
| RGB (f32) | x | x | ~ | - | - |
| Plane (f32) | x | x | ~ | - | - |
| RGBA (f16) | x | x | x | - | - |
| RGB (f16) | x | ~ | ~ | - | - |
| Plane (f16) | ~ | ~ | ~ | - | - |
| AR30/RA30 | x | - | - | - | - |

#### Features

Expand Down

0 comments on commit f579250

Please sign in to comment.