Function libwebp_sys::WebPIDecodedArea
source · pub unsafe extern "C" fn WebPIDecodedArea(
idec: *const WebPIDecoder,
left: *mut c_int,
top: *mut c_int,
width: *mut c_int,
height: *mut c_int
) -> *const WebPDecBuffer
Expand description
Generic call to retrieve information about the displayable area. If non NULL, the left/right/width/height pointers are filled with the visible rectangular area so far. Returns NULL in case the incremental decoder object is in an invalid state. Otherwise returns the pointer to the internal representation. This structure is read-only, tied to WebPIDecoder’s lifespan and should not be modified.