|
blit
|
Phase alignment structure. More...
#include <phase_align.h>
Data Fields | |
| void(* | prefetch )(struct blit_phase_align *align) |
| Prefetch the next byte into the alignment structure. | |
| blit_scanline_t(* | fetch )(struct blit_phase_align *align) |
| Fetch the next byte with appropriate shifting. | |
| const blit_scanline_t * | store |
| Pointer to the data being processed. | |
| int | shift |
| Number of bits to shift the data. | |
| blit_scanline_t | carry |
| Overflow from the previous byte fetch. | |
Phase alignment structure.
This structure is used to manage phase alignment for 8-bit bytes. It contains a function pointer for fetching bytes, a pointer to the store, a carry value, and a shift count.
The fetch function pointer is used to retrieve the next byte in the phase-aligned stream, either by left shifting, right shifting, or no shifting. The store pointer points to the data being processed. The shift value indicates how many bits to shift the data. The carry value is used to hold any overflow from the previous byte fetch.
Definition at line 32 of file phase_align.h.
| blit_scanline_t blit_phase_align::carry |
Overflow from the previous byte fetch.
Definition at line 52 of file phase_align.h.
| blit_scanline_t(* blit_phase_align::fetch) (struct blit_phase_align *align) |
Fetch the next byte with appropriate shifting.
Definition at line 40 of file phase_align.h.
| void(* blit_phase_align::prefetch) (struct blit_phase_align *align) |
Prefetch the next byte into the alignment structure.
Definition at line 36 of file phase_align.h.
| int blit_phase_align::shift |
Number of bits to shift the data.
Definition at line 48 of file phase_align.h.
| const blit_scanline_t* blit_phase_align::store |
Pointer to the data being processed.
Definition at line 44 of file phase_align.h.