diff options
author | Yong Zhi <yong.zhi@intel.com> | 2018-12-06 20:03:32 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab+samsung@kernel.org> | 2018-12-14 05:23:55 -0500 |
commit | 15e2f1ba09ad7ea3f641f9dc335e8e0999ab5363 (patch) | |
tree | 67974007b1fbe6bfd157bac0cf203ccb13004418 /drivers/staging/media | |
parent | 09d290f0ba2165666c583726836ab761e099cc2d (diff) |
media: staging/intel-ipu3: css: Add static settings for image pipeline
This adds coeff, config parameters etc const definitions for
IPU3 programming.
Signed-off-by: Yong Zhi <yong.zhi@intel.com>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Diffstat (limited to 'drivers/staging/media')
-rw-r--r-- | drivers/staging/media/ipu3/ipu3-tables.c | 9609 | ||||
-rw-r--r-- | drivers/staging/media/ipu3/ipu3-tables.h | 66 |
2 files changed, 9675 insertions, 0 deletions
diff --git a/drivers/staging/media/ipu3/ipu3-tables.c b/drivers/staging/media/ipu3/ipu3-tables.c new file mode 100644 index 000000000000..334517987eba --- /dev/null +++ b/drivers/staging/media/ipu3/ipu3-tables.c @@ -0,0 +1,9609 @@ +// SPDX-License-Identifier: GPL-2.0 +// Copyright (C) 2018 Intel Corporation + +#include "ipu3-tables.h" + +#define X 0 /* Don't care value */ + +const struct ipu3_css_bds_config + ipu3_css_bds_configs[IMGU_BDS_CONFIG_LEN] = { { + /* Scale factor 32 / (32 + 0) = 1 */ + .hor_phase_arr = { + .even = { { 0, 0, 64, 6, 0, 0, 0 } }, + .odd = { { 0, 0, 64, 6, 0, 0, 0 } } }, + .ver_phase_arr = { + .even = { { 0, 0, 64, 6, 0, 0, 0 } }, + .odd = { { 0, 0, 64, 6, 0, 0, 0 } } }, + .ptrn_arr = { { 0x3 } }, + .sample_patrn_length = 2, + .hor_ds_en = 0, + .ver_ds_en = 0 +}, { + /* Scale factor 32 / (32 + 1) = 0.969697 */ + .hor_phase_arr = { + .even = { { 0, 3, 122, 7, 3, 0, 0 }, + { 0, 0, 122, 7, 7, -1, 0 }, + { 0, -3, 122, 7, 10, -1, 0 }, + { 0, -5, 121, 7, 14, -2, 0 }, + { 0, -7, 120, 7, 18, -3, 0 }, + { 0, -9, 118, 7, 23, -4, 0 }, + { 0, -11, 116, 7, 27, -4, 0 }, + { 0, -12, 113, 7, 32, -5, 0 }, + { 0, -13, 110, 7, 37, -6, 0 }, + { 0, -14, 107, 7, 42, -7, 0 }, + { 0, -14, 103, 7, 47, -8, 0 }, + { 0, -15, 100, 7, 52, -9, 0 }, + { 0, -15, 96, 7, 57, -10, 0 }, + { 0, -15, 92, 7, 62, -11, 0 }, + { 0, -14, 86, 7, 68, -12, 0 }, + { 0, -14, 82, 7, 73, -13, 0 }, + { 0, -14, 78, 7, 78, -14, 0 }, + { 0, -13, 73, 7, 82, -14, 0 }, + { 0, -12, 68, 7, 86, -14, 0 }, + { 0, -11, 62, 7, 92, -15, 0 }, + { 0, -10, 57, 7, 96, -15, 0 }, + { 0, -9, 52, 7, 100, -15, 0 }, + { 0, -8, 47, 7, 103, -14, 0 }, + { 0, -7, 42, 7, 107, -14, 0 }, + { 0, -6, 37, 7, 110, -13, 0 }, + { 0, -5, 32, 7, 113, -12, 0 }, + { 0, -4, 27, 7, 116, -11, 0 }, + { 0, -4, 23, 7, 118, -9, 0 }, + { 0, -3, 18, 7, 120, -7, 0 }, + { 0, -2, 14, 7, 121, -5, 0 }, + { 0, -1, 10, 7, 122, -3, 0 }, + { 0, -1, 7, 7, 122, 0, 0 } }, + .odd = { { 0, 2, 122, 7, 5, -1, 0 }, + { 0, -1, 122, 7, 8, -1, 0 }, + { 0, -4, 122, 7, 12, -2, 0 }, + { 0, -6, 120, 7, 16, -2, 0 }, + { 0, -8, 118, 7, 21, -3, 0 }, + { 0, -10, 117, 7, 25, -4, 0 }, + { 0, -11, 114, 7, 30, -5, 0 }, + { 0, -13, 112, 7, 35, -6, 0 }, + { 0, -14, 109, 7, 40, -7, 0 }, + { 0, -14, 105, 7, 45, -8, 0 }, + { 0, -15, 102, 7, 50, -9, 0 }, + { 0, -15, 98, 7, 55, -10, 0 }, + { 0, -15, 94, 7, 60, -11, 0 }, + { 0, -15, 90, 7, 65, -12, 0 }, + { 0, -14, 85, 7, 70, -13, 0 }, + { 0, -14, 80, 7, 75, -13, 0 }, + { 0, -13, 75, 7, 80, -14, 0 }, + { 0, -13, 70, 7, 85, -14, 0 }, + { 0, -12, 65, 7, 90, -15, 0 }, + { 0, -11, 60, 7, 94, -15, 0 }, + { 0, -10, 55, 7, 98, -15, 0 }, + { 0, -9, 50, 7, 102, -15, 0 }, + { 0, -8, 45, 7, 105, -14, 0 }, + { 0, -7, 40, 7, 109, -14, 0 }, + { 0, -6, 35, 7, 112, -13, 0 }, + { 0, -5, 30, 7, 114, -11, 0 }, + { 0, -4, 25, 7, 117, -10, 0 }, + { 0, -3, 21, 7, 118, -8, 0 }, + { 0, -2, 16, 7, 120, -6, 0 }, + { 0, -2, 12, 7, 122, -4, 0 }, + { 0, -1, 8, 7, 122, -1, 0 }, + { 0, -1, 5, 7, 122, 2, 0 } } }, + .ver_phase_arr = { + .even = { { 0, 3, 122, 7, 3, 0, 0 }, + { 0, 0, 122, 7, 7, -1, 0 }, + { 0, -3, 122, 7, 10, -1, 0 }, + { 0, -5, 121, 7, 14, -2, 0 }, + { 0, -7, 120, 7, 18, -3, 0 }, + { 0, -9, 118, 7, 23, -4, 0 }, + { 0, -11, 116, 7, 27, -4, 0 }, + { 0, -12, 113, 7, 32, -5, 0 }, + { 0, -13, 110, 7, 37, -6, 0 }, + { 0, -14, 107, 7, 42, -7, 0 }, + { 0, -14, 103, 7, 47, -8, 0 }, + { 0, -15, 100, 7, 52, -9, 0 }, + { 0, -15, 96, 7, 57, -10, 0 }, + { 0, -15, 92, 7, 62, -11, 0 }, + { 0, -14, 86, 7, 68, -12, 0 }, + { 0, -14, 82, 7, 73, -13, 0 }, + { 0, -14, 78, 7, 78, -14, 0 }, + { 0, -13, 73, 7, 82, -14, 0 }, + { 0, -12, 68, 7, 86, -14, 0 }, + { 0, -11, 62, 7, 92, -15, 0 }, + { 0, -10, 57, 7, 96, -15, 0 }, + { 0, -9, 52, 7, 100, -15, 0 }, + { 0, -8, 47, 7, 103, -14, 0 }, + { 0, -7, 42, 7, 107, -14, 0 }, + { 0, -6, 37, 7, 110, -13, 0 }, + { 0, -5, 32, 7, 113, -12, 0 }, + { 0, -4, 27, 7, 116, -11, 0 }, + { 0, -4, 23, 7, 118, -9, 0 }, + { 0, -3, 18, 7, 120, -7, 0 }, + { 0, -2, 14, 7, 121, -5, 0 }, + { 0, -1, 10, 7, 122, -3, 0 }, + { 0, -1, 7, 7, 122, 0, 0 } }, + .odd = { { 0, 2, 122, 7, 5, -1, 0 }, + { 0, -1, 122, 7, 8, -1, 0 }, + { 0, -4, 122, 7, 12, -2, 0 }, + { 0, -6, 120, 7, 16, -2, 0 }, + { 0, -8, 118, 7, 21, -3, 0 }, + { 0, -10, 117, 7, 25, -4, 0 }, + { 0, -11, 114, 7, 30, -5, 0 }, + { 0, -13, 112, 7, 35, -6, 0 }, + { 0, -14, 109, 7, 40, -7, 0 }, + { 0, -14, 105, 7, 45, -8, 0 }, + { 0, -15, 102, 7, 50, -9, 0 }, + { 0, -15, 98, 7, 55, -10, 0 }, + { 0, -15, 94, 7, 60, -11, 0 }, + { 0, -15, 90, 7, 65, -12, 0 }, + { 0, -14, 85, 7, 70, -13, 0 }, + { 0, -14, 80, 7, 75, -13, 0 }, + { 0, -13, 75, 7, 80, -14, 0 }, + { 0, -13, 70, 7, 85, -14, 0 }, + { 0, -12, 65, 7, 90, -15, 0 }, + { 0, -11, 60, 7, 94, -15, 0 }, + { 0, -10, 55, 7, 98, -15, 0 }, + { 0, -9, 50, 7, 102, -15, 0 }, + { 0, -8, 45, 7, 105, -14, 0 }, + { 0, -7, 40, 7, 109, -14, 0 }, + { 0, -6, 35, 7, 112, -13, 0 }, + { 0, -5, 30, 7, 114, -11, 0 }, + { 0, -4, 25, 7, 117, -10, 0 }, + { 0, -3, 21, 7, 118, -8, 0 }, + { 0, -2, 16, 7, 120, -6, 0 }, + { 0, -2, 12, 7, 122, -4, 0 }, + { 0, -1, 8, 7, 122, -1, 0 }, + { 0, -1, 5, 7, 122, 2, 0 } } }, + .ptrn_arr = { { 0xffffffff, 0xffffffff } }, + .sample_patrn_length = 66, + .hor_ds_en = 1, + .ver_ds_en = 1 +}, { + /* Scale factor 32 / (32 + 2) = 0.941176 */ + .hor_phase_arr = { + .even = { { -1, 6, 118, 7, 6, -1, 0 }, + { 0, 0, 117, 7, 13, -2, 0 }, + { 0, -5, 116, 7, 21, -4, 0 }, + { 0, -9, 113, 7, 30, -6, 0 }, + { 0, -12, 109, 7, 39, -8, 0 }, + { 0, -13, 102, 7, 49, -10, 0 }, + { 0, -14, 94, 7, 59, -11, 0 }, + { 0, -14, 86, 7, 69, -13, 0 }, + { 0, -14, 78, 7, 78, -14, 0 }, + { 0, -13, 69, 7, 86, -14, 0 }, + { 0, -11, 59, 7, 94, -14, 0 }, + { 0, -10, 49, 7, 102, -13, 0 }, + { 0, -8, 39, 7, 109, -12, 0 }, + { 0, -6, 30, 7, 113, -9, 0 }, + { 0, -4, 21, 7, 116, -5, 0 }, + { 0, -2, 13, 7, 117, 0, 0 } }, + .odd = { { -1, 3, 118, 7, 10, -2, 0 }, + { 0, -3, 117, 7, 17, -3, 0 }, + { 0, -7, 114, 7, 26, -5, 0 }, + { 0, -10, 110, 7, 35, -7, 0 }, + { 0, -13, 106, 7, 44, -9, 0 }, + { 0, -14, 99, 7, 54, -11, 0 }, + { 0, -14, 90, 7, 64, -12, 0 }, + { 0, -14, 82, 7, 73, -13, 0 }, + { 0, -13, 73, 7, 82, -14, 0 }, + { 0, -12, 64, 7, 90, -14, 0 }, + { 0, -11, 54, 7, 99, -14, 0 }, + { 0, -9, 44, 7, 106, -13, 0 }, + { 0, -7, 35, 7, 110, -10, 0 }, + { 0, -5, 26, 7, 114, -7, 0 }, + { 0, -3, 17, 7, 117, -3, 0 }, + { 0, -2, 10, 7, 118, 3, -1 } } }, + .ver_phase_arr = { + .even = { { -1, 6, 118, 7, 6, -1, 0 }, + { 0, 0, 117, 7, 13, -2, 0 }, + { 0, -5, 116, 7, 21, -4, 0 }, + { 0, -9, 113, 7, 30, -6, 0 }, + { 0, -12, 109, 7, 39, -8, 0 }, + { 0, -13, 102, 7, 49, -10, 0 }, + { 0, -14, 94, 7, 59, -11, 0 }, + { 0, -14, 86, 7, 69, -13, 0 }, + { 0, -14, 78, 7, 78, -14, 0 }, + { 0, -13, 69, 7, 86, -14, 0 }, + { 0, -11, 59, 7, 94, -14, 0 }, + { 0, -10, 49, 7, 102, -13, 0 }, + { 0, -8, 39, 7, 109, -12, 0 }, + { 0, -6, 30, 7, 113, -9, 0 }, + { 0, -4, 21, 7, 116, -5, 0 }, + { 0, -2, 13, 7, 117, 0, 0 } }, + .odd = { { -1, 3, 118, 7, 10, -2, 0 }, + { 0, -3, 117, 7, 17, -3, 0 }, + { 0, -7, 114, 7, 26, -5, 0 }, + { 0, -10, 110, 7, 35, -7, 0 }, + { 0, -13, 106, 7, 44, -9, 0 }, + { 0, -14, 99, 7, 54, -11, 0 }, + { 0, -14, 90, 7, 64, -12, 0 }, + { 0, -14, 82, 7, 73, -13, 0 }, + { 0, -13, 73, 7, 82, -14, 0 }, + { 0, -12, 64, 7, 90, -14, 0 }, + { 0, -11, 54, 7, 99, -14, 0 }, + { 0, -9, 44, 7, 106, -13, 0 }, + { 0, -7, 35, 7, 110, -10, 0 }, + { 0, -5, 26, 7, 114, -7, 0 }, + { 0, -3, 17, 7, 117, -3, 0 }, + { 0, -2, 10, 7, 118, 3, -1 } } }, + .ptrn_arr = { { 0xffffffff } }, + .sample_patrn_length = 34, + .hor_ds_en = 1, + .ver_ds_en = 1 +}, { + /* Scale factor 32 / (32 + 3) = 0.914286 */ + .hor_phase_arr = { + .even = { { -2, 9, 114, 7, 9, -2, 0 }, + { -1, 0, 114, 7, 20, -5, 0 }, + { 0, -7, 110, 7, 32, -7, 0 }, + { 0, -11, 103, 7, 46, -10, 0 }, + { 0, -13, 93, 7, 60, -12, 0 }, + { 0, -14, 82, 7, 74, -14, 0 }, + { 0, -13, 69, 7, 86, -14, 0 }, + { 0, -11, 55, 7, 97, -13, 0 }, + { 0, -9, 41, 7, 106, -10, 0 }, + { 0, -6, 28, 7, 111, -5, 0 }, + { 0, -4, 16, 7, 114, 3, -1 }, + { -2, 6, 115, 7, 12, -3, 0 }, + { 0, -2, 111, 7, 24, -5, 0 }, + { 0, -8, 107, 7, 37, -8, 0 }, + { 0, -12, 100, 7, 51, -11, 0 }, + { 0, -14, 90, 7, 65, -13, 0 }, + { 0, -14, 78, 7, 78, -14, 0 }, + { 0, -13, 65, 7, 90, -14, 0 }, + { 0, -11, 51, 7, 100, -12, 0 }, + { 0, -8, 37, 7, 107, -8, 0 }, + { 0, -5, 24, 7, 111, -2, 0 }, + { 0, -3, 12, 7, 115, 6, -2 }, + { -1, 3, 114, 7, 16, -4, 0 }, + { 0, -5, 111, 7, 28, -6, 0 }, + { 0, -10, 106, 7, 41, -9, 0 }, + { 0, -13, 97, 7, 55, -11, 0 }, + { 0, -14, 86, 7, 69, -13, 0 }, + { 0, -14, 74, 7, 82, -14, 0 }, + { 0, -12, 60, 7, 93, -13, 0 }, + { 0, -10, 46, 7, 103, -11, 0 }, + { 0, -7, 32, 7, 110, -7, 0 }, + { 0, -5, 20, 7, 114, 0, -1 } }, + .odd = { { -1, 4, 114, 7, 14, -3, 0 }, + { 0, -4, 112, 7, 26, -6, 0 }, + { 0, -9, 107, 7, 39, -9, 0 }, + { 0, -13, 99, 7, 53, -11, 0 }, + { 0, -14, 88, 7, 67, -13, 0 }, + { 0, -14, 76, 7, 80, -14, 0 }, + { 0, -13, 62, 7, 93, -14, 0 }, + { 0, -10, 48, 7, 102, -12, 0 }, + { 0, -8, 35, 7, 109, -8, 0 }, + { 0, -5, 22, 7, 112, -1, 0 }, + { 0, -3, 11, 7, 115, 7, -2 }, + { -1, 1, 114, 7, 18, -4, 0 }, + { 0, -6, 111, 7, 30, -7, 0 }, + { 0, -10, 103, 7, 44, -9, 0 }, + { 0, -13, 95, 7, 58, -12, 0 }, + { 0, -14, 85, 7, 71, -14, 0 }, + { 0, -14, 71, 7, 85, -14, 0 }, + { 0, -12, 58, 7, 95, -13, 0 }, + { 0, -9, 44, 7, 103, -10, 0 }, + { 0, -7, 30, 7, 111, -6, 0 }, + { 0, -4, 18, 7, 114, 1, -1 }, + { -2, 7, 115, 7, 11, -3, 0 }, + { 0, -1, 112, 7, 22, -5, 0 }, + { 0, -8, 109, 7, 35, -8, 0 }, + { 0, -12, 102, 7, 48, -10, 0 }, + { 0, -14, 93, 7, 62, -13, 0 }, + { 0, -14, 80, 7, 76, -14, 0 }, + { 0, -13, 67, 7, 88, -14, 0 }, + { 0, -11, 53, 7, 99, -13, 0 }, + { 0, -9, 39, 7, 107, -9, 0 }, + { 0, -6, 26, 7, 112, -4, 0 }, + { 0, -3, 14, 7, 114, 4, -1 } } }, + .ver_phase_arr = { + .even = { { -2, 9, 114, 7, 9, -2, 0 }, + { -1, 0, 114, 7, 20, -5, 0 }, + { 0, -7, 110, 7, 32, -7, 0 }, + { 0, -11, 103, 7, 46, -10, 0 }, + { 0, -13, 93, 7, 60, -12, 0 }, + { 0, -14, 82, 7, 74, -14, 0 }, + { 0, -13, 69, 7, 86, -14, 0 }, + { 0, -11, 55, 7, 97, -13, 0 }, + { 0, -9, 41, 7, 106, -10, 0 }, + { 0, -6, 28, 7, 111, -5, 0 }, + { 0, -4, 16, 7, 114, 3, -1 }, + { -2, 6, 115, 7, 12, -3, 0 }, + { 0, -2, 111, 7, 24, -5, 0 }, + { 0, -8, 107, 7, 37, -8, 0 }, + { 0, -12, 100, 7, 51, -11, 0 }, + { 0, -14, 90, 7, 65, -13, 0 }, + { 0, -14, 78, 7, 78, -14, 0 }, + { 0, -13, 65, 7, 90, -14, 0 }, + { 0, -11, 51, 7, 100, -12, 0 }, + { 0, -8, 37, 7, 107, -8, 0 }, + { 0, -5, 24, 7, 111, -2, 0 }, + { 0, -3, 12, 7, 115, 6, -2 }, + { -1, 3, 114, 7, 16, -4, 0 }, + { 0, -5, 111, 7, 28, -6, 0 }, + { 0, -10, 106, 7, 41, -9, 0 }, + { 0, -13, 97, 7, 55, -11, 0 }, + { 0, -14, 86, 7, 69, -13, 0 }, + { 0, -14, 74, 7, 82, -14, 0 }, + { 0, -12, 60, 7, 93, -13, 0 }, + { 0, -10, 46, 7, 103, -11, 0 }, + { 0, -7, 32, 7, 110, -7, 0 }, + { 0, -5, 20, 7, 114, 0, -1 } }, + .odd = { { -1, 4, 114, 7, 14, -3, 0 }, + { 0, -4, 112, 7, 26, -6, 0 }, + { 0, -9, 107, 7, 39, -9, 0 }, + { 0, -13, 99, 7, 53, -11, 0 }, + { 0, -14, 88, 7, 67, -13, 0 }, + { 0, -14, 76, 7, 80, -14, 0 }, + { 0, -13, 62, 7, 93, -14, 0 }, + { 0, -10, 48, 7, 102, -12, 0 }, + { 0, -8, 35, 7, 109, -8, 0 }, + { 0, -5, 22, 7, 112, -1, 0 }, + { 0, -3, 11, 7, 115, 7, -2 }, + { -1, 1, 114, 7, 18, -4, 0 }, + { 0, -6, 111, 7, 30, -7, 0 }, + { 0, -10, 103, 7, 44, -9, 0 }, + { 0, -13, 95, 7, 58, -12, 0 }, + { 0, -14, 85, 7, 71, -14, 0 }, + { 0, -14, 71, 7, 85, -14, 0 }, + { 0, -12, 58, 7, 95, -13, 0 }, + { 0, -9, 44, 7, 103, -10, 0 }, + { 0, -7, 30, 7, 111, -6, 0 }, + { 0, -4, 18, 7, 114, 1, -1 }, + { -2, 7, 115, 7, 11, -3, 0 }, + { 0, -1, 112, 7, 22, -5, 0 }, + { 0, -8, 109, 7, 35, -8, 0 }, + { 0, -12, 102, 7, 48, -10, 0 }, + { 0, -14, 93, 7, 62, -13, 0 }, + { 0, -14, 80, 7, 76, -14, 0 }, + { 0, -13, 67, 7, 88, -14, 0 }, + { 0, -11, 53, 7, 99, -13, 0 }, + { 0, -9, 39, 7, 107, -9, 0 }, + { 0, -6, 26, 7, 112, -4, 0 }, + { 0, -3, 14, 7, 114, 4, -1 } } }, + .ptrn_arr = { { 0xff3fffff, 0xffff9fff, 0xf } }, + .sample_patrn_length = 70, + .hor_ds_en = 1, + .ver_ds_en = 1 +}, { + /* Scale factor 32 / (32 + 4) = 0.888889 */ + .hor_phase_arr = { + .even = { { -3, 12, 110, 7, 12, -3, 0 }, + { -1, 0, 110, 7, 26, -7, 0 }, + { 0, -8, 103, 7, 43, -10, 0 }, + { 0, -12, 92, 7, 61, -13, 0 }, + { 0, -14, 78, 7, 78, -14, 0 }, + { 0, -13, 61, 7, 92, -12, 0 }, + { 0, -10, 43, 7, 103, -8, 0 }, + { 0, -7, 26, 7, 110, 0, -1 } }, + .odd = { { -2, 5, 111, 7, 19, -5, 0 }, + { 0, -4, 106, 7, 34, -8, 0 }, + { 0, -11, 98, 7, 52, -11, 0 }, + { 0, -13, 85, 7, 69, -13, 0 }, + { 0, -13, 69, 7, 85, -13, 0 }, + { 0, -11, 52, 7, 98, -11, 0 }, + { 0, -8, 34, 7, 106, -4, 0 }, + { 0, -5, 19, 7, 111, 5, -2 } } }, + .ver_phase_arr = { + .even = { { -3, 12, 110, 7, 12, -3, 0 }, + { -1, 0, 110, 7, 26, -7, 0 }, + { 0, -8, 103, 7, 43, -10, 0 }, + { 0, -12, 92, 7, 61, -13, 0 }, + { 0, -14, 78, 7, 78, -14, 0 }, + { 0, -13, 61, 7, 92, -12, 0 }, + { 0, -10, 43, 7, 103, -8, 0 }, + { 0, -7, 26, 7, 110, 0, -1 } }, + .odd = { { -2, 5, 111, 7, 19, -5, 0 }, + { 0, -4, 106, 7, 34, -8, 0 }, + { 0, -11, 98, 7, 52, -11, 0 }, + { 0, -13, 85, 7, 69, -13, 0 }, + { 0, -13, 69, 7, 85, -13, 0 }, + { 0, -11, 52, 7, 98, -11, 0 }, + { 0, -8, 34, 7, 106, -4, 0 }, + { 0, -5, 19, 7, 111, 5, -2 } } }, + .ptrn_arr = { { 0xffff } }, + .sample_patrn_length = 18, + .hor_ds_en = 1, + .ver_ds_en = 1 +}, { + /* Scale factor 32 / (32 + 5) = 0.864865 */ + .hor_phase_arr = { + .even = { { -5, 14, 110, 7, 14, -5, 0 }, + { -1, 0, 106, 7, 32, -9, 0 }, + { 0, -9, 96, 7, 53, -12, 0 }, + { 0, -13, 81, 7, 73, -13, 0 }, + { 0, -13, 61, 7, 91, -11, 0 }, + { 0, -10, 40, 7, 103, -4, -1 }, + { 0, -6, 21, 7, 108, 8, -3 }, + { -3, 5, 108, 7, 25, -7, 0 }, + { 0, -6, 101, 7, 44, -11, 0 }, + { 0, -12, 88, 7, 65, -13, 0 }, + { 0, -13, 69, 7, 85, -13, 0 }, + { 0, -11, 49, 7, 98, -8, 0 }, + { 0, -8, 28, 7, 108, 2, -2 }, + { -4, 11, 108, 7, 18, -5, 0 }, + { -1, -2, 104, 7, 36, -9, 0 }, + { 0, -10, 93, 7, 57, -12, 0 }, + { 0, -13, 77, 7, 77, -13, 0 }, + { 0, -12, 57, 7, 93, -10, 0 }, + { 0, -9, 36, 7, 104, -2, -1 }, + { 0, -5, 18, 7, 108, 11, -4 }, + { -2, 2, 108, 7, 28, -8, 0 }, + { 0, -8, 98, 7, 49, -11, 0 }, + { 0, -13, 85, 7, 69, -13, 0 }, + { 0, -13, 65, 7, 88, -12, 0 }, + { 0, -11, 44, 7, 101, -6, 0 }, + { 0, -7, 25, 7, 108, 5, -3 }, + { -3, 8, 108, 7, 21, -6, 0 }, + { -1, -4, 103, 7, 40, -10, 0 }, + { 0, -11, 91, 7, 61, -13, 0 }, + { 0, -13, 73, 7, 81, -13, 0 }, + { 0, -12, 53, 7, 96, -9, 0 }, + { 0, -9, 32, 7, 106, 0, -1 } }, + .odd = { { -3, 7, 108, 7, 23, -7, 0 }, + { 0, -5, 101, 7, 42, -10, 0 }, + { 0, -12, 90, 7, 63, -13, 0 }, + { 0, -13, 71, 7, 83, -13, 0 }, + { 0, -12, 51, 7, 97, -8, 0 }, + { 0, -8, 30, 7, 107, 1, -2 }, + { -4, 13, 108, 7, 16, -5, 0 }, + { -1, -1, 105, 7, 34, -9, 0 }, + { 0, -10, 95, 7, 55, -12, 0 }, + { 0, -13, 79, 7, 75, -13, 0 }, + { 0, -13, 59, 7, 93, -11, 0 }, + { 0, -10, 38, 7, 104, -3, -1 }, + { 0, -6, 19, 7, 110, 9, -4 }, + { -2, 4, 106, 7, 27, -7, 0 }, + { 0, -7, 99, 7, 47, -11, 0 }, + { 0, -12, 86, 7, 67, -13, 0 }, + { 0, -13, 67, 7, 86, -12, 0 }, + { 0, -11, 47, 7, 99, -7, 0 }, + { 0, -7, 27, 7, 106, 4, -2 }, + { -4, 9, 110, 7, 19, -6, 0 }, + { -1, -3, 104, 7, 38, -10, 0 }, + { 0, -11, 93, 7, 59, -13, 0 }, + { 0, -13, 75, 7, 79, -13, 0 }, + { 0, -12, 55, 7, 95, -10, 0 }, + { 0, -9, 34, 7, 105, -1, -1 }, + { 0, -5, 16, 7, 108, 13, -4 }, + { -2, 1, 107, 7, 30, -8, 0 }, + { 0, -8, 97, 7, 51, -12, 0 }, + { 0, -13, 83, 7, 71, -13, 0 }, + { 0, -13, 63, 7, 90, -12, 0 }, + { 0, -10, 42, 7, 101, -5, 0 }, + { 0, -7, 23, 7, 108, 7, -3 } } }, + .ver_phase_arr = { + .even = { { -5, 14, 110, 7, 14, -5, 0 }, + { -1, 0, 106, 7, 32, -9, 0 }, + { 0, -9, 96, 7, 53, -12, 0 }, + { 0, -13, 81, 7, 73, -13, 0 }, + { 0, -13, 61, 7, 91, -11, 0 }, + { 0, -10, 40, 7, 103, -4, -1 }, + { 0, -6, 21, 7, 108, 8, -3 }, + { -3, 5, 108, 7, 25, -7, 0 }, + { 0, -6, 101, 7, 44, -11, 0 }, + { 0, -12, 88, 7, 65, -13, 0 }, + { 0, -13, 69, 7, 85, -13, 0 }, + { 0, -11, 49, 7, 98, -8, 0 }, + { 0, -8, 28, 7, 108, 2, -2 }, + { -4, 11, 108, 7, 18, -5, 0 }, + { -1, -2, 104, 7, 36, -9, 0 }, + { 0, -10, 93, 7, 57, -12, 0 }, + { 0, -13, 77, 7, 77, -13, 0 }, + { 0, -12, 57, 7, 93, -10, 0 }, + { 0, -9, 36, 7, 104, -2, -1 }, + { 0, -5, 18, 7, 108, 11, -4 }, + { -2, 2, 108, 7, 28, -8, 0 }, + { 0, -8, 98, 7, 49, -11, 0 }, + { 0, -13, 85, 7, 69, -13, 0 }, + { 0, -13, 65, 7, 88, -12, 0 }, + { 0, -11, 44, 7, 101, -6, 0 }, + { 0, -7, 25, 7, 108, 5, -3 }, + { -3, 8, 108, 7, 21, -6, 0 }, + { -1, -4, 103, 7, 40, -10, 0 }, + { 0, -11, 91, 7, 61, -13, 0 }, + { 0, -13, 73, 7, 81, -13, 0 }, + { 0, -12, 53, 7, 96, -9, 0 }, + { 0, -9, 32, 7, 106, 0, -1 } }, + .odd = { { -3, 7, 108, 7, 23, -7, 0 }, + { 0, -5, 101, 7, 42, -10, 0 }, + { 0, -12, 90, 7, 63, -13, 0 }, + { 0, -13, 71, 7, 83, -13, 0 }, + { 0, -12, 51, 7, 97, -8, 0 }, + { 0, -8, 30, 7, 107, 1, -2 }, + { -4, 13, 108, 7, 16, -5, 0 }, + { -1, -1, 105, 7, 34, -9, 0 }, + { 0, -10, 95, 7, 55, -12, 0 }, + { 0, -13, 79, 7, 75, -13, 0 }, + { 0, -13, 59, 7, 93, -11, 0 }, + { 0, -10, 38, 7, 104, -3, -1 }, + { 0, -6, 19, 7, 110, 9, -4 }, + { -2, 4, 106, 7, 27, -7, 0 }, + { 0, -7, 99, 7, 47, -11, 0 }, + { 0, -12, 86, 7, 67, -13, 0 }, + { 0, -13, 67, 7, 86, -12, 0 }, + { 0, -11, 47, 7, 99, -7, 0 }, + { 0, -7, 27, 7, 106, 4, -2 }, + { -4, 9, 110, 7, 19, -6, 0 }, + { -1, -3, 104, 7, 38, -10, 0 }, + { 0, -11, 93, 7, 59, -13, 0 }, + { 0, -13, 75, 7, 79, -13, 0 }, + { 0, -12, 55, 7, 95, -10, 0 }, + { 0, -9, 34, 7, 105, -1, -1 }, + { 0, -5, 16, 7, 108, 13, -4 }, + { -2, 1, 107, 7, 30, -8, 0 }, + { 0, -8, 97, 7, 51, -12, 0 }, + { 0, -13, 83, 7, 71, -13, 0 }, + { 0, -13, 63, 7, 90, -12, 0 }, + { 0, -10, 42, 7, 101, -5, 0 }, + { 0, -7, 23, 7, 108, 7, -3 } } }, + .ptrn_arr = { { 0xcfff9fff, 0xf3ffe7ff, 0xff } }, + .sample_patrn_length = 74, + .hor_ds_en = 1, + .ver_ds_en = 1 +}, { + /* Scale factor 32 / (32 + 6) = 0.842105 */ + .hor_phase_arr = { + .even = { { -6, 17, 106, 7, 17, -6, 0 }, + { -2, 0, 102, 7, 38, -10, 0 }, + { 0, -10, 89, 7, 62, -13, 0 }, + { 0, -13, 69, 7, 83, -11, 0 }, + { 0, -11, 46, 7, 98, -4, -1 }, + { 0, -7, 23, 7, 106, 10, -4 }, + { -3, 5, 104, 7, 31, -9, 0 }, + { 0, -7, 93, 7, 54, -12, 0 }, + { 0, -12, 76, 7, 76, -12, 0 }, + { 0, -12, 54, 7, 93, -7, 0 }, + { 0, -9, 31, 7, 104, 5, -3 }, + { -4, 10, 106, 7, 23, -7, 0 }, + { -1, -4, 98, 7, 46, -11, 0 }, + { 0, -11, 83, 7, 69, -13, 0 }, + { 0, -13, 62, 7, 89, -10, 0 }, + { 0, -10, 38, 7, 102, 0, -2 } }, + .odd = { { -4, 8, 105, 7, 27, -8, 0 }, + { 0, -6, 96, 7, 50, -12, 0 }, + { 0, -12, 80, 7, 73, -13, 0 }, + { 0, -13, 58, 7, 92, -9, 0 }, + { 0, -9, 34, 7, 103, 2, -2 }, + { -5, 13, 107, 7, 20, -7, 0 }, + { -1, -2, 100, 7, 42, -11, 0 }, + { 0, -11, 87, 7, 65, -13, 0 }, + { 0, -13, 65, 7, 87, -11, 0 }, + { 0, -11, 42, 7, 100, -2, -1 }, + { 0, -7, 20, 7, 107, 13, -5 }, + { -2, 2, 103, 7, 34, -9, 0 }, + { 0, -9, 92, 7, 58, -13, 0 }, + { 0, -13, 73, 7, 80, -12, 0 }, + { 0, -12, 50, 7, 96, -6, 0 }, + { 0, -8, 27, 7, 105, 8, -4 } } }, + .ver_phase_arr = { + .even = { { -6, 17, 106, 7, 17, -6, 0 }, + { -2, 0, 102, 7, 38, -10, 0 }, + { 0, -10, 89, 7, 62, -13, 0 }, + { 0, -13, 69, 7, 83, -11, 0 }, + { 0, -11, 46, 7, 98, -4, -1 }, + { 0, -7, 23, 7, 106, 10, -4 }, + { -3, 5, 104, 7, 31, -9, 0 }, + { 0, -7, 93, 7, 54, -12, 0 }, + { 0, -12, 76, 7, 76, -12, 0 }, + { 0, -12, 54, 7, 93, -7, 0 }, + { 0, -9, 31, 7, 104, 5, -3 }, + { -4, 10, 106, 7, 23, -7, 0 }, + { -1, -4, 98, 7, 46, -11, 0 }, + { 0, -11, 83, 7, 69, -13, 0 }, + { 0, -13, 62, 7, 89, -10, 0 }, + { 0, -10, 38, 7, 102, 0, -2 } }, + .odd = { { -4, 8, 105, 7, 27, -8, 0 }, + { 0, -6, 96, 7, 50, -12, 0 }, + { 0, -12, 80, 7, 73, -13, 0 }, + { 0, -13, 58, 7, 92, -9, 0 }, + { 0, -9, 34, 7, 103, 2, -2 }, + { -5, 13, 107, 7, 20, -7, 0 }, + { -1, -2, 100, 7, 42, -11, 0 }, + { 0, -11, 87, 7, 65, -13, 0 }, + { 0, -13, 65, 7, 87, -11, 0 }, + { 0, -11, 42, 7, 100, -2, -1 }, + { 0, -7, 20, 7, 107, 13, -5 }, + { -2, 2, 103, 7, 34, -9, 0 }, + { 0, -9, 92, 7, 58, -13, 0 }, + { 0, -13, 73, 7, 80, -12, 0 }, + { 0, -12, 50, 7, 96, -6, 0 }, + { 0, -8, 27, 7, 105, 8, -4 } } }, + .ptrn_arr = { { 0xfcffe7ff, 0xf } }, + .sample_patrn_length = 38, + .hor_ds_en = 1, + .ver_ds_en = 1 +}, { + /* Scale factor 32 / (32 + 7) = 0.820513 */ + .hor_phase_arr = { + .even = { { -7, 19, 104, 7, 19, -7, 0 }, + { -2, 0, 98, 7, 43, -11, 0 }, + { 0, -10, 81, 7, 69, -12, 0 }, + { 0, -12, 58, 7, 89, -7, 0 }, + { 0, -10, 32, 7, 103, 7, -4 }, + { -5, 10, 103, 7, 29, -9, 0 }, + { -1, -6, 93, 7, 54, -12, 0 }, + { 0, -12, 72, 7, 79, -11, 0 }, + { 0, -12, 47, 7, 97, -2, -2 }, + { 0, -8, 22, 7, 104, 16, -6 }, + { -3, 2, 100, 7, 40, -11, 0 }, + { 0, -9, 84, 7, 65, -12, 0 }, + { 0, -13, 62, 7, 87, -8, 0 }, + { 0, -10, 36, 7, 100, 5, -3 }, + { -5, 13, 103, 7, 25, -8, 0 }, + { -1, -4, 94, 7, 51, -12, 0 }, + { 0, -12, 76, 7, 76, -12, 0 }, + { 0, -12, 51, 7, 94, -4, -1 }, + { 0, -8, 25, 7, 103, 13, -5 }, + { -3, 5, 100, 7, 36, -10, 0 }, + { 0, -8, 87, 7, 62, -13, 0 }, + { 0, -12, 65, 7, 84, -9, 0 }, + { 0, -11, 40, 7, 100, 2, -3 }, + { -6, 16, 104, 7, 22, -8, 0 }, + { -2, -2, 97, 7, 47, -12, 0 }, + { 0, -11, 79, 7, 72, -12, 0 }, + { 0, -12, 54, 7, 93, -6, -1 }, + { 0, -9, 29, 7, 103, 10, -5 }, + { -4, 7, 103, 7, 32, -10, 0 }, + { 0, -7, 89, 7, 58, -12, 0 }, + { 0, -12, 69, 7, 81, -10, 0 }, + { 0, -11, 43, 7, 98, 0, -2 } }, + .odd = { { -4, 9, 101, 7, 31, -9, 0 }, + { -1, -6, 91, 7, 56, -12, 0 }, + { 0, -12, 71, 7, 80, -11, 0 }, + { 0, -11, 45, 7, 97, -1, -2 }, + { 0, -7, 20, 7, 105, 17, -7 }, + { -3, 1, 100, 7, 41, -11, 0 }, + { 0, -10, 83, 7, 67, -12, 0 }, + { 0, -13, 60, 7, 89, -8, 0 }, + { 0, -10, 34, 7, 102, 6, -4 }, + { -5, 11, 104, 7, 27, -9, 0 }, + { -1, -5, 94, 7, 52, -12, 0 }, + { 0, -12, 74, 7, 77, -11, 0 }, + { 0, -12, 49, 7, 95, -3, -1 }, + { 0, -8, 24, 7, 104, 14, -6 }, + { -3, 3, 100, 7, 38, -10, 0 }, + { 0, -9, 87, 7, 63, -13, 0 }, + { 0, -13, 63, 7, 87, -9, 0 }, + { 0, -10, 38, 7, 100, 3, -3 }, + { -6, 14, 104, 7, 24, -8, 0 }, + { -1, -3, 95, 7, 49, -12, 0 }, + { 0, -11, 77, 7, 74, -12, 0 }, + { 0, -12, 52, 7, 94, -5, -1 }, + { 0, -9, 27, 7, 104, 11, -5 }, + { -4, 6, 102, 7, 34, -10, 0 }, + { 0, -8, 89, 7, 60, -13, 0 }, + { 0, -12, 67, 7, 83, -10, 0 }, + { 0, -11, 41, 7, 100, 1, -3 }, + { -7, 17, 105, 7, 20, -7, 0 }, + { -2, -1, 97, 7, 45, -11, 0 }, + { 0, -11, 80, 7, 71, -12, 0 }, + { 0, -12, 56, 7, 91, -6, -1 }, + { 0, -9, 31, 7, 101, 9, -4 } } }, + .ver_phase_arr = { + .even = { { -7, 19, 104, 7, 19, -7, 0 }, + { -2, 0, 98, 7, 43, -11, 0 }, + { 0, -10, 81, 7, 69, -12, 0 }, + { 0, -12, 58, 7, 89, -7, 0 }, + { 0, -10, 32, 7, 103, 7, -4 }, + { -5, 10, 103, 7, 29, -9, 0 }, + { -1, -6, 93, 7, 54, -12, 0 }, + { 0, -12, 72, 7, 79, -11, 0 }, + { 0, -12, 47, 7, 97, -2, -2 }, + { 0, -8, 22, 7, 104, 16, -6 }, + { -3, 2, 100, 7, 40, -11, 0 }, + { 0, -9, 84, 7, 65, -12, 0 }, + { 0, -13, 62, 7, 87, -8, 0 }, + { 0, -10, 36, 7, 100, 5, -3 }, + { -5, 13, 103, 7, 25, -8, 0 }, + { -1, -4, 94, 7, 51, -12, 0 }, + { 0, -12, 76, 7, 76, -12, 0 }, + { 0, -12, 51, 7, 94, -4, -1 }, + { 0, -8, 25, 7, 103, 13, -5 }, + { -3, 5, 100, 7, 36, -10, 0 }, + { 0, -8, 87, 7, 62, -13, 0 }, + { 0, -12, 65, 7, 84, -9, 0 }, + { 0, -11, 40, 7, 100, 2, -3 }, + { -6, 16, 104, 7, 22, -8, 0 }, + { -2, -2, 97, 7, 47, -12, 0 }, + { 0, -11, 79, 7, 72, -12, 0 }, + { 0, -12, 54, 7, 93, -6, -1 }, + { 0, -9, 29, 7, 103, 10, -5 }, + { -4, 7, 103, 7, 32, -10, 0 }, + { 0, -7, 89, 7, 58, -12, 0 }, + { 0, -12, 69, 7, 81, -10, 0 }, + { 0, -11, 43, 7, 98, 0, -2 } }, + .odd = { { -4, 9, 101, 7, 31, -9, 0 }, + { -1, -6, 91, 7, 56, -12, 0 }, + { 0, -12, 71, 7, 80, -11, 0 }, + { 0, -11, 45, 7, 97, -1, -2 }, + { 0, -7, 20, 7, 105, 17, -7 }, + { -3, 1, 100, 7, 41, -11, 0 }, + { 0, -10, 83, 7, 67, -12, 0 }, + { 0, -13, 60, 7, 89, -8, 0 }, + { 0, -10, 34, 7, 102, 6, -4 }, + { -5, 11, 104, 7, 27, -9, 0 }, + { -1, -5, 94, 7, 52, -12, 0 }, + { 0, -12, 74, 7, 77, -11, 0 }, + { 0, -12, 49, 7, 95, -3, -1 }, + { 0, -8, 24, 7, 104, 14, -6 }, + { -3, 3, 100, 7, 38, -10, 0 }, + { 0, -9, 87, 7, 63, -13, 0 }, + { 0, -13, 63, 7, 87, -9, 0 }, + { 0, -10, 38, 7, 100, 3, -3 }, + { -6, 14, 104, 7, 24, -8, 0 }, + { -1, -3, 95, 7, 49, -12, 0 }, + { 0, -11, 77, 7, 74, -12, 0 }, + { 0, -12, 52, 7, 94, -5, -1 }, + { 0, -9, 27, 7, 104, 11, -5 }, + { -4, 6, 102, 7, 34, -10, 0 }, + { 0, -8, 89, 7, 60, -13, 0 }, + { 0, -12, 67, 7, 83, -10, 0 }, + { 0, -11, 41, 7, 100, 1, -3 }, + { -7, 17, 105, 7, 20, -7, 0 }, + { -2, -1, 97, 7, 45, -11, 0 }, + { 0, -11, 80, 7, 71, -12, 0 }, + { 0, -12, 56, 7, 91, -6, -1 }, + { 0, -9, 31, 7, 101, 9, -4 } } }, + .ptrn_arr = { { 0xff9ff3ff, 0xff3fe7fc, 0xff9 } }, + .sample_patrn_length = 78, + .hor_ds_en = 1, + .ver_ds_en = 1 +}, { + /* Scale factor 32 / (32 + 8) = 0.8 */ + .hor_phase_arr = { + .even = { { -8, 21, 102, 7, 21, -8, 0 }, + { -3, 0, 95, 7, 48, -12, 0 }, + { 0, -11, 75, 7, 75, -11, 0 }, + { 0, -12, 48, 7, 95, 0, -3 } }, + .odd = { { -5, 9, 100, 7, 34, -10, 0 }, + { -1, -7, 86, 7, 62, -12, 0 }, + { 0, -12, 62, 7, 86, -7, -1 }, + { 0, -10, 34, 7, 100, 9, -5 } } }, + .ver_phase_arr = { + .even = { { -8, 21, 102, 7, 21, -8, 0 }, + { -3, 0, 95, 7, 48, -12, 0 }, + { 0, -11, 75, 7, 75, -11, 0 }, + { 0, -12, 48, 7, 95, 0, -3 } }, + .odd = { { -5, 9, 100, 7, 34, -10, 0 }, + { -1, -7, 86, 7, 62, -12, 0 }, + { 0, -12, 62, 7, 86, -7, -1 }, + { 0, -10, 34, 7, 100, 9, -5 } } }, + .ptrn_arr = { { 0xff } }, + .sample_patrn_length = 10, + .hor_ds_en = 1, + .ver_ds_en = 1 +}, { + /* Scale factor 32 / (32 + 9) = 0.780488 */ + .hor_phase_arr = { + .even = { { -9, 23, 100, 7, 23, -9, 0 }, + { -3, 0, 91, 7, 52, -12, 0 }, + { 0, -11, 68, 7, 80, -8, -1 }, + { 0, -11, 39, 7, 96, 9, -5 }, + { -6, 12, 98, 7, 35, -11, 0 }, + { -1, -6, 81, 7, 65, -11, 0 }, + { 0, -12, 55, 7, 89, -2, -2 }, + { 0, -9, 26, 7, 99, 20, -8 }, + { -4, 2, 93, 7, 49, -12, 0 }, + { 0, -10, 71, 7, 76, -9, 0 }, + { 0, -11, 42, 7, 95, 7, -5 }, + { -7, 14, 99, 7, 32, -10, 0 }, + { -1, -5, 84, 7, 62, -12, 0 }, + { 0, -12, 59, 7, 87, -4, -2 }, + { 0, -10, 29, 7, 99, 17, -7 }, + { -4, 4, 95, 7, 45, -12, 0 }, + { 0, -9, 72, 7, 74, -9, 0 }, + { 0, -12, 45, 7, 95, 4, -4 }, + { -7, 17, 99, 7, 29, -10, 0 }, + { -2, -4, 87, 7, 59, -12, 0 }, + { 0, -12, 62, 7, 84, -5, -1 }, + { 0, -10, 32, 7, 99, 14, -7 }, + { -5, 7, 95, 7, 42, -11, 0 }, + { 0, -9, 76, 7, 71, -10, 0 }, + { 0, -12, 49, 7, 93, 2, -4 }, + { -8, 20, 99, 7, 26, -9, 0 }, + { -2, -2, 89, 7, 55, -12, 0 }, + { 0, -11, 65, 7, 81, -6, -1 }, + { 0, -11, 35, 7, 98, 12, -6 }, + { -5, 9, 96, 7, 39, -11, 0 }, + { -1, -8, 80, 7, 68, -11, 0 }, + { 0, -12, 52, 7, 91, 0, -3 } }, + .odd = { { -6, 10, 98, 7, 37, -11, 0 }, + { -1, -7, 81, 7, 66, -11, 0 }, + { 0, -12, 54, 7, 90, -1, -3 }, + { 0, -9, 24, 7, 100, 21, -8 }, + { -3, 1, 92, 7, 50, -12, 0 }, + { 0, -10, 69, 7, 78, -8, -1 }, + { 0, -11, 40, 7, 96, 8, -5 }, + { -6, 13, 97, 7, 34, -10, 0 }, + { -1, -6, 83, 7, 63, -11, 0 }, + { 0, -12, 57, 7, 88, -3, -2 }, + { 0, -9, 27, 7, 100, 18, -8 }, + { -4, 3, 94, 7, 47, -12, 0 }, + { 0, -10, 72, 7, 75, -9, 0 }, + { 0, -11, 44, 7, 95, 5, -5 }, + { -7, 16, 98, 7, 31, -10, 0 }, + { -2, -4, 86, 7, 60, -12, 0 }, + { 0, -12, 60, 7, 86, -4, -2 }, + { 0, -10, 31, 7, 98, 16, -7 }, + { -5, 5, 95, 7, 44, -11, 0 }, + { 0, -9, 75, 7, 72, -10, 0 }, + { 0, -12, 47, 7, 94, 3, -4 }, + { -8, 18, 100, 7, 27, -9, 0 }, + { -2, -3, 88, 7, 57, -12, 0 }, + { 0, -11, 63, 7, 83, -6, -1 }, + { 0, -10, 34, 7, 97, 13, -6 }, + { -5, 8, 96, 7, 40, -11, 0 }, + { -1, -8, 78, 7, 69, -10, 0 }, + { 0, -12, 50, 7, 92, 1, -3 }, + { -8, 21, 100, 7, 24, -9, 0 }, + { -3, -1, 90, 7, 54, -12, 0 }, + { 0, -11, 66, 7, 81, -7, -1 }, + { 0, -11, 37, 7, 98, 10, -6 } } }, + .ver_phase_arr = { + .even = { { -9, 23, 100, 7, 23, -9, 0 }, + { -3, 0, 91, 7, 52, -12, 0 }, + { 0, -11, 68, 7, 80, -8, -1 }, + { 0, -11, 39, 7, 96, 9, -5 }, + { -6, 12, 98, 7, 35, -11, 0 }, + { -1, -6, 81, 7, 65, -11, 0 }, + { 0, -12, 55, 7, 89, -2, -2 }, + { 0, -9, 26, 7, 99, 20, -8 }, + { -4, 2, 93, 7, 49, -12, 0 }, + { 0, -10, 71, 7, 76, -9, 0 }, + { 0, -11, 42, 7, 95, 7, -5 }, + { -7, 14, 99, 7, 32, -10, 0 }, + { -1, -5, 84, 7, 62, -12, 0 }, + { 0, -12, 59, 7, 87, -4, -2 }, + { 0, -10, 29, 7, 99, 17, -7 }, + { -4, 4, 95, 7, 45, -12, 0 }, + { 0, -9, 72, 7, 74, -9, 0 }, + { 0, -12, 45, 7, 95, 4, -4 }, + { -7, 17, 99, 7, 29, -10, 0 }, + { -2, -4, 87, 7, 59, -12, 0 }, + { 0, -12, 62, 7, 84, -5, -1 }, + { 0, -10, 32, 7, 99, 14, -7 }, + { -5, 7, 95, 7, 42, -11, 0 }, + { 0, -9, 76, 7, 71, -10, 0 }, + { 0, -12, 49, 7, 93, 2, -4 }, + { -8, 20, 99, 7, 26, -9, 0 }, + { -2, -2, 89, 7, 55, -12, 0 }, + { 0, -11, 65, 7, 81, -6, -1 }, + { 0, -11, 35, 7, 98, 12, -6 }, + { -5, 9, 96, 7, 39, -11, 0 }, + { -1, -8, 80, 7, 68, -11, 0 }, + { 0, -12, 52, 7, 91, 0, -3 } }, + .odd = { { -6, 10, 98, 7, 37, -11, 0 }, + { -1, -7, 81, 7, 66, -11, 0 }, + { 0, -12, 54, 7, 90, -1, -3 }, + { 0, -9, 24, 7, 100, 21, -8 }, + { -3, 1, 92, 7, 50, -12, 0 }, + { 0, -10, 69, 7, 78, -8, -1 }, + { 0, -11, 40, 7, 96, 8, -5 }, + { -6, 13, 97, 7, 34, -10, 0 }, + { -1, -6, 83, 7, 63, -11, 0 }, + { 0, -12, 57, 7, 88, -3, -2 }, + { 0, -9, 27, 7, 100, 18, -8 }, + { -4, 3, 94, 7, 47, -12, 0 }, + { 0, -10, 72, 7, 75, -9, 0 }, + { 0, -11, 44, 7, 95, 5, -5 }, + { -7, 16, 98, 7, 31, -10, 0 }, + { -2, -4, 86, 7, 60, -12, 0 }, + { 0, -12, 60, 7, 86, -4, -2 }, + { 0, -10, 31, 7, 98, 16, -7 }, + { -5, 5, 95, 7, 44, -11, 0 }, + { 0, -9, 75, 7, 72, -10, 0 }, + { 0, -12, 47, 7, 94, 3, -4 }, + { -8, 18, 100, 7, 27, -9, 0 }, + { -2, -3, 88, 7, 57, -12, 0 }, + { 0, -11, 63, 7, 83, -6, -1 }, + { 0, -10, 34, 7, 97, 13, -6 }, + { -5, 8, 96, 7, 40, -11, 0 }, + { -1, -8, 78, 7, 69, -10, 0 }, + { 0, -12, 50, 7, 92, 1, -3 }, + { -8, 21, 100, 7, 24, -9, 0 }, + { -3, -1, 90, 7, 54, -12, 0 }, + { 0, -11, 66, 7, 81, -7, -1 }, + { 0, -11, 37, 7, 98, 10, -6 } } }, + .ptrn_arr = { { 0xf3f9fcff, 0x3f9fcfe7, 0xfe7f } }, + .sample_patrn_length = 82, + .hor_ds_en = 1, + .ver_ds_en = 1 +}, { + /* Scale factor 32 / (32 + 10) = 0.761905 */ + .hor_phase_arr = { + .even = { { -9, 25, 96, 7, 25, -9, 0 }, + { -3, 0, 86, 7, 56, -11, 0 }, + { 0, -11, 62, 7, 82, -3, -2 }, + { 0, -10, 31, 7, 96, 19, -8 }, + { -5, 4, 92, 7, 49, -12, 0 }, + { 0, -10, 67, 7, 78, -6, -1 }, + { 0, -11, 37, 7, 95, 14, -7 }, + { -6, 9, 93, 7, 43, -11, 0 }, + { -1, -8, 73, 7, 73, -8, -1 }, + { 0, -11, 43, 7, 93, 9, -6 }, + { -7, 14, 95, 7, 37, -11, 0 }, + { -1, -6, 78, 7, 67, -10, 0 }, + { 0, -12, 49, 7, 92, 4, -5 }, + { -8, 19, 96, 7, 31, -10, 0 }, + { -2, -3, 82, 7, 62, -11, 0 }, + { 0, -11, 56, 7, 86, 0, -3 } }, + .odd = { { -6, 11, 94, 7, 40, -11, 0 }, + { -1, -7, 75, 7, 70, -9, 0 }, + { 0, -12, 46, 7, 93, 6, -5 }, + { -8, 16, 97, 7, 34, -11, 0 }, + { -2, -5, 81, 7, 64, -10, 0 }, + { 0, -12, 53, 7, 89, 2, -4 }, + { -9, 22, 97, 7, 28, -10, 0 }, + { -3, -2, 85, 7, 59, -11, 0 }, + { 0, -11, 59, 7, 85, -2, -3 }, + { 0, -10, 28, 7, 97, 22, -9 }, + { -4, 2, 89, 7, 53, -12, 0 }, + { 0, -10, 64, 7, 81, -5, -2 }, + { 0, -11, 34, 7, 97, 16, -8 }, + { -5, 6, 93, 7, 46, -12, 0 }, + { 0, -9, 70, 7, 75, -7, -1 }, + { 0, -11, 40, 7, 94, 11, -6 } } }, + .ver_phase_arr = { + .even = { { -9, 25, 96, 7, 25, -9, 0 }, + { -3, 0, 86, 7, 56, -11, 0 }, + { 0, -11, 62, 7, 82, -3, -2 }, + { 0, -10, 31, 7, 96, 19, -8 }, + { -5, 4, 92, 7, 49, -12, 0 }, + { 0, -10, 67, 7, 78, -6, -1 }, + { 0, -11, 37, 7, 95, 14, -7 }, + { -6, 9, 93, 7, 43, -11, 0 }, + { -1, -8, 73, 7, 73, -8, -1 }, + { 0, -11, 43, 7, 93, 9, -6 }, + { -7, 14, 95, 7, 37, -11, 0 }, + { -1, -6, 78, 7, 67, -10, 0 }, + { 0, -12, 49, 7, 92, 4, -5 }, + { -8, 19, 96, 7, 31, -10, 0 }, + { -2, -3, 82, 7, 62, -11, 0 }, + { 0, -11, 56, 7, 86, 0, -3 } }, + .odd = { { -6, 11, 94, 7, 40, -11, 0 }, + { -1, -7, 75, 7, 70, -9, 0 }, + { 0, -12, 46, 7, 93, 6, -5 }, + { -8, 16, 97, 7, 34, -11, 0 }, + { -2, -5, 81, 7, 64, -10, 0 }, + { 0, -12, 53, 7, 89, 2, -4 }, + { -9, 22, 97, 7, 28, -10, 0 }, + { -3, -2, 85, 7, 59, -11, 0 }, + { 0, -11, 59, 7, 85, -2, -3 }, + { 0, -10, 28, 7, 97, 22, -9 }, + { -4, 2, 89, 7, 53, -12, 0 }, + { 0, -10, 64, 7, 81, -5, -2 }, + { 0, -11, 34, 7, 97, 16, -8 }, + { -5, 6, 93, 7, 46, -12, 0 }, + { 0, -9, 70, 7, 75, -7, -1 }, + { 0, -11, 40, 7, 94, 11, -6 } } }, + .ptrn_arr = { { 0xfcfe7e7f, 0xfc } }, + .sample_patrn_length = 42, + .hor_ds_en = 1, + .ver_ds_en = 1 +}, { + /* Scale factor 32 / (32 + 11) = 0.744186 */ + .hor_phase_arr = { + .even = { { -10, 26, 96, 7, 26, -10, 0 }, + { -4, 0, 83, 7, 59, -10, 0 }, + { 0, -11, 56, 7, 85, 2, -4 }, + { -9, 23, 95, 7, 29, -10, 0 }, + { -3, -2, 82, 7, 61, -10, 0 }, + { 0, -11, 53, 7, 87, 4, -5 }, + { -9, 21, 94, 7, 32, -10, 0 }, + { -3, -3, 79, 7, 64, -9, 0 }, + { 0, -11, 50, 7, 88, 6, -5 }, + { -8, 18, 94, 7, 35, -11, 0 }, + { -2, -5, 78, 7, 67, -9, -1 }, + { 0, -11, 47, 7, 90, 8, -6 }, + { -8, 15, 94, 7, 38, -11, 0 }, + { -2, -6, 75, 7, 70, -8, -1 }, + { 0, -11, 44, 7, 92, 10, -7 }, + { -7, 13, 92, 7, 41, -11, 0 }, + { -1, -7, 72, 7, 72, -7, -1 }, + { 0, -11, 41, 7, 92, 13, -7 }, + { -7, 10, 92, 7, 44, -11, 0 }, + { -1, -8, 70, 7, 75, -6, -2 }, + { 0, -11, 38, 7, 94, 15, -8 }, + { -6, 8, 90, 7, 47, -11, 0 }, + { -1, -9, 67, 7, 78, -5, -2 }, + { 0, -11, 35, 7, 94, 18, -8 }, + { -5, 6, 88, 7, 50, -11, 0 }, + { 0, -9, 64, 7, 79, -3, -3 }, + { 0, -10, 32, 7, 94, 21, -9 }, + { -5, 4, 87, 7, 53, -11, 0 }, + { 0, -10, 61, 7, 82, -2, -3 }, + { 0, -10, 29, 7, 95, 23, -9 }, + { -4, 2, 85, 7, |