Home
last modified time | relevance | path

Searched refs:pixaa (Results 1 – 8 of 8) sorted by relevance

/external/tesseract/liblept/
Dpixabasic.c1005 PIXAA *pixaa; in pixaaCreate() local
1012 if ((pixaa = (PIXAA *)CALLOC(1, sizeof(PIXAA))) == NULL) in pixaaCreate()
1014 pixaa->n = 0; in pixaaCreate()
1015 pixaa->nalloc = n; in pixaaCreate()
1017 if ((pixaa->pixa = (PIXA **)CALLOC(n, sizeof(PIXA *))) == NULL) in pixaaCreate()
1019 pixaa->boxa = boxaCreate(n); in pixaaCreate()
1021 return pixaa; in pixaaCreate()
1052 PIXAA *pixaa; in pixaaCreateFromPixa() local
1072 pixaa = pixaaCreate(npixa); in pixaaCreateFromPixa()
1080 pixaaAddPixa(pixaa, pixat, L_INSERT); in pixaaCreateFromPixa()
[all …]
Dpixafunc2.c789 pixaaDisplay(PIXAA *pixaa, in pixaaDisplay() argument
801 if (!pixaa) in pixaaDisplay()
804 n = pixaaGetCount(pixaa); in pixaaDisplay()
810 boxa1 = pixaaGetBoxa(pixaa, L_CLONE); in pixaaDisplay()
818 pixa = pixaaGetPixa(pixaa, i, L_CLONE); in pixaaDisplay()
832 pixa = pixaaGetPixa(pixaa, 0, L_CLONE); in pixaaDisplay()
843 pixa = pixaaGetPixa(pixaa, i, L_CLONE); in pixaaDisplay()
881 pixaaDisplayByPixa(PIXAA *pixaa, in pixaaDisplayByPixa() argument
894 if (!pixaa) in pixaaDisplayByPixa()
897 if ((npixa = pixaaGetCount(pixaa)) == 0) in pixaaDisplayByPixa()
[all …]
Djbclass.c583 PIXAA *pixaa; in jbClassifyRankHaus() local
638 pixaa = classer->pixaa; in jbClassifyRankHaus()
688 pixa = pixaaGetPixa(pixaa, iclass, L_CLONE); in jbClassifyRankHaus()
710 pixaaAddPixa(pixaa, pixa, L_INSERT); /* unbordered instance */ in jbClassifyRankHaus()
751 pixa = pixaaGetPixa(pixaa, iclass, L_CLONE); in jbClassifyRankHaus()
773 pixaaAddPixa(pixaa, pixa, L_INSERT); /* unbordered instance */ in jbClassifyRankHaus()
1023 PIXAA *pixaa; in jbClassifyCorrelation() local
1126 pixaa = classer->pixaa; in jbClassifyCorrelation()
1218 pixa = pixaaGetPixa(pixaa, iclass, L_CLONE); in jbClassifyCorrelation()
1240 pixaaAddPixa(pixaa, pixa, L_INSERT); /* unbordered instance */ in jbClassifyCorrelation()
[all …]
Dpixafunc1.c1093 PIXAA *pixaa; in pixaSort2dByIndex() local
1109 pixaa = pixaaCreate(n); in pixaSort2dByIndex()
1121 pixaaAddPixa(pixaa, pixa, L_INSERT); in pixaSort2dByIndex()
1125 return pixaa; in pixaSort2dByIndex()
1148 pixaaFlattenToPixa(PIXAA *pixaa, in pixaaFlattenToPixa() argument
1161 if (!pixaa) in pixaaFlattenToPixa()
1171 n = pixaaGetCount(pixaa); in pixaaFlattenToPixa()
1174 pixat = pixaaGetPixa(pixaa, i, L_CLONE); in pixaaFlattenToPixa()
Djbclass.h55 struct Pixaa *pixaa; /* instances for each class; unbordered */ member
Dleptprotos.h617 LEPT_DLL extern PIXA * jbAccumulateComposites ( PIXAA *pixaa, NUMA **pna, PTA **pptat );
1028 LEPT_DLL extern l_int32 pixaaAddPixa ( PIXAA *pixaa, PIXA *pixa, l_int32 copyflag );
1029 LEPT_DLL extern l_int32 pixaaExtendArray ( PIXAA *pixaa );
1030 LEPT_DLL extern l_int32 pixaaAddBox ( PIXAA *pixaa, BOX *box, l_int32 copyflag );
1031 LEPT_DLL extern l_int32 pixaaGetCount ( PIXAA *pixaa );
1032 LEPT_DLL extern PIXA * pixaaGetPixa ( PIXAA *pixaa, l_int32 index, l_int32 accesstype );
1033 LEPT_DLL extern BOXA * pixaaGetBoxa ( PIXAA *pixaa, l_int32 accesstype );
1040 LEPT_DLL extern l_int32 pixaaWrite ( const char *filename, PIXAA *pixaa );
1041 LEPT_DLL extern l_int32 pixaaWriteStream ( FILE *fp, PIXAA *pixaa );
1065 LEPT_DLL extern PIXA * pixaaFlattenToPixa ( PIXAA *pixaa, NUMA **pnaindex, l_int32 copyflag );
[all …]
/external/tesseract/include/
Djbclass.h55 struct Pixaa *pixaa; /* instances for each class; unbordered */ member
Dleptprotos.h598 LEPT_DLL extern PIXA * jbAccumulateComposites ( PIXAA *pixaa, NUMA **pna, PTA **pptat );
997 LEPT_DLL extern l_int32 pixaaAddPixa ( PIXAA *pixaa, PIXA *pixa, l_int32 copyflag );
998 LEPT_DLL extern l_int32 pixaaExtendArray ( PIXAA *pixaa );
999 LEPT_DLL extern l_int32 pixaaAddBox ( PIXAA *pixaa, BOX *box, l_int32 copyflag );
1000 LEPT_DLL extern l_int32 pixaaGetCount ( PIXAA *pixaa );
1001 LEPT_DLL extern PIXA * pixaaGetPixa ( PIXAA *pixaa, l_int32 index, l_int32 accesstype );
1002 LEPT_DLL extern BOXA * pixaaGetBoxa ( PIXAA *pixaa, l_int32 accesstype );
1009 LEPT_DLL extern l_int32 pixaaWrite ( const char *filename, PIXAA *pixaa );
1010 LEPT_DLL extern l_int32 pixaaWriteStream ( FILE *fp, PIXAA *pixaa );
1034 LEPT_DLL extern PIXA * pixaaFlattenToPixa ( PIXAA *pixaa, NUMA **pnaindex, l_int32 copyflag );
[all …]