403 lines
18 KiB
C
Executable File
403 lines
18 KiB
C
Executable File
#ifndef __DI_EBIOS_DATA_H__
|
|
#define __DI_EBIOS_DATA_H__
|
|
|
|
#ifndef CONFIG_ARCH_SUN9IW1
|
|
#define SCALE_NO_SUPPORT
|
|
#endif
|
|
#if (defined CONFIG_ARCH_SUN9IW1)
|
|
|
|
static u32 lan3coefftab32_left[256] = {
|
|
0x40000000,0x40fe0000,0x3ffd0100,0x3efc0100,
|
|
0x3efb0100,0x3dfa0200,0x3cf90200,0x3bf80200,
|
|
0x39f70200,0x37f70200,0x35f70200,0x33f70200,
|
|
0x31f70200,0x2ef70200,0x2cf70200,0x2af70200,
|
|
0x27f70200,0x24f80100,0x22f80100,0x1ef90100,
|
|
0x1cf90100,0x19fa0100,0x17fa0100,0x14fb0100,
|
|
0x11fc0000,0x0ffc0000,0x0cfd0000,0x0afd0000,
|
|
0x08fe0000,0x05ff0000,0x03ff0000,0x02000000,
|
|
|
|
0x40000000,0x40fe0000,0x3ffd0100,0x3efc0100,
|
|
0x3efb0100,0x3dfa0200,0x3cf90200,0x3bf80200,
|
|
0x39f70200,0x37f70200,0x35f70200,0x33f70200,
|
|
0x31f70200,0x2ef70200,0x2cf70200,0x2af70200,
|
|
0x27f70200,0x24f80100,0x22f80100,0x1ef90100,
|
|
0x1cf90100,0x19fa0100,0x17fa0100,0x14fb0100,
|
|
0x11fc0000,0x0ffc0000,0x0cfd0000,0x0afd0000,
|
|
0x08fe0000,0x05ff0000,0x03ff0000,0x02000000,
|
|
|
|
0x2b10fa00,0x2b0ffa00,0x2b0efa00,0x2b0cfa00,
|
|
0x2b0bfa00,0x2a0afb01,0x2a09fb01,0x2908fb01,
|
|
0x2807fb01,0x2806fb01,0x2805fb01,0x2604fc01,
|
|
0x2503fc01,0x2502fc01,0x2401fc01,0x2301fc01,
|
|
0x2100fd01,0x21fffd01,0x21fffd01,0x20fefd01,
|
|
0x1dfefe01,0x1cfdfe01,0x1cfdfe00,0x1bfcfe00,
|
|
0x19fcff00,0x19fbff00,0x17fbff00,0x16fbff00,
|
|
0x15fbff00,0x14fb0000,0x13fa0000,0x11fa0000,
|
|
|
|
0x201200fe,0x201100fe,0x1f11fffe,0x2010fffe,
|
|
0x1f0ffffe,0x1e0ffffe,0x1f0efeff,0x1f0dfeff,
|
|
0x1f0dfeff,0x1e0cfeff,0x1e0bfeff,0x1d0bfeff,
|
|
0x1d0afeff,0x1d09fdff,0x1d09fdff,0x1c08fdff,
|
|
0x1c07fdff,0x1b07fd00,0x1b06fd00,0x1a06fd00,
|
|
0x1a05fd00,0x1805fd00,0x1904fd00,0x1804fd00,
|
|
0x1703fd00,0x1703fd00,0x1602fe00,0x1502fe00,
|
|
0x1501fe00,0x1401fe00,0x1301fe00,0x1300fe00,
|
|
|
|
0x181104ff,0x191103ff,0x191003ff,0x181003ff,
|
|
0x180f03ff,0x190f02ff,0x190e02ff,0x180e02ff,
|
|
0x180d02ff,0x180d01ff,0x180d01ff,0x180c01ff,
|
|
0x180c01ff,0x180b00ff,0x170b00ff,0x170a00ff,
|
|
0x170a00ff,0x170900ff,0x160900ff,0x160900ff,
|
|
0x1608ffff,0x1508ffff,0x1507ff00,0x1507ff00,
|
|
0x1407ff00,0x1306ff00,0x1306ff00,0x1305ff00,
|
|
0x1205ff00,0x1105ff00,0x1204ff00,0x1104ff00,
|
|
|
|
0x14100600,0x15100500,0x150f0500,0x150f0500,
|
|
0x140f0500,0x150e0400,0x140e0400,0x130e0400,
|
|
0x140d0400,0x150d0300,0x130d0300,0x140c0300,
|
|
0x140c0300,0x140c0200,0x140b0200,0x130b0200,
|
|
0x120b0200,0x130a0200,0x130a0200,0x130a0100,
|
|
0x13090100,0x12090100,0x11090100,0x12080100,
|
|
0x11080100,0x10080100,0x11070100,0x11070000,
|
|
0x10070000,0x11060000,0x10060000,0x10060000,
|
|
|
|
0x140f0600,0x140f0600,0x130f0600,0x140f0500,
|
|
0x140e0500,0x130e0500,0x130e0500,0x140d0400,
|
|
0x140d0400,0x130d0400,0x120d0400,0x130c0400,
|
|
0x130c0300,0x130c0300,0x130b0300,0x130b0300,
|
|
0x110b0300,0x130a0200,0x120a0200,0x120a0200,
|
|
0x120a0200,0x12090200,0x10090200,0x11090100,
|
|
0x11080100,0x11080100,0x10080100,0x10080100,
|
|
0x10070100,0x10070100,0x0f070100,0x10060100,
|
|
|
|
0x120f0701,0x130f0601,0x130e0601,0x130e0601,
|
|
0x120e0601,0x130e0501,0x130e0500,0x130d0500,
|
|
0x120d0500,0x120d0500,0x130c0400,0x130c0400,
|
|
0x120c0400,0x110c0400,0x120b0400,0x120b0300,
|
|
0x120b0300,0x120b0300,0x120a0300,0x110a0300,
|
|
0x110a0200,0x11090200,0x11090200,0x10090200,
|
|
0x10090200,0x10080200,0x10080200,0x10080100,
|
|
0x0f080100,0x10070100,0x0f070100,0x0f070100
|
|
|
|
};
|
|
|
|
static u32 lan3coefftab32_right[256] = {
|
|
|
|
0x00000000,0x00000002,0x0000ff04,0x0000ff06,
|
|
0x0000fe08,0x0000fd0a,0x0000fd0c,0x0000fc0f,
|
|
0x0000fc12,0x0001fb14,0x0001fa17,0x0001fa19,
|
|
0x0001f91c,0x0001f91f,0x0001f822,0x0001f824,
|
|
0x0002f727,0x0002f72a,0x0002f72c,0x0002f72f,
|
|
0x0002f731,0x0002f733,0x0002f735,0x0002f737,
|
|
0x0002f73a,0x0002f83b,0x0002f93c,0x0002fa3d,
|
|
0x0001fb3e,0x0001fc3f,0x0001fd40,0x0000fe40,
|
|
|
|
0x00000000,0x00000002,0x0000ff04,0x0000ff06,
|
|
0x0000fe08,0x0000fd0a,0x0000fd0c,0x0000fc0f,
|
|
0x0000fc12,0x0001fb14,0x0001fa17,0x0001fa19,
|
|
0x0001f91c,0x0001f91f,0x0001f822,0x0001f824,
|
|
0x0002f727,0x0002f72a,0x0002f72c,0x0002f72f,
|
|
0x0002f731,0x0002f733,0x0002f735,0x0002f737,
|
|
0x0002f73a,0x0002f83b,0x0002f93c,0x0002fa3d,
|
|
0x0001fb3e,0x0001fc3f,0x0001fd40,0x0000fe40,
|
|
|
|
0x0000fa11,0x0000fa12,0x0000fa13,0x0000fb14,
|
|
0x00fffb16,0x00fffb16,0x00fffb17,0x00fffb19,
|
|
0x00fffc1a,0x00fefc1c,0x00fefd1c,0x01fefd1d,
|
|
0x01fefe1e,0x01fdfe20,0x01fdff21,0x01fdff22,
|
|
0x01fd0023,0x01fc0124,0x01fc0124,0x01fc0225,
|
|
0x01fc0326,0x01fc0427,0x01fb0528,0x01fb0629,
|
|
0x01fb0729,0x01fb0829,0x01fb092a,0x01fb0a2a,
|
|
0x00fa0b2c,0x00fa0c2b,0x00fa0e2b,0x00fa0f2c,
|
|
|
|
0x00fe0012,0x00fe0013,0x00fe0114,0x00fe0114,
|
|
0x00fe0116,0x00fe0216,0x00fe0216,0x00fd0317,
|
|
0x00fd0317,0x00fd0418,0x00fd0419,0x00fd0519,
|
|
0x00fd051a,0x00fd061b,0x00fd061b,0x00fd071c,
|
|
0xfffd071e,0xfffd081d,0xfffd091d,0xfffd091e,
|
|
0xfffe0a1d,0xfffe0b1e,0xfffe0b1e,0xfffe0c1e,
|
|
0xfffe0d1f,0xfffe0d1f,0xfffe0e1f,0xfeff0f1f,
|
|
0xfeff0f20,0xfeff1020,0xfeff1120,0xfe001120,
|
|
|
|
0x00ff0411,0x00ff0411,0x00ff0412,0x00ff0512,
|
|
0x00ff0513,0x00ff0513,0x00ff0613,0x00ff0614,
|
|
0x00ff0714,0x00ff0715,0x00ff0715,0xffff0816,
|
|
0xffff0816,0xff000916,0xff000917,0xff000918,
|
|
0xff000a17,0xff000a18,0xff000b18,0xff000b18,
|
|
0xff010c18,0xff010c19,0xff010d18,0xff010d18,
|
|
0xff020d18,0xff020e19,0xff020e19,0xff020f19,
|
|
0xff030f19,0xff031019,0xff031019,0xff031119,
|
|
|
|
0x00000610,0x00000610,0x00000611,0x00000611,
|
|
0x00000711,0x00000712,0x00010712,0x00010812,
|
|
0x00010812,0x00010812,0x00010913,0x00010913,
|
|
0x00010913,0x00010a13,0x00020a13,0x00020a14,
|
|
0x00020b14,0x00020b14,0x00020b14,0x00020c14,
|
|
0x00030c14,0x00030c15,0x00030d15,0x00030d15,
|
|
0x00040d15,0x00040e15,0x00040e15,0x00040e16,
|
|
0x00050f15,0x00050f15,0x00050f16,0x00051015,
|
|
|
|
0x00000611,0x00010610,0x00010710,0x00010710,
|
|
0x00010711,0x00010811,0x00010811,0x00010812,
|
|
0x00010812,0x00010912,0x00020912,0x00020912,
|
|
0x00020a12,0x00020a12,0x00020a13,0x00020a13,
|
|
0x00030b13,0x00030b13,0x00030b14,0x00030c13,
|
|
0x00030c13,0x00040c13,0x00040d14,0x00040d14,
|
|
0x00040d15,0x00040d15,0x00050e14,0x00050e14,
|
|
0x00050e15,0x00050f14,0x00060f14,0x00060f14,
|
|
|
|
0x0001070f,0x0001070f,0x00010710,0x00010710,
|
|
0x00010810,0x00010810,0x00020810,0x00020811,
|
|
0x00020911,0x00020911,0x00020912,0x00020912,
|
|
0x00020a12,0x00030a12,0x00030a12,0x00030b12,
|
|
0x00030b12,0x00030b12,0x00040b12,0x00040c12,
|
|
0x00040c13,0x00040c14,0x00040c14,0x00050d13,
|
|
0x00050d13,0x00050d14,0x00050e13,0x01050e13,
|
|
0x01060e13,0x01060e13,0x01060e14,0x01060f13
|
|
};
|
|
#endif /*if defined CONFIG_ARCH_SUN9IW1 */
|
|
|
|
#ifndef SCALE_NO_SUPPORT
|
|
static u32 lan2coefftab32[256] = {
|
|
0x00004000,0x000140ff,0x00033ffe,0x00043ffd,0x00063efc,0xff083dfc,0x000a3bfb,0xff0d39fb,
|
|
0xff0f37fb,0xff1136fa,0xfe1433fb,0xfe1631fb,0xfd192ffb,0xfd1c2cfb,0xfd1f29fb,0xfc2127fc,
|
|
0xfc2424fc,0xfc2721fc,0xfb291ffd,0xfb2c1cfd,0xfb2f19fd,0xfb3116fe,0xfb3314fe,0xfa3611ff,
|
|
0xfb370fff,0xfb390dff,0xfb3b0a00,0xfc3d08ff,0xfc3e0600,0xfd3f0400,0xfe3f0300,0xff400100,
|
|
|
|
0x00004000,0x000140ff,0x00033ffe,0x00043ffd,0x00063efc,0xff083dfc,0x000a3bfb,0xff0d39fb,
|
|
0xff0f37fb,0xff1136fa,0xfe1433fb,0xfe1631fb,0xfd192ffb,0xfd1c2cfb,0xfd1f29fb,0xfc2127fc,
|
|
0xfc2424fc,0xfc2721fc,0xfb291ffd,0xfb2c1cfd,0xfb2f19fd,0xfb3116fe,0xfb3314fe,0xfa3611ff,
|
|
0xfb370fff,0xfb390dff,0xfb3b0a00,0xfc3d08ff,0xfc3e0600,0xfd3f0400,0xfe3f0300,0xff400100,
|
|
|
|
0xff0c2a0b,0xff0d2a0a,0xff0e2a09,0xff0f2a08,0xff102a07,0xff112a06,0xff132905,0xff142904,
|
|
0xff162803,0xff172703,0xff182702,0xff1a2601,0xff1b2501,0xff1c2401,0xff1e2300,0xff1f2200,
|
|
0x00202000,0x00211f00,0x01221d00,0x01231c00,0x01251bff,0x02251aff,0x032618ff,0x032717ff,
|
|
0x042815ff,0x052814ff,0x052913ff,0x06291100,0x072a10ff,0x082a0e00,0x092a0d00,0x0a2a0c00,
|
|
|
|
0x000e240e,0x000f240d,0x0010240c,0x0011240b,0x0013230a,0x0013230a,0x00142309,0x00152308,
|
|
0x00162208,0x00172207,0x01182106,0x01192105,0x011a2005,0x021b1f04,0x021b1f04,0x021d1e03,
|
|
0x031d1d03,0x031e1d02,0x041e1c02,0x041f1b02,0x05201a01,0x05211901,0x06211801,0x07221700,
|
|
0x07221601,0x08231500,0x09231400,0x0a231300,0x0a231300,0x0b231200,0x0c231100,0x0d231000,
|
|
|
|
0x0010210f,0x0011210e,0x0011210e,0x0012210d,0x0013210c,0x0014200c,0x0114200b,0x0115200a,
|
|
0x01161f0a,0x01171f09,0x02171f08,0x02181e08,0x03181e07,0x031a1d06,0x031a1d06,0x041b1c05,
|
|
0x041c1c04,0x051c1b04,0x051d1a04,0x061d1a03,0x071d1903,0x071e1803,0x081e1802,0x081f1702,
|
|
0x091f1602,0x0a201501,0x0b1f1501,0x0b201401,0x0c211300,0x0d211200,0x0e201200,0x0e211100,
|
|
|
|
0x00102010,0x0011200f,0x00121f0f,0x00131f0e,0x00141f0d,0x01141f0c,0x01141f0c,0x01151e0c,
|
|
0x02161e0a,0x02171e09,0x03171d09,0x03181d08,0x03181d08,0x04191c07,0x041a1c06,0x051a1b06,
|
|
0x051b1b05,0x061b1a05,0x061c1a04,0x071c1904,0x081c1903,0x081d1803,0x091d1703,0x091e1702,
|
|
0x0a1e1602,0x0b1e1502,0x0c1e1501,0x0c1f1401,0x0d1f1400,0x0e1f1300,0x0e1f1201,0x0f1f1200,
|
|
|
|
0x00111e11,0x00121e10,0x00131e0f,0x00131e0f,0x01131e0e,0x01141d0e,0x02151d0c,0x02151d0c,
|
|
0x02161d0b,0x03161c0b,0x03171c0a,0x04171c09,0x04181b09,0x05181b08,0x05191b07,0x06191a07,
|
|
0x061a1a06,0x071a1906,0x071b1905,0x081b1805,0x091b1804,0x091c1704,0x0a1c1703,0x0a1c1604,
|
|
0x0b1d1602,0x0c1d1502,0x0c1d1502,0x0d1d1402,0x0e1d1401,0x0e1e1301,0x0f1e1300,0x101e1200,
|
|
|
|
0x00111e11,0x00121e10,0x00131d10,0x01131d0f,0x01141d0e,0x01141d0e,0x02151c0d,0x02151c0d,
|
|
0x03161c0b,0x03161c0b,0x04171b0a,0x04171b0a,0x05171b09,0x05181a09,0x06181a08,0x06191a07,
|
|
0x07191907,0x071a1906,0x081a1806,0x081a1806,0x091a1805,0x0a1b1704,0x0a1b1704,0x0b1c1603,
|
|
0x0b1c1603,0x0c1c1503,0x0d1c1502,0x0d1d1402,0x0e1d1401,0x0f1d1301,0x0f1d1301,0x101e1200,
|
|
|
|
};
|
|
#endif
|
|
|
|
#if (defined CONFIG_ARCH_SUN9IW1)
|
|
static u32 bicubic8coefftab32_left[256] = {
|
|
|
|
0x40000000,0x40ff0000,0x3ffe0000,0x3efe0000,
|
|
0x3dfd0000,0x3cfc0000,0x3bfc0000,0x39fc0000,
|
|
0x36fc0000,0x35fb0000,0x33fb0000,0x31fb0000,
|
|
0x2ffb0000,0x2cfb0000,0x29fc0000,0x27fc0000,
|
|
0x24fc0000,0x21fc0000,0x1efd0000,0x1cfd0000,
|
|
0x19fd0000,0x16fe0000,0x14fe0000,0x11fe0000,
|
|
0x0dff0000,0x0cff0000,0x0aff0000,0x08ff0000,
|
|
0x05000000,0x03000000,0x02000000,0x01000000,
|
|
|
|
0x40000000,0x40ff0000,0x3ffe0000,0x3efe0000,
|
|
0x3dfd0000,0x3cfc0000,0x3bfc0000,0x39fc0000,
|
|
0x36fc0000,0x35fb0000,0x33fb0000,0x31fb0000,
|
|
0x2ffb0000,0x2cfb0000,0x29fc0000,0x27fc0000,
|
|
0x24fc0000,0x21fc0000,0x1efd0000,0x1cfd0000,
|
|
0x19fd0000,0x16fe0000,0x14fe0000,0x11fe0000,
|
|
0x0dff0000,0x0cff0000,0x0aff0000,0x08ff0000,
|
|
0x05000000,0x03000000,0x02000000,0x01000000,
|
|
|
|
0x2a0efd00,0x2a0dfd00,0x2a0cfd00,0x290bfd00,
|
|
0x290afd00,0x2909fd00,0x2908fd00,0x2807fd00,
|
|
0x2706fd00,0x2705fd00,0x2604fe00,0x2603fe00,
|
|
0x2502fe00,0x2402fe00,0x2401fe00,0x2200fe00,
|
|
0x2200fe00,0x2000ff00,0x1fffff00,0x1effff00,
|
|
0x1dfeff00,0x1cfeff00,0x1afeff00,0x19feff00,
|
|
0x17fe0000,0x16fd0000,0x15fd0000,0x14fd0000,
|
|
0x12fd0000,0x11fd0000,0x10fd0000,0x0ffd0000,
|
|
|
|
0x201200fe,0x201100fe,0x1f1100fe,0x2010fffe,
|
|
0x200ffffe,0x1f0ffffe,0x1f0efffe,0x1e0dffff,
|
|
0x1f0cfeff,0x1e0cfeff,0x1e0bfeff,0x1e0afeff,
|
|
0x1d0afeff,0x1d09feff,0x1c08feff,0x1b08feff,
|
|
0x1b07feff,0x1a07feff,0x1a06feff,0x1a05feff,
|
|
0x1805fe00,0x1904fe00,0x1704fe00,0x1703fe00,
|
|
0x1603fe00,0x1602fe00,0x1402fe00,0x1402fe00,
|
|
0x1401fe00,0x1301fe00,0x1201fe00,0x1200fe00,
|
|
|
|
0x191104fe,0x191104fe,0x191003fe,0x191003fe,
|
|
0x171003fe,0x180f03fe,0x180f02fe,0x180e02fe,
|
|
0x180e02fe,0x180d01fe,0x180d01fe,0x180d01fe,
|
|
0x170c01fe,0x160c01fe,0x170b00fe,0x170b00fe,
|
|
0x160a00fe,0x160a00fe,0x160a00fe,0x150900fe,
|
|
0x1509fffe,0x1508fffe,0x1508fffe,0x1408fffe,
|
|
0x1407fffe,0x1307ffff,0x1306ffff,0x1206ffff,
|
|
0x1206ffff,0x1205ffff,0x1205ffff,0x1104feff,
|
|
|
|
0x140f0700,0x140f0600,0x140f0600,0x140f0600,
|
|
0x140e0600,0x130e0500,0x140e05ff,0x130e05ff,
|
|
0x140d05ff,0x130d04ff,0x130d04ff,0x120d04ff,
|
|
0x130c04ff,0x130c03ff,0x130c03ff,0x120c03ff,
|
|
0x120b03ff,0x120b02ff,0x120b02ff,0x120a02ff,
|
|
0x120a02ff,0x110a02ff,0x110a01ff,0x120901ff,
|
|
0x100901ff,0x100901ff,0x110801ff,0x110801ff,
|
|
0x100800ff,0x100800ff,0x100700ff,0x100700fe,
|
|
|
|
0x120f0701,0x120e0701,0x120e0701,0x120e0701,
|
|
0x120e0600,0x110e0600,0x120d0600,0x120d0600,
|
|
0x120d0500,0x120d0500,0x110d0500,0x110c0500,
|
|
0x110c0500,0x110c0400,0x110c0400,0x110b04ff,
|
|
0x110b04ff,0x110b04ff,0x110b03ff,0x110b03ff,
|
|
0x110a03ff,0x110a03ff,0x100a03ff,0x110a02ff,
|
|
0x100902ff,0x100902ff,0x100902ff,0x0f0902ff,
|
|
0x0e0902ff,0x100801ff,0x0f0801ff,0x0f0801ff,
|
|
|
|
0x100e0802,0x100e0802,0x110e0702,0x110d0701,
|
|
0x110d0701,0x100d0701,0x100d0701,0x110d0601,
|
|
0x110d0601,0x110c0601,0x110c0601,0x100c0600,
|
|
0x100c0500,0x100c0500,0x100c0500,0x100b0500,
|
|
0x100b0500,0x100b0400,0x100b0400,0x0f0b0400,
|
|
0x100a0400,0x0f0a0400,0x0f0a0400,0x0f0a0300,
|
|
0x0f0a03ff,0x0f0903ff,0x0f0903ff,0x0f0903ff,
|
|
0x0f0903ff,0x0f0902ff,0x0f0902ff,0x0f0802ff
|
|
|
|
};
|
|
static u32 bicubic8coefftab32_right[256] = {
|
|
|
|
0x00000000,0x00000001,0x00000003,0x00000004,
|
|
0x00000006,0x0000ff09,0x0000ff0a,0x0000ff0c,
|
|
0x0000ff0f,0x0000fe12,0x0000fe14,0x0000fe16,
|
|
0x0000fd19,0x0000fd1c,0x0000fd1e,0x0000fc21,
|
|
0x0000fc24,0x0000fc27,0x0000fc29,0x0000fb2c,
|
|
0x0000fb2f,0x0000fb31,0x0000fb33,0x0000fb36,
|
|
0x0000fc38,0x0000fc39,0x0000fc3b,0x0000fc3d,
|
|
0x0000fd3e,0x0000fe3f,0x0000fe40,0x0000ff40,
|
|
|
|
0x00000000,0x00000001,0x00000003,0x00000004,
|
|
0x00000006,0x0000ff09,0x0000ff0a,0x0000ff0c,
|
|
0x0000ff0f,0x0000fe12,0x0000fe14,0x0000fe16,
|
|
0x0000fd19,0x0000fd1c,0x0000fd1e,0x0000fc21,
|
|
0x0000fc24,0x0000fc27,0x0000fc29,0x0000fb2c,
|
|
0x0000fb2f,0x0000fb31,0x0000fb33,0x0000fb36,
|
|
0x0000fc38,0x0000fc39,0x0000fc3b,0x0000fc3d,
|
|
0x0000fd3e,0x0000fe3f,0x0000fe40,0x0000ff40,
|
|
|
|
0x0000fd0e,0x0000fd0f,0x0000fd10,0x0000fd12,
|
|
0x0000fd13,0x0000fd14,0x0000fd15,0x0000fd17,
|
|
0x0000fe18,0x00fffe1a,0x00fffe1b,0x00fffe1c,
|
|
0x00fffe1e,0x00ffff1e,0x00ffff1f,0x00ff0021,
|
|
0x00fe0022,0x00fe0023,0x00fe0124,0x00fe0224,
|
|
0x00fe0226,0x00fe0326,0x00fe0427,0x00fd0528,
|
|
0x00fd0628,0x00fd0729,0x00fd0829,0x00fd0929,
|
|
0x00fd0a2a,0x00fd0b2a,0x00fd0c2a,0x00fd0d2a,
|
|
|
|
0x00fe0012,0x00fe0013,0x00fe0113,0x00fe0114,
|
|
0x00fe0115,0x00fe0215,0x00fe0216,0x00fe0217,
|
|
0x00fe0317,0x00fe0318,0x00fe0418,0x00fe0419,
|
|
0x00fe0519,0x00fe051a,0x00fe061b,0x00fe071b,
|
|
0x00fe071c,0x00fe081c,0x00fe081d,0x00fe091d,
|
|
0x00fe0a1d,0x00fe0a1d,0x00fe0b1e,0x00fe0c1e,
|
|
0x00ff0c1e,0x00ff0d1e,0x00ff0e1f,0x00ff0e1f,
|
|
0x00ff0f1f,0x00ff0f20,0x0000101f,0x0000111f,
|
|
|
|
0x00fe0412,0x00fe0412,0x00ff0512,0x00ff0512,
|
|
0x00ff0613,0x00ff0613,0x00ff0614,0x00ff0714,
|
|
0x00ff0714,0x00ff0815,0x00ff0815,0x00ff0815,
|
|
0x00ff0916,0x00000916,0x00000a16,0x00000a16,
|
|
0x00000a18,0x00000b17,0x00000b17,0x00010c17,
|
|
0x00010c18,0x00010d18,0x00010d18,0x00010d19,
|
|
0x00020e18,0x00020e18,0x00020f18,0x00030f18,
|
|
0x00030f18,0x00031018,0x00031018,0x00041119,
|
|
|
|
0x0000070f,0x00000710,0x00000710,0x00000710,
|
|
0x00000810,0x00010811,0x00010811,0x00010911,
|
|
0x00010911,0x00010913,0x00010913,0x00020a12,
|
|
0x00020a12,0x00020a13,0x00020b12,0x00020b13,
|
|
0x00030b13,0x00030c13,0x00030c13,0x00030c14,
|
|
0x00040c13,0x00040d13,0x00040d14,0x00040d14,
|
|
0x00050e14,0x00050e14,0x00050e14,0x00050e14,
|
|
0x00060f14,0x00060f14,0x00060f15,0x00061015,
|
|
|
|
0x0001070f,0x0001080f,0x0001080f,0x0001080f,
|
|
0x00010811,0x00020910,0x00020910,0x00020910,
|
|
0x00020911,0x00020a10,0x00030a10,0x00030a11,
|
|
0x00030a11,0x00030b11,0x00030b11,0x00040b12,
|
|
0x00040b12,0x00040c11,0x00040c12,0x00040c12,
|
|
0x00050c12,0x00050c12,0x00050d12,0x00050d12,
|
|
0x00060d13,0x00060d13,0x00060e12,0x00060e13,
|
|
0x00070e13,0x00070e13,0x00070f13,0x00070f13,
|
|
|
|
0x0002080e,0x0002080e,0x0002080e,0x00020810,
|
|
0x0002090f,0x0003090f,0x0003090f,0x0003090f,
|
|
0x0003090f,0x00030a0f,0x00030a0f,0x00040a10,
|
|
0x00040a11,0x00040b10,0x00040b10,0x00040b11,
|
|
0x00050b10,0x00050b11,0x00050c10,0x00050c11,
|
|
0x00050c11,0x00060c11,0x00060c11,0x00060d11,
|
|
0x00060d12,0x00070d12,0x00070d12,0x00070e11,
|
|
0x00070e11,0x00070e12,0x00080e11,0x00080e12
|
|
|
|
};
|
|
#endif /* if defined CONFIG_ARCH_SUN9IW1 */
|
|
|
|
#ifndef SCALE_NO_SUPPORT
|
|
static u32 bicubic4coefftab32[256] = {
|
|
0x00004000,0x000140ff,0x00033ffe,0x00043ffd,0x00063dfd,0xff083dfc,0xff0a3bfc,0xff0c39fc,
|
|
0xff0e37fc,0xfe1136fb,0xfe1433fb,0xfe1631fb,0xfd192ffb,0xfd1c2cfb,0xfd1e29fc,0xfc2127fc,
|
|
0xfc2424fc,0xfc2721fc,0xfc291efd,0xfb2c1cfd,0xfb2f19fd,0xfb3116fe,0xfb3314fe,0xfb3611fe,
|
|
0xfc370eff,0xfc390cff,0xfc3b0aff,0xfc3d08ff,0xfd3d0600,0xfd3f0400,0xfe3f0300,0xff400100,
|
|
|
|
0x00004000,0x000140ff,0x00033ffe,0x00043ffd,0x00063dfd,0xff083dfc,0xff0a3bfc,0xff0c39fc,
|
|
0xff0e37fc,0xfe1136fb,0xfe1433fb,0xfe1631fb,0xfd192ffb,0xfd1c2cfb,0xfd1e29fc,0xfc2127fc,
|
|
0xfc2424fc,0xfc2721fc,0xfc291efd,0xfb2c1cfd,0xfb2f19fd,0xfb3116fe,0xfb3314fe,0xfb3611fe,
|
|
0xfc370eff,0xfc390cff,0xfc3b0aff,0xfc3d08ff,0xfd3d0600,0xfd3f0400,0xfe3f0300,0xff400100,
|
|
|
|
0xfd0d290d,0xfd0e290c,0xfd0f290b,0xfd11280a,0xfd122809,0xfd132808,0xfd142807,0xfd162706,
|
|
0xfd172705,0xfd192604,0xfe1a2503,0xfe1b2502,0xfe1c2402,0xfe1d2302,0xff1e2201,0xff1f2101,
|
|
0x00202000,0x00211f00,0x01221eff,0x02221dff,0x02241cfe,0x03241bfe,0x042519fe,0x042618fe,
|
|
0x052617fe,0x062716fd,0x072714fe,0x082713fe,0x092812fd,0x0a2811fd,0x0b2810fd,0x0c280ffd,
|
|
|
|
0x00111f10,0x00121e10,0x00131e0f,0x00131e0f,0x01131e0e,0x01141e0d,0x01151d0d,0x02151d0c,
|
|
0x02161d0b,0x03161d0a,0x03171c0a,0x04171c09,0x04181c08,0x05181b08,0x05191b07,0x06191a07,
|
|
0x061a1a06,0x071a1906,0x071b1905,0x081b1805,0x081c1804,0x091c1704,0x0a1c1703,0x0a1d1603,
|
|
0x0b1d1602,0x0c1d1502,0x0c1d1502,0x0d1e1401,0x0e1d1401,0x0e1e1301,0x0f1e1300,0x101e1200,
|
|
|
|
0x04111a11,0x04121911,0x04131910,0x0513190f,0x0513190f,0x0513190f,0x0613190e,0x0614180e,
|
|
0x0714180d,0x0714180d,0x0715180c,0x0814180c,0x0815170c,0x0816170b,0x0916170a,0x0916170a,
|
|
0x0a16160a,0x0a171609,0x0a171609,0x0b171608,0x0b171509,0x0c171508,0x0c181507,0x0d171507,
|
|
0x0d181407,0x0e181406,0x0e181406,0x0e191306,0x0f191305,0x0f191305,0x10191304,0x10191205,
|
|
|
|
0x07111711,0x07121710,0x07121611,0x08121610,0x08121610,0x0813160f,0x0912160f,0x0913160e,
|
|
0x0913160e,0x0913160e,0x0a14150d,0x0a14150d,0x0a14150d,0x0b14150c,0x0b14150c,0x0b14150c,
|
|
0x0c14140c,0x0c15140b,0x0c15140b,0x0c15140b,0x0d15140a,0x0d15140a,0x0d15140a,0x0e161309,
|
|
0x0e161309,0x0e161309,0x0f151309,0x0f161308,0x0f161209,0x10161208,0x10161208,0x10171207,
|
|
|
|
0x0a111411,0x0b111410,0x0b111410,0x0b111410,0x0b111410,0x0b12140f,0x0b12140f,0x0c12130f,
|
|
0x0c12130f,0x0c12130f,0x0c12130f,0x0c12130f,0x0d12130e,0x0d12130e,0x0d12130e,0x0d13130d,
|
|
0x0d13130d,0x0d13130d,0x0e12130d,0x0e13120d,0x0e13120d,0x0e13120d,0x0e13120d,0x0f13120c,
|
|
0x0f13120c,0x0f13120c,0x0f14120b,0x0f14120b,0x1013120b,0x1013120b,0x1013120b,0x1014110b,
|
|
|
|
0x0c111310,0x0c111310,0x0c111310,0x0d101310,0x0d101310,0x0d111210,0x0d111210,0x0d111210,
|
|
0x0d12120f,0x0d12120f,0x0d12120f,0x0d12120f,0x0e11120f,0x0e12120e,0x0e12120e,0x0e12120e,
|
|
0x0e12120e,0x0e12120e,0x0e12120e,0x0e12120e,0x0f11120e,0x0f12120d,0x0f12120d,0x0f12120d,
|
|
0x0f12120d,0x0f12110e,0x0f12110e,0x0f12110e,0x1012110d,0x1012110d,0x1013110c,0x1013110c,
|
|
|
|
};
|
|
#endif
|
|
#endif
|