23uint16_t
uidiv(uint32_t dividend, uint16_t divider, uint16_t *remainder);
37 uint16_t start_row, uint16_t start_col,
38 uint16_t step_row, uint16_t step_col,
39 uint16_t *out_row, uint16_t *out_col);
53 uint16_t start_col, uint16_t step_row, uint16_t step_col,
54 int16_t *out_row, int16_t *out_col);
void pre_in_post_world(uint16_t in_row, uint16_t in_col, uint16_t start_row, uint16_t start_col, uint16_t step_row, uint16_t step_col, int16_t *out_row, int16_t *out_col)
Get the pre's coordinates in the post's coordinate system.
uint16_t uidiv(uint32_t dividend, uint16_t divider, uint16_t *remainder)
Unsigned integer division.
void post_in_pre_world(uint16_t in_row, uint16_t in_col, uint16_t start_row, uint16_t start_col, uint16_t step_row, uint16_t step_col, uint16_t *out_row, uint16_t *out_col)
Get the post's coordinates in the pre's coordinate system.