Commit 3040291c authored by Yue Chen's avatar Yue Chen

Improved 1d weights for smooth interintra

Intra weights start from a higher value, and decay faster
Improve interintra by 0.1%/0.17% on lowres/midres

Change-Id: Ib20f47d1e89f729731e3bcfceaa21a47c8b45c56
parent fc4585b5
...@@ -2483,13 +2483,13 @@ void av1_build_ncobmc_inter_predictors_sb(const AV1_COMMON *cm, MACROBLOCKD *xd, ...@@ -2483,13 +2483,13 @@ void av1_build_ncobmc_inter_predictors_sb(const AV1_COMMON *cm, MACROBLOCKD *xd,
/* clang-format off */ /* clang-format off */
#if CONFIG_EXT_PARTITION #if CONFIG_EXT_PARTITION
static const int ii_weights1d[MAX_SB_SIZE] = { static const int ii_weights1d[MAX_SB_SIZE] = {
26, 25, 24, 24, 23, 23, 22, 22, 21, 21, 20, 20, 19, 19, 18, 18, 17, 17, 17, 60, 58, 56, 54, 52, 50, 48, 47, 45, 44, 42, 41, 39, 38, 37, 35, 34, 33, 32,
16, 16, 16, 15, 15, 15, 15, 14, 14, 14, 13, 13, 13, 13, 13, 12, 12, 12, 12, 31, 30, 29, 28, 27, 26, 25, 24, 23, 22, 22, 21, 20, 19, 19, 18, 18, 17, 16,
12, 11, 11, 11, 11, 11, 11, 10, 10, 10, 10, 10, 10, 10, 10, 10, 9, 9, 9, 16, 15, 15, 14, 14, 13, 13, 12, 12, 12, 11, 11, 10, 10, 10, 9, 9, 9, 8,
9, 9, 9, 9, 9, 9, 9, 9, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 7, 7, 7, 7, 6, 6, 6, 6, 6, 5, 5, 5, 5, 5, 4, 4,
8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 7, 7, 7, 7, 7, 7, 7, 7, 7, 4, 4, 4, 4, 4, 4, 3, 3, 3, 3, 3, 3, 3, 3, 3, 2, 2, 2, 2,
7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 1, 1, 1, 1, 1, 1, 1, 1,
7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1
}; };
static int ii_size_scales[BLOCK_SIZES] = { static int ii_size_scales[BLOCK_SIZES] = {
#if CONFIG_CB4X4 #if CONFIG_CB4X4
...@@ -2500,10 +2500,10 @@ static int ii_size_scales[BLOCK_SIZES] = { ...@@ -2500,10 +2500,10 @@ static int ii_size_scales[BLOCK_SIZES] = {
}; };
#else #else
static const int ii_weights1d[MAX_SB_SIZE] = { static const int ii_weights1d[MAX_SB_SIZE] = {
26, 25, 24, 24, 23, 23, 22, 22, 21, 21, 20, 20, 19, 19, 18, 18, 60, 56, 52, 48, 45, 42, 39, 37, 34, 32, 30, 28, 26, 24, 22, 21,
17, 17, 17, 16, 16, 16, 15, 15, 15, 15, 14, 14, 14, 13, 13, 13, 19, 18, 17, 16, 15, 14, 13, 12, 11, 10, 10, 9, 8, 8, 7, 7,
13, 13, 12, 12, 12, 12, 12, 11, 11, 11, 11, 11, 11, 10, 10, 10, 6, 6, 6, 5, 5, 4, 4, 4, 4, 3, 3, 3, 3, 3, 2, 2,
10, 10, 10, 10, 10, 10, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9 2, 2, 2, 2, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1
}; };
static int ii_size_scales[BLOCK_SIZES] = { static int ii_size_scales[BLOCK_SIZES] = {
#if CONFIG_CB4X4 #if CONFIG_CB4X4
......
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