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 q7_t in_linear_y[41] = { 15 0x7F, 0x7F, 0x7F, 0x7D, 0x75, 0x67, 0x4D, 0x28, 16 0xF7, 0xC2, 0x95, 0x80, 0x93, 0xD1, 0x27, 0x6F, 17 0x7B, 0x37, 0xC8, 0x82, 0xAA, 0x27, 0x7E, 0x45, 18 0xB4, 0x86, 0x07, 0x7E, 0x28, 0x8B, 0xC4, 0x71, 19 0x37, 0x88, 0xE6, 0x7F, 0xE1, 0x93, 0x64, 0x22, 20 0x82 21 }; 22 23static const q7_t ref_linear[40] = { 24 0x7F, 0x7F, 0x7E, 0x79, 0x6E, 0x5A, 0x3A, 0x0F, 25 0xDC, 0xAB, 0x8A, 0x8A, 0xB2, 0xFC, 0x4B, 0x75, 26 0x59, 0xFF, 0xA5, 0x96, 0xE9, 0x53, 0x62, 0xFD, 27 0x9D, 0xC7, 0x43, 0x53, 0xDA, 0xA8, 0x1B, 0x54, 28 0xE0, 0xB7, 0x33, 0x31, 0xBA, 0xFB, 0x43, 0xD2 29 }; 30 31static const q31_t in_bilinear_x[300] = { 32 0x00080000, 0x00080000, 0x000F1C72, 0x00080000, 33 0x001638E4, 0x00080000, 0x001D5555, 0x00080000, 34 0x002471C7, 0x00080000, 0x002B8E39, 0x00080000, 35 0x0032AAAB, 0x00080000, 0x0039C71C, 0x00080000, 36 0x0040E38E, 0x00080000, 0x00480000, 0x00080000, 37 0x00080000, 0x000DB6DB, 0x000F1C72, 0x000DB6DB, 38 0x001638E4, 0x000DB6DB, 0x001D5555, 0x000DB6DB, 39 0x002471C7, 0x000DB6DB, 0x002B8E39, 0x000DB6DB, 40 0x0032AAAB, 0x000DB6DB, 0x0039C71C, 0x000DB6DB, 41 0x0040E38E, 0x000DB6DB, 0x00480000, 0x000DB6DB, 42 0x00080000, 0x00136DB7, 0x000F1C72, 0x00136DB7, 43 0x001638E4, 0x00136DB7, 0x001D5555, 0x00136DB7, 44 0x002471C7, 0x00136DB7, 0x002B8E39, 0x00136DB7, 45 0x0032AAAB, 0x00136DB7, 0x0039C71C, 0x00136DB7, 46 0x0040E38E, 0x00136DB7, 0x00480000, 0x00136DB7, 47 0x00080000, 0x00192492, 0x000F1C72, 0x00192492, 48 0x001638E4, 0x00192492, 0x001D5555, 0x00192492, 49 0x002471C7, 0x00192492, 0x002B8E39, 0x00192492, 50 0x0032AAAB, 0x00192492, 0x0039C71C, 0x00192492, 51 0x0040E38E, 0x00192492, 0x00480000, 0x00192492, 52 0x00080000, 0x001EDB6E, 0x000F1C72, 0x001EDB6E, 53 0x001638E4, 0x001EDB6E, 0x001D5555, 0x001EDB6E, 54 0x002471C7, 0x001EDB6E, 0x002B8E39, 0x001EDB6E, 55 0x0032AAAB, 0x001EDB6E, 0x0039C71C, 0x001EDB6E, 56 0x0040E38E, 0x001EDB6E, 0x00480000, 0x001EDB6E, 57 0x00080000, 0x00249249, 0x000F1C72, 0x00249249, 58 0x001638E4, 0x00249249, 0x001D5555, 0x00249249, 59 0x002471C7, 0x00249249, 0x002B8E39, 0x00249249, 60 0x0032AAAB, 0x00249249, 0x0039C71C, 0x00249249, 61 0x0040E38E, 0x00249249, 0x00480000, 0x00249249, 62 0x00080000, 0x002A4925, 0x000F1C72, 0x002A4925, 63 0x001638E4, 0x002A4925, 0x001D5555, 0x002A4925, 64 0x002471C7, 0x002A4925, 0x002B8E39, 0x002A4925, 65 0x0032AAAB, 0x002A4925, 0x0039C71C, 0x002A4925, 66 0x0040E38E, 0x002A4925, 0x00480000, 0x002A4925, 67 0x00080000, 0x00300000, 0x000F1C72, 0x00300000, 68 0x001638E4, 0x00300000, 0x001D5555, 0x00300000, 69 0x002471C7, 0x00300000, 0x002B8E39, 0x00300000, 70 0x0032AAAB, 0x00300000, 0x0039C71C, 0x00300000, 71 0x0040E38E, 0x00300000, 0x00480000, 0x00300000, 72 0x00080000, 0x0035B6DB, 0x000F1C72, 0x0035B6DB, 73 0x001638E4, 0x0035B6DB, 0x001D5555, 0x0035B6DB, 74 0x002471C7, 0x0035B6DB, 0x002B8E39, 0x0035B6DB, 75 0x0032AAAB, 0x0035B6DB, 0x0039C71C, 0x0035B6DB, 76 0x0040E38E, 0x0035B6DB, 0x00480000, 0x0035B6DB, 77 0x00080000, 0x003B6DB7, 0x000F1C72, 0x003B6DB7, 78 0x001638E4, 0x003B6DB7, 0x001D5555, 0x003B6DB7, 79 0x002471C7, 0x003B6DB7, 0x002B8E39, 0x003B6DB7, 80 0x0032AAAB, 0x003B6DB7, 0x0039C71C, 0x003B6DB7, 81 0x0040E38E, 0x003B6DB7, 0x00480000, 0x003B6DB7, 82 0x00080000, 0x00412492, 0x000F1C72, 0x00412492, 83 0x001638E4, 0x00412492, 0x001D5555, 0x00412492, 84 0x002471C7, 0x00412492, 0x002B8E39, 0x00412492, 85 0x0032AAAB, 0x00412492, 0x0039C71C, 0x00412492, 86 0x0040E38E, 0x00412492, 0x00480000, 0x00412492, 87 0x00080000, 0x0046DB6E, 0x000F1C72, 0x0046DB6E, 88 0x001638E4, 0x0046DB6E, 0x001D5555, 0x0046DB6E, 89 0x002471C7, 0x0046DB6E, 0x002B8E39, 0x0046DB6E, 90 0x0032AAAB, 0x0046DB6E, 0x0039C71C, 0x0046DB6E, 91 0x0040E38E, 0x0046DB6E, 0x00480000, 0x0046DB6E, 92 0x00080000, 0x004C9249, 0x000F1C72, 0x004C9249, 93 0x001638E4, 0x004C9249, 0x001D5555, 0x004C9249, 94 0x002471C7, 0x004C9249, 0x002B8E39, 0x004C9249, 95 0x0032AAAB, 0x004C9249, 0x0039C71C, 0x004C9249, 96 0x0040E38E, 0x004C9249, 0x00480000, 0x004C9249, 97 0x00080000, 0x00524925, 0x000F1C72, 0x00524925, 98 0x001638E4, 0x00524925, 0x001D5555, 0x00524925, 99 0x002471C7, 0x00524925, 0x002B8E39, 0x00524925, 100 0x0032AAAB, 0x00524925, 0x0039C71C, 0x00524925, 101 0x0040E38E, 0x00524925, 0x00480000, 0x00524925, 102 0x00080000, 0x00580000, 0x000F1C72, 0x00580000, 103 0x001638E4, 0x00580000, 0x001D5555, 0x00580000, 104 0x002471C7, 0x00580000, 0x002B8E39, 0x00580000, 105 0x0032AAAB, 0x00580000, 0x0039C71C, 0x00580000, 106 0x0040E38E, 0x00580000, 0x00480000, 0x00580000 107 }; 108 109static const q7_t in_bilinear_y[56] = { 110 0x62, 0x7A, 0x82, 0xC8, 0x8A, 0x58, 0xA3, 0x2F, 111 0xB5, 0x3C, 0xA5, 0xF7, 0x3C, 0x71, 0xD6, 0x4F, 112 0xBF, 0x57, 0x04, 0xC8, 0x8C, 0x96, 0x8B, 0x7B, 113 0x45, 0x7B, 0x9F, 0x52, 0xCA, 0x81, 0x7B, 0x03, 114 0x57, 0xD8, 0x79, 0x8A, 0x97, 0x72, 0x58, 0x7F, 115 0x90, 0x3E, 0x06, 0x6F, 0x9B, 0x2E, 0xD4, 0xF7, 116 0x80, 0xE6, 0x88, 0x70, 0xE5, 0x3E, 0xF5, 0x7F 117 }; 118 119static const uint16_t in_bilinear_config[2] = { 120 0x0007, 0x0008 121 }; 122 123static const q7_t ref_bilinear[150] = { 124 0x30, 0x1A, 0x01, 0xE8, 0xD4, 0xC2, 0xB8, 0xBD, 125 0xC8, 0x05, 0x03, 0xD6, 0xF0, 0x14, 0x01, 0xCB, 126 0xB4, 0xD0, 0xED, 0x14, 0xF9, 0xDA, 0xF3, 0x15, 127 0x0A, 0xE3, 0xD3, 0xE8, 0xFC, 0x0F, 0x04, 0x0C, 128 0x04, 0xF9, 0xFB, 0x05, 0x09, 0x03, 0xFE, 0xFC, 129 0x10, 0x3E, 0x14, 0xDD, 0xEC, 0x26, 0x3F, 0x1F, 130 0x00, 0xEA, 0xED, 0x13, 0x0A, 0xFB, 0x0F, 0x38, 131 0x4B, 0x37, 0x20, 0xF1, 0xBF, 0xCF, 0xF9, 0x27, 132 0x3D, 0x46, 0x4C, 0x4E, 0x47, 0xFF, 0x90, 0x8B, 133 0xE8, 0x53, 0x6C, 0x54, 0x4E, 0x66, 0x6F, 0x0D, 134 0x98, 0x89, 0xE6, 0x53, 0x66, 0x43, 0x38, 0x55, 135 0x64, 0x10, 0x9F, 0x87, 0xE4, 0x52, 0x5F, 0x32, 136 0x22, 0x44, 0x58, 0x14, 0xA4, 0x86, 0xE3, 0x51, 137 0x5B, 0x29, 0x16, 0x3A, 0x52, 0x16, 0x9C, 0x8C, 138 0xE7, 0x50, 0x61, 0x3E, 0x32, 0x4F, 0x5E, 0x11, 139 0x95, 0x92, 0xEA, 0x4F, 0x67, 0x53, 0x4E, 0x64, 140 0x6B, 0x0B, 0xA9, 0xB4, 0xF3, 0x39, 0x53, 0x52, 141 0x56, 0x5F, 0x5C, 0x03, 0xE6, 0x00, 0x04, 0x06, 142 0x17, 0x32, 0x3F, 0x33, 0x24, 0xF7 143 }; 144 145