#include <djv_mmrencoder.h>
List of all members.
Detailed Description
This class is used to encode Smmr chunk.
Smmr is a DjVu variation of G4 (MMR) and it has 8-byte header before actual G4 data.
- See also:
- G4Encoder
Member Function Documentation
| static void Celartem::DjVu::SmmrEncoderHelper::encodeSmmr |
( |
Stream * |
inStream, |
|
|
const u8 * |
inMaskPtr, |
|
|
ssize_t |
inMaskRowStride, |
|
|
MaskType |
inMaskType, |
|
|
size_t |
inWidth, |
|
|
size_t |
inHeight | |
|
) |
| | [static] |
Encode the specified mask image.
- Parameters:
-
| inStream | Stream to write the encoded image to. |
| inMaskPtr | Pointer to the first line of the mask image. |
| inMaskRowStride | Stride of the mask image. |
| inMaskType | Mask type. |
| inWidth | Width of the mask image. |
| inHeight | Height of the mask image. |
| static AutoPtr<Chunk> Celartem::DjVu::SmmrEncoderHelper::encodeSmmrChunk |
( |
const u8 * |
inMaskPtr, |
|
|
ssize_t |
inMaskRowStride, |
|
|
MaskType |
inMaskType, |
|
|
size_t |
inWidth, |
|
|
size_t |
inHeight | |
|
) |
| | [static] |
Encode the specified mask image.
- Parameters:
-
| inMaskPtr | Pointer to the first line of the mask image. |
| inMaskRowStride | Stride of the mask image. |
| inMaskType | Mask type. |
| inWidth | Width of the mask image. |
| inHeight | Height of the mask image. |
- Returns:
- Pointer to the newly created
Smmr chunk.
The documentation for this struct was generated from the following file: