blit
Loading...
Searching...
No Matches
Data Fields
blit_phase_align Struct Reference

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_tstore
 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.
 

Detailed Description

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.

Field Documentation

◆ carry

blit_scanline_t blit_phase_align::carry

Overflow from the previous byte fetch.

Definition at line 52 of file phase_align.h.

◆ fetch

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.

◆ prefetch

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.

◆ shift

int blit_phase_align::shift

Number of bits to shift the data.

Definition at line 48 of file phase_align.h.

◆ store

const blit_scanline_t* blit_phase_align::store

Pointer to the data being processed.

Definition at line 44 of file phase_align.h.


The documentation for this struct was generated from the following file: