Repository navigation
Expand file tree
/
Copy pathdecode_dynamic_other.go
More file actions
31 lines (24 loc) · 1.55 KB
/
Copy pathdecode_dynamic_other.go
File metadata and controls
31 lines (24 loc) · 1.55 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
//go:build (linux || darwin) && !(nodynamic || arm || 386 || mips || mipsle || loong64)
package heic
var (
_heifContextReadFromMemoryWithoutCopy func(*heifContext, *uint8, uint64, *byte) heifError
_heifContextGetPrimaryImageHandle func(*heifContext, **heifImageHandle) heifError
_heifImageHandleGetPreferredDecodingColorspace func(*heifImageHandle, *int, *int) heifError
_heifDecodeImage func(*heifImageHandle, **heifImage, int, int, *heifDecodingOptions) heifError
_heifTrackDecodeNextImage func(*heifTrack, **heifImage, int, int, *heifDecodingOptions) heifError
)
func heifTrackDecodeNextImage(track *heifTrack, img **heifImage, colorspace int, chroma int, options *heifDecodingOptions) heifError {
return _heifTrackDecodeNextImage(track, img, colorspace, chroma, options)
}
func heifContextReadFromMemoryWithoutCopy(ctx *heifContext, data []byte) heifError {
return _heifContextReadFromMemoryWithoutCopy(ctx, &data[0], uint64(len(data)), nil)
}
func heifContextGetPrimaryImageHandle(ctx *heifContext, handle **heifImageHandle) heifError {
return _heifContextGetPrimaryImageHandle(ctx, handle)
}
func heifImageHandleGetPreferredDecodingColorspace(handle *heifImageHandle, colorspace *int, chroma *int) heifError {
return _heifImageHandleGetPreferredDecodingColorspace(handle, colorspace, chroma)
}
func heifDecodeImage(handle *heifImageHandle, img **heifImage, colorspace int, chroma int, options *heifDecodingOptions) heifError {
return _heifDecodeImage(handle, img, colorspace, chroma, options)
}