|
rcbench
Servo and ESC test bench: panel, IOmcu and shared C
|
The copy engine. More...
#include <gfx_turn.h>
Data Fields | |
| gfx_turn_copy_t(*) | copy (void *ctx, const gfx_color_t *src, gfx_color_t *dst, gfx_rect_t r, uint32_t budget_us) |
Copy block r of src into dst, turned by 180°, and wait for it. | |
| uint32_t(*) | now_us (void *ctx) |
| The time, us; differences wrap. | |
| void * | ctx |
The copy engine.
| gfx_turn_copy_t(*) gfx_turn_ops_t::copy(void *ctx, const gfx_color_t *src, gfx_color_t *dst, gfx_rect_t r, uint32_t budget_us) |
Copy block r of src into dst, turned by 180°, and wait for it.
| ctx | the engine's context |
| src | the logical buffer, width x height, packed |
| dst | the frame buffer, of the same size |
| r | the block, in src's coordinates |
| budget_us | the longest it may wait, us |
| void* gfx_turn_ops_t::ctx |
passed to both
| uint32_t(*) gfx_turn_ops_t::now_us(void *ctx) |
The time, us; differences wrap.
| ctx | the engine's context |