LibTIFF 4.7.2
TIFF library public API and implementation reference
Loading...
Searching...
No Matches
Functions
tif_jbig.c File Reference

Encode and decode complete single-strip JBIG image planes. More...

#include "tiffiop.h"
#include "jbig.h"
Include dependency graph for tif_jbig.c:

Go to the source code of this file.

Functions

static int JBIGSetupDecode (TIFF *tif)
 Require one strip for JBIG decoding.
 
static int JBIGDecode (TIFF *tif, uint8_t *buffer, tmsize_t size, uint16_t s)
 Decode one complete JBIG plane into caller storage.
 
static int JBIGSetupEncode (TIFF *tif)
 Require one strip for JBIG encoding.
 
static int JBIGCopyEncodedData (TIFF *tif, unsigned char *pp, size_t cc, uint16_t s)
 Copy JBIG output fragments into the buffered raw stream.
 
static void JBIGOutputBie (unsigned char *buffer, size_t len, void *userData)
 Reverse and forward a dependency-produced JBIG output fragment.
 
static int JBIGEncode (TIFF *tif, uint8_t *buffer, tmsize_t size, uint16_t s)
 Encode a complete single-sample one-bit JBIG image plane.
 
int TIFFInitJBIG (TIFF *tif, int scheme)
 Install single-strip JBIG callbacks and mutable raw-input policy.
 

Detailed Description

Encode and decode complete single-strip JBIG image planes.

Definition in file tif_jbig.c.