Commits on Source (868)
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 54 additions, 17 deletions.travis.yml
- Cargo.toml 52 additions, 20 deletionsCargo.toml
- LICENSE 1 addition, 1 deletionLICENSE
- README.md 61 additions, 38 deletionsREADME.md
- aom_build/aom 0 additions, 1 deletionaom_build/aom
- appveyor.yml 41 additions, 13 deletionsappveyor.yml
- benches/bench.rs 93 additions, 50 deletionsbenches/bench.rs
- benches/comparative/predict.rs 0 additions, 208 deletionsbenches/comparative/predict.rs
- benches/dist.rs 114 additions, 0 deletionsbenches/dist.rs
- benches/predict.rs 241 additions, 89 deletionsbenches/predict.rs
- benches/transform.rs 3 additions, 2 deletionsbenches/transform.rs
- build.rs 60 additions, 102 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
... | ... | @@ -2,48 +2,72 @@ |
name = "rav1e" | ||
version = "0.1.0" | ||
authors = ["Thomas Daede <tdaede@xiph.org>"] | ||
edition = "2018" | ||
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 | ||
autobins = false | ||
[features] | ||
repl = ["rustyline", "binaries"] | ||
comparative_bench = [] | ||
decode_test = ["bindgen"] | ||
binaries = ["y4m", "clap"] | ||
default = ["binaries"] | ||
decode_test = ["aom-sys"] | ||
decode_test_dav1d = ["dav1d-sys"] | ||
binaries = ["ivf", "y4m", "clap", "scan_fmt", "serde_json"] | ||
default = ["binaries", "nasm", "signal_support"] | ||
nasm = ["nasm-rs"] | ||
signal_support = ["signal-hook"] | ||
dump_ivf = ["ivf"] | ||
quick_test = [] | ||
desync_finder = [] | ||
bench = [] | ||
[dependencies] | ||
arg_enum_proc_macro = "0.1.1" | ||
bitstream-io = "0.8" | ||
clap = { version = "2", optional = true } | ||
clap = { version = "2", optional = true, default-features = false } | ||
libc = "0.2" | ||
rand = "0.5" | ||
rustyline = { version = "1", optional = true } | ||
y4m = { version = "0.3", optional = true } | ||
y4m = { version = "0.3.2", optional = true } | ||
backtrace = "0.3" | ||
syn = "^0.15.20" | ||
quote = "^0.6.10" # hack for proc-macro-hack | ||
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] | ||
cmake = "0.1.32" | ||
[target.'cfg(target_arch = "x86_64")'.build-dependencies] | ||
nasm-rs = { git = "https://github.com/tdaede/nasm-rs.git" } | ||
nasm-rs = { version = "0.1", path = "crates/nasm_rs/", optional = true } | ||
vergen = "3" | ||
[target.'cfg(unix)'.build-dependencies] | ||
pkg-config = "0.3.12" | ||
bindgen = { version = "0.37", optional = true } | ||
[target.'cfg(unix)'.dependencies] | ||
signal-hook = { version = "0.1.9", optional = true } | ||
[dev-dependencies] | ||
criterion = "0.2" | ||
pretty_assertions = "0.6" | ||
interpolate_name = "0.2.2" | ||
rand = "0.6" | ||
rand_chacha = "0.1" | ||
semver = "0.9" | ||
[[bin]] | ||
name = "rav1e" | ||
bench = false | ||
[[bin]] | ||
name = "rav1repl" | ||
required-features = ["repl"] | ||
required-features = ["binaries"] | ||
bench = false | ||
[lib] | ||
... | ... | @@ -53,10 +77,18 @@ bench = false |
name = "bench" | ||
harness = false | ||
[profile.dev] | ||
opt-level = 2 | ||
[profile.release] | ||
codegen-units = 1 # if > 1 enables parallel code generation which improves | ||
# compile times, but prevents some optimizations. | ||
# Passes `-C codegen-units`. Ignored when `lto = true`. | ||
lto = true | ||
[profile.bench] | ||
codegen-units = 1 | ||
lto = true | ||
[workspace] | ||
members = [".", "ivf", "crates/nasm_rs", "crates/avformat-sys"] |
benches/comparative/predict.rs
deleted
100644 → 0
cbindgen.toml
0 → 100644
crates/avformat-sys/Cargo.toml
0 → 100644