Function ncnn_bind::ncnn_mat_from_pixels_resize
source · [−]pub unsafe extern "C" fn ncnn_mat_from_pixels_resize(
pixels: *const c_uchar,
type_: c_int,
w: c_int,
h: c_int,
stride: c_int,
target_width: c_int,
target_height: c_int,
allocator: ncnn_allocator_t
) -> ncnn_mat_t