예제 #1
0
 public unsafe void NativeScaleSrcUPerf()
 {
     fixed(float *psrc = src)
     fixed(float *pdst = dst)
     {
         CpuMathNativeUtils.ScaleSrcU(DEFAULT_SCALE, psrc, pdst, LEN);
     }
 }
예제 #2
0
 public unsafe void ScaleSrcU()
 {
     fixed(float *psrc = src)
     fixed(float *pdst = dst)
     {
         CpuMathNativeUtils.ScaleSrcU(DefaultScale, psrc, pdst, Length);
     }
 }