OCR Project
Loading...
Searching...
No Matches
Queue Struct Reference

Simple heap-allocated FIFO queue for pixel coordinates. More...

Public Attributes

int * data
size_t head
size_t tail
size_t cap

Detailed Description

Simple heap-allocated FIFO queue for pixel coordinates.

Member Data Documentation

◆ cap

size_t Queue::cap

Total allocated pairs.

◆ data

int* Queue::data

Flat array of (x, y) pairs: data[2*i], data[2*i+1].

◆ head

size_t Queue::head

Read index.

◆ tail

size_t Queue::tail

Write index (next free slot).


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