Commits on Source (1047)
Showing
- .editorconfig 20 additions, 0 deletions.editorconfig
- .gitignore 1 addition, 0 deletions.gitignore
- .gitmodules 0 additions, 4 deletions.gitmodules
- .mailmap 12 additions, 0 deletions.mailmap
- .travis.yml 55 additions, 12 deletions.travis.yml
- Cargo.toml 58 additions, 18 deletionsCargo.toml
- LICENSE 20 additions, 22 deletionsLICENSE
- README.md 90 additions, 33 deletionsREADME.md
- aom_build/aom 0 additions, 1 deletionaom_build/aom
- appveyor.yml 45 additions, 9 deletionsappveyor.yml
- benches/bench.rs 138 additions, 67 deletionsbenches/bench.rs
- benches/comparative/predict.rs 0 additions, 124 deletionsbenches/comparative/predict.rs
- benches/dist.rs 114 additions, 0 deletionsbenches/dist.rs
- benches/predict.rs 340 additions, 102 deletionsbenches/predict.rs
- benches/transform.rs 51 additions, 0 deletionsbenches/transform.rs
- build.rs 60 additions, 88 deletionsbuild.rs
- build.sh 23 additions, 48 deletionsbuild.sh
- cbindgen.toml 19 additions, 0 deletionscbindgen.toml
- clippy.toml 2 additions, 1 deletionclippy.toml
- crates/avformat-sys/Cargo.toml 22 additions, 0 deletionscrates/avformat-sys/Cargo.toml
.editorconfig
0 → 100644
.gitmodules
deleted
100644 → 0
.mailmap
0 → 100644
Cargo.toml
100755 → 100644
... | @@ -2,53 +2,93 @@ | ... | @@ -2,53 +2,93 @@ |
name = "rav1e" | name = "rav1e" | ||
version = "0.1.0" | version = "0.1.0" | ||
authors = ["Thomas Daede <tdaede@xiph.org>"] | authors = ["Thomas Daede <tdaede@xiph.org>"] | ||
edition = "2018" | |||
build = "build.rs" | build = "build.rs" | ||
include = ["/src/**", "/aom_build/**", "/Cargo.toml"] | include = ["/src/**", "/Cargo.toml", "/build.rs"] | ||
license = "BSD-2-Clause" | |||
description = "The fastest and safest AV1 encoder" | |||
repository = "https://github.com/xiph/rav1e/" | |||
autobenches = false | autobenches = false | ||
autobins = false | autobins = false | ||
[features] | [features] | ||
repl = ["rustyline", "binaries"] | decode_test = ["aom-sys"] | ||
comparative_bench = [] | decode_test_dav1d = ["dav1d-sys"] | ||
decode_test = ["bindgen"] | binaries = ["ivf", "y4m", "clap", "scan_fmt", "serde_json"] | ||
binaries = ["y4m", "clap"] | default = ["binaries", "nasm", "signal_support"] | ||
default = ["binaries"] | nasm = ["nasm-rs"] | ||
signal_support = ["signal-hook"] | |||
dump_ivf = ["ivf"] | |||
quick_test = [] | |||
desync_finder = [] | |||
bench = [] | |||
[dependencies] | [dependencies] | ||
bitstream-io = "0.6" | arg_enum_proc_macro = "0.1.1" | ||
clap = { version = "2", optional = true } | bitstream-io = "0.8" | ||
clap = { version = "2", optional = true, default-features = false } | |||
libc = "0.2" | libc = "0.2" | ||
rand = "0.5" | y4m = { version = "0.3.2", optional = true } | ||
rustyline = { version = "1", optional = true } | |||
y4m = { version = "0.3", optional = true } | |||
backtrace = "0.3" | backtrace = "0.3" | ||
syn = "^0.15.20" | |||
quote = "^0.6.10" # hack for proc-macro-hack | |||
num-traits = "0.2" | num-traits = "0.2" | ||
num-derive = "0.2" | |||
paste = "0.1" | |||
serde = "1.0" | |||
serde_derive = "1.0" | |||
serde_json = { version = "1.0", optional = true } | |||
dav1d-sys = { version = "0.2", optional = true } | |||
aom-sys = { version = "0.1.2", optional = true } | |||
scan_fmt = { version = "0.2", optional = true } | |||
ivf = { version = "0.1", path = "ivf/", optional = true } | |||
avformat-sys = { version = "0.1", path = "crates/avformat-sys/", optional = true } | |||
rayon = "1.0" | |||
bincode = "1.1" | |||
arrayvec = "0.4.10" | |||
[build-dependencies] | [build-dependencies] | ||
cmake = "0.1.32" | nasm-rs = { version = "0.1", path = "crates/nasm_rs/", optional = true } | ||
pkg-config = "0.3.12" | vergen = "3" | ||
[target.'cfg(unix)'.build-dependencies] | [target.'cfg(unix)'.build-dependencies] | ||
bindgen = { version = "0.37", optional = true } | pkg-config = "0.3.12" | ||
[target.'cfg(unix)'.dependencies] | |||
signal-hook = { version = "0.1.9", optional = true } | |||
[dev-dependencies] | [dev-dependencies] | ||
bencher = "0.1.5" | criterion = "0.2" | ||
pretty_assertions = "0.6" | |||
interpolate_name = "0.2.2" | |||
rand = "0.6" | |||
rand_chacha = "0.1" | |||
semver = "0.9" | |||
[[bin]] | [[bin]] | ||
name = "rav1e" | name = "rav1e" | ||
required-features = ["binaries"] | |||
bench = false | |||
[[bin]] | [lib] | ||
name = "rav1repl" | bench = false | ||
required-features = ["repl"] | |||
[[bench]] | [[bench]] | ||
name = "bench" | name = "bench" | ||
harness = false | harness = false | ||
[profile.dev] | |||
opt-level = 2 | |||
[profile.release] | [profile.release] | ||
codegen-units = 1 # if > 1 enables parallel code generation which improves | codegen-units = 1 # if > 1 enables parallel code generation which improves | ||
# compile times, but prevents some optimizations. | # compile times, but prevents some optimizations. | ||
# Passes `-C codegen-units`. Ignored when `lto = true`. | # Passes `-C codegen-units`. Ignored when `lto = true`. | ||
lto = true | |||
[profile.bench] | [profile.bench] | ||
codegen-units = 1 | codegen-units = 1 | ||
lto = true | |||
[workspace] | |||
members = [".", "ivf", "crates/nasm_rs", "crates/avformat-sys"] |
README.md
100755 → 100644
benches/bench.rs
100755 → 100644
benches/comparative/predict.rs
deleted
100755 → 0
benches/dist.rs
0 → 100644
benches/predict.rs
100755 → 100644
benches/transform.rs
0 → 100644
build.rs
100755 → 100644
cbindgen.toml
0 → 100644
crates/avformat-sys/Cargo.toml
0 → 100644