lv_draw_buf_adjust_stride() function
Adjust the stride of a draw buf in place.
Arguments
src
pointer to a draw buffer
stride
the new stride in bytes for image. Use LV_STRIDE_AUTO for automatic calculation.
Return value
LV_RESULT_OK: success or LV_RESULT_INVALID: failed