Home
last modified time | relevance | path

Searched refs:pix1 (Results 1 – 16 of 16) sorted by relevance

/external/tesseract/liblept/
Dcompare.c81 pixEqual(PIX *pix1, in pixEqual() argument
98 if (!pix1) in pixEqual()
103 pixGetDimensions(pix1, &w1, &h1, &d1); in pixEqual()
110 cmap1 = pixGetColormap(pix1); in pixEqual()
119 return pixEqualWithCmap(pix1, pix2, psame); in pixEqual()
124 pixUsesCmapColor(pix1, &color); in pixEqual()
132 pixs1 = pixRemoveColormap(pix1, REMOVE_CMAP_TO_GRAYSCALE); in pixEqual()
134 pixs1 = pixRemoveColormap(pix1, REMOVE_CMAP_TO_FULL_COLOR); in pixEqual()
141 pixs1 = pixConvertTo8(pix1, FALSE); in pixEqual()
143 pixs1 = pixClone(pix1); in pixEqual()
[all …]
Dcorrelscore.c96 pixCorrelationScore(PIX *pix1, in pixCorrelationScore() argument
115 if (!pix1 || pixGetDepth(pix1) != 1) in pixCorrelationScore()
125 pixGetDimensions(pix1, &wi, &hi, NULL); in pixCorrelationScore()
145 wpl1 = pixGetWpl(pix1); in pixCorrelationScore()
156 row1 = pixGetData(pix1) + wpl1 * lorow; in pixCorrelationScore()
387 pixCorrelationScoreThresholded(PIX *pix1, in pixCorrelationScoreThresholded() argument
409 if (!pix1 || pixGetDepth(pix1) != 1) in pixCorrelationScoreThresholded()
419 pixGetDimensions(pix1, &wi, &hi, NULL); in pixCorrelationScoreThresholded()
443 wpl1 = pixGetWpl(pix1); in pixCorrelationScoreThresholded()
454 row1 = pixGetData(pix1) + wpl1 * lorow; in pixCorrelationScoreThresholded()
[all …]
Dbinreduce.c114 PIX *pix1, *pix2, *pix3, *pix4; in pixReduceRankBinaryCascade() local
134 pix1 = pixReduceRankBinary2(pixs, level1, tab); in pixReduceRankBinaryCascade()
137 return pix1; in pixReduceRankBinaryCascade()
140 pix2 = pixReduceRankBinary2(pix1, level2, tab); in pixReduceRankBinaryCascade()
141 pixDestroy(&pix1); in pixReduceRankBinaryCascade()
Djbclass.c581 PIX *pix, *pix1, *pix2, *pix3, *pix4; in jbClassifyRankHaus() local
607 pix1 = pixAddBorderGeneral(pix, JB_ADDED_PIXELS, JB_ADDED_PIXELS, in jbClassifyRankHaus()
609 pix2 = pixDilate(NULL, pix1, sel); in jbClassifyRankHaus()
610 pixaAddPix(pixa1, pix1, L_INSERT); /* un-dilated */ in jbClassifyRankHaus()
668 pix1 = pixaGetPix(pixa1, i, L_CLONE); in jbClassifyRankHaus()
673 findcontext = findSimilarSizedTemplatesInit(classer, pix1); in jbClassifyRankHaus()
679 testval = pixHaustest(pix1, pix2, pix3, pix4, x1 - x2, y1 - y2, in jbClassifyRankHaus()
712 pixaAddPix(pixat, pix1, L_INSERT); /* bordered template */ in jbClassifyRankHaus()
716 pixDestroy(&pix1); in jbClassifyRankHaus()
727 pix1 = pixaGetPix(pixa1, i, L_CLONE); in jbClassifyRankHaus()
[all …]
Dpix1.c678 pixSizesEqual(PIX *pix1, in pixSizesEqual() argument
683 if (!pix1 || !pix2) in pixSizesEqual()
686 if (pix1 == pix2) in pixSizesEqual()
689 if ((pixGetWidth(pix1) != pixGetWidth(pix2)) || in pixSizesEqual()
690 (pixGetHeight(pix1) != pixGetHeight(pix2)) || in pixSizesEqual()
691 (pixGetDepth(pix1) != pixGetDepth(pix2))) in pixSizesEqual()
Dpixafunc1.c1371 PIX *pix1, *pix2; in pixaEqual() local
1408 pix1 = pixaGetPix(pixa1, i, L_CLONE); in pixaEqual()
1414 pixEqual(pix1, pix2, &same); in pixaEqual()
1415 pixDestroy(&pix1); in pixaEqual()
DMakefile.am50 pix1.c pix2.c pix3.c pix4.c \
Dmakefile182 pix1.c pix2.c pix3.c pix4.c \
Dmakefile.mingw168 pix1.c pix2.c pix3.c pix4.c \
DMakefile.in91 partition.$(OBJEXT) pix1.$(OBJEXT) pix2.$(OBJEXT) \
284 pix1.c pix2.c pix3.c pix4.c \
470 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/pix1.Po@am__quote@
Dleptprotos.h374 LEPT_DLL extern l_int32 pixEqual ( PIX *pix1, PIX *pix2, l_int32 *psame );
375 LEPT_DLL extern l_int32 pixEqualWithCmap ( PIX *pix1, PIX *pix2, l_int32 *psame );
377 LEPT_DLL extern l_int32 pixCorrelationBinary ( PIX *pix1, PIX *pix2, l_float32 *pval );
378 LEPT_DLL extern l_int32 pixCompareBinary ( PIX *pix1, PIX *pix2, l_int32 comptype, l_float32 *pfrac…
379 LEPT_DLL extern l_int32 pixCompareGrayOrRGB ( PIX *pix1, PIX *pix2, l_int32 comptype, l_int32 plott…
380 LEPT_DLL extern l_int32 pixCompareGray ( PIX *pix1, PIX *pix2, l_int32 comptype, l_int32 plottype, …
381 LEPT_DLL extern l_int32 pixCompareRGB ( PIX *pix1, PIX *pix2, l_int32 comptype, l_int32 plottype, l…
382 LEPT_DLL extern l_int32 pixCompareTiled ( PIX *pix1, PIX *pix2, l_int32 sx, l_int32 sy, l_int32 typ…
383 LEPT_DLL extern NUMA * pixCompareRankDifference ( PIX *pix1, PIX *pix2 );
415 LEPT_DLL extern l_float32 pixCorrelationScore ( PIX *pix1, PIX *pix2, l_int32 area1, l_int32 area2,…
[all …]
Dleptonlib.dsp387 SOURCE=.\src\pix1.c
/external/tesseract/include/
Dleptprotos.h364 LEPT_DLL extern l_int32 pixEqual ( PIX *pix1, PIX *pix2, l_int32 *psame );
365 LEPT_DLL extern l_int32 pixEqualWithCmap ( PIX *pix1, PIX *pix2, l_int32 *psame );
367 LEPT_DLL extern l_int32 pixCorrelationBinary ( PIX *pix1, PIX *pix2, l_float32 *pval );
368 LEPT_DLL extern l_int32 pixCompareBinary ( PIX *pix1, PIX *pix2, l_int32 comptype, l_float32 *pfrac…
369 LEPT_DLL extern l_int32 pixCompareGrayOrRGB ( PIX *pix1, PIX *pix2, l_int32 comptype, l_int32 plott…
370 LEPT_DLL extern l_int32 pixCompareGray ( PIX *pix1, PIX *pix2, l_int32 comptype, l_int32 plottype, …
371 LEPT_DLL extern l_int32 pixCompareRGB ( PIX *pix1, PIX *pix2, l_int32 comptype, l_int32 plottype, l…
372 LEPT_DLL extern l_int32 pixCompareTiled ( PIX *pix1, PIX *pix2, l_int32 sx, l_int32 sy, l_int32 typ…
373 LEPT_DLL extern NUMA * pixCompareRankDifference ( PIX *pix1, PIX *pix2 );
402 LEPT_DLL extern l_float32 pixCorrelationScore ( PIX *pix1, PIX *pix2, l_int32 area1, l_int32 area2,…
[all …]
/external/opencore/codecs_v2/video/avc_h264/enc/src/
Dmotion_comp.cpp196 uint32 prev_pix, result, pix1, pix2, pix4; in eCreateAlign() local
208 pix1 = *ref++; in eCreateAlign()
211 result = (pix2 << 8) | pix1; in eCreateAlign()
/external/tesseract/
DAndroid.mk152 liblept/pix1.c \
/external/opencore/codecs_v2/video/avc_h264/dec/src/
Dpred_inter.cpp371 uint32 prev_pix, result, pix1, pix2, pix4; in CreateAlign() local
383 pix1 = *ref++; in CreateAlign()
386 result = (pix2 << 8) | pix1; in CreateAlign()