Documentation ¶
Index ¶
- func CflifAbortDecoder(decoder *CflifDecoder) int
- func CflifDecoderDecodeFile(decoder *CflifDecoder, filename string) int
- func CflifDecoderDecodeMemory(decoder *CflifDecoder, data []byte) int
- func CflifDecoderGetNumLoops(decoder *CflifDecoder) int
- func CflifDecoderNumImages(decoder *CflifDecoder) int
- func CflifDecoderSetCallback()
- func CflifDecoderSetCrcCheck(decoder *CflifDecoder, crcCheck int)
- func CflifDecoderSetFirstCallbackQuality()
- func CflifDecoderSetFit(decoder *CflifDecoder, width, height int)
- func CflifDecoderSetQuality(decoder *CflifDecoder, quality int)
- func CflifDecoderSetResize(decoder *CflifDecoder, width, height int)
- func CflifDecoderSetScale(decoder *CflifDecoder, scale int)
- func CflifDestroyDecoder(decoder *CflifDecoder)
- func CflifDestroyEncoder(encoder *CflifEncoder)
- func CflifDestroyImage(image *CflifImage)
- func CflifDestroyInfo(info *CflifInfo)
- func CflifEncoderAddImage(encoder *CflifEncoder, image *CflifImage)
- func CflifEncoderEncodeFile(encoder *CflifEncoder, filename string) int
- func CflifEncoderEncodeMemory(encoder *CflifEncoder, data *[]byte) int
- func CflifEncoderSetAlphaZeroLossless(encoder *CflifEncoder)
- func CflifEncoderSetAutoColorBuckets(encoder *CflifEncoder, autoColorBuckets int)
- func CflifEncoderSetChanceAlpha(encoder *CflifEncoder, chanceAlpha int)
- func CflifEncoderSetChanceCutoff(encoder *CflifEncoder, chanceCutoff int)
- func CflifEncoderSetChannelCompact(encoder *CflifEncoder, channelCompact int)
- func CflifEncoderSetCrcCheck(encoder *CflifEncoder, crCheck int)
- func CflifEncoderSetDivisor(encoder *CflifEncoder, divisor int)
- func CflifEncoderSetFrameShape(encoder *CflifEncoder, frameShape int)
- func CflifEncoderSetInterlaced(encoder *CflifEncoder, interlaced int)
- func CflifEncoderSetLearnRepeat(encoder *CflifEncoder, learnRepeat int)
- func CflifEncoderSetLookback(encoder *CflifEncoder, lookback int)
- func CflifEncoderSetLossy(encoder *CflifEncoder, lossy int)
- func CflifEncoderSetMinSize(encoder *CflifEncoder, minSize int)
- func CflifEncoderSetPaletteSize(encoder *CflifEncoder, paletteSize int)
- func CflifEncoderSetSplitThreshold(encoder *CflifEncoder, splitThreshold int)
- func CflifEncoderSetYcocg(encoder *CflifEncoder, ycocg int)
- func CflifFreeMemory(p unsafe.Pointer)
- func CflifImageFreeMetadata(image *CflifImage, data unsafe.Pointer)
- func CflifImageGetDepth(image *CflifImage) int
- func CflifImageGetFrameDelay(image *CflifImage) int
- func CflifImageGetHeight(image *CflifImage) int
- func CflifImageGetMetadata(image *CflifImage, chunkname string, data *[]byte)
- func CflifImageGetNbChannels(image *CflifImage) int
- func CflifImageGetWidth(image *CflifImage) int
- func CflifImageReadRowRGBA16(image *CflifImage, row int) []byte
- func CflifImageReadRowRGBA8(image *CflifImage, row int) []byte
- func CflifImageSetFrameDelay(image *CflifImage, delay int)
- func CflifImageSetMetadata(image *CflifImage, chunkname string, data []byte)
- func CflifImageWriteRowRGBA16(image *CflifImage, row int, data []byte)
- func CflifImageWriteRowRGBA8(image *CflifImage, row int, data []byte)
- func CflifInfoGetDepth(info *CflifInfo) int
- func CflifInfoGetHeight(info *CflifInfo) int
- func CflifInfoGetNbChannels(info *CflifInfo) int
- func CflifInfoGetWidth(info *CflifInfo) int
- func CflifInfoNumImages(info *CflifInfo) int
- type CflifDecoder
- type CflifEncoder
- type CflifImage
- func CflifCreateImage(width, height int) *CflifImage
- func CflifCreateImageHDR(width, height int) *CflifImage
- func CflifDecoderGetImage(decoder *CflifDecoder, index int) *CflifImage
- func CflifImportImageGRAY(width, height int, data []byte, stride int) *CflifImage
- func CflifImportImageRGB(width, height int, data []byte, stride int) *CflifImage
- func CflifImportImageRGBA(width, height int, data []byte, stride int) *CflifImage
- type CflifInfo
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 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 CflifInfoGetHeight ¶
func CflifInfoGetNbChannels ¶
func CflifInfoGetWidth ¶
func CflifInfoNumImages ¶
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
Click to show internal directories.
Click to hide internal directories.