void img_resize_fast(rga_context *rga_ctx, int src_fd, int src_w, int src_h, uint64_t dst_phys, int dst_w, int dst_h);
void img_resize_slow(rga_context rga_ctx, void src_virt, int src_w, int src_h, void *dst_virt, int dst_w, int dst_h, int w_offset,
int h_offset, RgaSURF_FORMAT color,
bool add_extra_sz_w, bool add_extra_sz_h);
img_resize_slow is too slow when testing multi_imgs. I want to use img_resize_fast, but it is difference between img_resize_fast and img_resize_slow in function parameters.
Can you provide an example for using img_resize_fast, Thank you!
void img_resize_fast(rga_context *rga_ctx, int src_fd, int src_w, int src_h, uint64_t dst_phys, int dst_w, int dst_h);
void img_resize_slow(rga_context rga_ctx, void src_virt, int src_w, int src_h, void *dst_virt, int dst_w, int dst_h, int w_offset, int h_offset, RgaSURF_FORMAT color, bool add_extra_sz_w, bool add_extra_sz_h);
img_resize_slow is too slow when testing multi_imgs. I want to use img_resize_fast, but it is difference between img_resize_fast and img_resize_slow in function parameters.
Can you provide an example for using img_resize_fast, Thank you!