#include <djv_mmrencoder.h>
Public Types | |
| enum | FillOrder { MSB_FIRST = 0, LSB_FIRST = 1 } |
Static Public Member Functions | |
| static void | encodeMask (Stream *inStream, size_t inWidth, size_t inHeight, ssize_t inRowStride, const u8 *inMaskPtr, Celartem::DjVu::MaskType inMaskType, FillOrder inFillOrder=MSB_FIRST) |
| static void | encodeMaskWhite (Stream *inStream, size_t inWidth, size_t inHeight, FillOrder inFillOrder=MSB_FIRST) |
Implementation of G4 (MMR) encoder.
|
static |
Encode the specified mask image.
| inStream | Stream to write the encoded image to. |
| inWidth | Width of the mask image. |
| inHeight | Height of the mask image. |
| inRowStride | Stride of the mask image. |
| inMaskPtr | Pointer to the first line of the mask image. |
| inMaskType | Mask type. |
| inFillOrder | The fill order. The default is MSB_FIRST. |
|
static |
Encode entirely white image.
| inStream | Stream to write the encoded image to. |
| inWidth | Width of the mask image. |
| inHeight | Height of the mask image. |
| inFillOrder | The fill order. The default is MSB_FIRST. |