mirror of
https://github.com/opencv/opencv.git
synced 2024-11-25 11:40:44 +08:00
Optimized version of Norm functions added
This commit is contained in:
parent
7113122312
commit
5a702d7d9d
@ -1166,15 +1166,15 @@ typedef int (*NormDiffFunc)(const uchar*, const uchar*, const uchar*, uchar*, in
|
||||
static NormFunc normTab[3][8] =
|
||||
{
|
||||
{
|
||||
(NormFunc)normInf_8u, (NormFunc)normInf_8s, (NormFunc)normInf_16u, (NormFunc)normInf_16s,
|
||||
(NormFunc)normInf_32s, (NormFunc)normInf_32f, (NormFunc)normInf_64f, 0
|
||||
(NormFunc)GET_OPTIMIZED(normInf_8u), (NormFunc)normInf_8s, (NormFunc)normInf_16u, (NormFunc)normInf_16s,
|
||||
(NormFunc)normInf_32s, (NormFunc)GET_OPTIMIZED(normInf_32f), (NormFunc)normInf_64f, 0
|
||||
},
|
||||
{
|
||||
(NormFunc)normL1_8u, (NormFunc)normL1_8s, (NormFunc)normL1_16u, (NormFunc)normL1_16s,
|
||||
(NormFunc)normL1_32s, (NormFunc)normL1_32f, (NormFunc)normL1_64f, 0
|
||||
(NormFunc)GET_OPTIMIZED(normL1_8u), (NormFunc)normL1_8s, (NormFunc)normL1_16u, (NormFunc)normL1_16s,
|
||||
(NormFunc)normL1_32s, (NormFunc)GET_OPTIMIZED(normL1_32f), (NormFunc)normL1_64f, 0
|
||||
},
|
||||
{
|
||||
(NormFunc)normL2_8u, (NormFunc)normL2_8s, (NormFunc)normL2_16u, (NormFunc)normL2_16s,
|
||||
(NormFunc)GET_OPTIMIZED(normL2_8u), (NormFunc)normL2_8s, (NormFunc)normL2_16u, (NormFunc)normL2_16s,
|
||||
(NormFunc)normL2_32s, (NormFunc)normL2_32f, (NormFunc)normL2_64f, 0
|
||||
}
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user