@@ -244,7 +244,7 @@ public void FromL8(L8 source)
244244 [ MethodImpl ( InliningOptions . ShortMethod ) ]
245245 public void FromL16 ( L16 source )
246246 {
247- byte rgb = ImageMaths . DownScaleFrom16BitTo8Bit ( source . PackedValue ) ;
247+ byte rgb = ImageMath . DownScaleFrom16BitTo8Bit ( source . PackedValue ) ;
248248 this . R = rgb ;
249249 this . G = rgb ;
250250 this . B = rgb ;
@@ -265,11 +265,11 @@ public void FromLa16(La16 source)
265265 [ MethodImpl ( InliningOptions . ShortMethod ) ]
266266 public void FromLa32 ( La32 source )
267267 {
268- byte rgb = ImageMaths . DownScaleFrom16BitTo8Bit ( source . L ) ;
268+ byte rgb = ImageMath . DownScaleFrom16BitTo8Bit ( source . L ) ;
269269 this . R = rgb ;
270270 this . G = rgb ;
271271 this . B = rgb ;
272- this . A = ImageMaths . DownScaleFrom16BitTo8Bit ( source . A ) ;
272+ this . A = ImageMath . DownScaleFrom16BitTo8Bit ( source . A ) ;
273273 }
274274
275275 /// <inheritdoc/>
@@ -306,20 +306,20 @@ public void ToRgba32(ref Rgba32 dest)
306306 [ MethodImpl ( InliningOptions . ShortMethod ) ]
307307 public void FromRgb48 ( Rgb48 source )
308308 {
309- this . R = ImageMaths . DownScaleFrom16BitTo8Bit ( source . R ) ;
310- this . G = ImageMaths . DownScaleFrom16BitTo8Bit ( source . G ) ;
311- this . B = ImageMaths . DownScaleFrom16BitTo8Bit ( source . B ) ;
309+ this . R = ImageMath . DownScaleFrom16BitTo8Bit ( source . R ) ;
310+ this . G = ImageMath . DownScaleFrom16BitTo8Bit ( source . G ) ;
311+ this . B = ImageMath . DownScaleFrom16BitTo8Bit ( source . B ) ;
312312 this . A = byte . MaxValue ;
313313 }
314314
315315 /// <inheritdoc/>
316316 [ MethodImpl ( InliningOptions . ShortMethod ) ]
317317 public void FromRgba64 ( Rgba64 source )
318318 {
319- this . R = ImageMaths . DownScaleFrom16BitTo8Bit ( source . R ) ;
320- this . G = ImageMaths . DownScaleFrom16BitTo8Bit ( source . G ) ;
321- this . B = ImageMaths . DownScaleFrom16BitTo8Bit ( source . B ) ;
322- this . A = ImageMaths . DownScaleFrom16BitTo8Bit ( source . A ) ;
319+ this . R = ImageMath . DownScaleFrom16BitTo8Bit ( source . R ) ;
320+ this . G = ImageMath . DownScaleFrom16BitTo8Bit ( source . G ) ;
321+ this . B = ImageMath . DownScaleFrom16BitTo8Bit ( source . B ) ;
322+ this . A = ImageMath . DownScaleFrom16BitTo8Bit ( source . A ) ;
323323 }
324324
325325 /// <inheritdoc/>
0 commit comments