Function WebPPictureAlloc

Source
pub unsafe extern "C" fn WebPPictureAlloc(
    picture: *mut WebPPicture,
) -> c_int
Expand description

Convenience allocation / deallocation based on picture->width/height: Allocate y/u/v buffers as per colorspace/width/height specification. Note! This function will free the previous buffer if needed. Returns false in case of memory error.