1static const q31_t in_linear_x[40] = { 2 0x00080000, 0x00180000, 0x00280000, 0x00380000, 3 0x00480000, 0x00580000, 0x00680000, 0x00780000, 4 0x00880000, 0x00980000, 0x00A80000, 0x00B80000, 5 0x00C80000, 0x00D80000, 0x00E80000, 0x00F80000, 6 0x01080000, 0x01180000, 0x01280000, 0x01380000, 7 0x01480000, 0x01580000, 0x01680000, 0x01780000, 8 0x01880000, 0x01980000, 0x01A80000, 0x01B80000, 9 0x01C80000, 0x01D80000, 0x01E80000, 0x01F80000, 10 0x02080000, 0x02180000, 0x02280000, 0x02380000, 11 0x02480000, 0x02580000, 0x02680000, 0x02780000 12 }; 13 14static const q31_t in_linear_y[41] = { 15 0x7FFFFFFF, 0x7FF53A8E, 0x7F53CD1F, 0x7C9B5835, 16 0x7560DD71, 0x6696FD43, 0x4D3B346F, 0x2794EFD3, 17 0xF7049DF8, 0xC1F24B95, 0x94C1CE62, 0x8018F412, 18 0x92ECBAF9, 0xD0A26BAC, 0x27719787, 0x6F769C05, 19 0x7AFB8B87, 0x36F38755, 0xC7E5A942, 0x81CF5A32, 20 0xA9C52B9A, 0x274E3BE8, 0x7E71815B, 0x45671E38, 21 0xB4604D03, 0x866799C7, 0x06FB627E, 0x7E6BB4F4, 22 0x27FEE4A7, 0x8B7EC9ED, 0xC452A6DC, 0x70D5C8A0, 23 0x37582165, 0x87D0C855, 0xE60E3DB9, 0x7FFF7927, 24 0xE1123BC0, 0x928BF3B1, 0x640D7CEB, 0x22215B09, 25 0x822EC32F 26 }; 27 28static const q31_t ref_linear[40] = { 29 0x7FFA9D47, 0x7FA483D7, 0x7DF792AA, 0x78FE1AD3, 30 0x6DFBED5A, 0x59E918D9, 0x3A681221, 0x0F4CC6E6, 31 0xDC7B74C7, 0xAB5A0CFB, 0x8A6D613A, 0x8982D786, 32 0xB1C79353, 0xFC0A0199, 0x4B7419C6, 0x753913C6, 33 0x58F7896E, 0xFF6C984C, 0xA4DA81BA, 0x95CA42E6, 34 0xE889B3C1, 0x52DFDEA1, 0x61EC4FCA, 0xFCE3B59E, 35 0x9D63F365, 0xC6B17E22, 0x42B38BB9, 0x53354CCE, 36 0xD9BED74A, 0xA7E8B864, 0x1A9437BE, 0x5416F502, 37 0xDF9474DD, 0xB6EF8307, 0x3306DB70, 0x3088DA74, 38 0xB9CF17B9, 0xFB4CB84E, 0x43176BFA, 0xD2280F1C 39 }; 40 41static const q31_t in_bilinear_x[300] = { 42 0x00080000, 0x00080000, 0x000F1C72, 0x00080000, 43 0x001638E4, 0x00080000, 0x001D5555, 0x00080000, 44 0x002471C7, 0x00080000, 0x002B8E39, 0x00080000, 45 0x0032AAAB, 0x00080000, 0x0039C71C, 0x00080000, 46 0x0040E38E, 0x00080000, 0x00480000, 0x00080000, 47 0x00080000, 0x000DB6DB, 0x000F1C72, 0x000DB6DB, 48 0x001638E4, 0x000DB6DB, 0x001D5555, 0x000DB6DB, 49 0x002471C7, 0x000DB6DB, 0x002B8E39, 0x000DB6DB, 50 0x0032AAAB, 0x000DB6DB, 0x0039C71C, 0x000DB6DB, 51 0x0040E38E, 0x000DB6DB, 0x00480000, 0x000DB6DB, 52 0x00080000, 0x00136DB7, 0x000F1C72, 0x00136DB7, 53 0x001638E4, 0x00136DB7, 0x001D5555, 0x00136DB7, 54 0x002471C7, 0x00136DB7, 0x002B8E39, 0x00136DB7, 55 0x0032AAAB, 0x00136DB7, 0x0039C71C, 0x00136DB7, 56 0x0040E38E, 0x00136DB7, 0x00480000, 0x00136DB7, 57 0x00080000, 0x00192492, 0x000F1C72, 0x00192492, 58 0x001638E4, 0x00192492, 0x001D5555, 0x00192492, 59 0x002471C7, 0x00192492, 0x002B8E39, 0x00192492, 60 0x0032AAAB, 0x00192492, 0x0039C71C, 0x00192492, 61 0x0040E38E, 0x00192492, 0x00480000, 0x00192492, 62 0x00080000, 0x001EDB6E, 0x000F1C72, 0x001EDB6E, 63 0x001638E4, 0x001EDB6E, 0x001D5555, 0x001EDB6E, 64 0x002471C7, 0x001EDB6E, 0x002B8E39, 0x001EDB6E, 65 0x0032AAAB, 0x001EDB6E, 0x0039C71C, 0x001EDB6E, 66 0x0040E38E, 0x001EDB6E, 0x00480000, 0x001EDB6E, 67 0x00080000, 0x00249249, 0x000F1C72, 0x00249249, 68 0x001638E4, 0x00249249, 0x001D5555, 0x00249249, 69 0x002471C7, 0x00249249, 0x002B8E39, 0x00249249, 70 0x0032AAAB, 0x00249249, 0x0039C71C, 0x00249249, 71 0x0040E38E, 0x00249249, 0x00480000, 0x00249249, 72 0x00080000, 0x002A4925, 0x000F1C72, 0x002A4925, 73 0x001638E4, 0x002A4925, 0x001D5555, 0x002A4925, 74 0x002471C7, 0x002A4925, 0x002B8E39, 0x002A4925, 75 0x0032AAAB, 0x002A4925, 0x0039C71C, 0x002A4925, 76 0x0040E38E, 0x002A4925, 0x00480000, 0x002A4925, 77 0x00080000, 0x00300000, 0x000F1C72, 0x00300000, 78 0x001638E4, 0x00300000, 0x001D5555, 0x00300000, 79 0x002471C7, 0x00300000, 0x002B8E39, 0x00300000, 80 0x0032AAAB, 0x00300000, 0x0039C71C, 0x00300000, 81 0x0040E38E, 0x00300000, 0x00480000, 0x00300000, 82 0x00080000, 0x0035B6DB, 0x000F1C72, 0x0035B6DB, 83 0x001638E4, 0x0035B6DB, 0x001D5555, 0x0035B6DB, 84 0x002471C7, 0x0035B6DB, 0x002B8E39, 0x0035B6DB, 85 0x0032AAAB, 0x0035B6DB, 0x0039C71C, 0x0035B6DB, 86 0x0040E38E, 0x0035B6DB, 0x00480000, 0x0035B6DB, 87 0x00080000, 0x003B6DB7, 0x000F1C72, 0x003B6DB7, 88 0x001638E4, 0x003B6DB7, 0x001D5555, 0x003B6DB7, 89 0x002471C7, 0x003B6DB7, 0x002B8E39, 0x003B6DB7, 90 0x0032AAAB, 0x003B6DB7, 0x0039C71C, 0x003B6DB7, 91 0x0040E38E, 0x003B6DB7, 0x00480000, 0x003B6DB7, 92 0x00080000, 0x00412492, 0x000F1C72, 0x00412492, 93 0x001638E4, 0x00412492, 0x001D5555, 0x00412492, 94 0x002471C7, 0x00412492, 0x002B8E39, 0x00412492, 95 0x0032AAAB, 0x00412492, 0x0039C71C, 0x00412492, 96 0x0040E38E, 0x00412492, 0x00480000, 0x00412492, 97 0x00080000, 0x0046DB6E, 0x000F1C72, 0x0046DB6E, 98 0x001638E4, 0x0046DB6E, 0x001D5555, 0x0046DB6E, 99 0x002471C7, 0x0046DB6E, 0x002B8E39, 0x0046DB6E, 100 0x0032AAAB, 0x0046DB6E, 0x0039C71C, 0x0046DB6E, 101 0x0040E38E, 0x0046DB6E, 0x00480000, 0x0046DB6E, 102 0x00080000, 0x004C9249, 0x000F1C72, 0x004C9249, 103 0x001638E4, 0x004C9249, 0x001D5555, 0x004C9249, 104 0x002471C7, 0x004C9249, 0x002B8E39, 0x004C9249, 105 0x0032AAAB, 0x004C9249, 0x0039C71C, 0x004C9249, 106 0x0040E38E, 0x004C9249, 0x00480000, 0x004C9249, 107 0x00080000, 0x00524925, 0x000F1C72, 0x00524925, 108 0x001638E4, 0x00524925, 0x001D5555, 0x00524925, 109 0x002471C7, 0x00524925, 0x002B8E39, 0x00524925, 110 0x0032AAAB, 0x00524925, 0x0039C71C, 0x00524925, 111 0x0040E38E, 0x00524925, 0x00480000, 0x00524925, 112 0x00080000, 0x00580000, 0x000F1C72, 0x00580000, 113 0x001638E4, 0x00580000, 0x001D5555, 0x00580000, 114 0x002471C7, 0x00580000, 0x002B8E39, 0x00580000, 115 0x0032AAAB, 0x00580000, 0x0039C71C, 0x00580000, 116 0x0040E38E, 0x00580000, 0x00480000, 0x00580000 117 }; 118 119static const q31_t in_bilinear_y[56] = { 120 0x61CE022E, 0x7A34B6CC, 0x81B5AD59, 0xC7D0B690, 121 0x89EC9B27, 0x5783AFCB, 0xA3428493, 0x2E9DC9D1, 122 0xB48BBB55, 0x3C77AFE8, 0xA541A842, 0xF74DF921, 123 0x3C3143FF, 0x716B3B02, 0xD5E59CB2, 0x4F497006, 124 0xBF55C93A, 0x574959F7, 0x03E3C0CF, 0xC8187FD4, 125 0x8C6E6F06, 0x9586223C, 0x8ADAF8E1, 0x7B243A55, 126 0x44C55958, 0x7AE31813, 0x9E8786AD, 0x5238F619, 127 0xC9A99D57, 0x811110C2, 0x7B71C31F, 0x02F8263F, 128 0x569C6317, 0xD78A4CED, 0x792034A4, 0x89EC9B27, 129 0x96DA0C3B, 0x72368FED, 0x581B91CE, 0x7F76A2DC, 130 0x907D10ED, 0x3DFDF962, 0x063F67D2, 0x6F2883D2, 131 0x9AA9296C, 0x2DDB21A1, 0xD3ACF57E, 0xF74DF921, 132 0x803BB3D3, 0xE62A1730, 0x886751E7, 0x7028D0B3, 133 0xE51192FB, 0x3E43C8D8, 0xF4F3A57B, 0x7F6F3C60 134 }; 135 136static const uint16_t in_bilinear_config[2] = { 137 0x0007, 0x0008 138 }; 139 140static const q31_t ref_bilinear[150] = { 141 0x2FCB0F88, 0x1A16C2AC, 0x017C833A, 0xE87845B3, 142 0xD3D2EED8, 0xC1CCEF31, 0xB83733DD, 0xBCB1EA6A, 143 0xC83D2221, 0x053BE205, 0x035B21B5, 0xD666F6E5, 144 0xF048ED35, 0x14497A8B, 0x00913226, 0xCB6A031F, 145 0xB470E5F7, 0xCFC49141, 0xEC9742BC, 0x13E31F8D, 146 0xF8A7A363, 0xD99685C2, 0xF33D8270, 0x14FECC06, 147 0x09B21CC9, 0xE35D0B74, 0xD32BF4FB, 0xE7E1809B, 148 0xFC4BEB7E, 0x0EA8713A, 0x0471C4BD, 0x0C05A661, 149 0x03A23481, 0xF8F6DB44, 0xFB14CC50, 0x04DEB6B9, 150 0x08E7EC9D, 0x035AA04C, 0xFE3CEF04, 0xFC2C7AFF, 151 0x103BE617, 0x3E74C701, 0x1406E691, 0xDCEEEA82, 152 0xEC777BD6, 0x266061FE, 0x3EA3E43F, 0x1ED3BFFC, 153 0x002DF28A, 0xE9B084C4, 0xED55886A, 0x12840F65, 154 0x09E01CC3, 0xFAB061E7, 0x0ED3FA80, 0x382991F9, 155 0x4AA525F8, 0x370AB42C, 0x2004B661, 0xF10DE49F, 156 0xBEC30AFC, 0xCEFB61BB, 0xF91673FE, 0x26E43354, 157 0x3D6EECF2, 0x4604A321, 0x4C37BA38, 0x4E711D7B, 158 0x4754EA4D, 0xFEE199FF, 0x90308D8E, 0x8B72B411, 159 0xE84CCB39, 0x531804C2, 0x6C09DF64, 0x53DFB449, 160 0x4DCA4E78, 0x65D786CB, 0x6EA51E38, 0x0CB54F60, 161 0x97C08C60, 0x892E49BD, 0xE634A36F, 0x5299EEE4, 162 0x6596B887, 0x42EE6778, 0x380C12F6, 0x54C90E09, 163 0x638A46A1, 0x10692DE3, 0x9F508B32, 0x86E9DF69, 164 0xE41C7BA5, 0x521BD906, 0x5F2391A9, 0x31FD1AA8, 165 0x224DD775, 0x43BA9547, 0x586F6F0B, 0x141D0C66, 166 0xA3DDC486, 0x865103F0, 0xE3215A99, 0x516CB494, 167 0x5B312F6C, 0x28A4BDFA, 0x1676B480, 0x3A3B5850, 168 0x52067F52, 0x15FF3CB7, 0x9C5FE7E5, 0x8C6663E4, 169 0xE69A5488, 0x4FF955D6, 0x6141DFAE, 0x3DB021D9, 170 0x323BF3BD, 0x4EF90A80, 0x5E652F11, 0x109AB43F, 171 0x94E20B45, 0x927BC3D8, 0xEA134E76, 0x4E85F717, 172 0x67528FF0, 0x52BB85B7, 0x4E0132F9, 0x63B6BCB1, 173 0x6AC3DED1, 0x0B362BC6, 0xA8B7FD23, 0xB44DF11B, 174 0xF311567A, 0x39245E56, 0x530BA1EE, 0x52723C90, 175 0x558BFD12, 0x5ED05209, 0x5BD34840, 0x030CA73D, 176 0xE58BA4C2, 0xFFBB5254, 0x0456F39C, 0x05DD6E91, 177 0x17414685, 0x3229EFDF, 0x3EBF1776, 0x3373BC1C, 178 0x23EBC839, 0xF6BBA89A 179 }; 180 181