MCPcopy Create free account
hub / github.com/coronalabs/corona / OnDecodeFrom

Method OnDecodeFrom

platform/android/ndk/AndroidNativePngDecoder.cpp:123–445  ·  view source on GitHub ↗

Decodes an image from the given reader/stream and copies its data to the targeted image data object assigned to this decoder via the SetTarget() function. @param reader The reader which stream's the image's bytes to this decoder. @return Returns the result of the image decoding operation. If the result object's HasSucceeded() function returns true, then this decoder has successfully loaded th

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 15

Rtt_FloatToRealFunction · 0.85
StreamToMethod · 0.80
GetBytesReadMethod · 0.80
SetScaleMethod · 0.80
CreateImageByteBufferMethod · 0.80
GetImageByteBufferMethod · 0.80
png_sig_cmpFunction · 0.50
png_create_read_structFunction · 0.50
png_create_info_structFunction · 0.50
png_destroy_read_structFunction · 0.50
png_set_error_fnFunction · 0.50
png_set_read_fnFunction · 0.50

Tested by

no test coverage detected