Versions in this module Expand all Collapse all v0 v0.0.3 Mar 16, 2026 Changes in this version + func AImageDecoder_resultToString(arg0 int32) string + type ARect = capi.ARect + type ASSET_MODE int32 + const AASSET_MODE_BUFFER + const AASSET_MODE_RANDOM + const AASSET_MODE_STREAMING + const AASSET_MODE_UNKNOWN + type Asset struct + func NewAssetFromPointer(ptr unsafe.Pointer) *Asset + func (h *Asset) Close() error + func (h *Asset) GetBuffer() unsafe.Pointer + func (h *Asset) IsAllocated() error + func (h *Asset) OpenFileDescriptor(outStart *Off_t, outLength *Off_t) error + func (h *Asset) OpenFileDescriptor64(outStart *Off64_t, outLength *Off64_t) error + func (h *Asset) Pointer() unsafe.Pointer + func (h *Asset) Read(buf unsafe.Pointer, count uint64) error + type AssetDir struct + func NewAssetDirFromPointer(ptr unsafe.Pointer) *AssetDir + func (h *AssetDir) Close() error + func (h *AssetDir) GetNextFileName() string + func (h *AssetDir) Pointer() unsafe.Pointer + func (h *AssetDir) Rewind() + type AssetManager struct + func NewAssetManagerFromPointer(ptr unsafe.Pointer) *AssetManager + func (h *AssetManager) Open(filename string, mode int32) *Asset + func (h *AssetManager) OpenDir(dirName string) *AssetDir + func (h *AssetManager) Pointer() unsafe.Pointer + type Decoder struct + func NewDecoderFromFd(fd int32) (*Decoder, error) + func NewDecoderFromPointer(ptr unsafe.Pointer) *Decoder + func (h *Decoder) AdvanceFrame() error + func (h *Decoder) Close() error + func (h *Decoder) ComputeSampledSize(sampleSize int32, width *int32, height *int32) error + func (h *Decoder) Decode(pixels unsafe.Pointer, stride uint64, size uint64) error + func (h *Decoder) GetFrameInfo(info *ImageDecoderFrameInfo) error + func (h *Decoder) GetRepeatCount() error + func (h *Decoder) HeaderInfo() *HeaderInfo + func (h *Decoder) IsAnimated() bool + func (h *Decoder) MinimumStride() uint64 + func (h *Decoder) Pointer() unsafe.Pointer + func (h *Decoder) Rewind() error + func (h *Decoder) SetAndroidBitmapFormat(format int32) error + func (h *Decoder) SetDataSpace(dataspace int32) error + func (h *Decoder) SetInternallyHandleDisposePrevious(handleInternally bool) + func (h *Decoder) SetTargetSize(width int32, height int32) error + func (h *Decoder) SetUnpremultipliedRequired(unpremultipliedRequired bool) error + type Error int32 + const ErrBadParameter + const ErrError + const ErrFinished + const ErrIncomplete + const ErrInternalError + const ErrInvalidConversion + const ErrInvalidInput + const ErrInvalidScale + const ErrInvalidState + const ErrSeekError + const ErrUnsupportedFormat + func (e Error) Error() string + type HeaderInfo struct + func NewHeaderInfoFromPointer(ptr unsafe.Pointer) *HeaderInfo + func (h *HeaderInfo) GetAlphaFlags() error + func (h *HeaderInfo) GetAndroidBitmapFormat() error + func (h *HeaderInfo) GetDataSpace() error + func (h *HeaderInfo) Height() int32 + func (h *HeaderInfo) MimeType() string + func (h *HeaderInfo) Pointer() unsafe.Pointer + func (h *HeaderInfo) Width() int32 + type ImageDecoderFrameInfo struct + func NewImageDecoderFrameInfo() *ImageDecoderFrameInfo + func NewImageDecoderFrameInfoFromPointer(ptr unsafe.Pointer) *ImageDecoderFrameInfo + func (h *ImageDecoderFrameInfo) Close() error + func (h *ImageDecoderFrameInfo) GetBlendOp() error + func (h *ImageDecoderFrameInfo) GetDisposeOp() error + func (h *ImageDecoderFrameInfo) GetDuration() int64 + func (h *ImageDecoderFrameInfo) HasAlphaWithinBounds() bool + func (h *ImageDecoderFrameInfo) Pointer() unsafe.Pointer + type NDROID_IMAGE int32 + const ANDROID_IMAGE_DECODER_INFINITE + type NDROID_IMAGE_DECODER_BLEND_OP_SRC int32 + const ANDROID_IMAGE_DECODER_BLEND_OP_SRC + const ANDROID_IMAGE_DECODER_BLEND_OP_SRC_OVER + type NDROID_IMAGE_DECODER_DISPOSE_OP int32 + const ANDROID_IMAGE_DECODER_DISPOSE_OP_BACKGROUND + const ANDROID_IMAGE_DECODER_DISPOSE_OP_NONE + const ANDROID_IMAGE_DECODER_DISPOSE_OP_PREVIOUS + type Off64_t = capi.Off64_t + type Off_t = capi.Off_t