|
|
|
@ -236,7 +236,7 @@ DEF_CVT_SCALE_ABS_FUNC(64u8u, cvtabs_32f, uint64_t, uchar, float) |
|
|
|
|
DEF_CVT_SCALE_ABS_FUNC(64s8u, cvtabs_32f, int64_t, uchar, float) |
|
|
|
|
DEF_CVT_SCALE_ABS_FUNC(64f8u, cvtabs_32f, double, uchar, float) |
|
|
|
|
DEF_CVT_SCALE_ABS_FUNC(16f8u, cvtabs_32f, float16_t, uchar, float) |
|
|
|
|
DEF_CVT_SCALE_ABS_FUNC(16bf8u, cvtabs_32f, bfloat16_t, uchar, float) |
|
|
|
|
DEF_CVT_SCALE_ABS_FUNC(16bf8u, cvtabs_32f, bfloat, uchar, float) |
|
|
|
|
|
|
|
|
|
DEF_CVT_SCALE_FUNC(8u, cvt_32f, uchar, uchar, float) |
|
|
|
|
DEF_CVT_SCALE_FUNC(8s8u, cvt_32f, schar, uchar, float) |
|
|
|
@ -249,7 +249,7 @@ DEF_CVT_SCALE_FUNC(64f8u, cvt_32f, double, uchar, float) |
|
|
|
|
DEF_CVT_SCALE_FUNC(64u8u, cvt_32f, uint64_t, uchar, float) |
|
|
|
|
DEF_CVT_SCALE_FUNC(64s8u, cvt_32f, int64_t, uchar, float) |
|
|
|
|
DEF_CVT_SCALE_FUNC(16f8u, cvt_32f, float16_t, uchar, float) |
|
|
|
|
DEF_CVT_SCALE_FUNC(16bf8u, cvt_32f, bfloat16_t, uchar, float) |
|
|
|
|
DEF_CVT_SCALE_FUNC(16bf8u, cvt_32f, bfloat, uchar, float) |
|
|
|
|
|
|
|
|
|
DEF_CVT_SCALE_FUNC(8u8s, cvt_32f, uchar, schar, float) |
|
|
|
|
DEF_CVT_SCALE_FUNC(8s, cvt_32f, schar, schar, float) |
|
|
|
@ -262,7 +262,7 @@ DEF_CVT_SCALE_FUNC(64f8s, cvt_32f, double, schar, float) |
|
|
|
|
DEF_CVT_SCALE_FUNC(64u8s, cvt_32f, uint64_t, schar, float) |
|
|
|
|
DEF_CVT_SCALE_FUNC(64s8s, cvt_32f, int64_t, schar, float) |
|
|
|
|
DEF_CVT_SCALE_FUNC(16f8s, cvt_32f, float16_t, schar, float) |
|
|
|
|
DEF_CVT_SCALE_FUNC(16bf8s, cvt_32f, bfloat16_t, schar, float) |
|
|
|
|
DEF_CVT_SCALE_FUNC(16bf8s, cvt_32f, bfloat, schar, float) |
|
|
|
|
|
|
|
|
|
DEF_CVT_SCALE2BOOL_FUNC(8u8b, uchar, float) |
|
|
|
|
DEF_CVT_SCALE2BOOL_FUNC(8s8b, schar, float) |
|
|
|
@ -275,7 +275,7 @@ DEF_CVT_SCALE2BOOL_FUNC(64f8b, double, float) |
|
|
|
|
DEF_CVT_SCALE2BOOL_FUNC(64u8b, uint64_t, float) |
|
|
|
|
DEF_CVT_SCALE2BOOL_FUNC(64s8b, int64_t, float) |
|
|
|
|
DEF_CVT_SCALE2BOOL_FUNC(16f8b, float16_t, float) |
|
|
|
|
DEF_CVT_SCALE2BOOL_FUNC(16bf8b, bfloat16_t, float) |
|
|
|
|
DEF_CVT_SCALE2BOOL_FUNC(16bf8b, bfloat, float) |
|
|
|
|
|
|
|
|
|
DEF_CVT_SCALE_FUNC(8u16u, cvt_32f, uchar, ushort, float) |
|
|
|
|
DEF_CVT_SCALE_FUNC(8s16u, cvt_32f, schar, ushort, float) |
|
|
|
@ -288,7 +288,7 @@ DEF_CVT_SCALE_FUNC(64f16u, cvt_32f, double, ushort, float) |
|
|
|
|
DEF_CVT_SCALE_FUNC(64u16u, cvt_32f, uint64_t, ushort, float) |
|
|
|
|
DEF_CVT_SCALE_FUNC(64s16u, cvt_32f, int64_t, ushort, float) |
|
|
|
|
DEF_CVT_SCALE_FUNC(16f16u, cvt1_32f, float16_t, ushort, float) |
|
|
|
|
DEF_CVT_SCALE_FUNC(16bf16u, cvt1_32f, bfloat16_t, ushort, float) |
|
|
|
|
DEF_CVT_SCALE_FUNC(16bf16u, cvt1_32f, bfloat, ushort, float) |
|
|
|
|
|
|
|
|
|
DEF_CVT_SCALE_FUNC(8u16s, cvt_32f, uchar, short, float) |
|
|
|
|
DEF_CVT_SCALE_FUNC(8s16s, cvt_32f, schar, short, float) |
|
|
|
@ -301,7 +301,7 @@ DEF_CVT_SCALE_FUNC(64f16s, cvt_32f, double, short, float) |
|
|
|
|
DEF_CVT_SCALE_FUNC(64u16s, cvt_32f, uint64_t, short, float) |
|
|
|
|
DEF_CVT_SCALE_FUNC(64s16s, cvt_32f, int64_t, short, float) |
|
|
|
|
DEF_CVT_SCALE_FUNC(16f16s, cvt1_32f, float16_t, short, float) |
|
|
|
|
DEF_CVT_SCALE_FUNC(16bf16s, cvt1_32f, bfloat16_t, short, float) |
|
|
|
|
DEF_CVT_SCALE_FUNC(16bf16s, cvt1_32f, bfloat, short, float) |
|
|
|
|
|
|
|
|
|
DEF_CVT_SCALE_FUNC(8u32u, cvt_32f, uchar, unsigned, float) |
|
|
|
|
DEF_CVT_SCALE_FUNC(8s32u, cvt_32f, schar, unsigned, float) |
|
|
|
@ -314,7 +314,7 @@ DEF_CVT_SCALE_FUNC(64f32u, cvt_64f, double, unsigned, double) |
|
|
|
|
DEF_CVT_SCALE_FUNC(64u32u, cvt_32f, uint64_t, unsigned, float) |
|
|
|
|
DEF_CVT_SCALE_FUNC(64s32u, cvt_32f, int64_t, unsigned, float) |
|
|
|
|
DEF_CVT_SCALE_FUNC(16f32u, cvt1_32f, float16_t, unsigned, float) |
|
|
|
|
DEF_CVT_SCALE_FUNC(16bf32u, cvt1_32f, bfloat16_t, unsigned, float) |
|
|
|
|
DEF_CVT_SCALE_FUNC(16bf32u, cvt1_32f, bfloat, unsigned, float) |
|
|
|
|
|
|
|
|
|
DEF_CVT_SCALE_FUNC(8u32s, cvt_32f, uchar, int, float) |
|
|
|
|
DEF_CVT_SCALE_FUNC(8s32s, cvt_32f, schar, int, float) |
|
|
|
@ -327,7 +327,7 @@ DEF_CVT_SCALE_FUNC(64f32s, cvt_64f, double, int, double) |
|
|
|
|
DEF_CVT_SCALE_FUNC(64u32s, cvt_32f, uint64_t, int, float) |
|
|
|
|
DEF_CVT_SCALE_FUNC(64s32s, cvt_32f, int64_t, int, float) |
|
|
|
|
DEF_CVT_SCALE_FUNC(16f32s, cvt1_32f, float16_t, int, float) |
|
|
|
|
DEF_CVT_SCALE_FUNC(16bf32s, cvt1_32f, bfloat16_t, int, float) |
|
|
|
|
DEF_CVT_SCALE_FUNC(16bf32s, cvt1_32f, bfloat, int, float) |
|
|
|
|
|
|
|
|
|
DEF_CVT_SCALE_FUNC(8u32f, cvt_32f, uchar, float, float) |
|
|
|
|
DEF_CVT_SCALE_FUNC(8s32f, cvt_32f, schar, float, float) |
|
|
|
@ -340,7 +340,7 @@ DEF_CVT_SCALE_FUNC(64f32f, cvt_64f, double, float, double) |
|
|
|
|
DEF_CVT_SCALE_FUNC(64u32f, cvt_32f, uint64_t, float, float) |
|
|
|
|
DEF_CVT_SCALE_FUNC(64s32f, cvt_32f, int64_t, float, float) |
|
|
|
|
DEF_CVT_SCALE_FUNC(16f32f, cvt1_32f, float16_t, float, float) |
|
|
|
|
DEF_CVT_SCALE_FUNC(16bf32f, cvt1_32f, bfloat16_t, float, float) |
|
|
|
|
DEF_CVT_SCALE_FUNC(16bf32f, cvt1_32f, bfloat, float, float) |
|
|
|
|
|
|
|
|
|
DEF_CVT_SCALE_FUNC(8u64f, cvt_64f, uchar, double, double) |
|
|
|
|
DEF_CVT_SCALE_FUNC(8s64f, cvt_64f, schar, double, double) |
|
|
|
@ -353,7 +353,7 @@ DEF_CVT_SCALE_FUNC(64f, cvt_64f, double, double, double) |
|
|
|
|
DEF_CVT_SCALE_FUNC(64u64f, cvt_64f, uint64_t, double, double) |
|
|
|
|
DEF_CVT_SCALE_FUNC(64s64f, cvt_64f, int64_t, double, double) |
|
|
|
|
DEF_CVT_SCALE_FUNC(16f64f, cvt_64f, float16_t, double, double) |
|
|
|
|
DEF_CVT_SCALE_FUNC(16bf64f, cvt_64f, bfloat16_t, double, double) |
|
|
|
|
DEF_CVT_SCALE_FUNC(16bf64f, cvt_64f, bfloat, double, double) |
|
|
|
|
|
|
|
|
|
DEF_CVT_SCALE_FUNC(8u64u, cvt_64f, uchar, uint64_t, double) |
|
|
|
|
DEF_CVT_SCALE_FUNC(8s64u, cvt_64f, schar, uint64_t, double) |
|
|
|
@ -366,7 +366,7 @@ DEF_CVT_SCALE_FUNC(64f64u, cvt_64f, double, uint64_t, double) |
|
|
|
|
DEF_CVT_SCALE_FUNC(64u, cvt_64f, uint64_t, uint64_t, double) |
|
|
|
|
DEF_CVT_SCALE_FUNC(64s64u, cvt_64f, int64_t, uint64_t, double) |
|
|
|
|
DEF_CVT_SCALE_FUNC(16f64u, cvt_64f, float16_t, uint64_t, double) |
|
|
|
|
DEF_CVT_SCALE_FUNC(16bf64u, cvt_64f, bfloat16_t, uint64_t, double) |
|
|
|
|
DEF_CVT_SCALE_FUNC(16bf64u, cvt_64f, bfloat, uint64_t, double) |
|
|
|
|
|
|
|
|
|
DEF_CVT_SCALE_FUNC(8u64s, cvt_64f, uchar, int64_t, double) |
|
|
|
|
DEF_CVT_SCALE_FUNC(8s64s, cvt_64f, schar, int64_t, double) |
|
|
|
@ -379,7 +379,7 @@ DEF_CVT_SCALE_FUNC(64f64s, cvt_64f, double, int64_t, double) |
|
|
|
|
DEF_CVT_SCALE_FUNC(64u64s, cvt_64f, uint64_t, int64_t, double) |
|
|
|
|
DEF_CVT_SCALE_FUNC(64s, cvt_64f, int64_t, int64_t, double) |
|
|
|
|
DEF_CVT_SCALE_FUNC(16f64s, cvt_64f, float16_t, int64_t, double) |
|
|
|
|
DEF_CVT_SCALE_FUNC(16bf64s, cvt_64f, bfloat16_t, int64_t, double) |
|
|
|
|
DEF_CVT_SCALE_FUNC(16bf64s, cvt_64f, bfloat, int64_t, double) |
|
|
|
|
|
|
|
|
|
DEF_CVT_SCALE_FUNC(8u16f, cvt1_32f, uchar, float16_t, float) |
|
|
|
|
DEF_CVT_SCALE_FUNC(8s16f, cvt1_32f, schar, float16_t, float) |
|
|
|
@ -392,20 +392,20 @@ DEF_CVT_SCALE_FUNC(64f16f, cvt1_32f, double, float16_t, float) |
|
|
|
|
DEF_CVT_SCALE_FUNC(64u16f, cvt1_32f, uint64_t, float16_t, float) |
|
|
|
|
DEF_CVT_SCALE_FUNC(64s16f, cvt1_32f, int64_t, float16_t, float) |
|
|
|
|
DEF_CVT_SCALE_FUNC(16f, cvt1_32f, float16_t, float16_t, float) |
|
|
|
|
DEF_CVT_SCALE_FUNC(16bf16f, cvt1_32f, bfloat16_t, float16_t, float) |
|
|
|
|
|
|
|
|
|
DEF_CVT_SCALE_FUNC(8u16bf, cvt1_32f, uchar, bfloat16_t, float) |
|
|
|
|
DEF_CVT_SCALE_FUNC(8s16bf, cvt1_32f, schar, bfloat16_t, float) |
|
|
|
|
DEF_CVT_SCALE_FUNC(16u16bf, cvt1_32f, ushort, bfloat16_t, float) |
|
|
|
|
DEF_CVT_SCALE_FUNC(16s16bf, cvt1_32f, short, bfloat16_t, float) |
|
|
|
|
DEF_CVT_SCALE_FUNC(32u16bf, cvt1_32f, unsigned, bfloat16_t, float) |
|
|
|
|
DEF_CVT_SCALE_FUNC(32s16bf, cvt1_32f, int, bfloat16_t, float) |
|
|
|
|
DEF_CVT_SCALE_FUNC(32f16bf, cvt1_32f, float, bfloat16_t, float) |
|
|
|
|
DEF_CVT_SCALE_FUNC(64f16bf, cvt1_32f, double, bfloat16_t, float) |
|
|
|
|
DEF_CVT_SCALE_FUNC(64u16bf, cvt1_32f, uint64_t, bfloat16_t, float) |
|
|
|
|
DEF_CVT_SCALE_FUNC(64s16bf, cvt1_32f, int64_t, bfloat16_t, float) |
|
|
|
|
DEF_CVT_SCALE_FUNC(16f16bf, cvt1_32f, float16_t, bfloat16_t, float) |
|
|
|
|
DEF_CVT_SCALE_FUNC(16bf, cvt1_32f, bfloat16_t, bfloat16_t, float) |
|
|
|
|
DEF_CVT_SCALE_FUNC(16bf16f, cvt1_32f, bfloat, float16_t, float) |
|
|
|
|
|
|
|
|
|
DEF_CVT_SCALE_FUNC(8u16bf, cvt1_32f, uchar, bfloat, float) |
|
|
|
|
DEF_CVT_SCALE_FUNC(8s16bf, cvt1_32f, schar, bfloat, float) |
|
|
|
|
DEF_CVT_SCALE_FUNC(16u16bf, cvt1_32f, ushort, bfloat, float) |
|
|
|
|
DEF_CVT_SCALE_FUNC(16s16bf, cvt1_32f, short, bfloat, float) |
|
|
|
|
DEF_CVT_SCALE_FUNC(32u16bf, cvt1_32f, unsigned, bfloat, float) |
|
|
|
|
DEF_CVT_SCALE_FUNC(32s16bf, cvt1_32f, int, bfloat, float) |
|
|
|
|
DEF_CVT_SCALE_FUNC(32f16bf, cvt1_32f, float, bfloat, float) |
|
|
|
|
DEF_CVT_SCALE_FUNC(64f16bf, cvt1_32f, double, bfloat, float) |
|
|
|
|
DEF_CVT_SCALE_FUNC(64u16bf, cvt1_32f, uint64_t, bfloat, float) |
|
|
|
|
DEF_CVT_SCALE_FUNC(64s16bf, cvt1_32f, int64_t, bfloat, float) |
|
|
|
|
DEF_CVT_SCALE_FUNC(16f16bf, cvt1_32f, float16_t, bfloat, float) |
|
|
|
|
DEF_CVT_SCALE_FUNC(16bf, cvt1_32f, bfloat, bfloat, float) |
|
|
|
|
|
|
|
|
|
DEF_CVT_SCALEBOOL2_FUNC(8b8u, uchar, float) |
|
|
|
|
DEF_CVT_SCALEBOOL2_FUNC(8b8s, schar, float) |
|
|
|
@ -419,7 +419,7 @@ DEF_CVT_SCALEBOOL2_FUNC(8b64u, uint64_t, double) |
|
|
|
|
DEF_CVT_SCALEBOOL2_FUNC(8b64s, int64_t, double) |
|
|
|
|
DEF_CVT_SCALEBOOL2_FUNC(8b64f, double, double) |
|
|
|
|
DEF_CVT_SCALEBOOL2_FUNC(8b16f, float16_t, float) |
|
|
|
|
DEF_CVT_SCALEBOOL2_FUNC(8b16bf, bfloat16_t, float) |
|
|
|
|
DEF_CVT_SCALEBOOL2_FUNC(8b16bf, bfloat, float) |
|
|
|
|
|
|
|
|
|
BinaryFunc getCvtScaleAbsFunc(int depth) |
|
|
|
|
{ |
|
|
|
|