Leptonica 1.68
C Image Processing Library
|
Tests custom pix allocator. More...
#include <math.h>
#include "allheaders.h"
Go to the source code of this file.
Functions | |
PIXA * | GenerateSetOfMargePix (void) |
void | CopyStoreClean (PIXA *pixas, l_int32 nlevels, l_int32 ncopies) |
main (int argc, char **argv) | |
Variables | |
static const l_int32 | logging = FALSE |
static const l_int32 | ncopies = 2 |
static const l_int32 | nlevels = 4 |
static const l_int32 | ntimes = 30 |
Tests custom pix allocator.
Definition in file pixalloc_reg.c.
PIXA * GenerateSetOfMargePix | ( | void | ) |
Definition at line 142 of file pixalloc_reg.c.
References boxCreate(), boxDestroy(), L_INSERT, NULL, pixaAddPix(), pixaCreate(), pixClipRectangle(), pixDestroy(), pixRead(), and pixScale().
Referenced by main().
Definition at line 168 of file pixalloc_reg.c.
References L_CLONE, L_INSERT, ncopies, nlevels, NULL, pixaaAddPixa(), pixaaCreate(), pixaAddPix(), pixaaDestroy(), pixaCreate(), pixaGetPix(), pixCopy(), and pixDestroy().
Referenced by main().
main | ( | int | argc, |
char ** | argv | ||
) |
Definition at line 49 of file pixalloc_reg.c.
References boxaDestroy(), CopyStoreClean(), GenerateSetOfMargePix(), logging, ncopies, nlevels, ntimes, NULL, numaAddNumber(), numaCreate(), numaDestroy(), pixaDestroy(), pixConnComp(), pixDestroy(), pixRead(), pmsCreate(), pmsCustomAlloc(), pmsCustomDealloc(), pmsDestroy(), setPixMemoryManager(), startTimer(), and stopTimer().
Definition at line 38 of file pixalloc_reg.c.
Referenced by main().
Definition at line 40 of file pixalloc_reg.c.
Referenced by CopyStoreClean(), and main().
Definition at line 41 of file pixalloc_reg.c.
Referenced by boxaaQuadtreeRegions(), CopyStoreClean(), fpixaDisplayQuadtree(), main(), makeGrayQuantIndexTable(), makeGrayQuantTargetTable(), pixcmapCreateLinear(), pixQuadtreeMean(), pixQuadtreeVariance(), and pmsCreate().
Definition at line 42 of file pixalloc_reg.c.
Referenced by main().