wrapper

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Mar 24, 2019 License: BSD-3-Clause Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CflifAbortDecoder

func CflifAbortDecoder(decoder *CflifDecoder) int

func CflifDecoderDecodeFile

func CflifDecoderDecodeFile(decoder *CflifDecoder, filename string) int

func CflifDecoderDecodeMemory

func CflifDecoderDecodeMemory(decoder *CflifDecoder, data []byte) int

func CflifDecoderGetNumLoops

func CflifDecoderGetNumLoops(decoder *CflifDecoder) int

func CflifDecoderNumImages

func CflifDecoderNumImages(decoder *CflifDecoder) int

func CflifDecoderSetCallback

func CflifDecoderSetCallback()

func CflifDecoderSetCrcCheck

func CflifDecoderSetCrcCheck(decoder *CflifDecoder, crcCheck int)

func CflifDecoderSetFirstCallbackQuality

func CflifDecoderSetFirstCallbackQuality()

func CflifDecoderSetFit

func CflifDecoderSetFit(decoder *CflifDecoder, width, height int)

func CflifDecoderSetQuality

func CflifDecoderSetQuality(decoder *CflifDecoder, quality int)

func CflifDecoderSetResize

func CflifDecoderSetResize(decoder *CflifDecoder, width, height int)

func CflifDecoderSetScale

func CflifDecoderSetScale(decoder *CflifDecoder, scale int)

func CflifDestroyDecoder

func CflifDestroyDecoder(decoder *CflifDecoder)

func CflifDestroyEncoder

func CflifDestroyEncoder(encoder *CflifEncoder)

func CflifDestroyImage

func CflifDestroyImage(image *CflifImage)

func CflifDestroyInfo

func CflifDestroyInfo(info *CflifInfo)

func CflifEncoderAddImage

func CflifEncoderAddImage(encoder *CflifEncoder, image *CflifImage)

func CflifEncoderEncodeFile

func CflifEncoderEncodeFile(encoder *CflifEncoder, filename string) int

func CflifEncoderEncodeMemory

func CflifEncoderEncodeMemory(encoder *CflifEncoder, data *[]byte) int

func CflifEncoderSetAlphaZeroLossless

func CflifEncoderSetAlphaZeroLossless(encoder *CflifEncoder)

func CflifEncoderSetAutoColorBuckets

func CflifEncoderSetAutoColorBuckets(encoder *CflifEncoder, autoColorBuckets int)

func CflifEncoderSetChanceAlpha

func CflifEncoderSetChanceAlpha(encoder *CflifEncoder, chanceAlpha int)

func CflifEncoderSetChanceCutoff

func CflifEncoderSetChanceCutoff(encoder *CflifEncoder, chanceCutoff int)

func CflifEncoderSetChannelCompact

func CflifEncoderSetChannelCompact(encoder *CflifEncoder, channelCompact int)

func CflifEncoderSetCrcCheck

func CflifEncoderSetCrcCheck(encoder *CflifEncoder, crCheck int)

func CflifEncoderSetDivisor

func CflifEncoderSetDivisor(encoder *CflifEncoder, divisor int)

func CflifEncoderSetFrameShape

func CflifEncoderSetFrameShape(encoder *CflifEncoder, frameShape int)

func CflifEncoderSetInterlaced

func CflifEncoderSetInterlaced(encoder *CflifEncoder, interlaced int)

func CflifEncoderSetLearnRepeat

func CflifEncoderSetLearnRepeat(encoder *CflifEncoder, learnRepeat int)

func CflifEncoderSetLookback

func CflifEncoderSetLookback(encoder *CflifEncoder, lookback int)

func CflifEncoderSetLossy

func CflifEncoderSetLossy(encoder *CflifEncoder, lossy int)

func CflifEncoderSetMinSize

func CflifEncoderSetMinSize(encoder *CflifEncoder, minSize int)

func CflifEncoderSetPaletteSize

func CflifEncoderSetPaletteSize(encoder *CflifEncoder, paletteSize int)

func CflifEncoderSetSplitThreshold

func CflifEncoderSetSplitThreshold(encoder *CflifEncoder, splitThreshold int)

func CflifEncoderSetYcocg

func CflifEncoderSetYcocg(encoder *CflifEncoder, ycocg int)

func CflifFreeMemory

func CflifFreeMemory(p unsafe.Pointer)

func CflifImageFreeMetadata

func CflifImageFreeMetadata(image *CflifImage, data unsafe.Pointer)

func CflifImageGetDepth

func CflifImageGetDepth(image *CflifImage) int

func CflifImageGetFrameDelay

func CflifImageGetFrameDelay(image *CflifImage) int

func CflifImageGetHeight

func CflifImageGetHeight(image *CflifImage) int

func CflifImageGetMetadata

func CflifImageGetMetadata(image *CflifImage, chunkname string, data *[]byte)

func CflifImageGetNbChannels

func CflifImageGetNbChannels(image *CflifImage) int

func CflifImageGetWidth

func CflifImageGetWidth(image *CflifImage) int

func CflifImageReadRowRGBA16

func CflifImageReadRowRGBA16(image *CflifImage, row int) []byte

func CflifImageReadRowRGBA8

func CflifImageReadRowRGBA8(image *CflifImage, row int) []byte

func CflifImageSetFrameDelay

func CflifImageSetFrameDelay(image *CflifImage, delay int)

func CflifImageSetMetadata

func CflifImageSetMetadata(image *CflifImage, chunkname string, data []byte)

func CflifImageWriteRowRGBA16

func CflifImageWriteRowRGBA16(image *CflifImage, row int, data []byte)

func CflifImageWriteRowRGBA8

func CflifImageWriteRowRGBA8(image *CflifImage, row int, data []byte)

func CflifInfoGetDepth

func CflifInfoGetDepth(info *CflifInfo) int

func CflifInfoGetHeight

func CflifInfoGetHeight(info *CflifInfo) int

func CflifInfoGetNbChannels

func CflifInfoGetNbChannels(info *CflifInfo) int

func CflifInfoGetWidth

func CflifInfoGetWidth(info *CflifInfo) int

func CflifInfoNumImages

func CflifInfoNumImages(info *CflifInfo) int

Types

type CflifDecoder

type CflifDecoder struct {
	// contains filtered or unexported fields
}

func CflifCreateDecoder

func CflifCreateDecoder() *CflifDecoder

type CflifEncoder

type CflifEncoder struct {
	// contains filtered or unexported fields
}

func CflifCreateEncoder

func CflifCreateEncoder() *CflifEncoder

type CflifImage

type CflifImage struct {
	// contains filtered or unexported fields
}

func CflifCreateImage

func CflifCreateImage(width, height int) *CflifImage

func CflifCreateImageHDR

func CflifCreateImageHDR(width, height int) *CflifImage

func CflifDecoderGetImage

func CflifDecoderGetImage(decoder *CflifDecoder, index int) *CflifImage

func CflifImportImageGRAY

func CflifImportImageGRAY(width, height int, data []byte, stride int) *CflifImage

func CflifImportImageRGB

func CflifImportImageRGB(width, height int, data []byte, stride int) *CflifImage

func CflifImportImageRGBA

func CflifImportImageRGBA(width, height int, data []byte, stride int) *CflifImage

type CflifInfo

type CflifInfo struct {
	// contains filtered or unexported fields
}

func CflifReadInfoFromMemory

func CflifReadInfoFromMemory(data []byte) *CflifInfo

Jump to

Keyboard shortcuts

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