blob: b4849edcba1da597617fa6ca7e30399d16b122a3 [file] [log] [blame]
James Zern0d2f3482015-05-11 19:36:59 -07001/*
James Zernb7c05bd2024-06-11 19:15:10 -07002 * Copyright (c) 2016, Alliance for Open Media. All rights reserved.
James Zern0d2f3482015-05-11 19:36:59 -07003 *
Yaowu Xu9c01aa12016-09-01 14:32:49 -07004 * This source code is subject to the terms of the BSD 2 Clause License and
5 * the Alliance for Open Media Patent License 1.0. If the BSD 2 Clause License
6 * was not distributed with this source code in the LICENSE file, you can
7 * obtain it at www.aomedia.org/license/software. If the Alliance for Open
8 * Media Patent License 1.0 was not distributed with this source code in the
9 * PATENTS file, you can obtain it at www.aomedia.org/license/patent.
Johann123e8a62017-12-28 14:40:49 -080010 */
Yaowu Xu9c01aa12016-09-01 14:32:49 -070011
Yaowu Xuf883b422016-08-30 14:01:10 -070012// Test and time AOM intra-predictor functions
James Zern0d2f3482015-05-11 19:36:59 -070013
14#include <stdio.h>
Urvang Joshia5f25402018-02-16 14:48:05 -080015#include <string>
James Zern0d2f3482015-05-11 19:36:59 -070016
Wan-Teh Changc8b1fc22024-08-01 12:09:28 -070017#include "gtest/gtest.h"
James Zern0d2f3482015-05-11 19:36:59 -070018
Tom Finegan44702c82018-05-22 13:00:39 -070019#include "config/aom_dsp_rtcd.h"
20
James Zern0d2f3482015-05-11 19:36:59 -070021#include "test/acm_random.h"
22#include "test/md5_helper.h"
Yaowu Xuf883b422016-08-30 14:01:10 -070023#include "aom/aom_integer.h"
Yaowu Xuc27fc142016-08-22 16:08:15 -070024#include "aom_ports/mem.h"
Yaowu Xuf883b422016-08-30 14:01:10 -070025#include "aom_ports/aom_timer.h"
Urvang Joshia5f25402018-02-16 14:48:05 -080026#include "av1/common/common_data.h"
James Zern0d2f3482015-05-11 19:36:59 -070027
28// -----------------------------------------------------------------------------
29
30namespace {
31
Urvang Joshi2e4ee072018-02-16 16:26:00 -080032// Note:
33// APPLY_UNIT_TESTS
34// 1: Do unit tests
35// 0: Generate MD5 array as required
36#define APPLY_UNIT_TESTS 1
37
Yaowu Xuf883b422016-08-30 14:01:10 -070038typedef void (*AvxPredFunc)(uint8_t *dst, ptrdiff_t y_stride,
James Zern0d2f3482015-05-11 19:36:59 -070039 const uint8_t *above, const uint8_t *left);
40
Urvang Joshi2e4ee072018-02-16 16:26:00 -080041const int kBPS = 64;
Yi Luobbf61862017-09-18 15:39:39 -070042const int kTotalPixels = kBPS * kBPS;
Urvang Joshia5f25402018-02-16 14:48:05 -080043// 4 DC variants, V, H, PAETH, SMOOTH, SMOOTH_V, SMOOTH_H
Hui Su59b633c2018-02-21 16:18:58 -080044const int kNumAv1IntraFuncs = 10;
Urvang Joshi2e4ee072018-02-16 16:26:00 -080045
46#if APPLY_UNIT_TESTS
Urvang Joshi6be4a542016-11-03 15:24:05 -070047const char *kAv1IntraPredNames[kNumAv1IntraFuncs] = {
Hui Su59b633c2018-02-21 16:18:58 -080048 "DC_PRED", "DC_LEFT_PRED", "DC_TOP_PRED", "DC_128_PRED", "V_PRED",
49 "H_PRED", "PAETH_PRED", "SMOOTH_PRED", "SMOOTH_V_PRED", "SMOOTH_H_PRED",
James Zern0d2f3482015-05-11 19:36:59 -070050};
Urvang Joshi2e4ee072018-02-16 16:26:00 -080051#endif // APPLY_UNIT_TESTS
James Zern0d2f3482015-05-11 19:36:59 -070052
Yi Luof5d71a62017-09-14 11:47:40 -070053template <typename Pixel>
54struct IntraPredTestMem {
Urvang Joshi2e4ee072018-02-16 16:26:00 -080055 void Init(int block_width, int block_height, int bd) {
Yi Luobbf61862017-09-18 15:39:39 -070056 ASSERT_LE(block_width, kBPS);
Urvang Joshi2e4ee072018-02-16 16:26:00 -080057 ASSERT_LE(block_height, kBPS);
58 // Note: for blocks having width <= 32 and height <= 32, we generate 32x32
59 // random pixels as before to avoid having to recalculate all hashes again.
60 const int block_size_upto_32 = (block_width <= 32) && (block_height <= 32);
61 stride = block_size_upto_32 ? 32 : kBPS;
62 num_pixels = stride * stride;
63 libaom_test::ACMRandom rnd(libaom_test::ACMRandom::DeterministicSeed());
64 above = above_mem + 16;
65 const int mask = (1 << bd) - 1;
66 for (int i = 0; i < num_pixels; ++i) ref_src[i] = rnd.Rand16() & mask;
67 for (int i = 0; i < stride; ++i) left[i] = rnd.Rand16() & mask;
68 for (int i = -1; i < stride; ++i) above[i] = rnd.Rand16() & mask;
69
70 for (int i = stride; i < 2 * stride; ++i) {
Yi Luof5d71a62017-09-14 11:47:40 -070071 left[i] = rnd.Rand16() & mask;
72 above[i] = rnd.Rand16() & mask;
73 }
Urvang Joshic3bcf3b2017-04-21 13:09:43 -070074 }
James Zern0d2f3482015-05-11 19:36:59 -070075
Yi Luof5d71a62017-09-14 11:47:40 -070076 DECLARE_ALIGNED(16, Pixel, src[kTotalPixels]);
77 DECLARE_ALIGNED(16, Pixel, ref_src[kTotalPixels]);
78 DECLARE_ALIGNED(16, Pixel, left[2 * kBPS]);
Urvang Joshi2e4ee072018-02-16 16:26:00 -080079 Pixel *above;
80 int stride;
81 int num_pixels;
82
83 private:
Yi Luof5d71a62017-09-14 11:47:40 -070084 DECLARE_ALIGNED(16, Pixel, above_mem[2 * kBPS + 16]);
85};
86
87// -----------------------------------------------------------------------------
88// Low Bittdepth
89
90typedef IntraPredTestMem<uint8_t> Av1IntraPredTestMem;
91
Urvang Joshia5f25402018-02-16 14:48:05 -080092static const char *const kTxSizeStrings[TX_SIZES_ALL] = {
93 "4X4", "8X8", "16X16", "32X32", "64X64", "4X8", "8X4",
94 "8X16", "16X8", "16X32", "32X16", "32X64", "64X32", "4X16",
95 "16X4", "8X32", "32X8", "16X64", "64X16",
96};
97
98void CheckMd5Signature(TX_SIZE tx_size, bool is_hbd,
99 const char *const signatures[], const void *data,
100 size_t data_size, int elapsed_time, int idx) {
101 const std::string hbd_str = is_hbd ? "Hbd " : "";
102 const std::string name_str = hbd_str + "Intra" + kTxSizeStrings[tx_size];
Yi Luof5d71a62017-09-14 11:47:40 -0700103 libaom_test::MD5 md5;
104 md5.Add(reinterpret_cast<const uint8_t *>(data), data_size);
Yi Luobbf61862017-09-18 15:39:39 -0700105#if APPLY_UNIT_TESTS
Urvang Joshia5f25402018-02-16 14:48:05 -0800106 printf("Mode %s[%13s]: %5d ms MD5: %s\n", name_str.c_str(),
107 kAv1IntraPredNames[idx], elapsed_time, md5.Get());
Yi Luof5d71a62017-09-14 11:47:40 -0700108 EXPECT_STREQ(signatures[idx], md5.Get());
Yi Luobbf61862017-09-18 15:39:39 -0700109#else
Urvang Joshi2e4ee072018-02-16 16:26:00 -0800110 (void)signatures;
111 (void)elapsed_time;
112 (void)idx;
Yi Luobbf61862017-09-18 15:39:39 -0700113 printf("\"%s\",\n", md5.Get());
114#endif
Yi Luof5d71a62017-09-14 11:47:40 -0700115}
116
Urvang Joshia5f25402018-02-16 14:48:05 -0800117void TestIntraPred(TX_SIZE tx_size, AvxPredFunc const *pred_funcs,
118 const char *const signatures[]) {
119 const int block_width = tx_size_wide[tx_size];
120 const int block_height = tx_size_high[tx_size];
Yi Luobbf61862017-09-18 15:39:39 -0700121 const int num_pixels_per_test =
122 block_width * block_height * kNumAv1IntraFuncs;
Yi Luof5d71a62017-09-14 11:47:40 -0700123 const int kNumTests = static_cast<int>(2.e10 / num_pixels_per_test);
124 Av1IntraPredTestMem intra_pred_test_mem;
Urvang Joshi2e4ee072018-02-16 16:26:00 -0800125 intra_pred_test_mem.Init(block_width, block_height, 8);
Yi Luof5d71a62017-09-14 11:47:40 -0700126
127 for (int k = 0; k < kNumAv1IntraFuncs; ++k) {
James Zern664f04d2022-05-24 17:30:58 -0700128 if (pred_funcs[k] == nullptr) continue;
Yi Luof5d71a62017-09-14 11:47:40 -0700129 memcpy(intra_pred_test_mem.src, intra_pred_test_mem.ref_src,
130 sizeof(intra_pred_test_mem.src));
Yaowu Xuf883b422016-08-30 14:01:10 -0700131 aom_usec_timer timer;
132 aom_usec_timer_start(&timer);
James Zern0d2f3482015-05-11 19:36:59 -0700133 for (int num_tests = 0; num_tests < kNumTests; ++num_tests) {
Urvang Joshi2e4ee072018-02-16 16:26:00 -0800134 pred_funcs[k](intra_pred_test_mem.src, intra_pred_test_mem.stride,
135 intra_pred_test_mem.above, intra_pred_test_mem.left);
James Zern0d2f3482015-05-11 19:36:59 -0700136 }
Yaowu Xuf883b422016-08-30 14:01:10 -0700137 aom_usec_timer_mark(&timer);
James Zern0d2f3482015-05-11 19:36:59 -0700138 const int elapsed_time =
Yaowu Xuf883b422016-08-30 14:01:10 -0700139 static_cast<int>(aom_usec_timer_elapsed(&timer) / 1000);
Urvang Joshi2e4ee072018-02-16 16:26:00 -0800140 CheckMd5Signature(
141 tx_size, false, signatures, intra_pred_test_mem.src,
142 intra_pred_test_mem.num_pixels * sizeof(*intra_pred_test_mem.src),
143 elapsed_time, k);
James Zern0d2f3482015-05-11 19:36:59 -0700144 }
145}
Urvang Joshi2e4ee072018-02-16 16:26:00 -0800146
Urvang Joshia5f25402018-02-16 14:48:05 -0800147static const char *const kSignatures[TX_SIZES_ALL][kNumAv1IntraFuncs] = {
148 {
149 // 4X4
150 "e7ed7353c3383fff942e500e9bfe82fe",
151 "2a4a26fcc6ce005eadc08354d196c8a9",
152 "269d92eff86f315d9c38fe7640d85b15",
153 "ae2960eea9f71ee3dabe08b282ec1773",
154 "6c1abcc44e90148998b51acd11144e9c",
155 "f7bb3186e1ef8a2b326037ff898cad8e",
156 "59fc0e923a08cfac0a493fb38988e2bb",
157 "9ff8bb37d9c830e6ab8ecb0c435d3c91",
158 "de6937fca02354f2874dbc5dbec5d5b3",
159 "723cf948137f7d8c7860d814e55ae67d",
160 },
161 {
162 // 8X8
163 "d8bbae5d6547cfc17e4f5f44c8730e88",
164 "373bab6d931868d41a601d9d88ce9ac3",
165 "6fdd5ff4ff79656c14747598ca9e3706",
166 "d9661c2811d6a73674f40ffb2b841847",
167 "7c722d10b19ccff0b8c171868e747385",
168 "f81dd986eb2b50f750d3a7da716b7e27",
169 "064404361748dd111a890a1470d7f0ea",
170 "dc29b7e1f78cc8e7525d5ea4c0ab9b78",
171 "97111eb1bc26bade6272015df829f1ae",
172 "d19a8a73cc46b807f2c5e817576cc1e1",
173 },
174 {
175 // 16X16
176 "50971c07ce26977d30298538fffec619",
177 "527a6b9e0dc5b21b98cf276305432bef",
178 "7eff2868f80ebc2c43a4f367281d80f7",
179 "67cd60512b54964ef6aff1bd4816d922",
180 "48371c87dc95c08a33b2048f89cf6468",
181 "b0acf2872ee411d7530af6d2625a7084",
182 "93d6b5352b571805ab16a55e1bbed86a",
183 "03764e4c0aebbc180e4e2c68fb06df2b",
184 "bb6c74c9076c9f266ab11fb57060d8e6",
185 "0c5162bc28489756ddb847b5678e6f07",
186 },
187 {
188 // 32X32
189 "a0a618c900e65ae521ccc8af789729f2",
190 "985aaa7c72b4a6c2fb431d32100cf13a",
191 "10662d09febc3ca13ee4e700120daeb5",
192 "b3b01379ba08916ef6b1b35f7d9ad51c",
193 "9f4261755795af97e34679c333ec7004",
194 "bc2c9da91ad97ef0d1610fb0a9041657",
195 "ef1653982b69e1f64bee3759f3e1ec45",
196 "1a51a675deba2c83282142eb48d3dc3d",
197 "866c224746dc260cda861a7b1b383fb3",
198 "cea23799fc3526e1b6a6ff02b42b82af",
199 },
200 {
201 // 64X64
Urvang Joshi2e4ee072018-02-16 16:26:00 -0800202 "6e1094fa7b50bc813aa2ba29f5df8755",
203 "afe020786b83b793c2bbd9468097ff6e",
204 "be91585259bc37bf4dc1651936e90b3e",
205 "a1650dbcd56e10288c3e269eca37967d",
206 "9e5c34f3797e0cdd3cd9d4c05b0d8950",
207 "bc87be7ac899cc6a28f399d7516c49fe",
208 "9811fd0d2dd515f06122f5d1bd18b784",
209 "3c140e466f2c2c0d9cb7d2157ab8dc27",
210 "9543de76c925a8f6adc884cc7f98dc91",
211 "df1df0376cc944afe7e74e94f53e575a",
Urvang Joshia5f25402018-02-16 14:48:05 -0800212 },
213 {
214 // 4X8
215 "d9fbebdc85f71ab1e18461b2db4a2adc",
216 "5ccb2a68284bc9714d94b8a06ccadbb2",
217 "735d059abc2744f3ff3f9590f7191b37",
218 "d9fbebdc85f71ab1e18461b2db4a2adc",
219 "6819497c44cd0ace120add83672996ee",
220 "7e3244f5a2d3edf81c7e962a842b97f9",
221 "809350f164cd4d1650850bb0f59c3260",
222 "1b60a394331eeab6927a6f8aaff57040",
223 "5307de1bd7329ba6b281d2c1b0b457f9",
224 "24c58a8138339846d95568efb91751db",
225 },
226 {
227 // 8X4
228 "23f9fc11344426c9bee2e06d57dfd628",
229 "2d71a26d1bae1fb34734de7b42fc5eb7",
230 "5af9c1b2fd9d5721fad67b67b3f7c816",
231 "00d71b17be662753813d515f197d145e",
232 "bef10ec984427e28f4390f43809d10af",
233 "77773cdfb7ed6bc882ab202a64b0a470",
234 "2cc48bd66d6b0121b5221d52ccd732af",
235 "b302155e1c9eeeafe2ba2bf68e807a46",
236 "561bc8d0e76d5041ebd5168fc6a115e1",
237 "81d0113fb1d0a9a24ffd6f1987b77948",
238 },
239 {
240 // 8X16
241 "c849de88b24f773dfcdd1d48d1209796",
242 "6cb807c1897b94866a0f3d3c56ed8695",
243 "d56db05a8ac7981762f5b877f486c4ef",
244 "b4bc01eb6e59a40922ad17715cafb04b",
245 "09d178439534f4062ae687c351f66d64",
246 "644501399cf73080ac606e5cef7ca09b",
247 "278076495180e17c065a95ab7278539a",
248 "9dd7f324816f242be408ffeb0c673732",
249 "f520c4a20acfa0bea1d253c6f0f040fd",
250 "85f38df809df2c2d7c8b4a157a65cd44",
251 },
252 {
253 // 16X8
254 "b4cbdbdf10ce13300b4063a3daf99e04",
255 "3731e1e6202064a9d0604d7c293ecee4",
256 "6c856188c4256a06452f0d5d70cac436",
257 "1f2192b4c8c497589484ea7bf9c944e8",
258 "84011bd4b7f565119d06787840e333a0",
259 "0e48949f7a6aa36f0d76b5d01f91124a",
260 "60eff8064634b6c73b10681356baeee9",
261 "1559aeb081a9c0c71111d6093c2ff9fd",
262 "c15479b739713773e5cabb748451987b",
263 "72e33ec12c9b67aea26d8d005fb82de2",
264 },
265 {
266 // 16X32
267 "abe5233d189cdbf79424721571bbaa7b",
268 "282759f81e3cfb2e2d396fe406b72a8b",
269 "e2224926c264f6f174cbc3167a233168",
270 "6814e85c2b33f8c9415d62e80394b47b",
271 "99cbbb60459c08a3061d72c4e4f6276a",
272 "1d1567d40b8e816f8c1f71e576fe0f87",
273 "36fdd371b624a075814d497c4832ec85",
274 "8ab8da61b727442b6ff692b40d0df018",
275 "e35a10ad7fdf2327e821504a90f6a6eb",
276 "1f7211e727dc1de7d6a55d082fbdd821",
277 },
278 {
279 // 32X16
280 "d1aeb8d5fdcfd3307922af01a798a4dc",
281 "b0bcb514ebfbee065faea9d34c12ae75",
282 "d6a18c63b4e909871c0137ca652fad23",
283 "fd047f2fc1b8ffb95d0eeef3e8796a45",
284 "645ab60779ea348fd93c81561c31bab9",
285 "4409633c9db8dff41ade4292a3a56e7f",
286 "5e36a11e069b31c2a739f3a9c7b37c24",
287 "e83b9483d702cfae496991c3c7fa92c0",
288 "12f6ddf98c7f30a277307f1ea935b030",
289 "354321d6c32bbdb0739e4fa2acbf41e1",
290 },
Urvang Joshi2e4ee072018-02-16 16:26:00 -0800291 {
292 // 32X64
293 "0ce332b343934b34cd4417725faa85cb",
294 "4e2a2cfd8f56f15939bdfc753145b303",
295 "0f46d124ba9f48cdd5d5290acf786d6d",
296 "e1e8ed803236367821981500a3d9eebe",
297 "1d2f8e48e3adb7c448be05d9f66f4954",
298 "9fb2e176636a5689b26f73ca73fcc512",
299 "e720ebccae7e25e36f23da53ae5b5d6a",
300 "86fe4364734169aaa4520d799890d530",
301 "b1870290764bb1b100d1974e2bd70f1d",
302 "ce5b238e19d85ef69d85badfab4e63ae",
303 },
304 {
305 // 64X32
306 "a6c5aeb722615089efbca80b02951ceb",
307 "538424b24bd0830f21788e7238ca762f",
308 "80c15b303235f9bc2259027bb92dfdc4",
309 "e48e1ac15e97191a8fda08d62fff343e",
310 "12604b37875533665078405ef4582e35",
311 "0048afa17bd3e1632d68b96048836530",
312 "07a0cfcb56a5eed50c4bd6c26814336b",
313 "529d8a070de5bc6531fa3ee8f450c233",
314 "33c50a11c7d78f72434064f634305e95",
315 "e0ef7f0559c1a50ec5a8c12011b962f7",
316 },
317 {
318 // 4X16
319 "750491056568eb8fe15387b86bdf06b8",
320 "3a52dae9f599f08cfb3bd1b910dc0e11",
321 "af79f71e3e03dbeca44e2e13561f70c7",
322 "ca7dfd7624afc0c06fb5552f44398535",
323 "b591af115444bf43140c29c269f68fb2",
324 "483d942ae36e69e62f31eb215331416f",
325 "f14b58525e81870bc5d95c7ac71a347f",
326 "371208bb4027d9badb04095d1590bbc4",
327 "c7049c21b2924d70c7c12784d6b6b796",
328 "7d87233f4b5b0f12086045e5d7b2d4c2",
329 },
330 {
331 // 16X4
332 "7c6e325a65e77e732b3adbe237e045e4",
333 "24478f93ffcec47852e004d0fe948464",
334 "258d042c67d4ba3ecfa667f0adc9aebf",
335 "b2cd21d06959f159a1f3c4d9768ee7fb",
336 "b4e1f38157bf8410e7c3da02f687a343",
337 "869e703729eb0fc0711c254944ff5d5a",
338 "9638dd77105a640b146a8201ea7a0801",
339 "919d932c6af8a1cc7486e8ce996dd487",
340 "e1c9be493b6714c7ae48f30044c43140",
341 "bf0fe3889d654b2f6eb98c8fc751f9e4",
342 },
343 {
344 // 8X32
345 "8dfac4319fe0bd40013ffb3102da8c72",
346 "feb46b6dc4e2ca0a09533bfc51d4dcb0",
347 "850837ec714c37262216527aaf4cbbe9",
348 "4603c7800fb08361f163daca876e8bda",
349 "1ff95e7d2debc27b05806fb25abfd624",
350 "d81b9a51a062b23ca7823804cb7bec22",
351 "f1d8978158766f46335203608cb807e7",
352 "f3527096256258c0878d644a9d7d53ca",
353 "cbde98ac8b009953eb112807ad2ea29e",
354 "654fb1153415747feae599f538122af5",
355 },
356 {
357 // 32X8
358 "3d4ee16fab374357474f60b845327bc7",
359 "bc17c5059473a476df4e85f56395ad55",
360 "3d4ee16fab374357474f60b845327bc7",
361 "c14b8db34dc2355b84e3735c9ba16c7f",
362 "a71d25b5d47a92a8b9223c98f18458ee",
363 "6c1cfe2b1893f4576a80675687cb6426",
364 "92d11bbef8b85bb48d799bb055de3514",
365 "bcf81d1db8ae5cc03360467f44f498ec",
366 "79f8c564163555592e808e145eaf5c60",
367 "46fff139cef2ef773938bcc8b0e5abb8",
368 },
369 {
370 // 16X64
371 "3b2a053ee8b05a8ac35ad23b0422a151",
372 "12b0c69595328c465e0b25e0c9e3e9fc",
373 "f77c544ac8035e01920deae40cee7b07",
374 "727797ef15ccd8d325476fe8f12006a3",
375 "f3be77c0fe67eb5d9d515e92bec21eb7",
376 "f1ece6409e01e9dd98b800d49628247d",
377 "efd2ec9bfbbd4fd1f6604ea369df1894",
378 "ec703de918422b9e03197ba0ed60a199",
379 "739418efb89c07f700895deaa5d0b3e3",
380 "9943ae1bbeeebfe1d3a92dc39e049d63",
381 },
382 {
383 // 64X16
384 "821b76b1494d4f84d20817840f719a1a",
385 "69e462c3338a9aaf993c3f7cfbc15649",
386 "516d8f6eb054d74d150e7b444185b6b9",
387 "de1b736e9d99129609d6ef3a491507a0",
388 "fd9b4276e7affe1e0e4ce4f428058994",
389 "cd82fd361a4767ac29a9f406b480b8f3",
390 "2792c2f810157a4a6cb13c28529ff779",
391 "1220442d90c4255ba0969d28b91e93a6",
392 "c7253e10b45f7f67dfee3256c9b94825",
393 "879792198071c7e0b50b9b5010d8c18f",
394 },
Urvang Joshia5f25402018-02-16 14:48:05 -0800395};
James Zern0d2f3482015-05-11 19:36:59 -0700396
397} // namespace
398
399// Defines a test case for |arch| (e.g., C, SSE2, ...) passing the predictors
Urvang Joshia5f25402018-02-16 14:48:05 -0800400// to TestIntraPred. The test name is 'arch.TestIntraPred_tx_size', e.g.,
401// C.TestIntraPred.0
402#define INTRA_PRED_TEST(arch, tx_size, dc, dc_left, dc_top, dc_128, v, h, \
403 paeth, smooth, smooth_v, smooth_h) \
404 TEST(arch, DISABLED_##TestIntraPred_##tx_size) { \
405 static const AvxPredFunc aom_intra_pred[] = { \
406 dc, dc_left, dc_top, dc_128, v, h, paeth, smooth, smooth_v, smooth_h \
407 }; \
408 TestIntraPred(tx_size, aom_intra_pred, kSignatures[tx_size]); \
James Zern0d2f3482015-05-11 19:36:59 -0700409 }
410
411// -----------------------------------------------------------------------------
Urvang Joshi2e4ee072018-02-16 16:26:00 -0800412// 4x4, 4x8, 4x16
James Zern0d2f3482015-05-11 19:36:59 -0700413
James Zernada19d62022-04-22 15:57:47 -0700414INTRA_PRED_TEST(C, TX_4X4, aom_dc_predictor_4x4_c, aom_dc_left_predictor_4x4_c,
415 aom_dc_top_predictor_4x4_c, aom_dc_128_predictor_4x4_c,
416 aom_v_predictor_4x4_c, aom_h_predictor_4x4_c,
417 aom_paeth_predictor_4x4_c, aom_smooth_predictor_4x4_c,
418 aom_smooth_v_predictor_4x4_c, aom_smooth_h_predictor_4x4_c)
James Zernada19d62022-04-22 15:57:47 -0700419INTRA_PRED_TEST(C, TX_4X8, aom_dc_predictor_4x8_c, aom_dc_left_predictor_4x8_c,
420 aom_dc_top_predictor_4x8_c, aom_dc_128_predictor_4x8_c,
421 aom_v_predictor_4x8_c, aom_h_predictor_4x8_c,
422 aom_paeth_predictor_4x8_c, aom_smooth_predictor_4x8_c,
423 aom_smooth_v_predictor_4x8_c, aom_smooth_h_predictor_4x8_c)
James Zernada19d62022-04-22 15:57:47 -0700424INTRA_PRED_TEST(C, TX_4X16, aom_dc_predictor_4x16_c,
Urvang Joshi2e4ee072018-02-16 16:26:00 -0800425 aom_dc_left_predictor_4x16_c, aom_dc_top_predictor_4x16_c,
426 aom_dc_128_predictor_4x16_c, aom_v_predictor_4x16_c,
427 aom_h_predictor_4x16_c, aom_paeth_predictor_4x16_c,
428 aom_smooth_predictor_4x16_c, aom_smooth_v_predictor_4x16_c,
429 aom_smooth_h_predictor_4x16_c)
430
Johann2967bf32016-06-22 16:08:10 -0700431#if HAVE_SSE2
James Zernada19d62022-04-22 15:57:47 -0700432INTRA_PRED_TEST(SSE2, TX_4X4, aom_dc_predictor_4x4_sse2,
Yaowu Xuf883b422016-08-30 14:01:10 -0700433 aom_dc_left_predictor_4x4_sse2, aom_dc_top_predictor_4x4_sse2,
434 aom_dc_128_predictor_4x4_sse2, aom_v_predictor_4x4_sse2,
James Zern664f04d2022-05-24 17:30:58 -0700435 aom_h_predictor_4x4_sse2, nullptr, nullptr, nullptr, nullptr)
James Zernada19d62022-04-22 15:57:47 -0700436INTRA_PRED_TEST(SSE2, TX_4X8, aom_dc_predictor_4x8_sse2,
Yi Luo39bdf362017-09-20 08:33:08 -0700437 aom_dc_left_predictor_4x8_sse2, aom_dc_top_predictor_4x8_sse2,
Yi Luo0c0fd1e2017-09-22 14:00:05 -0700438 aom_dc_128_predictor_4x8_sse2, aom_v_predictor_4x8_sse2,
James Zern664f04d2022-05-24 17:30:58 -0700439 aom_h_predictor_4x8_sse2, nullptr, nullptr, nullptr, nullptr)
James Zernada19d62022-04-22 15:57:47 -0700440INTRA_PRED_TEST(SSE2, TX_4X16, aom_dc_predictor_4x16_sse2,
Scott LaVarnwayaaed33a2018-03-30 08:04:20 -0700441 aom_dc_left_predictor_4x16_sse2, aom_dc_top_predictor_4x16_sse2,
442 aom_dc_128_predictor_4x16_sse2, aom_v_predictor_4x16_sse2,
James Zern664f04d2022-05-24 17:30:58 -0700443 aom_h_predictor_4x16_sse2, nullptr, nullptr, nullptr, nullptr)
Johann2967bf32016-06-22 16:08:10 -0700444#endif // HAVE_SSE2
Jian Zhou79b68622015-11-13 18:42:48 -0800445
Johann2967bf32016-06-22 16:08:10 -0700446#if HAVE_SSSE3
James Zern664f04d2022-05-24 17:30:58 -0700447INTRA_PRED_TEST(SSSE3, TX_4X4, nullptr, nullptr, nullptr, nullptr, nullptr,
448 nullptr, aom_paeth_predictor_4x4_ssse3,
449 aom_smooth_predictor_4x4_ssse3,
Scott LaVarnwaydeeee7c2018-03-28 07:26:51 -0700450 aom_smooth_v_predictor_4x4_ssse3,
451 aom_smooth_h_predictor_4x4_ssse3)
James Zern664f04d2022-05-24 17:30:58 -0700452INTRA_PRED_TEST(SSSE3, TX_4X8, nullptr, nullptr, nullptr, nullptr, nullptr,
453 nullptr, aom_paeth_predictor_4x8_ssse3,
454 aom_smooth_predictor_4x8_ssse3,
Scott LaVarnwaydeeee7c2018-03-28 07:26:51 -0700455 aom_smooth_v_predictor_4x8_ssse3,
456 aom_smooth_h_predictor_4x8_ssse3)
James Zern664f04d2022-05-24 17:30:58 -0700457INTRA_PRED_TEST(SSSE3, TX_4X16, nullptr, nullptr, nullptr, nullptr, nullptr,
458 nullptr, aom_paeth_predictor_4x16_ssse3,
459 aom_smooth_predictor_4x16_ssse3,
Scott LaVarnwayaaed33a2018-03-30 08:04:20 -0700460 aom_smooth_v_predictor_4x16_ssse3,
Scott LaVarnwaydeeee7c2018-03-28 07:26:51 -0700461 aom_smooth_h_predictor_4x16_ssse3)
Johann2967bf32016-06-22 16:08:10 -0700462#endif // HAVE_SSSE3
James Zern0d2f3482015-05-11 19:36:59 -0700463
James Zern0d2f3482015-05-11 19:36:59 -0700464#if HAVE_NEON
Urvang Joshia5f25402018-02-16 14:48:05 -0800465INTRA_PRED_TEST(NEON, TX_4X4, aom_dc_predictor_4x4_neon,
Yaowu Xuf883b422016-08-30 14:01:10 -0700466 aom_dc_left_predictor_4x4_neon, aom_dc_top_predictor_4x4_neon,
467 aom_dc_128_predictor_4x4_neon, aom_v_predictor_4x4_neon,
James Zern8e05a832022-05-10 18:53:31 -0700468 aom_h_predictor_4x4_neon, aom_paeth_predictor_4x4_neon,
James Zernb5dac892022-05-09 18:52:42 -0700469 aom_smooth_predictor_4x4_neon, aom_smooth_v_predictor_4x4_neon,
James Zern62672782022-05-09 18:52:42 -0700470 aom_smooth_h_predictor_4x4_neon)
George Steed407a4592023-04-11 17:12:16 +0100471INTRA_PRED_TEST(NEON, TX_4X8, aom_dc_predictor_4x8_neon,
472 aom_dc_left_predictor_4x8_neon, aom_dc_top_predictor_4x8_neon,
George Steedc26cf7f2023-04-19 12:11:26 +0100473 aom_dc_128_predictor_4x8_neon, aom_v_predictor_4x8_neon,
George Steed34afdef2023-04-19 15:35:37 +0100474 aom_h_predictor_4x8_neon, aom_paeth_predictor_4x8_neon,
George Steedc26cf7f2023-04-19 12:11:26 +0100475 aom_smooth_predictor_4x8_neon, aom_smooth_v_predictor_4x8_neon,
James Zern62672782022-05-09 18:52:42 -0700476 aom_smooth_h_predictor_4x8_neon)
George Steed407a4592023-04-11 17:12:16 +0100477INTRA_PRED_TEST(NEON, TX_4X16, aom_dc_predictor_4x16_neon,
478 aom_dc_left_predictor_4x16_neon, aom_dc_top_predictor_4x16_neon,
George Steedc26cf7f2023-04-19 12:11:26 +0100479 aom_dc_128_predictor_4x16_neon, aom_v_predictor_4x16_neon,
George Steed34afdef2023-04-19 15:35:37 +0100480 aom_h_predictor_4x16_neon, aom_paeth_predictor_4x16_neon,
George Steedc26cf7f2023-04-19 12:11:26 +0100481 aom_smooth_predictor_4x16_neon,
James Zern62672782022-05-09 18:52:42 -0700482 aom_smooth_v_predictor_4x16_neon,
483 aom_smooth_h_predictor_4x16_neon)
James Zern0d2f3482015-05-11 19:36:59 -0700484#endif // HAVE_NEON
485
486// -----------------------------------------------------------------------------
Urvang Joshi2e4ee072018-02-16 16:26:00 -0800487// 8x8, 8x4, 8x16, 8x32
James Zern0d2f3482015-05-11 19:36:59 -0700488
James Zernada19d62022-04-22 15:57:47 -0700489INTRA_PRED_TEST(C, TX_8X8, aom_dc_predictor_8x8_c, aom_dc_left_predictor_8x8_c,
490 aom_dc_top_predictor_8x8_c, aom_dc_128_predictor_8x8_c,
491 aom_v_predictor_8x8_c, aom_h_predictor_8x8_c,
492 aom_paeth_predictor_8x8_c, aom_smooth_predictor_8x8_c,
493 aom_smooth_v_predictor_8x8_c, aom_smooth_h_predictor_8x8_c)
James Zern0d2f3482015-05-11 19:36:59 -0700494
James Zernada19d62022-04-22 15:57:47 -0700495INTRA_PRED_TEST(C, TX_8X4, aom_dc_predictor_8x4_c, aom_dc_left_predictor_8x4_c,
496 aom_dc_top_predictor_8x4_c, aom_dc_128_predictor_8x4_c,
497 aom_v_predictor_8x4_c, aom_h_predictor_8x4_c,
498 aom_paeth_predictor_8x4_c, aom_smooth_predictor_8x4_c,
499 aom_smooth_v_predictor_8x4_c, aom_smooth_h_predictor_8x4_c)
James Zernada19d62022-04-22 15:57:47 -0700500INTRA_PRED_TEST(C, TX_8X16, aom_dc_predictor_8x16_c,
Yi Luo39bdf362017-09-20 08:33:08 -0700501 aom_dc_left_predictor_8x16_c, aom_dc_top_predictor_8x16_c,
502 aom_dc_128_predictor_8x16_c, aom_v_predictor_8x16_c,
Hui Su59b633c2018-02-21 16:18:58 -0800503 aom_h_predictor_8x16_c, aom_paeth_predictor_8x16_c,
Urvang Joshib7301cd2017-11-09 15:08:56 -0800504 aom_smooth_predictor_8x16_c, aom_smooth_v_predictor_8x16_c,
505 aom_smooth_h_predictor_8x16_c)
James Zernada19d62022-04-22 15:57:47 -0700506INTRA_PRED_TEST(C, TX_8X32, aom_dc_predictor_8x32_c,
Urvang Joshi2e4ee072018-02-16 16:26:00 -0800507 aom_dc_left_predictor_8x32_c, aom_dc_top_predictor_8x32_c,
508 aom_dc_128_predictor_8x32_c, aom_v_predictor_8x32_c,
509 aom_h_predictor_8x32_c, aom_paeth_predictor_8x32_c,
510 aom_smooth_predictor_8x32_c, aom_smooth_v_predictor_8x32_c,
511 aom_smooth_h_predictor_8x32_c)
512
Johann2967bf32016-06-22 16:08:10 -0700513#if HAVE_SSE2
James Zernada19d62022-04-22 15:57:47 -0700514INTRA_PRED_TEST(SSE2, TX_8X8, aom_dc_predictor_8x8_sse2,
Yaowu Xuf883b422016-08-30 14:01:10 -0700515 aom_dc_left_predictor_8x8_sse2, aom_dc_top_predictor_8x8_sse2,
516 aom_dc_128_predictor_8x8_sse2, aom_v_predictor_8x8_sse2,
James Zern664f04d2022-05-24 17:30:58 -0700517 aom_h_predictor_8x8_sse2, nullptr, nullptr, nullptr, nullptr)
James Zernada19d62022-04-22 15:57:47 -0700518INTRA_PRED_TEST(SSE2, TX_8X4, aom_dc_predictor_8x4_sse2,
Yi Luo39bdf362017-09-20 08:33:08 -0700519 aom_dc_left_predictor_8x4_sse2, aom_dc_top_predictor_8x4_sse2,
Yi Luo0c0fd1e2017-09-22 14:00:05 -0700520 aom_dc_128_predictor_8x4_sse2, aom_v_predictor_8x4_sse2,
James Zern664f04d2022-05-24 17:30:58 -0700521 aom_h_predictor_8x4_sse2, nullptr, nullptr, nullptr, nullptr)
James Zernada19d62022-04-22 15:57:47 -0700522INTRA_PRED_TEST(SSE2, TX_8X16, aom_dc_predictor_8x16_sse2,
Yi Luo39bdf362017-09-20 08:33:08 -0700523 aom_dc_left_predictor_8x16_sse2, aom_dc_top_predictor_8x16_sse2,
Yi Luo0c0fd1e2017-09-22 14:00:05 -0700524 aom_dc_128_predictor_8x16_sse2, aom_v_predictor_8x16_sse2,
James Zern664f04d2022-05-24 17:30:58 -0700525 aom_h_predictor_8x16_sse2, nullptr, nullptr, nullptr, nullptr)
James Zernada19d62022-04-22 15:57:47 -0700526INTRA_PRED_TEST(SSE2, TX_8X32, aom_dc_predictor_8x32_sse2,
Scott LaVarnway925d4e52018-04-02 05:12:44 -0700527 aom_dc_left_predictor_8x32_sse2, aom_dc_top_predictor_8x32_sse2,
528 aom_dc_128_predictor_8x32_sse2, aom_v_predictor_8x32_sse2,
James Zern664f04d2022-05-24 17:30:58 -0700529 aom_h_predictor_8x32_sse2, nullptr, nullptr, nullptr, nullptr)
Johann2967bf32016-06-22 16:08:10 -0700530#endif // HAVE_SSE2
James Zern0d2f3482015-05-11 19:36:59 -0700531
Johann2967bf32016-06-22 16:08:10 -0700532#if HAVE_SSSE3
James Zern664f04d2022-05-24 17:30:58 -0700533INTRA_PRED_TEST(SSSE3, TX_8X8, nullptr, nullptr, nullptr, nullptr, nullptr,
534 nullptr, aom_paeth_predictor_8x8_ssse3,
535 aom_smooth_predictor_8x8_ssse3,
Scott LaVarnway5be7c662018-03-28 14:27:45 -0700536 aom_smooth_v_predictor_8x8_ssse3,
537 aom_smooth_h_predictor_8x8_ssse3)
James Zern664f04d2022-05-24 17:30:58 -0700538INTRA_PRED_TEST(SSSE3, TX_8X4, nullptr, nullptr, nullptr, nullptr, nullptr,
539 nullptr, aom_paeth_predictor_8x4_ssse3,
540 aom_smooth_predictor_8x4_ssse3,
Scott LaVarnway5be7c662018-03-28 14:27:45 -0700541 aom_smooth_v_predictor_8x4_ssse3,
542 aom_smooth_h_predictor_8x4_ssse3)
James Zern664f04d2022-05-24 17:30:58 -0700543INTRA_PRED_TEST(SSSE3, TX_8X16, nullptr, nullptr, nullptr, nullptr, nullptr,
544 nullptr, aom_paeth_predictor_8x16_ssse3,
545 aom_smooth_predictor_8x16_ssse3,
Scott LaVarnway5be7c662018-03-28 14:27:45 -0700546 aom_smooth_v_predictor_8x16_ssse3,
547 aom_smooth_h_predictor_8x16_ssse3)
James Zern664f04d2022-05-24 17:30:58 -0700548INTRA_PRED_TEST(SSSE3, TX_8X32, nullptr, nullptr, nullptr, nullptr, nullptr,
549 nullptr, aom_paeth_predictor_8x32_ssse3,
550 aom_smooth_predictor_8x32_ssse3,
Scott LaVarnway925d4e52018-04-02 05:12:44 -0700551 aom_smooth_v_predictor_8x32_ssse3,
Scott LaVarnway5be7c662018-03-28 14:27:45 -0700552 aom_smooth_h_predictor_8x32_ssse3)
Johann2967bf32016-06-22 16:08:10 -0700553#endif // HAVE_SSSE3
James Zern0d2f3482015-05-11 19:36:59 -0700554
James Zern0d2f3482015-05-11 19:36:59 -0700555#if HAVE_NEON
Urvang Joshia5f25402018-02-16 14:48:05 -0800556INTRA_PRED_TEST(NEON, TX_8X8, aom_dc_predictor_8x8_neon,
Yaowu Xuf883b422016-08-30 14:01:10 -0700557 aom_dc_left_predictor_8x8_neon, aom_dc_top_predictor_8x8_neon,
558 aom_dc_128_predictor_8x8_neon, aom_v_predictor_8x8_neon,
James Zern8e05a832022-05-10 18:53:31 -0700559 aom_h_predictor_8x8_neon, aom_paeth_predictor_8x8_neon,
James Zernb5dac892022-05-09 18:52:42 -0700560 aom_smooth_predictor_8x8_neon, aom_smooth_v_predictor_8x8_neon,
James Zern62672782022-05-09 18:52:42 -0700561 aom_smooth_h_predictor_8x8_neon)
George Steed407a4592023-04-11 17:12:16 +0100562INTRA_PRED_TEST(NEON, TX_8X4, aom_dc_predictor_8x4_neon,
563 aom_dc_left_predictor_8x4_neon, aom_dc_top_predictor_8x4_neon,
George Steedc26cf7f2023-04-19 12:11:26 +0100564 aom_dc_128_predictor_8x4_neon, aom_v_predictor_8x4_neon,
George Steed34afdef2023-04-19 15:35:37 +0100565 aom_h_predictor_8x4_neon, aom_paeth_predictor_8x4_neon,
George Steedc26cf7f2023-04-19 12:11:26 +0100566 aom_smooth_predictor_8x4_neon, aom_smooth_v_predictor_8x4_neon,
James Zern62672782022-05-09 18:52:42 -0700567 aom_smooth_h_predictor_8x4_neon)
George Steed407a4592023-04-11 17:12:16 +0100568INTRA_PRED_TEST(NEON, TX_8X16, aom_dc_predictor_8x16_neon,
569 aom_dc_left_predictor_8x16_neon, aom_dc_top_predictor_8x16_neon,
George Steedc26cf7f2023-04-19 12:11:26 +0100570 aom_dc_128_predictor_8x16_neon, aom_v_predictor_8x16_neon,
George Steed34afdef2023-04-19 15:35:37 +0100571 aom_h_predictor_8x16_neon, aom_paeth_predictor_8x16_neon,
George Steedc26cf7f2023-04-19 12:11:26 +0100572 aom_smooth_predictor_8x16_neon,
James Zern62672782022-05-09 18:52:42 -0700573 aom_smooth_v_predictor_8x16_neon,
574 aom_smooth_h_predictor_8x16_neon)
George Steed407a4592023-04-11 17:12:16 +0100575INTRA_PRED_TEST(NEON, TX_8X32, aom_dc_predictor_8x32_neon,
576 aom_dc_left_predictor_8x32_neon, aom_dc_top_predictor_8x32_neon,
George Steedc26cf7f2023-04-19 12:11:26 +0100577 aom_dc_128_predictor_8x32_neon, aom_v_predictor_8x32_neon,
George Steed34afdef2023-04-19 15:35:37 +0100578 aom_h_predictor_8x32_neon, aom_paeth_predictor_8x32_neon,
George Steedc26cf7f2023-04-19 12:11:26 +0100579 aom_smooth_predictor_8x32_neon,
James Zern62672782022-05-09 18:52:42 -0700580 aom_smooth_v_predictor_8x32_neon,
581 aom_smooth_h_predictor_8x32_neon)
James Zern0d2f3482015-05-11 19:36:59 -0700582#endif // HAVE_NEON
583
584// -----------------------------------------------------------------------------
Urvang Joshi2e4ee072018-02-16 16:26:00 -0800585// 16x16, 16x8, 16x32, 16x4, 16x64
James Zern0d2f3482015-05-11 19:36:59 -0700586
James Zernada19d62022-04-22 15:57:47 -0700587INTRA_PRED_TEST(C, TX_16X16, aom_dc_predictor_16x16_c,
Yaowu Xuf883b422016-08-30 14:01:10 -0700588 aom_dc_left_predictor_16x16_c, aom_dc_top_predictor_16x16_c,
589 aom_dc_128_predictor_16x16_c, aom_v_predictor_16x16_c,
Hui Su59b633c2018-02-21 16:18:58 -0800590 aom_h_predictor_16x16_c, aom_paeth_predictor_16x16_c,
Urvang Joshib7301cd2017-11-09 15:08:56 -0800591 aom_smooth_predictor_16x16_c, aom_smooth_v_predictor_16x16_c,
592 aom_smooth_h_predictor_16x16_c)
James Zernada19d62022-04-22 15:57:47 -0700593INTRA_PRED_TEST(C, TX_16X8, aom_dc_predictor_16x8_c,
Yi Luo39bdf362017-09-20 08:33:08 -0700594 aom_dc_left_predictor_16x8_c, aom_dc_top_predictor_16x8_c,
595 aom_dc_128_predictor_16x8_c, aom_v_predictor_16x8_c,
Hui Su59b633c2018-02-21 16:18:58 -0800596 aom_h_predictor_16x8_c, aom_paeth_predictor_16x8_c,
Urvang Joshib7301cd2017-11-09 15:08:56 -0800597 aom_smooth_predictor_16x8_c, aom_smooth_v_predictor_16x8_c,
598 aom_smooth_h_predictor_16x8_c)
James Zernada19d62022-04-22 15:57:47 -0700599INTRA_PRED_TEST(C, TX_16X32, aom_dc_predictor_16x32_c,
Yi Luo39bdf362017-09-20 08:33:08 -0700600 aom_dc_left_predictor_16x32_c, aom_dc_top_predictor_16x32_c,
601 aom_dc_128_predictor_16x32_c, aom_v_predictor_16x32_c,
Hui Su59b633c2018-02-21 16:18:58 -0800602 aom_h_predictor_16x32_c, aom_paeth_predictor_16x32_c,
Urvang Joshib7301cd2017-11-09 15:08:56 -0800603 aom_smooth_predictor_16x32_c, aom_smooth_v_predictor_16x32_c,
604 aom_smooth_h_predictor_16x32_c)
James Zernada19d62022-04-22 15:57:47 -0700605INTRA_PRED_TEST(C, TX_16X4, aom_dc_predictor_16x4_c,
Urvang Joshi2e4ee072018-02-16 16:26:00 -0800606 aom_dc_left_predictor_16x4_c, aom_dc_top_predictor_16x4_c,
607 aom_dc_128_predictor_16x4_c, aom_v_predictor_16x4_c,
608 aom_h_predictor_16x4_c, aom_paeth_predictor_16x4_c,
609 aom_smooth_predictor_16x4_c, aom_smooth_v_predictor_16x4_c,
610 aom_smooth_h_predictor_16x4_c)
James Zernada19d62022-04-22 15:57:47 -0700611INTRA_PRED_TEST(C, TX_16X64, aom_dc_predictor_16x64_c,
Urvang Joshi2e4ee072018-02-16 16:26:00 -0800612 aom_dc_left_predictor_16x64_c, aom_dc_top_predictor_16x64_c,
613 aom_dc_128_predictor_16x64_c, aom_v_predictor_16x64_c,
614 aom_h_predictor_16x64_c, aom_paeth_predictor_16x64_c,
615 aom_smooth_predictor_16x64_c, aom_smooth_v_predictor_16x64_c,
616 aom_smooth_h_predictor_16x64_c)
617
Johann2967bf32016-06-22 16:08:10 -0700618#if HAVE_SSE2
James Zernada19d62022-04-22 15:57:47 -0700619INTRA_PRED_TEST(SSE2, TX_16X16, aom_dc_predictor_16x16_sse2,
Urvang Joshia5f25402018-02-16 14:48:05 -0800620 aom_dc_left_predictor_16x16_sse2,
Yaowu Xuf883b422016-08-30 14:01:10 -0700621 aom_dc_top_predictor_16x16_sse2,
622 aom_dc_128_predictor_16x16_sse2, aom_v_predictor_16x16_sse2,
James Zern664f04d2022-05-24 17:30:58 -0700623 aom_h_predictor_16x16_sse2, nullptr, nullptr, nullptr, nullptr)
James Zernada19d62022-04-22 15:57:47 -0700624INTRA_PRED_TEST(SSE2, TX_16X8, aom_dc_predictor_16x8_sse2,
Urvang Joshia5f25402018-02-16 14:48:05 -0800625 aom_dc_left_predictor_16x8_sse2, aom_dc_top_predictor_16x8_sse2,
626 aom_dc_128_predictor_16x8_sse2, aom_v_predictor_16x8_sse2,
James Zern664f04d2022-05-24 17:30:58 -0700627 aom_h_predictor_16x8_sse2, nullptr, nullptr, nullptr, nullptr)
James Zernada19d62022-04-22 15:57:47 -0700628INTRA_PRED_TEST(SSE2, TX_16X32, aom_dc_predictor_16x32_sse2,
Urvang Joshia5f25402018-02-16 14:48:05 -0800629 aom_dc_left_predictor_16x32_sse2,
Yi Luo39bdf362017-09-20 08:33:08 -0700630 aom_dc_top_predictor_16x32_sse2,
Yi Luo0c0fd1e2017-09-22 14:00:05 -0700631 aom_dc_128_predictor_16x32_sse2, aom_v_predictor_16x32_sse2,
James Zern664f04d2022-05-24 17:30:58 -0700632 aom_h_predictor_16x32_sse2, nullptr, nullptr, nullptr, nullptr)
James Zernada19d62022-04-22 15:57:47 -0700633INTRA_PRED_TEST(SSE2, TX_16X64, aom_dc_predictor_16x64_sse2,
Scott LaVarnwaya2f7a632018-03-14 13:51:22 -0700634 aom_dc_left_predictor_16x64_sse2,
635 aom_dc_top_predictor_16x64_sse2,
636 aom_dc_128_predictor_16x64_sse2, aom_v_predictor_16x64_sse2,
James Zern664f04d2022-05-24 17:30:58 -0700637 aom_h_predictor_16x64_sse2, nullptr, nullptr, nullptr, nullptr)
James Zernada19d62022-04-22 15:57:47 -0700638INTRA_PRED_TEST(SSE2, TX_16X4, aom_dc_predictor_16x4_sse2,
Scott LaVarnway00f8a932018-04-02 08:02:40 -0700639 aom_dc_left_predictor_16x4_sse2, aom_dc_top_predictor_16x4_sse2,
640 aom_dc_128_predictor_16x4_sse2, aom_v_predictor_16x4_sse2,
James Zern664f04d2022-05-24 17:30:58 -0700641 aom_h_predictor_16x4_sse2, nullptr, nullptr, nullptr, nullptr)
Johann2967bf32016-06-22 16:08:10 -0700642#endif // HAVE_SSE2
James Zern0d2f3482015-05-11 19:36:59 -0700643
Johann2967bf32016-06-22 16:08:10 -0700644#if HAVE_SSSE3
James Zern664f04d2022-05-24 17:30:58 -0700645INTRA_PRED_TEST(SSSE3, TX_16X16, nullptr, nullptr, nullptr, nullptr, nullptr,
646 nullptr, aom_paeth_predictor_16x16_ssse3,
Scott LaVarnwaye25a4ba2018-03-21 13:20:31 -0700647 aom_smooth_predictor_16x16_ssse3,
Scott LaVarnway6d9d52d2018-03-30 07:01:16 -0700648 aom_smooth_v_predictor_16x16_ssse3,
649 aom_smooth_h_predictor_16x16_ssse3)
James Zern664f04d2022-05-24 17:30:58 -0700650INTRA_PRED_TEST(SSSE3, TX_16X8, nullptr, nullptr, nullptr, nullptr, nullptr,
651 nullptr, aom_paeth_predictor_16x8_ssse3,
652 aom_smooth_predictor_16x8_ssse3,
Scott LaVarnway6d9d52d2018-03-30 07:01:16 -0700653 aom_smooth_v_predictor_16x8_ssse3,
654 aom_smooth_h_predictor_16x8_ssse3)
James Zern664f04d2022-05-24 17:30:58 -0700655INTRA_PRED_TEST(SSSE3, TX_16X32, nullptr, nullptr, nullptr, nullptr, nullptr,
656 nullptr, aom_paeth_predictor_16x32_ssse3,
Scott LaVarnwaye25a4ba2018-03-21 13:20:31 -0700657 aom_smooth_predictor_16x32_ssse3,
Scott LaVarnway6d9d52d2018-03-30 07:01:16 -0700658 aom_smooth_v_predictor_16x32_ssse3,
659 aom_smooth_h_predictor_16x32_ssse3)
James Zern664f04d2022-05-24 17:30:58 -0700660INTRA_PRED_TEST(SSSE3, TX_16X64, nullptr, nullptr, nullptr, nullptr, nullptr,
661 nullptr, aom_paeth_predictor_16x64_ssse3,
Scott LaVarnwaye25a4ba2018-03-21 13:20:31 -0700662 aom_smooth_predictor_16x64_ssse3,
Scott LaVarnway6d9d52d2018-03-30 07:01:16 -0700663 aom_smooth_v_predictor_16x64_ssse3,
664 aom_smooth_h_predictor_16x64_ssse3)
James Zern664f04d2022-05-24 17:30:58 -0700665INTRA_PRED_TEST(SSSE3, TX_16X4, nullptr, nullptr, nullptr, nullptr, nullptr,
666 nullptr, aom_paeth_predictor_16x4_ssse3,
667 aom_smooth_predictor_16x4_ssse3,
Scott LaVarnway00f8a932018-04-02 08:02:40 -0700668 aom_smooth_v_predictor_16x4_ssse3,
Scott LaVarnway6d9d52d2018-03-30 07:01:16 -0700669 aom_smooth_h_predictor_16x4_ssse3)
Johann2967bf32016-06-22 16:08:10 -0700670#endif // HAVE_SSSE3
James Zern0d2f3482015-05-11 19:36:59 -0700671
Yi Luo237cf1b2017-09-27 15:54:08 -0700672#if HAVE_AVX2
James Zern664f04d2022-05-24 17:30:58 -0700673INTRA_PRED_TEST(AVX2, TX_16X16, nullptr, nullptr, nullptr, nullptr, nullptr,
674 nullptr, aom_paeth_predictor_16x16_avx2, nullptr, nullptr,
675 nullptr)
676INTRA_PRED_TEST(AVX2, TX_16X8, nullptr, nullptr, nullptr, nullptr, nullptr,
677 nullptr, aom_paeth_predictor_16x8_avx2, nullptr, nullptr,
678 nullptr)
679INTRA_PRED_TEST(AVX2, TX_16X32, nullptr, nullptr, nullptr, nullptr, nullptr,
680 nullptr, aom_paeth_predictor_16x32_avx2, nullptr, nullptr,
681 nullptr)
682INTRA_PRED_TEST(AVX2, TX_16X64, nullptr, nullptr, nullptr, nullptr, nullptr,
683 nullptr, aom_paeth_predictor_16x64_avx2, nullptr, nullptr,
684 nullptr)
Yi Luo237cf1b2017-09-27 15:54:08 -0700685#endif // HAVE_AVX2
686
James Zern0d2f3482015-05-11 19:36:59 -0700687#if HAVE_NEON
Urvang Joshia5f25402018-02-16 14:48:05 -0800688INTRA_PRED_TEST(NEON, TX_16X16, aom_dc_predictor_16x16_neon,
689 aom_dc_left_predictor_16x16_neon,
Yaowu Xuf883b422016-08-30 14:01:10 -0700690 aom_dc_top_predictor_16x16_neon,
691 aom_dc_128_predictor_16x16_neon, aom_v_predictor_16x16_neon,
James Zern8e05a832022-05-10 18:53:31 -0700692 aom_h_predictor_16x16_neon, aom_paeth_predictor_16x16_neon,
James Zernb5dac892022-05-09 18:52:42 -0700693 aom_smooth_predictor_16x16_neon,
James Zern62672782022-05-09 18:52:42 -0700694 aom_smooth_v_predictor_16x16_neon,
695 aom_smooth_h_predictor_16x16_neon)
George Steed407a4592023-04-11 17:12:16 +0100696INTRA_PRED_TEST(NEON, TX_16X8, aom_dc_predictor_16x8_neon,
697 aom_dc_left_predictor_16x8_neon, aom_dc_top_predictor_16x8_neon,
George Steedc26cf7f2023-04-19 12:11:26 +0100698 aom_dc_128_predictor_16x8_neon, aom_v_predictor_16x8_neon,
George Steed34afdef2023-04-19 15:35:37 +0100699 aom_h_predictor_16x8_neon, aom_paeth_predictor_16x8_neon,
George Steedc26cf7f2023-04-19 12:11:26 +0100700 aom_smooth_predictor_16x8_neon,
James Zern62672782022-05-09 18:52:42 -0700701 aom_smooth_v_predictor_16x8_neon,
702 aom_smooth_h_predictor_16x8_neon)
George Steed407a4592023-04-11 17:12:16 +0100703INTRA_PRED_TEST(NEON, TX_16X32, aom_dc_predictor_16x32_neon,
704 aom_dc_left_predictor_16x32_neon,
705 aom_dc_top_predictor_16x32_neon,
George Steedc26cf7f2023-04-19 12:11:26 +0100706 aom_dc_128_predictor_16x32_neon, aom_v_predictor_16x32_neon,
George Steed34afdef2023-04-19 15:35:37 +0100707 aom_h_predictor_16x32_neon, aom_paeth_predictor_16x32_neon,
George Steedc26cf7f2023-04-19 12:11:26 +0100708 aom_smooth_predictor_16x32_neon,
James Zern62672782022-05-09 18:52:42 -0700709 aom_smooth_v_predictor_16x32_neon,
710 aom_smooth_h_predictor_16x32_neon)
George Steed407a4592023-04-11 17:12:16 +0100711INTRA_PRED_TEST(NEON, TX_16X4, aom_dc_predictor_16x4_neon,
712 aom_dc_left_predictor_16x4_neon, aom_dc_top_predictor_16x4_neon,
George Steedc26cf7f2023-04-19 12:11:26 +0100713 aom_dc_128_predictor_16x4_neon, aom_v_predictor_16x4_neon,
George Steed34afdef2023-04-19 15:35:37 +0100714 aom_h_predictor_16x4_neon, aom_paeth_predictor_16x4_neon,
George Steedc26cf7f2023-04-19 12:11:26 +0100715 aom_smooth_predictor_16x4_neon,
James Zern62672782022-05-09 18:52:42 -0700716 aom_smooth_v_predictor_16x4_neon,
717 aom_smooth_h_predictor_16x4_neon)
George Steed407a4592023-04-11 17:12:16 +0100718INTRA_PRED_TEST(NEON, TX_16X64, aom_dc_predictor_16x64_neon,
719 aom_dc_left_predictor_16x64_neon,
720 aom_dc_top_predictor_16x64_neon,
George Steedc26cf7f2023-04-19 12:11:26 +0100721 aom_dc_128_predictor_16x64_neon, aom_v_predictor_16x64_neon,
George Steed34afdef2023-04-19 15:35:37 +0100722 aom_h_predictor_16x64_neon, aom_paeth_predictor_16x64_neon,
George Steedc26cf7f2023-04-19 12:11:26 +0100723 aom_smooth_predictor_16x64_neon,
James Zern62672782022-05-09 18:52:42 -0700724 aom_smooth_v_predictor_16x64_neon,
725 aom_smooth_h_predictor_16x64_neon)
James Zern0d2f3482015-05-11 19:36:59 -0700726#endif // HAVE_NEON
727
728// -----------------------------------------------------------------------------
Urvang Joshi2e4ee072018-02-16 16:26:00 -0800729// 32x32, 32x16, 32x64, 32x8
James Zern0d2f3482015-05-11 19:36:59 -0700730
James Zernada19d62022-04-22 15:57:47 -0700731INTRA_PRED_TEST(C, TX_32X32, aom_dc_predictor_32x32_c,
Yaowu Xuf883b422016-08-30 14:01:10 -0700732 aom_dc_left_predictor_32x32_c, aom_dc_top_predictor_32x32_c,
733 aom_dc_128_predictor_32x32_c, aom_v_predictor_32x32_c,
Hui Su59b633c2018-02-21 16:18:58 -0800734 aom_h_predictor_32x32_c, aom_paeth_predictor_32x32_c,
Urvang Joshib7301cd2017-11-09 15:08:56 -0800735 aom_smooth_predictor_32x32_c, aom_smooth_v_predictor_32x32_c,
736 aom_smooth_h_predictor_32x32_c)
James Zernada19d62022-04-22 15:57:47 -0700737INTRA_PRED_TEST(C, TX_32X16, aom_dc_predictor_32x16_c,
Yi Luo39bdf362017-09-20 08:33:08 -0700738 aom_dc_left_predictor_32x16_c, aom_dc_top_predictor_32x16_c,
739 aom_dc_128_predictor_32x16_c, aom_v_predictor_32x16_c,
Hui Su59b633c2018-02-21 16:18:58 -0800740 aom_h_predictor_32x16_c, aom_paeth_predictor_32x16_c,
Urvang Joshib7301cd2017-11-09 15:08:56 -0800741 aom_smooth_predictor_32x16_c, aom_smooth_v_predictor_32x16_c,
742 aom_smooth_h_predictor_32x16_c)
James Zernada19d62022-04-22 15:57:47 -0700743INTRA_PRED_TEST(C, TX_32X64, aom_dc_predictor_32x64_c,
Urvang Joshi2e4ee072018-02-16 16:26:00 -0800744 aom_dc_left_predictor_32x64_c, aom_dc_top_predictor_32x64_c,
745 aom_dc_128_predictor_32x64_c, aom_v_predictor_32x64_c,
746 aom_h_predictor_32x64_c, aom_paeth_predictor_32x64_c,
747 aom_smooth_predictor_32x64_c, aom_smooth_v_predictor_32x64_c,
748 aom_smooth_h_predictor_32x64_c)
James Zernada19d62022-04-22 15:57:47 -0700749INTRA_PRED_TEST(C, TX_32X8, aom_dc_predictor_32x8_c,
Urvang Joshi2e4ee072018-02-16 16:26:00 -0800750 aom_dc_left_predictor_32x8_c, aom_dc_top_predictor_32x8_c,
751 aom_dc_128_predictor_32x8_c, aom_v_predictor_32x8_c,
752 aom_h_predictor_32x8_c, aom_paeth_predictor_32x8_c,
753 aom_smooth_predictor_32x8_c, aom_smooth_v_predictor_32x8_c,
754 aom_smooth_h_predictor_32x8_c)
755
Johann2967bf32016-06-22 16:08:10 -0700756#if HAVE_SSE2
James Zernada19d62022-04-22 15:57:47 -0700757INTRA_PRED_TEST(SSE2, TX_32X32, aom_dc_predictor_32x32_sse2,
Urvang Joshia5f25402018-02-16 14:48:05 -0800758 aom_dc_left_predictor_32x32_sse2,
Yaowu Xuf883b422016-08-30 14:01:10 -0700759 aom_dc_top_predictor_32x32_sse2,
760 aom_dc_128_predictor_32x32_sse2, aom_v_predictor_32x32_sse2,
James Zern664f04d2022-05-24 17:30:58 -0700761 aom_h_predictor_32x32_sse2, nullptr, nullptr, nullptr, nullptr)
James Zernada19d62022-04-22 15:57:47 -0700762INTRA_PRED_TEST(SSE2, TX_32X16, aom_dc_predictor_32x16_sse2,
Urvang Joshia5f25402018-02-16 14:48:05 -0800763 aom_dc_left_predictor_32x16_sse2,
Yi Luo39bdf362017-09-20 08:33:08 -0700764 aom_dc_top_predictor_32x16_sse2,
Yi Luo0c0fd1e2017-09-22 14:00:05 -0700765 aom_dc_128_predictor_32x16_sse2, aom_v_predictor_32x16_sse2,
James Zern664f04d2022-05-24 17:30:58 -0700766 aom_h_predictor_32x16_sse2, nullptr, nullptr, nullptr, nullptr)
James Zernada19d62022-04-22 15:57:47 -0700767INTRA_PRED_TEST(SSE2, TX_32X64, aom_dc_predictor_32x64_sse2,
Scott LaVarnway892a5432018-03-02 09:37:07 -0800768 aom_dc_left_predictor_32x64_sse2,
Scott LaVarnwayefef81c2018-03-01 15:36:13 -0800769 aom_dc_top_predictor_32x64_sse2,
Scott LaVarnwayfcc8f342018-03-05 06:04:19 -0800770 aom_dc_128_predictor_32x64_sse2, aom_v_predictor_32x64_sse2,
James Zern664f04d2022-05-24 17:30:58 -0700771 aom_h_predictor_32x64_sse2, nullptr, nullptr, nullptr, nullptr)
James Zernada19d62022-04-22 15:57:47 -0700772INTRA_PRED_TEST(SSE2, TX_32X8, aom_dc_predictor_32x8_sse2,
Scott LaVarnway76003142018-04-03 07:17:32 -0700773 aom_dc_left_predictor_32x8_sse2, aom_dc_top_predictor_32x8_sse2,
774 aom_dc_128_predictor_32x8_sse2, aom_v_predictor_32x8_sse2,
James Zern664f04d2022-05-24 17:30:58 -0700775 aom_h_predictor_32x8_sse2, nullptr, nullptr, nullptr, nullptr)
Johann2967bf32016-06-22 16:08:10 -0700776#endif // HAVE_SSE2
James Zern0d2f3482015-05-11 19:36:59 -0700777
Johann2967bf32016-06-22 16:08:10 -0700778#if HAVE_SSSE3
James Zern664f04d2022-05-24 17:30:58 -0700779INTRA_PRED_TEST(SSSE3, TX_32X32, nullptr, nullptr, nullptr, nullptr, nullptr,
780 nullptr, aom_paeth_predictor_32x32_ssse3,
Scott LaVarnwaye25a4ba2018-03-21 13:20:31 -0700781 aom_smooth_predictor_32x32_ssse3,
Scott LaVarnway6d9d52d2018-03-30 07:01:16 -0700782 aom_smooth_v_predictor_32x32_ssse3,
783 aom_smooth_h_predictor_32x32_ssse3)
James Zern664f04d2022-05-24 17:30:58 -0700784INTRA_PRED_TEST(SSSE3, TX_32X16, nullptr, nullptr, nullptr, nullptr, nullptr,
785 nullptr, aom_paeth_predictor_32x16_ssse3,
Scott LaVarnwaye25a4ba2018-03-21 13:20:31 -0700786 aom_smooth_predictor_32x16_ssse3,
Scott LaVarnway6d9d52d2018-03-30 07:01:16 -0700787 aom_smooth_v_predictor_32x16_ssse3,
788 aom_smooth_h_predictor_32x16_ssse3)
James Zern664f04d2022-05-24 17:30:58 -0700789INTRA_PRED_TEST(SSSE3, TX_32X64, nullptr, nullptr, nullptr, nullptr, nullptr,
790 nullptr, aom_paeth_predictor_32x64_ssse3,
Scott LaVarnwaye25a4ba2018-03-21 13:20:31 -0700791 aom_smooth_predictor_32x64_ssse3,
Scott LaVarnway6d9d52d2018-03-30 07:01:16 -0700792 aom_smooth_v_predictor_32x64_ssse3,
793 aom_smooth_h_predictor_32x64_ssse3)
James Zern664f04d2022-05-24 17:30:58 -0700794INTRA_PRED_TEST(SSSE3, TX_32X8, nullptr, nullptr, nullptr, nullptr, nullptr,
795 nullptr, aom_paeth_predictor_32x8_ssse3,
796 aom_smooth_predictor_32x8_ssse3,
Scott LaVarnway76003142018-04-03 07:17:32 -0700797 aom_smooth_v_predictor_32x8_ssse3,
Scott LaVarnway6d9d52d2018-03-30 07:01:16 -0700798 aom_smooth_h_predictor_32x8_ssse3)
Johann2967bf32016-06-22 16:08:10 -0700799#endif // HAVE_SSSE3
James Zern0d2f3482015-05-11 19:36:59 -0700800
Yi Luo23c61902017-09-22 16:59:14 -0700801#if HAVE_AVX2
James Zernada19d62022-04-22 15:57:47 -0700802INTRA_PRED_TEST(AVX2, TX_32X32, aom_dc_predictor_32x32_avx2,
Urvang Joshia5f25402018-02-16 14:48:05 -0800803 aom_dc_left_predictor_32x32_avx2,
Yi Luo23c61902017-09-22 16:59:14 -0700804 aom_dc_top_predictor_32x32_avx2,
805 aom_dc_128_predictor_32x32_avx2, aom_v_predictor_32x32_avx2,
Hui Su59b633c2018-02-21 16:18:58 -0800806 aom_h_predictor_32x32_avx2, aom_paeth_predictor_32x32_avx2,
James Zern664f04d2022-05-24 17:30:58 -0700807 nullptr, nullptr, nullptr)
James Zernada19d62022-04-22 15:57:47 -0700808INTRA_PRED_TEST(AVX2, TX_32X16, aom_dc_predictor_32x16_avx2,
Urvang Joshia5f25402018-02-16 14:48:05 -0800809 aom_dc_left_predictor_32x16_avx2,
Yi Luo23c61902017-09-22 16:59:14 -0700810 aom_dc_top_predictor_32x16_avx2,
811 aom_dc_128_predictor_32x16_avx2, aom_v_predictor_32x16_avx2,
James Zern664f04d2022-05-24 17:30:58 -0700812 nullptr, aom_paeth_predictor_32x16_avx2, nullptr, nullptr,
813 nullptr)
James Zernada19d62022-04-22 15:57:47 -0700814INTRA_PRED_TEST(AVX2, TX_32X64, aom_dc_predictor_32x64_avx2,
Scott LaVarnway892a5432018-03-02 09:37:07 -0800815 aom_dc_left_predictor_32x64_avx2,
Scott LaVarnwayefef81c2018-03-01 15:36:13 -0800816 aom_dc_top_predictor_32x64_avx2,
Scott LaVarnwayfcc8f342018-03-05 06:04:19 -0800817 aom_dc_128_predictor_32x64_avx2, aom_v_predictor_32x64_avx2,
James Zern664f04d2022-05-24 17:30:58 -0700818 nullptr, aom_paeth_predictor_32x64_avx2, nullptr, nullptr,
819 nullptr)
Yi Luo23c61902017-09-22 16:59:14 -0700820#endif // HAVE_AVX2
821
James Zern0d2f3482015-05-11 19:36:59 -0700822#if HAVE_NEON
Urvang Joshia5f25402018-02-16 14:48:05 -0800823INTRA_PRED_TEST(NEON, TX_32X32, aom_dc_predictor_32x32_neon,
824 aom_dc_left_predictor_32x32_neon,
Yaowu Xuf883b422016-08-30 14:01:10 -0700825 aom_dc_top_predictor_32x32_neon,
826 aom_dc_128_predictor_32x32_neon, aom_v_predictor_32x32_neon,
James Zern8e05a832022-05-10 18:53:31 -0700827 aom_h_predictor_32x32_neon, aom_paeth_predictor_32x32_neon,
James Zernb5dac892022-05-09 18:52:42 -0700828 aom_smooth_predictor_32x32_neon,
James Zern62672782022-05-09 18:52:42 -0700829 aom_smooth_v_predictor_32x32_neon,
830 aom_smooth_h_predictor_32x32_neon)
George Steed407a4592023-04-11 17:12:16 +0100831INTRA_PRED_TEST(NEON, TX_32X16, aom_dc_predictor_32x16_neon,
832 aom_dc_left_predictor_32x16_neon,
833 aom_dc_top_predictor_32x16_neon,
George Steedc26cf7f2023-04-19 12:11:26 +0100834 aom_dc_128_predictor_32x16_neon, aom_v_predictor_32x16_neon,
George Steed34afdef2023-04-19 15:35:37 +0100835 aom_h_predictor_32x16_neon, aom_paeth_predictor_32x16_neon,
George Steedc26cf7f2023-04-19 12:11:26 +0100836 aom_smooth_predictor_32x16_neon,
James Zern62672782022-05-09 18:52:42 -0700837 aom_smooth_v_predictor_32x16_neon,
838 aom_smooth_h_predictor_32x16_neon)
George Steed407a4592023-04-11 17:12:16 +0100839INTRA_PRED_TEST(NEON, TX_32X64, aom_dc_predictor_32x64_neon,
840 aom_dc_left_predictor_32x64_neon,
841 aom_dc_top_predictor_32x64_neon,
George Steedc26cf7f2023-04-19 12:11:26 +0100842 aom_dc_128_predictor_32x64_neon, aom_v_predictor_32x64_neon,
George Steed34afdef2023-04-19 15:35:37 +0100843 aom_h_predictor_32x64_neon, aom_paeth_predictor_32x64_neon,
George Steedc26cf7f2023-04-19 12:11:26 +0100844 aom_smooth_predictor_32x64_neon,
James Zern62672782022-05-09 18:52:42 -0700845 aom_smooth_v_predictor_32x64_neon,
846 aom_smooth_h_predictor_32x64_neon)
George Steed407a4592023-04-11 17:12:16 +0100847INTRA_PRED_TEST(NEON, TX_32X8, aom_dc_predictor_32x8_neon,
848 aom_dc_left_predictor_32x8_neon, aom_dc_top_predictor_32x8_neon,
George Steedc26cf7f2023-04-19 12:11:26 +0100849 aom_dc_128_predictor_32x8_neon, aom_v_predictor_32x8_neon,
George Steed34afdef2023-04-19 15:35:37 +0100850 aom_h_predictor_32x8_neon, aom_paeth_predictor_32x8_neon,
George Steedc26cf7f2023-04-19 12:11:26 +0100851 aom_smooth_predictor_32x8_neon,
James Zern62672782022-05-09 18:52:42 -0700852 aom_smooth_v_predictor_32x8_neon,
853 aom_smooth_h_predictor_32x8_neon)
James Zern0d2f3482015-05-11 19:36:59 -0700854#endif // HAVE_NEON
855
Yi Luof5d71a62017-09-14 11:47:40 -0700856// -----------------------------------------------------------------------------
Urvang Joshi2e4ee072018-02-16 16:26:00 -0800857// 64x64, 64x32, 64x16
858
James Zernada19d62022-04-22 15:57:47 -0700859INTRA_PRED_TEST(C, TX_64X64, aom_dc_predictor_64x64_c,
Urvang Joshi2e4ee072018-02-16 16:26:00 -0800860 aom_dc_left_predictor_64x64_c, aom_dc_top_predictor_64x64_c,
861 aom_dc_128_predictor_64x64_c, aom_v_predictor_64x64_c,
862 aom_h_predictor_64x64_c, aom_paeth_predictor_64x64_c,
863 aom_smooth_predictor_64x64_c, aom_smooth_v_predictor_64x64_c,
864 aom_smooth_h_predictor_64x64_c)
James Zernada19d62022-04-22 15:57:47 -0700865INTRA_PRED_TEST(C, TX_64X32, aom_dc_predictor_64x32_c,
Urvang Joshi2e4ee072018-02-16 16:26:00 -0800866 aom_dc_left_predictor_64x32_c, aom_dc_top_predictor_64x32_c,
867 aom_dc_128_predictor_64x32_c, aom_v_predictor_64x32_c,
868 aom_h_predictor_64x32_c, aom_paeth_predictor_64x32_c,
869 aom_smooth_predictor_64x32_c, aom_smooth_v_predictor_64x32_c,
870 aom_smooth_h_predictor_64x32_c)
James Zernada19d62022-04-22 15:57:47 -0700871INTRA_PRED_TEST(C, TX_64X16, aom_dc_predictor_64x16_c,
Urvang Joshi2e4ee072018-02-16 16:26:00 -0800872 aom_dc_left_predictor_64x16_c, aom_dc_top_predictor_64x16_c,
873 aom_dc_128_predictor_64x16_c, aom_v_predictor_64x16_c,
874 aom_h_predictor_64x16_c, aom_paeth_predictor_64x16_c,
875 aom_smooth_predictor_64x16_c, aom_smooth_v_predictor_64x16_c,
876 aom_smooth_h_predictor_64x16_c)
877
Scott LaVarnway3fffb882018-02-28 12:41:37 -0800878#if HAVE_SSE2
James Zernada19d62022-04-22 15:57:47 -0700879INTRA_PRED_TEST(SSE2, TX_64X64, aom_dc_predictor_64x64_sse2,
Scott LaVarnway892a5432018-03-02 09:37:07 -0800880 aom_dc_left_predictor_64x64_sse2,
Scott LaVarnwayefef81c2018-03-01 15:36:13 -0800881 aom_dc_top_predictor_64x64_sse2,
Scott LaVarnwayfcc8f342018-03-05 06:04:19 -0800882 aom_dc_128_predictor_64x64_sse2, aom_v_predictor_64x64_sse2,
James Zern664f04d2022-05-24 17:30:58 -0700883 aom_h_predictor_64x64_sse2, nullptr, nullptr, nullptr, nullptr)
James Zernada19d62022-04-22 15:57:47 -0700884INTRA_PRED_TEST(SSE2, TX_64X32, aom_dc_predictor_64x32_sse2,
Scott LaVarnway892a5432018-03-02 09:37:07 -0800885 aom_dc_left_predictor_64x32_sse2,
Scott LaVarnwayefef81c2018-03-01 15:36:13 -0800886 aom_dc_top_predictor_64x32_sse2,
Scott LaVarnwayfcc8f342018-03-05 06:04:19 -0800887 aom_dc_128_predictor_64x32_sse2, aom_v_predictor_64x32_sse2,
James Zern664f04d2022-05-24 17:30:58 -0700888 aom_h_predictor_64x32_sse2, nullptr, nullptr, nullptr, nullptr)
James Zernada19d62022-04-22 15:57:47 -0700889INTRA_PRED_TEST(SSE2, TX_64X16, aom_dc_predictor_64x16_sse2,
Scott LaVarnway892a5432018-03-02 09:37:07 -0800890 aom_dc_left_predictor_64x16_sse2,
Scott LaVarnwayefef81c2018-03-01 15:36:13 -0800891 aom_dc_top_predictor_64x16_sse2,
Scott LaVarnwayfcc8f342018-03-05 06:04:19 -0800892 aom_dc_128_predictor_64x16_sse2, aom_v_predictor_64x16_sse2,
James Zern664f04d2022-05-24 17:30:58 -0700893 aom_h_predictor_64x16_sse2, nullptr, nullptr, nullptr, nullptr)
Scott LaVarnway3fffb882018-02-28 12:41:37 -0800894#endif
895
Scott LaVarnwayf0cf4e32018-02-26 12:19:02 -0800896#if HAVE_SSSE3
James Zern664f04d2022-05-24 17:30:58 -0700897INTRA_PRED_TEST(SSSE3, TX_64X64, nullptr, nullptr, nullptr, nullptr, nullptr,
898 nullptr, aom_paeth_predictor_64x64_ssse3,
Scott LaVarnwaye25a4ba2018-03-21 13:20:31 -0700899 aom_smooth_predictor_64x64_ssse3,
Scott LaVarnway6d9d52d2018-03-30 07:01:16 -0700900 aom_smooth_v_predictor_64x64_ssse3,
901 aom_smooth_h_predictor_64x64_ssse3)
James Zern664f04d2022-05-24 17:30:58 -0700902INTRA_PRED_TEST(SSSE3, TX_64X32, nullptr, nullptr, nullptr, nullptr, nullptr,
903 nullptr, aom_paeth_predictor_64x32_ssse3,
Scott LaVarnwaye25a4ba2018-03-21 13:20:31 -0700904 aom_smooth_predictor_64x32_ssse3,
Scott LaVarnway6d9d52d2018-03-30 07:01:16 -0700905 aom_smooth_v_predictor_64x32_ssse3,
906 aom_smooth_h_predictor_64x32_ssse3)
James Zern664f04d2022-05-24 17:30:58 -0700907INTRA_PRED_TEST(SSSE3, TX_64X16, nullptr, nullptr, nullptr, nullptr, nullptr,
908 nullptr, aom_paeth_predictor_64x16_ssse3,
Scott LaVarnwaye25a4ba2018-03-21 13:20:31 -0700909 aom_smooth_predictor_64x16_ssse3,
Scott LaVarnway6d9d52d2018-03-30 07:01:16 -0700910 aom_smooth_v_predictor_64x16_ssse3,
911 aom_smooth_h_predictor_64x16_ssse3)
Scott LaVarnwayf0cf4e32018-02-26 12:19:02 -0800912#endif
913
914#if HAVE_AVX2
James Zernada19d62022-04-22 15:57:47 -0700915INTRA_PRED_TEST(AVX2, TX_64X64, aom_dc_predictor_64x64_avx2,
Scott LaVarnway892a5432018-03-02 09:37:07 -0800916 aom_dc_left_predictor_64x64_avx2,
Scott LaVarnwayefef81c2018-03-01 15:36:13 -0800917 aom_dc_top_predictor_64x64_avx2,
Scott LaVarnwayfcc8f342018-03-05 06:04:19 -0800918 aom_dc_128_predictor_64x64_avx2, aom_v_predictor_64x64_avx2,
James Zern664f04d2022-05-24 17:30:58 -0700919 nullptr, aom_paeth_predictor_64x64_avx2, nullptr, nullptr,
920 nullptr)
James Zernada19d62022-04-22 15:57:47 -0700921INTRA_PRED_TEST(AVX2, TX_64X32, aom_dc_predictor_64x32_avx2,
Scott LaVarnway892a5432018-03-02 09:37:07 -0800922 aom_dc_left_predictor_64x32_avx2,
Scott LaVarnwayefef81c2018-03-01 15:36:13 -0800923 aom_dc_top_predictor_64x32_avx2,
Scott LaVarnwayfcc8f342018-03-05 06:04:19 -0800924 aom_dc_128_predictor_64x32_avx2, aom_v_predictor_64x32_avx2,
James Zern664f04d2022-05-24 17:30:58 -0700925 nullptr, aom_paeth_predictor_64x32_avx2, nullptr, nullptr,
926 nullptr)
James Zernada19d62022-04-22 15:57:47 -0700927INTRA_PRED_TEST(AVX2, TX_64X16, aom_dc_predictor_64x16_avx2,
Scott LaVarnway892a5432018-03-02 09:37:07 -0800928 aom_dc_left_predictor_64x16_avx2,
Scott LaVarnwayefef81c2018-03-01 15:36:13 -0800929 aom_dc_top_predictor_64x16_avx2,
Scott LaVarnwayfcc8f342018-03-05 06:04:19 -0800930 aom_dc_128_predictor_64x16_avx2, aom_v_predictor_64x16_avx2,
James Zern664f04d2022-05-24 17:30:58 -0700931 nullptr, aom_paeth_predictor_64x16_avx2, nullptr, nullptr,
932 nullptr)
Scott LaVarnwayf0cf4e32018-02-26 12:19:02 -0800933#endif
Jerome Jiang73f215f2019-09-11 14:22:08 -0700934
James Zern8e05a832022-05-10 18:53:31 -0700935#if HAVE_NEON
George Steedff5799c2023-04-11 16:57:02 +0100936INTRA_PRED_TEST(NEON, TX_64X64, aom_dc_predictor_64x64_neon,
937 aom_dc_left_predictor_64x64_neon,
938 aom_dc_top_predictor_64x64_neon,
George Steedc26cf7f2023-04-19 12:11:26 +0100939 aom_dc_128_predictor_64x64_neon, aom_v_predictor_64x64_neon,
George Steed34afdef2023-04-19 15:35:37 +0100940 aom_h_predictor_64x64_neon, aom_paeth_predictor_64x64_neon,
George Steedc26cf7f2023-04-19 12:11:26 +0100941 aom_smooth_predictor_64x64_neon,
James Zern62672782022-05-09 18:52:42 -0700942 aom_smooth_v_predictor_64x64_neon,
943 aom_smooth_h_predictor_64x64_neon)
George Steed407a4592023-04-11 17:12:16 +0100944INTRA_PRED_TEST(NEON, TX_64X32, aom_dc_predictor_64x32_neon,
945 aom_dc_left_predictor_64x32_neon,
946 aom_dc_top_predictor_64x32_neon,
George Steedc26cf7f2023-04-19 12:11:26 +0100947 aom_dc_128_predictor_64x32_neon, aom_v_predictor_64x32_neon,
George Steed34afdef2023-04-19 15:35:37 +0100948 aom_h_predictor_64x32_neon, aom_paeth_predictor_64x32_neon,
George Steedc26cf7f2023-04-19 12:11:26 +0100949 aom_smooth_predictor_64x32_neon,
James Zern62672782022-05-09 18:52:42 -0700950 aom_smooth_v_predictor_64x32_neon,
951 aom_smooth_h_predictor_64x32_neon)
George Steed407a4592023-04-11 17:12:16 +0100952INTRA_PRED_TEST(NEON, TX_64X16, aom_dc_predictor_64x16_neon,
953 aom_dc_left_predictor_64x16_neon,
954 aom_dc_top_predictor_64x16_neon,
George Steedc26cf7f2023-04-19 12:11:26 +0100955 aom_dc_128_predictor_64x16_neon, aom_v_predictor_64x16_neon,
George Steed34afdef2023-04-19 15:35:37 +0100956 aom_h_predictor_64x16_neon, aom_paeth_predictor_64x16_neon,
George Steedc26cf7f2023-04-19 12:11:26 +0100957 aom_smooth_predictor_64x16_neon,
James Zern62672782022-05-09 18:52:42 -0700958 aom_smooth_v_predictor_64x16_neon,
959 aom_smooth_h_predictor_64x16_neon)
James Zern8e05a832022-05-10 18:53:31 -0700960#endif // HAVE_NEON
961
Jerome Jiang73f215f2019-09-11 14:22:08 -0700962#if CONFIG_AV1_HIGHBITDEPTH
Urvang Joshi2e4ee072018-02-16 16:26:00 -0800963// -----------------------------------------------------------------------------
Yi Luof5d71a62017-09-14 11:47:40 -0700964// High Bitdepth
Yi Luof5d71a62017-09-14 11:47:40 -0700965namespace {
966
967typedef void (*AvxHighbdPredFunc)(uint16_t *dst, ptrdiff_t y_stride,
968 const uint16_t *above, const uint16_t *left,
969 int bd);
970
971typedef IntraPredTestMem<uint16_t> Av1HighbdIntraPredTestMem;
972
Urvang Joshia5f25402018-02-16 14:48:05 -0800973void TestHighbdIntraPred(TX_SIZE tx_size, AvxHighbdPredFunc const *pred_funcs,
974 const char *const signatures[]) {
975 const int block_width = tx_size_wide[tx_size];
976 const int block_height = tx_size_high[tx_size];
Yi Luobbf61862017-09-18 15:39:39 -0700977 const int num_pixels_per_test =
978 block_width * block_height * kNumAv1IntraFuncs;
Yi Luof5d71a62017-09-14 11:47:40 -0700979 const int kNumTests = static_cast<int>(2.e10 / num_pixels_per_test);
980 Av1HighbdIntraPredTestMem intra_pred_test_mem;
Yi Luof5d71a62017-09-14 11:47:40 -0700981 const int bd = 12;
Urvang Joshi2e4ee072018-02-16 16:26:00 -0800982 intra_pred_test_mem.Init(block_width, block_height, bd);
Yi Luof5d71a62017-09-14 11:47:40 -0700983
984 for (int k = 0; k < kNumAv1IntraFuncs; ++k) {
James Zern664f04d2022-05-24 17:30:58 -0700985 if (pred_funcs[k] == nullptr) continue;
Yi Luof5d71a62017-09-14 11:47:40 -0700986 memcpy(intra_pred_test_mem.src, intra_pred_test_mem.ref_src,
987 sizeof(intra_pred_test_mem.src));
988 aom_usec_timer timer;
989 aom_usec_timer_start(&timer);
990 for (int num_tests = 0; num_tests < kNumTests; ++num_tests) {
Urvang Joshi2e4ee072018-02-16 16:26:00 -0800991 pred_funcs[k](intra_pred_test_mem.src, intra_pred_test_mem.stride,
992 intra_pred_test_mem.above, intra_pred_test_mem.left, bd);
Yi Luof5d71a62017-09-14 11:47:40 -0700993 }
Yi Luof5d71a62017-09-14 11:47:40 -0700994 aom_usec_timer_mark(&timer);
995 const int elapsed_time =
996 static_cast<int>(aom_usec_timer_elapsed(&timer) / 1000);
Urvang Joshi2e4ee072018-02-16 16:26:00 -0800997 CheckMd5Signature(
998 tx_size, true, signatures, intra_pred_test_mem.src,
999 intra_pred_test_mem.num_pixels * sizeof(*intra_pred_test_mem.src),
1000 elapsed_time, k);
Yi Luof5d71a62017-09-14 11:47:40 -07001001 }
1002}
1003
Urvang Joshia5f25402018-02-16 14:48:05 -08001004static const char *const kHighbdSignatures[TX_SIZES_ALL][kNumAv1IntraFuncs] = {
1005 {
1006 // 4X4
1007 "11f74af6c5737df472f3275cbde062fa",
1008 "51bea056b6447c93f6eb8f6b7e8f6f71",
1009 "27e97f946766331795886f4de04c5594",
1010 "53ab15974b049111fb596c5168ec7e3f",
1011 "f0b640bb176fbe4584cf3d32a9b0320a",
1012 "729783ca909e03afd4b47111c80d967b",
1013 "6e30009c45474a22032678b1bd579c8f",
1014 "e57cba016d808aa8a35619df2a65f049",
1015 "55a6c37f39afcbbf5abca4a985b96459",
1016 "a623d45b37dafec1f8a75c4c5218913d",
1017 },
1018 {
1019 // 8X8
1020 "03da8829fe94663047fd108c5fcaa71d",
1021 "ecdb37b8120a2d3a4c706b016bd1bfd7",
1022 "1d4543ed8d2b9368cb96898095fe8a75",
1023 "f791c9a67b913cbd82d9da8ecede30e2",
1024 "065c70646f4dbaff913282f55a45a441",
1025 "51f87123616662ef7c35691497dfd0ba",
1026 "85c01ba03df68f9ece7bd3fa0f8980e6",
1027 "ad19b7dac092f56df6d054e1f67f21e7",
1028 "0edc415b5dd7299f7a34fb9f71d31d78",
1029 "2bc8ec19e9f4b77a64b8a0a1f6aec7e7",
1030 },
1031 {
1032 // 16X16
1033 "e33cb3f56a878e2fddb1b2fc51cdd275",
1034 "c7bff6f04b6052c8ab335d726dbbd52d",
1035 "d0b0b47b654a9bcc5c6008110a44589b",
1036 "78f5da7b10b2b9ab39f114a33b6254e9",
1037 "c78e31d23831abb40d6271a318fdd6f3",
1038 "90d1347f4ec9198a0320daecb6ff90b8",
1039 "e63ded54ab3d0e8728b6f24d4f01e53f",
1040 "35ce21fbe0ea114c089fc3489a78155d",
1041 "f277f6ef8e4d717f1f0dfe2706ac197d",
1042 "e8014d3f41256976c02e0f1e622ba2b9",
1043 },
1044 {
1045 // 32X32
1046 "a3e8056ba7e36628cce4917cd956fedd",
1047 "cc7d3024fe8748b512407edee045377e",
1048 "2aab0a0f330a1d3e19b8ecb8f06387a3",
1049 "a547bc3fb7b06910bf3973122a426661",
1050 "26f712514da95042f93d6e8dc8e431dc",
1051 "bb08c6e16177081daa3d936538dbc2e3",
1052 "84bf83f94a51b33654ca940c6f8bc057",
1053 "7168b03fc31bf29596a344d6a35d007c",
1054 "b073a70d3672f1282236994f5d12e94b",
1055 "c51607aebad5dcb3c1e3b58ef9e5b84e",
1056 },
1057 {
Urvang Joshi2e4ee072018-02-16 16:26:00 -08001058 // 64X64
1059 "a6baa0d4bfb2269a94c7a38f86a4bccf",
1060 "3f1ef5f473a49eba743f17a3324adf9d",
1061 "12ac11889ae5f55b7781454efd706a6a",
1062 "d9a906c0e692b22e1b4414e71a704b7e",
1063 "47d4cadd56f70c11ff8f3e5d8df81161",
1064 "de997744cf24c16c5ac2a36b02b351cc",
1065 "23781211ae178ddeb6c4bb97a6bd7d83",
1066 "a79d2e28340ca34b9e37daabbf030f63",
1067 "0372bd3ddfc258750a6ac106b70587f4",
1068 "228ef625d9460cbf6fa253a16a730976",
Urvang Joshia5f25402018-02-16 14:48:05 -08001069 },
1070 {
1071 // 4X8
1072 "22d519b796d59644043466320e4ccd14",
1073 "09513a738c49b3f9542d27f34abbe1d5",
1074 "807ae5e8813443ff01e71be6efacfb69",
1075 "cbfa18d0293430b6e9708b0be1fd2394",
1076 "346c354c34ec7fa780b576db355dab88",
1077 "f97dae85c35359632380b09ca98d611e",
1078 "698ae351d8896d89ed9e4e67b6e53eda",
1079 "dcc197034a9c45a3d8238bf085835f4e",
1080 "7a35e2c42ffdc2efc2d6d1d75a100fc7",
1081 "41ab6cebd4516c87a91b2a593e2c2506",
1082 },
1083 {
1084 // 8X4
1085 "d58cd4c4bf3b7bbaa5db5e1a5622ec78",
1086 "6e572c35aa782d00cafcb99e9ea047ea",
1087 "e8c22a3702b416dc9ab974505afbed09",
1088 "aaa4e4762a795aad7ad74de0c662c4e4",
1089 "a19f9101967383c3dcbd516dc317a291",
1090 "9ab8cb91f1a595b9ebe3fe8de58031aa",
1091 "2cf9021d5f1169268699807ee118b65f",
1092 "ee9605fcbd6fb871f1c5cd81a6989327",
1093 "b4871af8316089e3e23522175df7e93f",
1094 "d33301e1c2cb173be46792a22d19881a",
1095 },
1096 {
1097 // 8X16
1098 "4562de1d0336610880fdd5685498a9ec",
1099 "16310fa7076394f16fc85c4b149d89c9",
1100 "0e94af88e1dc573b6f0f499cddd1f530",
1101 "dfd245ee20d091c67809160340365aa9",
1102 "d3562504327f70c096c5be23fd8a3747",
1103 "601b853558502acbb5135eadd2da117a",
1104 "3c624345a723a1b2b1bea05a6a08bc99",
1105 "2a9c781de609e0184cc7ab442050f4e5",
1106 "0ddc5035c22252747126b61fc238c74d",
1107 "e43f5d83bab759af69c7b6773fc8f9b2",
1108 },
1109 {
1110 // 16X8
1111 "a57d6b5a9bfd30c29591d8717ace9c51",
1112 "f5907ba97ee6c53e339e953fc8d845ee",
1113 "ea3aa727913ce45af06f89dd1808db5f",
1114 "408af4f23e48d14b48ee35ae094fcd18",
1115 "85c41cbcb5d744f7961e8950026fbffe",
1116 "8a4e588a837638887ba671f8d4910485",
1117 "b792d8826b67a21757ea7097cff9e05b",
1118 "f94ce7101bb87fd3bb9312112527dbf4",
1119 "688c6660a6dc6fa61fa1aa38e708c209",
1120 "0cdf641b4f81d69509c92ae0b93ef5ff",
1121 },
1122 {
1123 // 16X32
1124 "aee4b3b0e3cc02d48e2c40d77f807927",
1125 "8baef2b2e789f79c8df9d90ad10f34a4",
1126 "038c38ee3c4f090bb8d736eab136aafc",
1127 "1a3de2aaeaffd68a9fd6c7f6557b83f3",
1128 "385c6e0ea29421dd81011a2934641e26",
1129 "6cf96c285d1a2d4787f955dad715b08c",
1130 "2d7f75dcd73b9528c8396279ff09ff3a",
1131 "5a63cd1841e4ed470e4ca5ef845f2281",
1132 "610d899ca945fbead33287d4335a8b32",
1133 "6bafaad81fce37be46730187e78d8b11",
1134 },
1135 {
1136 // 32X16
1137 "290b23c9f5a1de7905bfa71a942da29b",
1138 "701e7b82593c66da5052fc4b6afd79ce",
1139 "4da828c5455cd246735a663fbb204989",
1140 "e3fbeaf234efece8dbd752b77226200c",
1141 "4d1d8c969f05155a7e7e84cf7aad021b",
1142 "c22e4877c2c946d5bdc0d542e29e70cf",
1143 "8ac1ce815e7780500f842b0beb0bb980",
1144 "9fee2e2502b507f25bfad30a55b0b610",
1145 "4ced9c212ec6f9956e27f68a91b59fef",
1146 "4a7a0b93f138bb0863e4e465b01ec0b1",
1147 },
Urvang Joshi2e4ee072018-02-16 16:26:00 -08001148 {
1149 // 32X64
1150 "ad9cfc395a5c5644a21d958c7274ac14",
1151 "f29d6d03c143ddf96fef04c19f2c8333",
1152 "a8bdc852ef704dd4975c61893e8fbc3f",
1153 "7d0bd7dea26226741dbca9a97f27fa74",
1154 "45c27c5cca9a91b6ae8379feb0881c9f",
1155 "8a0b78df1e001b85c874d686eac4aa1b",
1156 "ce9fa75fac54a3f6c0cc3f2083b938f1",
1157 "c0dca10d88762c954af18dc9e3791a39",
1158 "61df229eddfccab913b8fda4bb02f9ac",
1159 "4f4df6bc8d50a5600b573f0e44d70e66",
1160 },
1161 {
1162 // 64X32
1163 "db9d82921fd88b24fdff6f849f2f9c87",
1164 "5ecc7fdc52d2f575ad4f2d0e9e6b1e11",
1165 "b4581311a0a73d95dfac7f8f44591032",
1166 "68bd283cfd1a125f6b2ee47cee874d36",
1167 "804179f05c032908a5e36077bb87c994",
1168 "fc5fd041a8ee779015394d0c066ee43c",
1169 "68f5579ccadfe9a1baafb158334a3db2",
1170 "fe237e45e215ab06d79046da9ad71e84",
1171 "9a8a938a6824551bf7d21b8fd1d70ea1",
1172 "eb7332f2017cd96882c76e7136aeaf53",
1173 },
1174 {
1175 // 4X16
1176 "7bafa307d507747b8132e7735b7f1c73",
1177 "e58bc2d8213a97d1fea9cfb73d7a9633",
1178 "435f8a8e8bbf14dbf2fe16b2be9e97aa",
1179 "1d0e767b68d84acbfb50b7a04e633836",
1180 "5f713bd7b324fe73bb7063e35ee14e5e",
1181 "0dac4e1fa3d59814202715468c01ed56",
1182 "47709d1db4a330c7a8900f450e6fddd1",
1183 "258e0b930bb27db28f05da9cf7d1ee7c",
1184 "36cf030fbae767912593efea045bfff5",
1185 "248d7aceabb7499febae663fae41a920",
1186 },
1187 {
1188 // 16X4
1189 "04dde98e632670e393704742c89f9067",
1190 "8c72543f1664651ae1fa08e2ac0adb9b",
1191 "2354a2cdc2773aa2df8ab4010db1be39",
1192 "6300ad3221c26da39b10e0e6d87ee3be",
1193 "8ea30b661c6ba60b28d3167f19e449b8",
1194 "fb6c1e4ff101a371cede63c2955cdb7e",
1195 "a517c06433d6d7927b16a72184a23e92",
1196 "393828be5d62ab6c48668bea5e2f801a",
1197 "b1e510c542013eb9d6fb188dea2ce90a",
1198 "569a8f2fe01679ca216535ecbcdccb62",
1199 },
1200 {
1201 // 8X32
1202 "9d541865c185ca7607852852613ac1fc",
1203 "b96be67f08c6b5fa5ebd3411299c2f7c",
1204 "75a2dcf50004b9d188849b048239767e",
1205 "429492ff415c9fd9b050d73b2ad500f8",
1206 "64b3606c1ccd036bd766bd5711392cf4",
1207 "cb59844a0f01660ac955bae3511f1100",
1208 "3e076155b7a70e8828618e3f33b51e3d",
1209 "ed2d1f597ab7c50beff690f737cf9726",
1210 "7909c6a26aaf20c59d996d3e5b5f9c29",
1211 "965798807240c98c6f7cc9b457ed0773",
1212 },
1213 {
1214 // 32X8
1215 "36f391aa31619eec1f4d9ee95ea454cc",
1216 "b82648f14eeba2527357cb50bc3223cb",
1217 "7a7b2adf429125e8bee9d1d00a66e13f",
1218 "4198e4d6ba503b7cc2d7e96bb845f661",
1219 "96c160d2ec1be9fe0cdea9682f14d257",
1220 "19a450bcebaa75afb4fc6bd1fd6434af",
1221 "2bd2e35967d43d0ec1c6587a36f204d5",
1222 "49799a99aa4ccfbd989bee92a99422f1",
1223 "955530e99813812a74659edeac3f5475",
1224 "f0316b84e378a19cd11b19a6e40b2914",
1225 },
1226 {
1227 // 16X64
1228 "8cba1b70a0bde29e8ef235cedc5faa7d",
1229 "96d00ddc7537bf7f196006591b733b4e",
1230 "cbf69d5d157c9f3355a4757b1d6e3414",
1231 "3ac1f642019493dec1b737d7a3a1b4e5",
1232 "35f9ee300d7fa3c97338e81a6f21dcd4",
1233 "aae335442e77c8ebc280f16ea50ba9c7",
1234 "a6140fdac2278644328be094d88731db",
1235 "2df93621b6ff100f7008432d509f4161",
1236 "c77bf5aee39e7ed4a3dd715f816f452a",
1237 "02109bd63557d90225c32a8f1338258e",
1238 },
1239 {
1240 // 64X16
1241 "a5e2f9fb685d5f4a048e9a96affd25a4",
1242 "1348f249690d9eefe09d9ad7ead2c801",
1243 "525da4b187acd81b1ff1116b60461141",
1244 "e99d072de858094c98b01bd4a6772634",
1245 "873bfa9dc24693f19721f7c8d527f7d3",
1246 "0acfc6507bd3468e9679efc127d6e4b9",
1247 "57d03f8d079c7264854e22ac1157cfae",
1248 "6c2c4036f70c7d957a9399b5436c0774",
1249 "42b8e4a97b7f8416c72a5148c031c0b1",
1250 "a38a2c5f79993dfae8530e9e25800893",
1251 },
Urvang Joshia5f25402018-02-16 14:48:05 -08001252};
Yi Luof5d71a62017-09-14 11:47:40 -07001253
1254} // namespace
1255
Urvang Joshia5f25402018-02-16 14:48:05 -08001256#define HIGHBD_INTRA_PRED_TEST(arch, tx_size, dc, dc_left, dc_top, dc_128, v, \
1257 h, paeth, smooth, smooth_v, smooth_h) \
1258 TEST(arch, DISABLED_##TestHighbdIntraPred_##tx_size) { \
Hui Su59b633c2018-02-21 16:18:58 -08001259 static const AvxHighbdPredFunc aom_intra_pred[] = { \
1260 dc, dc_left, dc_top, dc_128, v, h, paeth, smooth, smooth_v, smooth_h \
1261 }; \
Urvang Joshia5f25402018-02-16 14:48:05 -08001262 TestHighbdIntraPred(tx_size, aom_intra_pred, kHighbdSignatures[tx_size]); \
Yi Luof5d71a62017-09-14 11:47:40 -07001263 }
1264
1265// -----------------------------------------------------------------------------
Urvang Joshi2e4ee072018-02-16 16:26:00 -08001266// 4x4, 4x8, 4x16
Yi Luof5d71a62017-09-14 11:47:40 -07001267
Yi Luof5d71a62017-09-14 11:47:40 -07001268HIGHBD_INTRA_PRED_TEST(
James Zernada19d62022-04-22 15:57:47 -07001269 C, TX_4X4, aom_highbd_dc_predictor_4x4_c,
Yi Luof5d71a62017-09-14 11:47:40 -07001270 aom_highbd_dc_left_predictor_4x4_c, aom_highbd_dc_top_predictor_4x4_c,
1271 aom_highbd_dc_128_predictor_4x4_c, aom_highbd_v_predictor_4x4_c,
Hui Su59b633c2018-02-21 16:18:58 -08001272 aom_highbd_h_predictor_4x4_c, aom_highbd_paeth_predictor_4x4_c,
Urvang Joshib7301cd2017-11-09 15:08:56 -08001273 aom_highbd_smooth_predictor_4x4_c, aom_highbd_smooth_v_predictor_4x4_c,
1274 aom_highbd_smooth_h_predictor_4x4_c)
Yi Luof5d71a62017-09-14 11:47:40 -07001275
Urvang Joshi2e4ee072018-02-16 16:26:00 -08001276HIGHBD_INTRA_PRED_TEST(
James Zernada19d62022-04-22 15:57:47 -07001277 C, TX_4X8, aom_highbd_dc_predictor_4x8_c,
Urvang Joshi2e4ee072018-02-16 16:26:00 -08001278 aom_highbd_dc_left_predictor_4x8_c, aom_highbd_dc_top_predictor_4x8_c,
1279 aom_highbd_dc_128_predictor_4x8_c, aom_highbd_v_predictor_4x8_c,
1280 aom_highbd_h_predictor_4x8_c, aom_highbd_paeth_predictor_4x8_c,
1281 aom_highbd_smooth_predictor_4x8_c, aom_highbd_smooth_v_predictor_4x8_c,
1282 aom_highbd_smooth_h_predictor_4x8_c)
Urvang Joshi2e4ee072018-02-16 16:26:00 -08001283HIGHBD_INTRA_PRED_TEST(
James Zernada19d62022-04-22 15:57:47 -07001284 C, TX_4X16, aom_highbd_dc_predictor_4x16_c,
Urvang Joshi2e4ee072018-02-16 16:26:00 -08001285 aom_highbd_dc_left_predictor_4x16_c, aom_highbd_dc_top_predictor_4x16_c,
1286 aom_highbd_dc_128_predictor_4x16_c, aom_highbd_v_predictor_4x16_c,
1287 aom_highbd_h_predictor_4x16_c, aom_highbd_paeth_predictor_4x16_c,
1288 aom_highbd_smooth_predictor_4x16_c, aom_highbd_smooth_v_predictor_4x16_c,
1289 aom_highbd_smooth_h_predictor_4x16_c)
Yi Luof5d71a62017-09-14 11:47:40 -07001290#if HAVE_SSE2
James Zernada19d62022-04-22 15:57:47 -07001291HIGHBD_INTRA_PRED_TEST(SSE2, TX_4X4, aom_highbd_dc_predictor_4x4_sse2,
Hui Su59b633c2018-02-21 16:18:58 -08001292 aom_highbd_dc_left_predictor_4x4_sse2,
1293 aom_highbd_dc_top_predictor_4x4_sse2,
1294 aom_highbd_dc_128_predictor_4x4_sse2,
1295 aom_highbd_v_predictor_4x4_sse2,
James Zern664f04d2022-05-24 17:30:58 -07001296 aom_highbd_h_predictor_4x4_sse2, nullptr, nullptr,
1297 nullptr, nullptr)
Yi Luo56ad3dd2017-10-06 11:00:10 -07001298
James Zernada19d62022-04-22 15:57:47 -07001299HIGHBD_INTRA_PRED_TEST(SSE2, TX_4X8, aom_highbd_dc_predictor_4x8_sse2,
Hui Su59b633c2018-02-21 16:18:58 -08001300 aom_highbd_dc_left_predictor_4x8_sse2,
1301 aom_highbd_dc_top_predictor_4x8_sse2,
1302 aom_highbd_dc_128_predictor_4x8_sse2,
1303 aom_highbd_v_predictor_4x8_sse2,
James Zern664f04d2022-05-24 17:30:58 -07001304 aom_highbd_h_predictor_4x8_sse2, nullptr, nullptr,
1305 nullptr, nullptr)
Yi Luof5d71a62017-09-14 11:47:40 -07001306#endif
James Zern9505f302022-04-22 15:49:01 -07001307#if HAVE_NEON
George Steedbf79e162023-05-24 17:12:50 +01001308HIGHBD_INTRA_PRED_TEST(NEON, TX_4X4, aom_highbd_dc_predictor_4x4_neon,
George Steed79200622023-05-24 17:32:33 +01001309 aom_highbd_dc_left_predictor_4x4_neon,
1310 aom_highbd_dc_top_predictor_4x4_neon,
George Steedbf79e162023-05-24 17:12:50 +01001311 aom_highbd_dc_128_predictor_4x4_neon,
George Steeddcaf4ef2023-05-24 16:39:43 +01001312 aom_highbd_v_predictor_4x4_neon,
George Steedbdbdeae2023-05-23 13:59:47 +01001313 aom_highbd_h_predictor_4x4_neon,
1314 aom_highbd_paeth_predictor_4x4_neon,
James Zern55021bf2022-04-22 16:54:55 -07001315 aom_highbd_smooth_predictor_4x4_neon,
James Zern54bf5f82022-04-22 22:03:43 -07001316 aom_highbd_smooth_v_predictor_4x4_neon,
1317 aom_highbd_smooth_h_predictor_4x4_neon)
George Steed0dff0e52023-05-25 16:16:01 +01001318HIGHBD_INTRA_PRED_TEST(NEON, TX_4X8, aom_highbd_dc_predictor_4x8_neon,
1319 aom_highbd_dc_left_predictor_4x8_neon,
1320 aom_highbd_dc_top_predictor_4x8_neon,
1321 aom_highbd_dc_128_predictor_4x8_neon,
1322 aom_highbd_v_predictor_4x8_neon,
1323 aom_highbd_h_predictor_4x8_neon,
1324 aom_highbd_paeth_predictor_4x8_neon,
1325 aom_highbd_smooth_predictor_4x8_neon,
1326 aom_highbd_smooth_v_predictor_4x8_neon,
1327 aom_highbd_smooth_h_predictor_4x8_neon)
1328HIGHBD_INTRA_PRED_TEST(NEON, TX_4X16, aom_highbd_dc_predictor_4x16_neon,
George Steed79200622023-05-24 17:32:33 +01001329 aom_highbd_dc_left_predictor_4x16_neon,
1330 aom_highbd_dc_top_predictor_4x16_neon,
George Steeddcaf4ef2023-05-24 16:39:43 +01001331 aom_highbd_dc_128_predictor_4x16_neon,
George Steedbdbdeae2023-05-23 13:59:47 +01001332 aom_highbd_v_predictor_4x16_neon,
1333 aom_highbd_h_predictor_4x16_neon,
James Zernb19d72f2022-04-21 18:55:23 -07001334 aom_highbd_paeth_predictor_4x16_neon,
James Zern55021bf2022-04-22 16:54:55 -07001335 aom_highbd_smooth_predictor_4x16_neon,
James Zern54bf5f82022-04-22 22:03:43 -07001336 aom_highbd_smooth_v_predictor_4x16_neon,
1337 aom_highbd_smooth_h_predictor_4x16_neon)
James Zern9505f302022-04-22 15:49:01 -07001338#endif // HAVE_NEON
Yi Luof5d71a62017-09-14 11:47:40 -07001339
1340// -----------------------------------------------------------------------------
Urvang Joshi2e4ee072018-02-16 16:26:00 -08001341// 8x8, 8x4, 8x16, 8x32
Yi Luof5d71a62017-09-14 11:47:40 -07001342
Yi Luof5d71a62017-09-14 11:47:40 -07001343HIGHBD_INTRA_PRED_TEST(
James Zernada19d62022-04-22 15:57:47 -07001344 C, TX_8X8, aom_highbd_dc_predictor_8x8_c,
Yi Luof5d71a62017-09-14 11:47:40 -07001345 aom_highbd_dc_left_predictor_8x8_c, aom_highbd_dc_top_predictor_8x8_c,
1346 aom_highbd_dc_128_predictor_8x8_c, aom_highbd_v_predictor_8x8_c,
Hui Su59b633c2018-02-21 16:18:58 -08001347 aom_highbd_h_predictor_8x8_c, aom_highbd_paeth_predictor_8x8_c,
Urvang Joshib7301cd2017-11-09 15:08:56 -08001348 aom_highbd_smooth_predictor_8x8_c, aom_highbd_smooth_v_predictor_8x8_c,
1349 aom_highbd_smooth_h_predictor_8x8_c)
Urvang Joshi2e4ee072018-02-16 16:26:00 -08001350HIGHBD_INTRA_PRED_TEST(
James Zernada19d62022-04-22 15:57:47 -07001351 C, TX_8X4, aom_highbd_dc_predictor_8x4_c,
Urvang Joshi2e4ee072018-02-16 16:26:00 -08001352 aom_highbd_dc_left_predictor_8x4_c, aom_highbd_dc_top_predictor_8x4_c,
1353 aom_highbd_dc_128_predictor_8x4_c, aom_highbd_v_predictor_8x4_c,
1354 aom_highbd_h_predictor_8x4_c, aom_highbd_paeth_predictor_8x4_c,
1355 aom_highbd_smooth_predictor_8x4_c, aom_highbd_smooth_v_predictor_8x4_c,
1356 aom_highbd_smooth_h_predictor_8x4_c)
Urvang Joshi2e4ee072018-02-16 16:26:00 -08001357HIGHBD_INTRA_PRED_TEST(
James Zernada19d62022-04-22 15:57:47 -07001358 C, TX_8X16, aom_highbd_dc_predictor_8x16_c,
Urvang Joshi2e4ee072018-02-16 16:26:00 -08001359 aom_highbd_dc_left_predictor_8x16_c, aom_highbd_dc_top_predictor_8x16_c,
1360 aom_highbd_dc_128_predictor_8x16_c, aom_highbd_v_predictor_8x16_c,
1361 aom_highbd_h_predictor_8x16_c, aom_highbd_paeth_predictor_8x16_c,
1362 aom_highbd_smooth_predictor_8x16_c, aom_highbd_smooth_v_predictor_8x16_c,
1363 aom_highbd_smooth_h_predictor_8x16_c)
Urvang Joshi2e4ee072018-02-16 16:26:00 -08001364HIGHBD_INTRA_PRED_TEST(
James Zernada19d62022-04-22 15:57:47 -07001365 C, TX_8X32, aom_highbd_dc_predictor_8x32_c,
Urvang Joshi2e4ee072018-02-16 16:26:00 -08001366 aom_highbd_dc_left_predictor_8x32_c, aom_highbd_dc_top_predictor_8x32_c,
1367 aom_highbd_dc_128_predictor_8x32_c, aom_highbd_v_predictor_8x32_c,
1368 aom_highbd_h_predictor_8x32_c, aom_highbd_paeth_predictor_8x32_c,
1369 aom_highbd_smooth_predictor_8x32_c, aom_highbd_smooth_v_predictor_8x32_c,
1370 aom_highbd_smooth_h_predictor_8x32_c)
James Zernfd4f6372022-05-09 17:20:30 -07001371
Yi Luof5d71a62017-09-14 11:47:40 -07001372#if HAVE_SSE2
James Zernada19d62022-04-22 15:57:47 -07001373HIGHBD_INTRA_PRED_TEST(SSE2, TX_8X8, aom_highbd_dc_predictor_8x8_sse2,
Hui Su59b633c2018-02-21 16:18:58 -08001374 aom_highbd_dc_left_predictor_8x8_sse2,
1375 aom_highbd_dc_top_predictor_8x8_sse2,
1376 aom_highbd_dc_128_predictor_8x8_sse2,
1377 aom_highbd_v_predictor_8x8_sse2,
James Zern664f04d2022-05-24 17:30:58 -07001378 aom_highbd_h_predictor_8x8_sse2, nullptr, nullptr,
1379 nullptr, nullptr)
James Zernada19d62022-04-22 15:57:47 -07001380HIGHBD_INTRA_PRED_TEST(SSE2, TX_8X4, aom_highbd_dc_predictor_8x4_sse2,
Hui Su59b633c2018-02-21 16:18:58 -08001381 aom_highbd_dc_left_predictor_8x4_sse2,
1382 aom_highbd_dc_top_predictor_8x4_sse2,
1383 aom_highbd_dc_128_predictor_8x4_sse2,
1384 aom_highbd_v_predictor_8x4_sse2,
James Zern664f04d2022-05-24 17:30:58 -07001385 aom_highbd_h_predictor_8x4_sse2, nullptr, nullptr,
1386 nullptr, nullptr)
James Zernada19d62022-04-22 15:57:47 -07001387HIGHBD_INTRA_PRED_TEST(SSE2, TX_8X16, aom_highbd_dc_predictor_8x16_sse2,
Hui Su59b633c2018-02-21 16:18:58 -08001388 aom_highbd_dc_left_predictor_8x16_sse2,
1389 aom_highbd_dc_top_predictor_8x16_sse2,
1390 aom_highbd_dc_128_predictor_8x16_sse2,
1391 aom_highbd_v_predictor_8x16_sse2,
James Zern664f04d2022-05-24 17:30:58 -07001392 aom_highbd_h_predictor_8x16_sse2, nullptr, nullptr,
1393 nullptr, nullptr)
Yi Luof5d71a62017-09-14 11:47:40 -07001394#endif
1395
Yi Luo71b6e042017-10-05 16:48:10 -07001396#if HAVE_SSSE3
James Zern664f04d2022-05-24 17:30:58 -07001397HIGHBD_INTRA_PRED_TEST(SSSE3, TX_8X8, nullptr, nullptr, nullptr, nullptr,
1398 nullptr, nullptr, nullptr, nullptr, nullptr, nullptr)
Yi Luo71b6e042017-10-05 16:48:10 -07001399#endif
1400
James Zern9505f302022-04-22 15:49:01 -07001401#if HAVE_NEON
George Steedbf79e162023-05-24 17:12:50 +01001402HIGHBD_INTRA_PRED_TEST(NEON, TX_8X8, aom_highbd_dc_predictor_8x8_neon,
George Steed79200622023-05-24 17:32:33 +01001403 aom_highbd_dc_left_predictor_8x8_neon,
1404 aom_highbd_dc_top_predictor_8x8_neon,
George Steedbf79e162023-05-24 17:12:50 +01001405 aom_highbd_dc_128_predictor_8x8_neon,
George Steeddcaf4ef2023-05-24 16:39:43 +01001406 aom_highbd_v_predictor_8x8_neon,
George Steedbdbdeae2023-05-23 13:59:47 +01001407 aom_highbd_h_predictor_8x8_neon,
1408 aom_highbd_paeth_predictor_8x8_neon,
James Zern55021bf2022-04-22 16:54:55 -07001409 aom_highbd_smooth_predictor_8x8_neon,
James Zern54bf5f82022-04-22 22:03:43 -07001410 aom_highbd_smooth_v_predictor_8x8_neon,
1411 aom_highbd_smooth_h_predictor_8x8_neon)
George Steed0dff0e52023-05-25 16:16:01 +01001412HIGHBD_INTRA_PRED_TEST(NEON, TX_8X4, aom_highbd_dc_predictor_8x4_neon,
1413 aom_highbd_dc_left_predictor_8x4_neon,
1414 aom_highbd_dc_top_predictor_8x4_neon,
1415 aom_highbd_dc_128_predictor_8x4_neon,
1416 aom_highbd_v_predictor_8x4_neon,
1417 aom_highbd_h_predictor_8x4_neon,
1418 aom_highbd_paeth_predictor_8x4_neon,
1419 aom_highbd_smooth_predictor_8x4_neon,
1420 aom_highbd_smooth_v_predictor_8x4_neon,
1421 aom_highbd_smooth_h_predictor_8x4_neon)
1422HIGHBD_INTRA_PRED_TEST(NEON, TX_8X16, aom_highbd_dc_predictor_8x16_neon,
George Steed79200622023-05-24 17:32:33 +01001423 aom_highbd_dc_left_predictor_8x16_neon,
1424 aom_highbd_dc_top_predictor_8x16_neon,
George Steeddcaf4ef2023-05-24 16:39:43 +01001425 aom_highbd_dc_128_predictor_8x16_neon,
George Steedbdbdeae2023-05-23 13:59:47 +01001426 aom_highbd_v_predictor_8x16_neon,
1427 aom_highbd_h_predictor_8x16_neon,
James Zernb19d72f2022-04-21 18:55:23 -07001428 aom_highbd_paeth_predictor_8x16_neon,
James Zern55021bf2022-04-22 16:54:55 -07001429 aom_highbd_smooth_predictor_8x16_neon,
James Zern54bf5f82022-04-22 22:03:43 -07001430 aom_highbd_smooth_v_predictor_8x16_neon,
1431 aom_highbd_smooth_h_predictor_8x16_neon)
George Steed0dff0e52023-05-25 16:16:01 +01001432HIGHBD_INTRA_PRED_TEST(NEON, TX_8X32, aom_highbd_dc_predictor_8x32_neon,
George Steed79200622023-05-24 17:32:33 +01001433 aom_highbd_dc_left_predictor_8x32_neon,
1434 aom_highbd_dc_top_predictor_8x32_neon,
George Steeddcaf4ef2023-05-24 16:39:43 +01001435 aom_highbd_dc_128_predictor_8x32_neon,
George Steedbdbdeae2023-05-23 13:59:47 +01001436 aom_highbd_v_predictor_8x32_neon,
1437 aom_highbd_h_predictor_8x32_neon,
James Zernb19d72f2022-04-21 18:55:23 -07001438 aom_highbd_paeth_predictor_8x32_neon,
James Zern55021bf2022-04-22 16:54:55 -07001439 aom_highbd_smooth_predictor_8x32_neon,
James Zern54bf5f82022-04-22 22:03:43 -07001440 aom_highbd_smooth_v_predictor_8x32_neon,
1441 aom_highbd_smooth_h_predictor_8x32_neon)
James Zern9505f302022-04-22 15:49:01 -07001442#endif // HAVE_NEON
1443
Yi Luof5d71a62017-09-14 11:47:40 -07001444// -----------------------------------------------------------------------------
Urvang Joshi2e4ee072018-02-16 16:26:00 -08001445// 16x16, 16x8, 16x32, 16x4, 16x64
Yi Luof5d71a62017-09-14 11:47:40 -07001446
Yi Luof5d71a62017-09-14 11:47:40 -07001447HIGHBD_INTRA_PRED_TEST(
James Zernada19d62022-04-22 15:57:47 -07001448 C, TX_16X16, aom_highbd_dc_predictor_16x16_c,
Urvang Joshia5f25402018-02-16 14:48:05 -08001449 aom_highbd_dc_left_predictor_16x16_c, aom_highbd_dc_top_predictor_16x16_c,
1450 aom_highbd_dc_128_predictor_16x16_c, aom_highbd_v_predictor_16x16_c,
1451 aom_highbd_h_predictor_16x16_c, aom_highbd_paeth_predictor_16x16_c,
1452 aom_highbd_smooth_predictor_16x16_c, aom_highbd_smooth_v_predictor_16x16_c,
Urvang Joshib7301cd2017-11-09 15:08:56 -08001453 aom_highbd_smooth_h_predictor_16x16_c)
Urvang Joshi2e4ee072018-02-16 16:26:00 -08001454HIGHBD_INTRA_PRED_TEST(
James Zernada19d62022-04-22 15:57:47 -07001455 C, TX_16X8, aom_highbd_dc_predictor_16x8_c,
Urvang Joshi2e4ee072018-02-16 16:26:00 -08001456 aom_highbd_dc_left_predictor_16x8_c, aom_highbd_dc_top_predictor_16x8_c,
1457 aom_highbd_dc_128_predictor_16x8_c, aom_highbd_v_predictor_16x8_c,
1458 aom_highbd_h_predictor_16x8_c, aom_highbd_paeth_predictor_16x8_c,
1459 aom_highbd_smooth_predictor_16x8_c, aom_highbd_smooth_v_predictor_16x8_c,
1460 aom_highbd_smooth_h_predictor_16x8_c)
Urvang Joshi2e4ee072018-02-16 16:26:00 -08001461HIGHBD_INTRA_PRED_TEST(
James Zernada19d62022-04-22 15:57:47 -07001462 C, TX_16X32, aom_highbd_dc_predictor_16x32_c,
Urvang Joshi2e4ee072018-02-16 16:26:00 -08001463 aom_highbd_dc_left_predictor_16x32_c, aom_highbd_dc_top_predictor_16x32_c,
1464 aom_highbd_dc_128_predictor_16x32_c, aom_highbd_v_predictor_16x32_c,
1465 aom_highbd_h_predictor_16x32_c, aom_highbd_paeth_predictor_16x32_c,
1466 aom_highbd_smooth_predictor_16x32_c, aom_highbd_smooth_v_predictor_16x32_c,
1467 aom_highbd_smooth_h_predictor_16x32_c)
Urvang Joshi2e4ee072018-02-16 16:26:00 -08001468HIGHBD_INTRA_PRED_TEST(
James Zernada19d62022-04-22 15:57:47 -07001469 C, TX_16X4, aom_highbd_dc_predictor_16x4_c,
Urvang Joshi2e4ee072018-02-16 16:26:00 -08001470 aom_highbd_dc_left_predictor_16x4_c, aom_highbd_dc_top_predictor_16x4_c,
1471 aom_highbd_dc_128_predictor_16x4_c, aom_highbd_v_predictor_16x4_c,
1472 aom_highbd_h_predictor_16x4_c, aom_highbd_paeth_predictor_16x4_c,
1473 aom_highbd_smooth_predictor_16x4_c, aom_highbd_smooth_v_predictor_16x4_c,
1474 aom_highbd_smooth_h_predictor_16x4_c)
Urvang Joshi2e4ee072018-02-16 16:26:00 -08001475HIGHBD_INTRA_PRED_TEST(
James Zernada19d62022-04-22 15:57:47 -07001476 C, TX_16X64, aom_highbd_dc_predictor_16x64_c,
Urvang Joshi2e4ee072018-02-16 16:26:00 -08001477 aom_highbd_dc_left_predictor_16x64_c, aom_highbd_dc_top_predictor_16x64_c,
1478 aom_highbd_dc_128_predictor_16x64_c, aom_highbd_v_predictor_16x64_c,
1479 aom_highbd_h_predictor_16x64_c, aom_highbd_paeth_predictor_16x64_c,
1480 aom_highbd_smooth_predictor_16x64_c, aom_highbd_smooth_v_predictor_16x64_c,
1481 aom_highbd_smooth_h_predictor_16x64_c)
1482
Yi Luof5d71a62017-09-14 11:47:40 -07001483#if HAVE_SSE2
James Zernada19d62022-04-22 15:57:47 -07001484HIGHBD_INTRA_PRED_TEST(SSE2, TX_16X16, aom_highbd_dc_predictor_16x16_sse2,
Yi Luobbf61862017-09-18 15:39:39 -07001485 aom_highbd_dc_left_predictor_16x16_sse2,
1486 aom_highbd_dc_top_predictor_16x16_sse2,
Yi Luobdddf332017-09-19 10:11:17 -07001487 aom_highbd_dc_128_predictor_16x16_sse2,
1488 aom_highbd_v_predictor_16x16_sse2,
James Zern664f04d2022-05-24 17:30:58 -07001489 aom_highbd_h_predictor_16x16_sse2, nullptr, nullptr,
1490 nullptr, nullptr)
James Zernada19d62022-04-22 15:57:47 -07001491HIGHBD_INTRA_PRED_TEST(SSE2, TX_16X8, aom_highbd_dc_predictor_16x8_sse2,
Yi Luobbf61862017-09-18 15:39:39 -07001492 aom_highbd_dc_left_predictor_16x8_sse2,
1493 aom_highbd_dc_top_predictor_16x8_sse2,
Yi Luobdddf332017-09-19 10:11:17 -07001494 aom_highbd_dc_128_predictor_16x8_sse2,
1495 aom_highbd_v_predictor_16x8_sse2,
James Zern664f04d2022-05-24 17:30:58 -07001496 aom_highbd_h_predictor_16x8_sse2, nullptr, nullptr,
1497 nullptr, nullptr)
James Zernada19d62022-04-22 15:57:47 -07001498HIGHBD_INTRA_PRED_TEST(SSE2, TX_16X32, aom_highbd_dc_predictor_16x32_sse2,
Yi Luobbf61862017-09-18 15:39:39 -07001499 aom_highbd_dc_left_predictor_16x32_sse2,
1500 aom_highbd_dc_top_predictor_16x32_sse2,
Yi Luobdddf332017-09-19 10:11:17 -07001501 aom_highbd_dc_128_predictor_16x32_sse2,
1502 aom_highbd_v_predictor_16x32_sse2,
James Zern664f04d2022-05-24 17:30:58 -07001503 aom_highbd_h_predictor_16x32_sse2, nullptr, nullptr,
1504 nullptr, nullptr)
Yi Luof5d71a62017-09-14 11:47:40 -07001505#endif
1506
Yi Luo71b6e042017-10-05 16:48:10 -07001507#if HAVE_SSSE3
James Zern664f04d2022-05-24 17:30:58 -07001508HIGHBD_INTRA_PRED_TEST(SSSE3, TX_16X16, nullptr, nullptr, nullptr, nullptr,
1509 nullptr, nullptr, nullptr, nullptr, nullptr, nullptr)
Yi Luo71b6e042017-10-05 16:48:10 -07001510#endif
1511
Yi Luo56ad3dd2017-10-06 11:00:10 -07001512#if HAVE_AVX2
James Zern664f04d2022-05-24 17:30:58 -07001513HIGHBD_INTRA_PRED_TEST(AVX2, TX_16X16, nullptr, nullptr, nullptr, nullptr,
1514 nullptr, nullptr, nullptr, nullptr, nullptr, nullptr)
Yi Luo56ad3dd2017-10-06 11:00:10 -07001515
James Zern664f04d2022-05-24 17:30:58 -07001516HIGHBD_INTRA_PRED_TEST(AVX2, TX_16X8, nullptr, nullptr, nullptr, nullptr,
1517 nullptr, nullptr, nullptr, nullptr, nullptr, nullptr)
Yi Luo56ad3dd2017-10-06 11:00:10 -07001518
James Zern664f04d2022-05-24 17:30:58 -07001519HIGHBD_INTRA_PRED_TEST(AVX2, TX_16X32, nullptr, nullptr, nullptr, nullptr,
1520 nullptr, nullptr, nullptr, nullptr, nullptr, nullptr)
Yi Luo56ad3dd2017-10-06 11:00:10 -07001521#endif
1522
James Zern9505f302022-04-22 15:49:01 -07001523#if HAVE_NEON
James Zern664f04d2022-05-24 17:30:58 -07001524HIGHBD_INTRA_PRED_TEST(NEON, TX_16X16, aom_highbd_dc_predictor_16x16_neon,
George Steed79200622023-05-24 17:32:33 +01001525 aom_highbd_dc_left_predictor_16x16_neon,
1526 aom_highbd_dc_top_predictor_16x16_neon,
George Steedbf79e162023-05-24 17:12:50 +01001527 aom_highbd_dc_128_predictor_16x16_neon,
George Steedbdbdeae2023-05-23 13:59:47 +01001528 aom_highbd_v_predictor_16x16_neon,
1529 aom_highbd_h_predictor_16x16_neon,
James Zernb19d72f2022-04-21 18:55:23 -07001530 aom_highbd_paeth_predictor_16x16_neon,
James Zern55021bf2022-04-22 16:54:55 -07001531 aom_highbd_smooth_predictor_16x16_neon,
James Zern54bf5f82022-04-22 22:03:43 -07001532 aom_highbd_smooth_v_predictor_16x16_neon,
1533 aom_highbd_smooth_h_predictor_16x16_neon)
George Steed0dff0e52023-05-25 16:16:01 +01001534HIGHBD_INTRA_PRED_TEST(NEON, TX_16X8, aom_highbd_dc_predictor_16x8_neon,
George Steed79200622023-05-24 17:32:33 +01001535 aom_highbd_dc_left_predictor_16x8_neon,
1536 aom_highbd_dc_top_predictor_16x8_neon,
George Steeddcaf4ef2023-05-24 16:39:43 +01001537 aom_highbd_dc_128_predictor_16x8_neon,
George Steedbdbdeae2023-05-23 13:59:47 +01001538 aom_highbd_v_predictor_16x8_neon,
1539 aom_highbd_h_predictor_16x8_neon,
James Zernb19d72f2022-04-21 18:55:23 -07001540 aom_highbd_paeth_predictor_16x8_neon,
James Zern55021bf2022-04-22 16:54:55 -07001541 aom_highbd_smooth_predictor_16x8_neon,
James Zern54bf5f82022-04-22 22:03:43 -07001542 aom_highbd_smooth_v_predictor_16x8_neon,
1543 aom_highbd_smooth_h_predictor_16x8_neon)
George Steed0dff0e52023-05-25 16:16:01 +01001544HIGHBD_INTRA_PRED_TEST(NEON, TX_16X32, aom_highbd_dc_predictor_16x32_neon,
George Steed79200622023-05-24 17:32:33 +01001545 aom_highbd_dc_left_predictor_16x32_neon,
1546 aom_highbd_dc_top_predictor_16x32_neon,
George Steeddcaf4ef2023-05-24 16:39:43 +01001547 aom_highbd_dc_128_predictor_16x32_neon,
George Steedbdbdeae2023-05-23 13:59:47 +01001548 aom_highbd_v_predictor_16x32_neon,
1549 aom_highbd_h_predictor_16x32_neon,
James Zernb19d72f2022-04-21 18:55:23 -07001550 aom_highbd_paeth_predictor_16x32_neon,
James Zern55021bf2022-04-22 16:54:55 -07001551 aom_highbd_smooth_predictor_16x32_neon,
James Zern54bf5f82022-04-22 22:03:43 -07001552 aom_highbd_smooth_v_predictor_16x32_neon,
1553 aom_highbd_smooth_h_predictor_16x32_neon)
George Steed0dff0e52023-05-25 16:16:01 +01001554HIGHBD_INTRA_PRED_TEST(NEON, TX_16X4, aom_highbd_dc_predictor_16x4_neon,
George Steed79200622023-05-24 17:32:33 +01001555 aom_highbd_dc_left_predictor_16x4_neon,
1556 aom_highbd_dc_top_predictor_16x4_neon,
George Steeddcaf4ef2023-05-24 16:39:43 +01001557 aom_highbd_dc_128_predictor_16x4_neon,
George Steedbdbdeae2023-05-23 13:59:47 +01001558 aom_highbd_v_predictor_16x4_neon,
1559 aom_highbd_h_predictor_16x4_neon,
James Zernb19d72f2022-04-21 18:55:23 -07001560 aom_highbd_paeth_predictor_16x4_neon,
James Zern55021bf2022-04-22 16:54:55 -07001561 aom_highbd_smooth_predictor_16x4_neon,
James Zern54bf5f82022-04-22 22:03:43 -07001562 aom_highbd_smooth_v_predictor_16x4_neon,
1563 aom_highbd_smooth_h_predictor_16x4_neon)
George Steed0dff0e52023-05-25 16:16:01 +01001564HIGHBD_INTRA_PRED_TEST(NEON, TX_16X64, aom_highbd_dc_predictor_16x64_neon,
George Steed79200622023-05-24 17:32:33 +01001565 aom_highbd_dc_left_predictor_16x64_neon,
1566 aom_highbd_dc_top_predictor_16x64_neon,
George Steeddcaf4ef2023-05-24 16:39:43 +01001567 aom_highbd_dc_128_predictor_16x64_neon,
George Steedbdbdeae2023-05-23 13:59:47 +01001568 aom_highbd_v_predictor_16x64_neon,
1569 aom_highbd_h_predictor_16x64_neon,
James Zernb19d72f2022-04-21 18:55:23 -07001570 aom_highbd_paeth_predictor_16x64_neon,
James Zern55021bf2022-04-22 16:54:55 -07001571 aom_highbd_smooth_predictor_16x64_neon,
James Zern54bf5f82022-04-22 22:03:43 -07001572 aom_highbd_smooth_v_predictor_16x64_neon,
1573 aom_highbd_smooth_h_predictor_16x64_neon)
James Zern9505f302022-04-22 15:49:01 -07001574#endif // HAVE_NEON
1575
Yi Luof5d71a62017-09-14 11:47:40 -07001576// -----------------------------------------------------------------------------
Urvang Joshi2e4ee072018-02-16 16:26:00 -08001577// 32x32, 32x16, 32x64, 32x8
Yi Luof5d71a62017-09-14 11:47:40 -07001578
Yi Luof5d71a62017-09-14 11:47:40 -07001579HIGHBD_INTRA_PRED_TEST(
James Zernada19d62022-04-22 15:57:47 -07001580 C, TX_32X32, aom_highbd_dc_predictor_32x32_c,
Urvang Joshia5f25402018-02-16 14:48:05 -08001581 aom_highbd_dc_left_predictor_32x32_c, aom_highbd_dc_top_predictor_32x32_c,
1582 aom_highbd_dc_128_predictor_32x32_c, aom_highbd_v_predictor_32x32_c,
1583 aom_highbd_h_predictor_32x32_c, aom_highbd_paeth_predictor_32x32_c,
1584 aom_highbd_smooth_predictor_32x32_c, aom_highbd_smooth_v_predictor_32x32_c,
Urvang Joshib7301cd2017-11-09 15:08:56 -08001585 aom_highbd_smooth_h_predictor_32x32_c)
Urvang Joshi2e4ee072018-02-16 16:26:00 -08001586HIGHBD_INTRA_PRED_TEST(
James Zernada19d62022-04-22 15:57:47 -07001587 C, TX_32X16, aom_highbd_dc_predictor_32x16_c,
Urvang Joshi2e4ee072018-02-16 16:26:00 -08001588 aom_highbd_dc_left_predictor_32x16_c, aom_highbd_dc_top_predictor_32x16_c,
1589 aom_highbd_dc_128_predictor_32x16_c, aom_highbd_v_predictor_32x16_c,
1590 aom_highbd_h_predictor_32x16_c, aom_highbd_paeth_predictor_32x16_c,
1591 aom_highbd_smooth_predictor_32x16_c, aom_highbd_smooth_v_predictor_32x16_c,
1592 aom_highbd_smooth_h_predictor_32x16_c)
Urvang Joshi2e4ee072018-02-16 16:26:00 -08001593HIGHBD_INTRA_PRED_TEST(
James Zernada19d62022-04-22 15:57:47 -07001594 C, TX_32X64, aom_highbd_dc_predictor_32x64_c,
Urvang Joshi2e4ee072018-02-16 16:26:00 -08001595 aom_highbd_dc_left_predictor_32x64_c, aom_highbd_dc_top_predictor_32x64_c,
1596 aom_highbd_dc_128_predictor_32x64_c, aom_highbd_v_predictor_32x64_c,
1597 aom_highbd_h_predictor_32x64_c, aom_highbd_paeth_predictor_32x64_c,
1598 aom_highbd_smooth_predictor_32x64_c, aom_highbd_smooth_v_predictor_32x64_c,
1599 aom_highbd_smooth_h_predictor_32x64_c)
Urvang Joshi2e4ee072018-02-16 16:26:00 -08001600HIGHBD_INTRA_PRED_TEST(
James Zernada19d62022-04-22 15:57:47 -07001601 C, TX_32X8, aom_highbd_dc_predictor_32x8_c,
Urvang Joshi2e4ee072018-02-16 16:26:00 -08001602 aom_highbd_dc_left_predictor_32x8_c, aom_highbd_dc_top_predictor_32x8_c,
1603 aom_highbd_dc_128_predictor_32x8_c, aom_highbd_v_predictor_32x8_c,
1604 aom_highbd_h_predictor_32x8_c, aom_highbd_paeth_predictor_32x8_c,
1605 aom_highbd_smooth_predictor_32x8_c, aom_highbd_smooth_v_predictor_32x8_c,
1606 aom_highbd_smooth_h_predictor_32x8_c)
1607
Yi Luof5d71a62017-09-14 11:47:40 -07001608#if HAVE_SSE2
James Zernada19d62022-04-22 15:57:47 -07001609HIGHBD_INTRA_PRED_TEST(SSE2, TX_32X32, aom_highbd_dc_predictor_32x32_sse2,
Yi Luobbf61862017-09-18 15:39:39 -07001610 aom_highbd_dc_left_predictor_32x32_sse2,
1611 aom_highbd_dc_top_predictor_32x32_sse2,
Yi Luobdddf332017-09-19 10:11:17 -07001612 aom_highbd_dc_128_predictor_32x32_sse2,
1613 aom_highbd_v_predictor_32x32_sse2,
James Zern664f04d2022-05-24 17:30:58 -07001614 aom_highbd_h_predictor_32x32_sse2, nullptr, nullptr,
1615 nullptr, nullptr)
James Zernada19d62022-04-22 15:57:47 -07001616HIGHBD_INTRA_PRED_TEST(SSE2, TX_32X16, aom_highbd_dc_predictor_32x16_sse2,
Yi Luobbf61862017-09-18 15:39:39 -07001617 aom_highbd_dc_left_predictor_32x16_sse2,
1618 aom_highbd_dc_top_predictor_32x16_sse2,
Yi Luobdddf332017-09-19 10:11:17 -07001619 aom_highbd_dc_128_predictor_32x16_sse2,
1620 aom_highbd_v_predictor_32x16_sse2,
James Zern664f04d2022-05-24 17:30:58 -07001621 aom_highbd_h_predictor_32x16_sse2, nullptr, nullptr,
1622 nullptr, nullptr)
Yi Luof5d71a62017-09-14 11:47:40 -07001623#endif
Yi Luobbf61862017-09-18 15:39:39 -07001624
Yi Luo71b6e042017-10-05 16:48:10 -07001625#if HAVE_SSSE3
James Zern664f04d2022-05-24 17:30:58 -07001626HIGHBD_INTRA_PRED_TEST(SSSE3, TX_32X32, nullptr, nullptr, nullptr, nullptr,
1627 nullptr, nullptr, nullptr, nullptr, nullptr, nullptr)
Yi Luo71b6e042017-10-05 16:48:10 -07001628#endif
1629
Yi Luo56ad3dd2017-10-06 11:00:10 -07001630#if HAVE_AVX2
James Zern664f04d2022-05-24 17:30:58 -07001631HIGHBD_INTRA_PRED_TEST(AVX2, TX_32X32, nullptr, nullptr, nullptr, nullptr,
1632 nullptr, nullptr, nullptr, nullptr, nullptr, nullptr)
Yi Luo56ad3dd2017-10-06 11:00:10 -07001633
James Zern664f04d2022-05-24 17:30:58 -07001634HIGHBD_INTRA_PRED_TEST(AVX2, TX_32X16, nullptr, nullptr, nullptr, nullptr,
1635 nullptr, nullptr, nullptr, nullptr, nullptr, nullptr)
Yi Luo56ad3dd2017-10-06 11:00:10 -07001636#endif
1637
James Zern9505f302022-04-22 15:49:01 -07001638#if HAVE_NEON
James Zern664f04d2022-05-24 17:30:58 -07001639HIGHBD_INTRA_PRED_TEST(NEON, TX_32X32, aom_highbd_dc_predictor_32x32_neon,
George Steed79200622023-05-24 17:32:33 +01001640 aom_highbd_dc_left_predictor_32x32_neon,
1641 aom_highbd_dc_top_predictor_32x32_neon,
George Steedbf79e162023-05-24 17:12:50 +01001642 aom_highbd_dc_128_predictor_32x32_neon,
George Steedbdbdeae2023-05-23 13:59:47 +01001643 aom_highbd_v_predictor_32x32_neon,
1644 aom_highbd_h_predictor_32x32_neon,
James Zernb19d72f2022-04-21 18:55:23 -07001645 aom_highbd_paeth_predictor_32x32_neon,
James Zern55021bf2022-04-22 16:54:55 -07001646 aom_highbd_smooth_predictor_32x32_neon,
James Zern54bf5f82022-04-22 22:03:43 -07001647 aom_highbd_smooth_v_predictor_32x32_neon,
1648 aom_highbd_smooth_h_predictor_32x32_neon)
George Steed0dff0e52023-05-25 16:16:01 +01001649HIGHBD_INTRA_PRED_TEST(NEON, TX_32X16, aom_highbd_dc_predictor_32x16_neon,
George Steed79200622023-05-24 17:32:33 +01001650 aom_highbd_dc_left_predictor_32x16_neon,
1651 aom_highbd_dc_top_predictor_32x16_neon,
George Steeddcaf4ef2023-05-24 16:39:43 +01001652 aom_highbd_dc_128_predictor_32x16_neon,
George Steedbdbdeae2023-05-23 13:59:47 +01001653 aom_highbd_v_predictor_32x16_neon,
1654 aom_highbd_h_predictor_32x16_neon,
James Zernb19d72f2022-04-21 18:55:23 -07001655 aom_highbd_paeth_predictor_32x16_neon,
James Zern55021bf2022-04-22 16:54:55 -07001656 aom_highbd_smooth_predictor_32x16_neon,
James Zern54bf5f82022-04-22 22:03:43 -07001657 aom_highbd_smooth_v_predictor_32x16_neon,
1658 aom_highbd_smooth_h_predictor_32x16_neon)
George Steed0dff0e52023-05-25 16:16:01 +01001659HIGHBD_INTRA_PRED_TEST(NEON, TX_32X64, aom_highbd_dc_predictor_32x64_neon,
George Steed79200622023-05-24 17:32:33 +01001660 aom_highbd_dc_left_predictor_32x64_neon,
1661 aom_highbd_dc_top_predictor_32x64_neon,
George Steeddcaf4ef2023-05-24 16:39:43 +01001662 aom_highbd_dc_128_predictor_32x64_neon,
George Steedbdbdeae2023-05-23 13:59:47 +01001663 aom_highbd_v_predictor_32x64_neon,
1664 aom_highbd_h_predictor_32x64_neon,
James Zernb19d72f2022-04-21 18:55:23 -07001665 aom_highbd_paeth_predictor_32x64_neon,
James Zern55021bf2022-04-22 16:54:55 -07001666 aom_highbd_smooth_predictor_32x64_neon,
James Zern54bf5f82022-04-22 22:03:43 -07001667 aom_highbd_smooth_v_predictor_32x64_neon,
1668 aom_highbd_smooth_h_predictor_32x64_neon)
George Steed0dff0e52023-05-25 16:16:01 +01001669HIGHBD_INTRA_PRED_TEST(NEON, TX_32X8, aom_highbd_dc_predictor_32x8_neon,
George Steed79200622023-05-24 17:32:33 +01001670 aom_highbd_dc_left_predictor_32x8_neon,
1671 aom_highbd_dc_top_predictor_32x8_neon,
George Steeddcaf4ef2023-05-24 16:39:43 +01001672 aom_highbd_dc_128_predictor_32x8_neon,
George Steedbdbdeae2023-05-23 13:59:47 +01001673 aom_highbd_v_predictor_32x8_neon,
1674 aom_highbd_h_predictor_32x8_neon,
James Zernb19d72f2022-04-21 18:55:23 -07001675 aom_highbd_paeth_predictor_32x8_neon,
James Zern55021bf2022-04-22 16:54:55 -07001676 aom_highbd_smooth_predictor_32x8_neon,
James Zern54bf5f82022-04-22 22:03:43 -07001677 aom_highbd_smooth_v_predictor_32x8_neon,
1678 aom_highbd_smooth_h_predictor_32x8_neon)
James Zern9505f302022-04-22 15:49:01 -07001679#endif // HAVE_NEON
1680
Urvang Joshi2e4ee072018-02-16 16:26:00 -08001681// -----------------------------------------------------------------------------
1682// 64x64, 64x32, 64x16
1683
Yi Luobbf61862017-09-18 15:39:39 -07001684HIGHBD_INTRA_PRED_TEST(
James Zernada19d62022-04-22 15:57:47 -07001685 C, TX_64X64, aom_highbd_dc_predictor_64x64_c,
Urvang Joshi2e4ee072018-02-16 16:26:00 -08001686 aom_highbd_dc_left_predictor_64x64_c, aom_highbd_dc_top_predictor_64x64_c,
1687 aom_highbd_dc_128_predictor_64x64_c, aom_highbd_v_predictor_64x64_c,
1688 aom_highbd_h_predictor_64x64_c, aom_highbd_paeth_predictor_64x64_c,
1689 aom_highbd_smooth_predictor_64x64_c, aom_highbd_smooth_v_predictor_64x64_c,
1690 aom_highbd_smooth_h_predictor_64x64_c)
Urvang Joshi2e4ee072018-02-16 16:26:00 -08001691HIGHBD_INTRA_PRED_TEST(
James Zernada19d62022-04-22 15:57:47 -07001692 C, TX_64X32, aom_highbd_dc_predictor_64x32_c,
Urvang Joshi2e4ee072018-02-16 16:26:00 -08001693 aom_highbd_dc_left_predictor_64x32_c, aom_highbd_dc_top_predictor_64x32_c,
1694 aom_highbd_dc_128_predictor_64x32_c, aom_highbd_v_predictor_64x32_c,
1695 aom_highbd_h_predictor_64x32_c, aom_highbd_paeth_predictor_64x32_c,
1696 aom_highbd_smooth_predictor_64x32_c, aom_highbd_smooth_v_predictor_64x32_c,
1697 aom_highbd_smooth_h_predictor_64x32_c)
Urvang Joshi2e4ee072018-02-16 16:26:00 -08001698HIGHBD_INTRA_PRED_TEST(
James Zernada19d62022-04-22 15:57:47 -07001699 C, TX_64X16, aom_highbd_dc_predictor_64x16_c,
Urvang Joshi2e4ee072018-02-16 16:26:00 -08001700 aom_highbd_dc_left_predictor_64x16_c, aom_highbd_dc_top_predictor_64x16_c,
1701 aom_highbd_dc_128_predictor_64x16_c, aom_highbd_v_predictor_64x16_c,
1702 aom_highbd_h_predictor_64x16_c, aom_highbd_paeth_predictor_64x16_c,
1703 aom_highbd_smooth_predictor_64x16_c, aom_highbd_smooth_v_predictor_64x16_c,
1704 aom_highbd_smooth_h_predictor_64x16_c)
1705
James Zern9505f302022-04-22 15:49:01 -07001706#if HAVE_NEON
James Zern664f04d2022-05-24 17:30:58 -07001707HIGHBD_INTRA_PRED_TEST(NEON, TX_64X64, aom_highbd_dc_predictor_64x64_neon,
George Steed79200622023-05-24 17:32:33 +01001708 aom_highbd_dc_left_predictor_64x64_neon,
1709 aom_highbd_dc_top_predictor_64x64_neon,
George Steedbf79e162023-05-24 17:12:50 +01001710 aom_highbd_dc_128_predictor_64x64_neon,
George Steedbdbdeae2023-05-23 13:59:47 +01001711 aom_highbd_v_predictor_64x64_neon,
1712 aom_highbd_h_predictor_64x64_neon,
James Zernb19d72f2022-04-21 18:55:23 -07001713 aom_highbd_paeth_predictor_64x64_neon,
James Zern55021bf2022-04-22 16:54:55 -07001714 aom_highbd_smooth_predictor_64x64_neon,
James Zern54bf5f82022-04-22 22:03:43 -07001715 aom_highbd_smooth_v_predictor_64x64_neon,
1716 aom_highbd_smooth_h_predictor_64x64_neon)
George Steed0dff0e52023-05-25 16:16:01 +01001717HIGHBD_INTRA_PRED_TEST(NEON, TX_64X32, aom_highbd_dc_predictor_64x32_neon,
George Steed79200622023-05-24 17:32:33 +01001718 aom_highbd_dc_left_predictor_64x32_neon,
1719 aom_highbd_dc_top_predictor_64x32_neon,
George Steeddcaf4ef2023-05-24 16:39:43 +01001720 aom_highbd_dc_128_predictor_64x32_neon,
George Steedbdbdeae2023-05-23 13:59:47 +01001721 aom_highbd_v_predictor_64x32_neon,
1722 aom_highbd_h_predictor_64x32_neon,
James Zernb19d72f2022-04-21 18:55:23 -07001723 aom_highbd_paeth_predictor_64x32_neon,
James Zern55021bf2022-04-22 16:54:55 -07001724 aom_highbd_smooth_predictor_64x32_neon,
James Zern54bf5f82022-04-22 22:03:43 -07001725 aom_highbd_smooth_v_predictor_64x32_neon,
1726 aom_highbd_smooth_h_predictor_64x32_neon)
George Steed0dff0e52023-05-25 16:16:01 +01001727HIGHBD_INTRA_PRED_TEST(NEON, TX_64X16, aom_highbd_dc_predictor_64x16_neon,
George Steed79200622023-05-24 17:32:33 +01001728 aom_highbd_dc_left_predictor_64x16_neon,
1729 aom_highbd_dc_top_predictor_64x16_neon,
George Steeddcaf4ef2023-05-24 16:39:43 +01001730 aom_highbd_dc_128_predictor_64x16_neon,
George Steedbdbdeae2023-05-23 13:59:47 +01001731 aom_highbd_v_predictor_64x16_neon,
1732 aom_highbd_h_predictor_64x16_neon,
James Zernb19d72f2022-04-21 18:55:23 -07001733 aom_highbd_paeth_predictor_64x16_neon,
James Zern55021bf2022-04-22 16:54:55 -07001734 aom_highbd_smooth_predictor_64x16_neon,
James Zern54bf5f82022-04-22 22:03:43 -07001735 aom_highbd_smooth_v_predictor_64x16_neon,
1736 aom_highbd_smooth_h_predictor_64x16_neon)
James Zern9505f302022-04-22 15:49:01 -07001737#endif // HAVE_NEON
1738
Urvang Joshi2e4ee072018-02-16 16:26:00 -08001739// -----------------------------------------------------------------------------
Jerome Jiang73f215f2019-09-11 14:22:08 -07001740#endif // CONFIG_AV1_HIGHBITDEPTH
Yi Luof5d71a62017-09-14 11:47:40 -07001741
Yaowu Xuf883b422016-08-30 14:01:10 -07001742#include "test/test_libaom.cc"