Skip to content

Commit 3e30349

Browse files
committed
Bump the decoder versions
And fix the code to use aom-2.0.
1 parent 63c765a commit 3e30349

File tree

3 files changed

+9
-10
lines changed

3 files changed

+9
-10
lines changed

.github/workflows/rav1e.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -118,17 +118,17 @@ jobs:
118118
matrix.conf == '1.36.0-tests' || matrix.conf == 'aom-tests' ||
119119
matrix.conf == 'grcov-coveralls'
120120
env:
121-
LINK: http://ppa.launchpad.net/jonathonf/ffmpeg-4/ubuntu/pool/main/a/aom
122-
AOM_VERSION: 1.0.0.errata1-3~18.04.york0
121+
LINK: http://www.deb-multimedia.org/pool/main/a/aom-dmo/
122+
AOM_VERSION: 2.0.0-dmo1
123123
AOM_DEV_SHA256: >-
124-
93e6f64f33722cf9c80a920b3d722713869793e5e1438c05ff9331791728ca90
124+
3a151112c942cef784c4010e6ab72761b40eb9573a3f5d223aa83f33c908ad9a
125125
AOM_LIB_SHA256: >-
126-
e1ff5093f077685e4e45ce74264f9ee7ccda4634be58e401ac180b73f4232b63
126+
a9080e8e3d043d7b435e6636be997421c5bb39c626772478bacf23a2cc648bd5
127127
run: |
128128
echo "$LINK/libaom-dev_${AOM_VERSION}_amd64.deb" >> DEBS
129-
echo "$LINK/libaom0_${AOM_VERSION}_amd64.deb" >> DEBS
129+
echo "$LINK/libaom2_${AOM_VERSION}_amd64.deb" >> DEBS
130130
echo "$AOM_DEV_SHA256 libaom-dev_${AOM_VERSION}_amd64.deb" >> CHECKSUMS
131-
echo "$AOM_LIB_SHA256 libaom0_${AOM_VERSION}_amd64.deb" >> CHECKSUMS
131+
echo "$AOM_LIB_SHA256 libaom2_${AOM_VERSION}_amd64.deb" >> CHECKSUMS
132132
- name: Add dav1d
133133
if: >
134134
matrix.conf == '1.36.0-tests' || matrix.conf == 'dav1d-tests' ||

Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,8 +65,8 @@ num-derive = "0.3"
6565
paste = "0.1"
6666
noop_proc_macro = "0.2.0"
6767
serde = { version = "1.0", features = ["derive"], optional = true }
68-
dav1d-sys = { version = "0.3.1", optional = true }
69-
aom-sys = { version = "0.1.4", optional = true }
68+
dav1d-sys = { version = "0.3.2", optional = true }
69+
aom-sys = { version = "0.2.0", optional = true }
7070
scan_fmt = { version = "0.2.3", optional = true, default-features = false }
7171
ivf = { version = "0.1", path = "ivf/", optional = true }
7272
v_frame = { version = "0.1", path = "v_frame/" }

src/test_encode_decode/aom.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@ impl<T: Pixel> TestDecoder<T> for AomDecoder<T> {
3131
w: w as u32,
3232
h: h as u32,
3333
allow_lowbitdepth: 1,
34-
cfg: cfg_options { ext_partition: 1 },
3534
};
3635

3736
let mut dec = MaybeUninit::uninit();
@@ -91,7 +90,7 @@ impl<T: Pixel> TestDecoder<T> for AomDecoder<T> {
9190
return DecodeResult::Done;
9291
}
9392
let mut corrupted = 0;
94-
let ret = aom_codec_control_(
93+
let ret = aom_codec_control(
9594
&mut self.dec,
9695
aom_dec_control_id::AOMD_GET_FRAME_CORRUPTED as i32,
9796
&mut corrupted,

0 commit comments

Comments
 (0)