Illustrated C/C++ source sheets, symbol index, API relationship graph, compiler console and debug trace

LIVE AI / FLEXIBLE SENSING / FLIGHT CONTEXT

Sensoraia API

Live AI and sensing, connected to the flight.
See, listen, inspect and return supported results while airborne.

Loading...
Searching...
No Matches
jpeg_stream Struct Reference

One bounded read-ahead buffer shared by JPEG inspection and rewriting. More...

Collaboration diagram for jpeg_stream:

Data Fields

FILE * input
FILE * output
struct jpeg_edit_plan * plan
size_t position
size_t size
int error
unsigned char buffer [JPEG_STREAM_CAPACITY]

Detailed Description

One bounded read-ahead buffer shared by JPEG inspection and rewriting.

Cursor-based consumption lets entropy runs be copied in chunks rather than one stdio call per image byte. NULL output makes preflight write-free.

Definition at line 1074 of file exifite.c.

Field Documentation

◆ buffer

unsigned char jpeg_stream::buffer[JPEG_STREAM_CAPACITY]

Fixed workspace, independent of image dimensions.

Definition at line 1082 of file exifite.c.

◆ error

int jpeg_stream::error

Definition at line 1080 of file exifite.c.

◆ input

FILE* jpeg_stream::input

Caller-owned source consumed through the read-ahead buffer.

Definition at line 1075 of file exifite.c.

◆ output

FILE* jpeg_stream::output

Destination, or NULL for inspection and validation-only walks.

Definition at line 1076 of file exifite.c.

◆ plan

struct jpeg_edit_plan* jpeg_stream::plan

Optional edit offsets collected without output.

Definition at line 1077 of file exifite.c.

◆ position

size_t jpeg_stream::position

Cursor of the next unread byte in the buffer.

Definition at line 1078 of file exifite.c.

◆ size

size_t jpeg_stream::size

Number of valid bytes currently in the buffer.

Definition at line 1079 of file exifite.c.


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