![]() |
Leptonica 1.85.0
Image processing and image analysis suite
|
#include <string.h>#include "allheaders.h"Go to the source code of this file.
Functions | |
| static l_uint16 * | makeExpandTab2x (void) |
| static l_uint32 * | makeExpandTab4x (void) |
| static l_uint32 * | makeExpandTab8x (void) |
| PIX * | pixExpandBinaryReplicate (PIX *pixs, l_int32 xfact, l_int32 yfact) |
| PIX * | pixExpandBinaryPower2 (PIX *pixs, l_int32 factor) |
Variables | |
| static l_uint32 | expandtab16 [] |
Replicated expansion (integer scaling)
PIX *pixExpandBinaryReplicate()
Special case: power of 2 replicated expansion
PIX *pixExpandBinaryPower2()
Expansion tables for power of 2 expansion
static l_uint16 *makeExpandTab2x()
static l_uint32 *makeExpandTab4x()
static l_uint32 *makeExpandTab8x()
Definition in file binexpand.c.
|
static |
Definition at line 225 of file binexpand.c.
|
static |
Definition at line 254 of file binexpand.c.
|
static |
Definition at line 283 of file binexpand.c.
| [in] | pixs | 1 bpp |
| [in] | factor | expansion factor: 1, 2, 4, 8, 16 |
Definition at line 133 of file binexpand.c.
References GET_DATA_BYTE, GET_DATA_DIBIT, GET_DATA_QBIT, and SET_DATA_TWO_BYTES.
Referenced by pixExpandBinaryReplicate().
| [in] | pixs | 1 bpp |
| [in] | xfact | integer scale factor for horiz. replicative expansion |
| [in] | yfact | integer scale factor for vertical replicative expansion |
Definition at line 70 of file binexpand.c.
References GET_DATA_BIT, pixExpandBinaryPower2(), and SET_DATA_BIT.
|
static |
Definition at line 55 of file binexpand.c.