Home
last modified time | relevance | path

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

/external/tesseract/liblept/
Dcolormap.c545 l_int32 *pbval) in pixcmapGetColor() argument
551 if (!prval || !pgval || !pbval) in pixcmapGetColor()
553 *prval = *pgval = *pbval = 0; in pixcmapGetColor()
562 *pbval = cta[index].blue; in pixcmapGetColor()
898 l_int32 *pbval) in pixcmapGetExtremeValue() argument
904 if (!prval && !pgval && !pbval) in pixcmapGetExtremeValue()
908 if (pbval) *pbval = 0; in pixcmapGetExtremeValue()
940 if (pbval) *pbval = extbval; in pixcmapGetExtremeValue()
Dpix2.c255 l_int32 *pbval) in pixGetRGBPixel() argument
277 if (pbval) *pbval = GET_DATA_BYTE(ppixel, COLOR_BLUE); in pixGetRGBPixel()
945 l_int32 prval, pgval, pbval, rval, gval, bval; in pixBlendInRect() local
967 extractRGBValues(val32, &prval, &pgval, &pbval); in pixBlendInRect()
970 pbval = (l_int32)((1. - fract) * pbval + fract * bval); in pixBlendInRect()
971 composeRGBPixel(prval, pgval, pbval, &val32); in pixBlendInRect()
1997 l_int32 *pbval) in extractRGBValues() argument
2001 if (pbval) *pbval = (pixel >> L_BLUE_SHIFT) & 0xff; in extractRGBValues()
Dpix4.c529 l_float32 *pbval) in pixGetRankValueMaskedRGB() argument
546 if (!prval && !pgval && !pbval) in pixGetRankValueMaskedRGB()
566 if (pbval) { in pixGetRankValueMaskedRGB()
569 factor, rank, pbval, NULL); in pixGetRankValueMaskedRGB()
679 l_float32 *pbval) in pixGetAverageMaskedRGB() argument
700 if (!prval && !pgval && !pbval) in pixGetAverageMaskedRGB()
719 if (pbval) { in pixGetAverageMaskedRGB()
724 pixGetAverageMasked(pixt, pixm, x, y, factor, type, pbval); in pixGetAverageMaskedRGB()
1054 l_int32 *pbval, in pixGetExtremeValue() argument
1070 return pixcmapGetExtremeValue(cmap, type, prval, pgval, pbval); in pixGetExtremeValue()
[all …]
Dcolorquant2.c197 l_int32 *pbval);
1177 l_int32 *pbval) in vboxGetAverageColor() argument
1187 if (!prval || !pgval || !pbval) in vboxGetAverageColor()
1190 *prval = *pgval = *pbval = 0; in vboxGetAverageColor()
1211 *pbval = mult * (vbox->b1 + vbox->b2 + 1) / 2; in vboxGetAverageColor()
1216 *pbval = bsum / ntot; in vboxGetAverageColor()
1223 *prval, *pgval, *pbval); in vboxGetAverageColor()
Dpixconv.c3037 l_int32 *pbval) in convertHSVToRGB() argument
3044 if (!prval || !pgval || !pbval) in convertHSVToRGB()
3050 *pbval = vval; in convertHSVToRGB()
3069 *pbval = x; in convertHSVToRGB()
3074 *pbval = x; in convertHSVToRGB()
3079 *pbval = z; in convertHSVToRGB()
3084 *pbval = vval; in convertHSVToRGB()
3089 *pbval = vval; in convertHSVToRGB()
3094 *pbval = y; in convertHSVToRGB()
Dcolorquant1.c205 l_int32 *pgval, l_int32 *pbval);
218 l_int32 *prval, l_int32 *pgval, l_int32 *pbval);
1127 l_int32 *pbval) in octreeFindColorCell() argument
1142 *pbval = cqc->bc; in octreeFindColorCell()
1149 *pbval = cqcsub->bc; in octreeFindColorCell()
1166 *pbval = bv; in octreeFindColorCell()
1174 *pbval = bv; in octreeFindColorCell()
1445 l_int32 *pbval) in getRGBFromOctcube() argument
1469 *pbval = ((rgbindex >> 11) & 0x80) | in getRGBFromOctcube()
Dleptprotos.h318 …2 pixcmapGetColor ( PIXCMAP *cmap, l_int32 index, l_int32 *prval, l_int32 *pgval, l_int32 *pbval );
326 …mapGetExtremeValue ( PIXCMAP *cmap, l_int32 type, l_int32 *prval, l_int32 *pgval, l_int32 *pbval );
908 … pixGetRGBPixel ( PIX *pix, l_int32 x, l_int32 y, l_int32 *prval, l_int32 *pgval, l_int32 *pbval );
940 …LL extern void extractRGBValues ( l_uint32 pixel, l_int32 *prval, l_int32 *pgval, l_int32 *pbval );
972 … l_int32 y, l_int32 factor, l_float32 rank, l_float32 *prval, l_float32 *pgval, l_float32 *pbval );
974 …x, l_int32 y, l_int32 factor, l_int32 type, l_float32 *prval, l_float32 *pgval, l_float32 *pbval );
978 …s, l_int32 factor, l_int32 type, l_int32 *prval, l_int32 *pgval, l_int32 *pbval, l_int32 *pgrayval…
1143 …ToRGB ( l_int32 hval, l_int32 sval, l_int32 vval, l_int32 *prval, l_int32 *pgval, l_int32 *pbval );
/external/tesseract/include/
Dleptprotos.h318 …2 pixcmapGetColor ( PIXCMAP *cmap, l_int32 index, l_int32 *prval, l_int32 *pgval, l_int32 *pbval );
325 …mapGetExtremeValue ( PIXCMAP *cmap, l_int32 type, l_int32 *prval, l_int32 *pgval, l_int32 *pbval );
883 … pixGetRGBPixel ( PIX *pix, l_int32 x, l_int32 y, l_int32 *prval, l_int32 *pgval, l_int32 *pbval );
912 …LL extern void extractRGBValues ( l_uint32 pixel, l_int32 *prval, l_int32 *pgval, l_int32 *pbval );
942 … l_int32 y, l_int32 factor, l_float32 rank, l_float32 *prval, l_float32 *pgval, l_float32 *pbval );
944 …x, l_int32 y, l_int32 factor, l_int32 type, l_float32 *prval, l_float32 *pgval, l_float32 *pbval );
948 …s, l_int32 factor, l_int32 type, l_int32 *prval, l_int32 *pgval, l_int32 *pbval, l_int32 *pgrayval…
1101 …ToRGB ( l_int32 hval, l_int32 sval, l_int32 vval, l_int32 *prval, l_int32 *pgval, l_int32 *pbval );