Skip to content

Instantly share code, notes, and snippets.

diff --git a/rav1e_js/src/main.rs b/rav1e_js/src/main.rs
index 801e587a..284a7d8c 100644
--- a/rav1e_js/src/main.rs
+++ b/rav1e_js/src/main.rs
@@ -10,32 +10,32 @@ fn main() {
let mut buf = Vec::with_capacity(len);
buf.resize(len, 0_u8);
[buf.clone(), buf.clone(), buf]
};
---- asm::x86::mc::test::test_rav1e_prep_8tap_smooth_sharp_bd_8_avx512icl stdout ----
thread 'asm::x86::mc::test::test_rav1e_prep_8tap_smooth_sharp_bd_8_avx512icl' panicked at 'called `Result::unwrap()` on an `Err` value: "valid values: RUST ,SSE2 ,SSSE3 ,SSE4_1 ,sse4.1 ,AVX2 ,AVX512 ,AVX512ICL"', src\asm\x86\mc.rs:595:3
---- asm::x86::mc::test::test_rav1e_prep_bilin_bd_8_avx512icl stdout ----
thread 'asm::x86::mc::test::test_rav1e_prep_bilin_bd_8_avx512icl' panicked at 'called `Result::unwrap()` on an `Err` value: "valid values: RUST ,SSE2 ,SSSE3 ,SSE4_1 ,sse4.1 ,AVX2 ,AVX512 ,AVX512ICL"', src\asm\x86\mc.rs:595:3
❯ cargo cinstall --destdir=/tmp/sled-try --prefix=/foo
sled/bindings/sled-native on  master [⇡] is 📦 v0.31.0 via 🦀 v1.44.1 took 16s
❯ ls /tmp/sled-try/foo/
bin/ include/ lib/
sled/bindings/sled-native on  master [⇡] is 📦 v0.31.0 via 🦀 v1.44.1 took 16s
❯ ls /tmp/sled-try/foo/
bin/ include/ lib/

This is not fun.

In file included from /home/lu_zero/Sources/aom/test/simd_cmp_neon.cc:16:
/home/lu_zero/Sources/aom/test/simd_cmp_impl.h: In function ‘void simd_test_neon::TestSimd1Arg(uint32_t, uint32_t, uint32_t, const char*) [with CRet = c_v256; CArg = short unsigned int]’:
/home/lu_zero/Sources/aom/test/simd_cmp_impl.h:1737:1: internal compiler error: Max. number of generated reload insns per insn is achieved (90)

 1737 | }
      | ^
Please submit a full bug report,
TILES PSNR PSNR HVS SSIM MS SSIM CIEDE 2000
1x1 0.0000 0.0000 0.0000 0.0000 0.0000
2x1 4.4953 4.2337 4.6168 5.7729 3.3824
2x2 4.1028 3.9523 4.0890 4.9318 2.4176
4x2 7.8729 7.5031 8.0301 9.7497 6.2222
4x4 17.4946 16.5270 17.7441 20.3671 16.9387
8x4 24.8844 23.4984 25.3475 29.0677 24.5067
8x8 30.9199 28.9901 30.7541 32.5108 30.0950
16x8 45.6969 42.8007 45.7152 49.3482 46.5212
* CONFIG_NETFILTER_XT_MATCH_IPVS: is not set when it should be.
* CONFIG_NET_CLS_CGROUP: is not set when it should be.
* CONFIG_CFS_BANDWIDTH: is optional for container statistics gathering
* CONFIG_RT_GROUP_SCHED: is not set when it should be.
* CONFIG_IP_VS: is not set when it should be.
* CONFIG_IP_VS_PROTO_TCP: is not set when it should be.
* CONFIG_IP_VS_PROTO_UDP: is not set when it should be.
* CONFIG_IP_VS_NFCT: is not set when it should be.
* CONFIG_IP_VS_RR: is not set when it should be.
* CONFIG_CRYPTO_GCM: is not set when it should be.
static int get_stats(AVCodecContext *avctx)
{
librav1eContext *ctx = avctx->priv_data;
RaData* buf = NULL;
// Summary
if (rav1e_rc_receive_pass_data(ctx->ctx, &buf) == RAV1E_RC_DATA_KIND_SUMMARY) {
size_t b64_size = AV_BASE64_SIZE(ctx->pass_pos);
AV_WB64(ctx->pass_data, buf->len);
* thread #3, name = 'encoder::tests::encode', stop reason = EXC_BAD_ACCESS (code=1, address=0x0)
* frame #0: 0x00000001005ada2f libaom-81d40c77a10d39e5`create_enc_workers + 431
frame #1: 0x00000001005aec0f libaom-81d40c77a10d39e5`av1_encode_tiles_row_mt + 895
frame #2: 0x0000000100566824 libaom-81d40c77a10d39e5`encode_frame_internal + 3956
frame #3: 0x0000000100565805 libaom-81d40c77a10d39e5`av1_encode_frame + 1829
frame #4: 0x000000010059ff5c libaom-81d40c77a10d39e5`encode_with_recode_loop_and_filter + 6572
frame #5: 0x0000000100598221 libaom-81d40c77a10d39e5`av1_encode + 3473
frame #6: 0x000000010058d222 libaom-81d40c77a10d39e5`av1_encode_strategy + 5938
frame #7: 0x0000000100599a86 libaom-81d40c77a10d39e5`av1_get_compressed_data + 390
frame #8: 0x000000010052b2e7 libaom-81d40c77a10d39e5`encoder_encode + 2455
diff --git a/Cargo.toml b/Cargo.toml
index 78b8ef2d..e739d470 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -52,6 +52,7 @@ serialize = ["serde", "toml", "v_frame/serialize"]
dump_lookahead_data = ["byteorder", "image"]
[dependencies]
+proc-macro-error = "=0.4.9" # pending a fix for the version check
arg_enum_proc_macro = "0.3"
@lu-zero
lu-zero / try_this.diff
Last active February 14, 2020 00:44
Make cdef_filter_superblock not care about fi, while keeping the generated code tiny.
diff --git a/src/cdef.rs b/src/cdef.rs
index 6d55b195..a1f1df50 100644
--- a/src/cdef.rs
+++ b/src/cdef.rs
@@ -425,17 +425,40 @@ pub fn cdef_sb_padded_frame_copy<T: Pixel>(
// We assume in is padded, and the area we'll write out is at least as
// large as the unpadded area of in
// cdef_index is taken from the block context
-pub fn cdef_filter_superblock<T: Pixel>(
- fi: &FrameInvariants<T>, in_frame: &Frame<u16>, out_frame: &mut Frame<T>,