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.
Field Documentation
◆ buffer
| unsigned char jpeg_stream::buffer[JPEG_STREAM_CAPACITY] |
◆ error
◆ input
| FILE* jpeg_stream::input |
◆ output
| FILE* jpeg_stream::output |
◆ plan
| struct jpeg_edit_plan* jpeg_stream::plan |
◆ position
| size_t jpeg_stream::position |
◆ size
| size_t jpeg_stream::size |
The documentation for this struct was generated from the following file:
- src/exifite.c