Skip to content

Commit c76b44c

Browse files
authored
Merge pull request #4 from phial3/develop
2 parents fc4ff2b + 6186137 commit c76b44c

File tree

7 files changed

+532
-193
lines changed

7 files changed

+532
-193
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -46,13 +46,6 @@ jobs:
4646
python3 \
4747
python3-pip \
4848
python3-dev \
49-
libavcodec-dev \
50-
libavdevice-dev \
51-
libavfilter-dev \
52-
libavformat-dev \
53-
libavutil-dev \
54-
libswresample-dev \
55-
libswscale-dev \
5649
libopencv-dev \
5750
python3-opencv
5851
@@ -113,7 +106,7 @@ jobs:
113106
run: cargo build --all-features --verbose
114107

115108
- name: Run Test
116-
run: cargo test --verbose -- --nocapture
109+
run: cargo test --all --all-features --verbose -- --nocapture
117110

118111
build-windows:
119112
name: build / windows / latest ffmpeg
@@ -180,13 +173,6 @@ jobs:
180173
python3 \
181174
python3-pip \
182175
python3-dev \
183-
libavcodec-dev \
184-
libavdevice-dev \
185-
libavfilter-dev \
186-
libavformat-dev \
187-
libavutil-dev \
188-
libswresample-dev \
189-
libswscale-dev \
190176
libopencv-dev \
191177
python3-opencv
192178

Cargo.toml

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,17 +33,26 @@ test-tch = ["tch/download-libtorch"]
3333
rand = '0.9'
3434
approx = '0.5'
3535
itertools = '0.14'
36+
rgb = "0.8"
37+
pix = "0.14"
38+
coolor = "1.0"
39+
imgref = "1.11"
40+
palette = "0.7"
41+
yuvutils-rs = "0.8"
42+
fast_image_resize = "5.1"
3643

3744
[dependencies]
38-
half = '2.4'
45+
half = '2.6'
3946
anyhow = '1.0'
47+
strum = "0.27"
48+
strum_macros = "0.27"
4049
num-traits = '0.2'
4150
image = { version = '0.25', default-features = true, optional = true }
4251
nalgebra = { version = '0.33', default-features = true, optional = true }
4352
ndarray = { version = '0.16', default-features = true, optional = true }
4453
imageproc = { version = '0.25', default-features = true, optional = true }
4554
tch = { version = '0.18', default-features = true, optional = true}
4655
opencv = { version = '0.94', default-features = true, optional = true, features = ["clang-runtime"] }
47-
rsmpeg = { git = "https://github.com/larksuite/rsmpeg", branch = "master", optional = true, features = [
56+
rsmpeg = { git = "https://github.com/phial3/rsmpeg", branch = "light", optional = true, features = [
4857
"ffmpeg7", "link_system_ffmpeg"
4958
] }

src/lib.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -209,6 +209,8 @@ mod common;
209209
mod macros;
210210
use macros::*;
211211

212+
pub mod pixel;
213+
212214
pub mod traits;
213215
pub use traits::*;
214216

0 commit comments

Comments
 (0)