Leptonica  1.82.0
Image processing and image analysis suite
ptra.h File Reference

Go to the source code of this file.

Data Structures

struct  L_Ptra
 
struct  L_Ptraa
 

Typedefs

typedef struct L_Ptra L_PTRA
 
typedef struct L_Ptraa L_PTRAA
 

Enumerations

enum  { L_NO_COMPACTION = 1, L_COMPACTION = 2 }
 
enum  { L_AUTO_DOWNSHIFT = 0, L_MIN_DOWNSHIFT = 1, L_FULL_DOWNSHIFT = 2 }
 
enum  { L_HANDLE_ONLY = 0, L_REMOVE = 1 }
 

Variables

LEPT_DLL const l_uint32 MaxInitPtraSize
 

Detailed Description

 Contains the following structs:
     struct L_Ptra
     struct L_Ptraa
 Contains definitions for:
     L_Ptra compaction flags for removal
     L_Ptra shifting flags for insert
     L_Ptraa accessor flags

Definition in file ptra.h.

Enumeration Type Documentation

◆ anonymous enum

anonymous enum

Ptra Removal

Enumerator
L_NO_COMPACTION 

null the pointer only

L_COMPACTION 

compact the array

Definition at line 78 of file ptra.h.

◆ anonymous enum

anonymous enum

Ptra Insertion

Enumerator
L_AUTO_DOWNSHIFT 

choose based on number of holes

L_MIN_DOWNSHIFT 

downshifts min # of ptrs below insert

L_FULL_DOWNSHIFT 

downshifts all ptrs below insert

Definition at line 84 of file ptra.h.

◆ anonymous enum

anonymous enum

Ptraa Accessor

Enumerator
L_HANDLE_ONLY 

ptr to L_Ptra; caller can inspect only

L_REMOVE 

caller owns; destroy or save in L_Ptraa

Definition at line 91 of file ptra.h.