Leptonica 1.68
C Image Processing Library
|
This is a fairly rigorous test of rasterop. It demonstrates both that the results are correct with many different rop configurations, and, if done under valgrind, that no memory violations occur. More...
#include <stdio.h>
#include <stdlib.h>
#include "allheaders.h"
Go to the source code of this file.
Defines | |
#define | MINW 1 |
#define | MAXW 35 |
#define | MINH 1 |
#define | MAXH 1 |
Functions | |
main (int argc, char **argv) |
This is a fairly rigorous test of rasterop. It demonstrates both that the results are correct with many different rop configurations, and, if done under valgrind, that no memory violations occur.
Definition in file rasterop_reg.c.
#define MINW 1 |
Definition at line 33 of file rasterop_reg.c.
Referenced by main().
#define MAXW 35 |
Definition at line 34 of file rasterop_reg.c.
Referenced by main().
#define MINH 1 |
Definition at line 35 of file rasterop_reg.c.
Referenced by main().
#define MAXH 1 |
Definition at line 36 of file rasterop_reg.c.
Referenced by main().
main | ( | int | argc, |
char ** | argv | ||
) |
Definition at line 39 of file rasterop_reg.c.
References ERROR_INT, IFF_PNG, MAXH, MAXW, MINH, MINW, NULL, PIX_DST, PIX_SRC, pixCopy(), pixCreate(), pixDestroy(), pixDilate(), pixEqual(), pixGetHeight(), pixGetPixel(), pixGetWidth(), pixRasterop(), pixRead(), pixSetAll(), pixWrite(), SEL_HIT, selCreateBrick(), and selDestroy().