diff options
author | Ronald S. Bultje <rsbultje@gmail.com> | 2018-11-02 22:39:35 +0300 |
---|---|---|
committer | Ronald S. Bultje <rsbultje@gmail.com> | 2018-11-05 19:32:35 +0300 |
commit | 4a499fd51ad6e650d067fdfd6cce07f7209c54c4 (patch) | |
tree | f776da05209b920246df6d057fd43aa491878a8b /src/tables.c | |
parent | bfdfd1aa1dfe4a067a2887be53cd335e88b52308 (diff) |
Add AVX2 implementation for SGR looprestoration
Total decoding time for first 1000 frames of TwxVOYxoukU:
after: 0m3.761s
before: 0m6.868s
Cycle times:
selfguided_3x3_8bpc_c: 438865.8
selfguided_3x3_8bpc_avx2: 112522.6
selfguided_5x5_8bpc_c: 326938.3
selfguided_5x5_8bpc_avx2: 75850.1
selfguided_mix_8bpc_c: 755980.5
selfguided_mix_8bpc_avx2: 195930.3
Diffstat (limited to 'src/tables.c')
-rw-r--r-- | src/tables.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tables.c b/src/tables.c index e8a81a0..e3d3252 100644 --- a/src/tables.c +++ b/src/tables.c @@ -502,7 +502,7 @@ const int16_t dav1d_sgr_params[16][4] = { // r0, r1, e0, e1 { 2, 0, 22, -1 }, }; -const int16_t dav1d_sgr_x_by_xplus1[256] = { +const int dav1d_sgr_x_by_xplus1[256] = { 1, 128, 171, 192, 205, 213, 219, 224, 228, 230, 233, 235, 236, 238, 239, 240, 241, 242, 243, 243, 244, 244, 245, 245, 246, 246, 247, 247, 247, 247, 248, 248, 248, 248, 249, 249, 249, 249, 249, 250, 250, 250, 250, 250, 250, |