Commit 45a86b53 authored by Yushin Cho's avatar Yushin Cho Committed by Thomas Daede

Enable Scalability

parent 72cf6797
......@@ -46,7 +46,7 @@ cargo run --release --bin rav1e -- input.y4m -o output.ivf
```
mkdir aom_test
cd aom_test
cmake ../aom_build/aom -DAOM_TARGET_CPU=generic -DCONFIG_AV1_ENCODER=0 -DCONFIG_UNIT_TESTS=0 -DENABLE_DOCS=0 -DCONFIG_EXT_PARTITION_TYPES=0 -DCONFIG_INTRA_EDGE2=0 -DCONFIG_KF_CTX=0 -DCONFIG_OBU=1 -DCONFIG_FILTER_INTRA=1 -DCONFIG_MONO_VIDEO=1 -DCONFIG_Q_ADAPT_PROBS=1 -DCONFIG_SCALABILITY=0 -DCONFIG_OBU_SIZING=1 -DCONFIG_TIMING_INFO_IN_SEQ_HEADERS=0 -DCONFIG_FILM_GRAIN=0
cmake ../aom_build/aom -DAOM_TARGET_CPU=generic -DCONFIG_AV1_ENCODER=0 -DCONFIG_UNIT_TESTS=0 -DENABLE_DOCS=0 -DCONFIG_EXT_PARTITION_TYPES=0 -DCONFIG_INTRA_EDGE2=0 -DCONFIG_OBU=1 -DCONFIG_FILTER_INTRA=1 -DCONFIG_MONO_VIDEO=1 -DCONFIG_Q_ADAPT_PROBS=1 -DCONFIG_SCALABILITY=1 -DCONFIG_OBU_SIZING=1 -DCONFIG_TIMING_INFO_IN_SEQ_HEADERS=0 -DCONFIG_FILM_GRAIN=0
make -j8
./aomdec ../output.ivf -o output.y4m
```
......
......@@ -47,6 +47,7 @@ fn main() {
.define("CONFIG_ANALYZER", "0")
.define("CONFIG_Q_ADAPT_PROBS", "1")
.define("CONFIG_INTRA_EDGE", "0")
.define("CONFIG_SCALABILITY", "1")
.define("ENABLE_DOCS", "0")
.build();
......
......@@ -558,6 +558,8 @@ impl<'a> UncompressedHeader for BitWriter<'a, BE> {
//self.write(1, 0)?; // reduced_still_picture
self.write(4, 0)?; // level
self.write(2, 0)?; // # of enhancement_layers = 0
if seq.reduced_still_picture_hdr {
assert!(false);
} else {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment