asm

package
v1.0.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 18, 2021 License: NCSA Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Hwc2Chw

func Hwc2Chw(output []uint8, input []uint8, height int, width int)

func IResizeBilinear

func IResizeBilinear(targetPixels []uint8, srcPixels []uint8, targetWidth, targetHeight, srcWidth, srcHeight int) error

func IResizeBilinearASM

func IResizeBilinearASM(targetPixels []uint8, srcPixels []uint8, targetWidth, targetHeight, srcWidth, srcHeight int) error

func IResizeHermite

func IResizeHermite(targetPixels []uint8, srcPixels []uint8, targetWidth, targetHeight, srcWidth, srcHeight int) error

func IResizeNearestNeighbor

func IResizeNearestNeighbor(targetPixels []uint8, srcPixels []uint8, targetWidth, targetHeight, srcWidth, srcHeight int) error

func Preprocess

func Preprocess(inputImage types.Image, height int, width int) (types.Image, error)

func ResizeBilinear

func ResizeBilinear(in types.Image, targetHeight, targetWidth int) (types.Image, error)

func ResizeHermite

func ResizeHermite(inputImage types.Image, height int, width int) (types.Image, error)

func ResizeNearestNeighbor

func ResizeNearestNeighbor(inputImage types.Image, height int, width int) (types.Image, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL