Skip to content

Commit 44bfce4

Browse files
authored
Merge branch 'master' into scene-detection
2 parents 4fca2a0 + 8c064f4 commit 44bfce4

File tree

5 files changed

+46
-15
lines changed

5 files changed

+46
-15
lines changed

.github/workflows/rav1e.yml

+19-3
Original file line numberDiff line numberDiff line change
@@ -123,17 +123,33 @@ jobs:
123123
run: |
124124
echo "$LINK/nasm_${NASM_VERSION}_amd64.deb" >> DEBS
125125
echo "$NASM_SHA256 nasm_${NASM_VERSION}_amd64.deb" >> CHECKSUMS
126+
- name: Add libvmaf
127+
if: >
128+
matrix.conf == '1.51.0-tests' || matrix.conf == 'aom-tests' ||
129+
matrix.conf == 'grcov-coveralls'
130+
env:
131+
LINK: https://www.deb-multimedia.org/pool/main/v/vmaf-dmo
132+
LIBVMAF_VERSION: 2.1.1-dmo0~bpo10+3
133+
LIBVMAF_SHA256: >-
134+
d9c2e708399af37cac52090453aadf8ad4311c3ed40addf02c3158c7f7a705a6
135+
LIBVMAF_DEV_SHA256: >-
136+
957a21b4a4b3cea4b27ab068fc41e85776d19c69fbede949b6eecd9631aa697f
137+
run: |
138+
echo "$LINK/libvmaf1_${LIBVMAF_VERSION}_amd64.deb" >> DEBS
139+
echo "$LINK/libvmaf-dev_${LIBVMAF_VERSION}_amd64.deb" >> DEBS
140+
echo "$LIBVMAF_SHA256 libvmaf1_${LIBVMAF_VERSION}_amd64.deb" >> CHECKSUMS
141+
echo "$LIBVMAF_DEV_SHA256 libvmaf-dev_${LIBVMAF_VERSION}_amd64.deb" >> CHECKSUMS
126142
- name: Add aom
127143
if: >
128144
matrix.conf == '1.51.0-tests' || matrix.conf == 'aom-tests' ||
129145
matrix.conf == 'grcov-coveralls'
130146
env:
131147
LINK: https://www.deb-multimedia.org/pool/main/a/aom-dmo
132-
AOM_VERSION: 3.1.0-dmo0~bpo10+1
148+
AOM_VERSION: 3.1.1-dmo0~bpo10+2
133149
AOM_DEV_SHA256: >-
134-
1a78ad10714c0cd9ed2324007369c20a5d9047d98e7098f932f48edb01056f36
150+
881ec275a01169378e19c1779fec3fb5d4b80e1afe61d8b576a7c66419702a90
135151
AOM_LIB_SHA256: >-
136-
a2e1f0a0ab1be6b93a1582d68b869d27e88c1fb8df7fae7bd793ebc0322c76a2
152+
a2a75cda5eacbddad70c508a7113d0ba572aad29934bb31905773e9adb555413
137153
run: |
138154
echo "$LINK/libaom-dev_${AOM_VERSION}_amd64.deb" >> DEBS
139155
echo "$LINK/libaom3_${AOM_VERSION}_amd64.deb" >> DEBS

.travis/install-aom.sh

+14-6
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,29 @@
11
#!/bin/bash
22
set -ex
33

4-
AOM_VERSION="3.1.0-dmo0~bpo10+1"
4+
AOM_VERSION="3.1.1-dmo0~bpo10+1"
5+
LIBVMAF_VERSION="2.1.1-dmo0~bpo10+3"
56
PKG_URL="https://www.deb-multimedia.org/pool/main/a/aom-dmo"
7+
LIBVMAF_URL="https://www.deb-multimedia.org/pool/main/v/vmaf-dmo"
68
ARCH="arm64"
79

810
cd "$DEPS_DIR"
911

10-
[ -f "libaom-dev_${AOM_VERSION}_${ARCH}.deb" ] &&
12+
[ -f "libvmaf-dev_${LIBVMAF_VERSION}_${ARCH}.deb" ] && [ -f "libvmaf1_${LIBVMAF_VERSION}_${ARCH}.deb" ] && [ -f "libaom-dev_${AOM_VERSION}_${ARCH}.deb" ] &&
1113
[ -f "libaom2_${AOM_VERSION}_${ARCH}.deb" ] ||
12-
curl -O "${PKG_URL}/libaom-dev_${AOM_VERSION}_${ARCH}.deb" \
14+
curl -O "${LIBVMAF_URL}/libvmaf1_${LIBVMAF_VERSION}_${ARCH}.deb" \
15+
-O "${LIBVMAF_URL}/libvmaf-dev_${LIBVMAF_VERSION}_${ARCH}.deb" \
16+
-O "${PKG_URL}/libaom-dev_${AOM_VERSION}_${ARCH}.deb" \
1317
-O "${PKG_URL}/libaom3_${AOM_VERSION}_${ARCH}.deb"
1418

