| 437 | typedef int (*SumSqrFunc)(const uchar*, const uchar* mask, uchar*, uchar*, int, int); |
| 438 | |
| 439 | static SumSqrFunc getSumSqrTab(int depth) |
| 440 | { |
| 441 | static SumSqrFunc sumSqrTab[] = |
| 442 | { |
| 443 | (SumSqrFunc)GET_OPTIMIZED(sqsum8u), (SumSqrFunc)sqsum8s, (SumSqrFunc)sqsum16u, (SumSqrFunc)sqsum16s, |
| 444 | (SumSqrFunc)sqsum32s, (SumSqrFunc)GET_OPTIMIZED(sqsum32f), (SumSqrFunc)sqsum64f, 0 |
| 445 | }; |
| 446 | |
| 447 | return sumSqrTab[depth]; |
| 448 | } |
| 449 | |
| 450 | } |
| 451 |