1519
sha256sum --check --ignore-missing <<EOF
16-
1846784bceba7d3c46c9672872c25292001aebd488a2035df49c9cae9a674c2a libaom3_${AOM_VERSION}_${ARCH}.deb
17-
1c2e509cd7fbb30304c2311f46509a68ebf939adaf9f7fd81cdc466866d06c05 libaom-dev_${AOM_VERSION}_${ARCH}.deb
20+
fe9321dd8d5901ddf74e407c1b213243c357430a03fad17249ec4d07c3cf8e93 libaom3_${AOM_VERSION}_${ARCH}.deb
21+
f926f0af6db4faac5f9bd67051115ce3dfa4324ddb41647e773d17ff11fa8f3 libaom-dev_${AOM_VERSION}_${ARCH}.deb
22+
d9dd550ab3a296019333ced63b80d47743eacef072b17cad96a990f67f587a42 libvmaf1_${LIBVMAF_VERSION}_${ARCH}.deb
23+
ea706661c22df60005200608f54e29fc7f1cf41b47c1fc2def9df56dea10eac1 libvmaf-dev_${LIBVMAF_VERSION}_${ARCH}.deb
1824
EOF
1925

20-
sudo dpkg -i "libaom3_${AOM_VERSION}_${ARCH}.deb" \
26+
sudo dpkg -i "libvmaf1_${LIBVMAF_VERSION}_${ARCH}.deb" \
27+
"libvmaf-dev_${LIBVMAF_VERSION}_${ARCH}.deb" \
28+
"libaom3_${AOM_VERSION}_${ARCH}.deb" \
2129
"libaom-dev_${AOM_VERSION}_${ARCH}.deb"

README.md

+1-2
Original file line numberDiff line numberDiff line change
@@ -178,5 +178,4 @@ Find a full list in feature-table in [`Cargo.toml`](Cargo.toml)
178178
Please read our guide to [contributing to rav1e](CONTRIBUTING.md).
179179

180180
## Getting in Touch
181-
Come chat with us on the IRC channel #daala on Freenode! If you don't have IRC set
182-
up you can easily connect from your [web browser](http://webchat.freenode.net/?channels=%23daala).
181+
Come chat with us on the IRC channel #daala on [Libera.Chat](https://libera.chat/)! You can also use a [web client](https://web.libera.chat/?channel=#daala) to join with a web browser.

src/asm/x86/predict.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ pub fn dispatch_predict_intra<T: Pixel>(
170170
let angle = angle as libc::c_int;
171171

172172
match T::type_enum() {
173-
PixelType::U8 => {
173+
PixelType::U8 if cpu >= CpuFeatureLevel::SSSE3 => {
174174
let dst_ptr = dst.data_ptr_mut() as *mut _;
175175
let edge_ptr =
176176
edge_buf.data.as_ptr().offset(2 * MAX_TX_SIZE as isize) as *const _;

src/encoder.rs

+11-3
Original file line numberDiff line numberDiff line change
@@ -1209,12 +1209,20 @@ pub fn encode_tx_block<T: Pixel, W: Writer>(
12091209
residual,
12101210
&ts.input_tile.planes[p].subregion(area),
12111211
&rec.subregion(area),
1212-
visible_tx_w,
1212+
tx_size.width(),
12131213
visible_tx_h,
12141214
);
1215+
if visible_tx_w < tx_size.width() {
1216+
for row in residual.chunks_mut(tx_size.width()).take(visible_tx_h) {
1217+
for a in &mut row[visible_tx_w..] {
1218+
*a = 0;
1219+
}
1220+
}
1221+
}
12151222
}
1216-
let visible_area = visible_tx_w * visible_tx_h;
1217-
for a in residual[visible_area..].iter_mut() {
1223+
let initialized_area =
1224+
if visible_tx_w == 0 { 0 } else { tx_size.width() * visible_tx_h };
1225+
for a in residual[initialized_area..].iter_mut() {
12181226
*a = 0;
12191227
}
12201228

0 commit comments

Comments
 (0)