Home
last modified time | relevance | path

Searched refs:PPM_GETG (Results 1 – 25 of 112) sorted by relevance

12345

/dports/multimedia/mpeg_encode/mpeg_encode/
H A Drgbtoycc.c144 mult587[PPM_GETG(*src0)] +
148 mult587[PPM_GETG(*src1)] +
160 mult33126[PPM_GETG(*src0)] +
163 mult33126[PPM_GETG(*src1)] +
173 mult41869[PPM_GETG(*src0)] +
176 mult41869[PPM_GETG(*src1)] +
190 PPM_GETG(*src0) * 0.58700 +
193 PPM_GETG(*src1) * 0.58700 +
205 PPM_GETG(*src0) * -0.33126 +
208 PPM_GETG(*src1) * -0. +
[all …]
/dports/science/afni/afni-AFNI_21.3.16/src/mpeg_encodedir/
H A Drgbtoycc.c159 mult587[PPM_GETG(*src0)] +
163 mult587[PPM_GETG(*src1)] +
175 mult33126[PPM_GETG(*src0)] +
178 mult33126[PPM_GETG(*src1)] +
188 mult41869[PPM_GETG(*src0)] +
191 mult41869[PPM_GETG(*src1)] +
205 PPM_GETG(*src0) * 0.58700 +
208 PPM_GETG(*src1) * 0.58700 +
220 PPM_GETG(*src0) * -0.33126 +
223 PPM_GETG(*src1) * -0. +
[all …]
/dports/cad/gmsh/gmsh-4.9.2-source/contrib/mpeg_encode/
H A Drgbtoycc.cpp143 mult587[PPM_GETG(*src0)] + in PNMtoYUV()
147 mult587[PPM_GETG(*src1)] + in PNMtoYUV()
159 mult33126[PPM_GETG(*src0)] + in PNMtoYUV()
162 mult33126[PPM_GETG(*src1)] + in PNMtoYUV()
172 mult41869[PPM_GETG(*src0)] + in PNMtoYUV()
175 mult41869[PPM_GETG(*src1)] + in PNMtoYUV()
189 PPM_GETG(*src0) * 0.58700 + in PNMtoYUV()
192 PPM_GETG(*src1) * 0.58700 + in PNMtoYUV()
204 PPM_GETG(*src0) * -0.33126 + in PNMtoYUV()
207 PPM_GETG(*src1) * -0. + in PNMtoYUV()
[all …]
/dports/graphics/netpbm/netpbm-10.91.01/converter/ppm/ppmtompeg/
H A Drgbtoycc.c157 mult587[PPM_GETG(*src0)] + in PNMtoYUV()
161 mult587[PPM_GETG(*src1)] + in PNMtoYUV()
165 mult587[PPM_GETG(src0[1])] + in PNMtoYUV()
169 mult587[PPM_GETG(src1[1])] + in PNMtoYUV()
173 mult33126[PPM_GETG(*src0)] + in PNMtoYUV()
176 mult33126[PPM_GETG(*src1)] + in PNMtoYUV()
179 mult33126[PPM_GETG(src0[1])] + in PNMtoYUV()
182 mult33126[PPM_GETG(src1[1])] + in PNMtoYUV()
186 mult41869[PPM_GETG(*src0)] + in PNMtoYUV()
189 mult41869[PPM_GETG(*src1)] + in PNMtoYUV()
[all …]
/dports/graphics/netpbm/netpbm-10.91.01/lib/
H A Dppm.h33 #define PPM_GETG(p) ((p).g) macro
182 (PPM_GETR(pixel) == PPM_GETG(pixel) && PPM_GETR(pixel) == PPM_GETB(pixel))
189 ( (int) PPM_GETG(p) * (newmaxval) + (oldmaxval) / 2 ) / (oldmaxval), \
199 PPM_SQR(PPM_GETG(p1)-PPM_GETG(p2)) + in PPM_DISTANCE()
224 + PPM_LUMING * PPM_GETG(p) \
231 - 0.331264 * PPM_GETG(p) \
234 - 0.418688 * PPM_GETG(p) \
269 return PPM_MAX(PPM_GETR(p), PPM_MAX(PPM_GETG(p), PPM_GETB(p))); in ppm_colorvalue()
280 PPM_MAX(PPM_GETR(p), PPM_MAX(PPM_GETG(p), PPM_GETB(p))); in ppm_saturation()
282 PPM_MIN(PPM_GETR(p), PPM_MIN(PPM_GETG(p), PPM_GETB(p))); in ppm_saturation()
H A Dlibpnm3.c39 (PPM_GETG(a) + PPM_GETG(b) + PPM_GETG(c) + PPM_GETG(d)) / 4, in mean4()
127 (PPM_GETG(l) + PPM_GETG(r)) / 2, in pnm_backgroundxelrow()
220 maxval - PPM_GETG(*xP), in pnm_invertxel()
449 PPM_GETR(bgColor), PPM_GETG(bgColor), PPM_GETB(bgColor)); in pnm_parsecolorxel()
H A Dlibppm2.c68 rowBuffer[bufferCursor++] = PPM_GETG(pixelrow[col]); in format1bpsRow()
90 pixval const g = PPM_GETG(pixelrow[col]); in format2bpsRow()
167 putus(PPM_GETG(pixelrow[col]), fileP); in ppm_writeppmrowplain()
/dports/graphics/netpbm/netpbm-10.91.01/editor/
H A Dpnmalias.c123 if (PPM_GETR(fgcolorppm) == 0 && PPM_GETG(fgcolorppm) == 0 && in main()
136 if (PPM_GETR(bgcolorppm) != 0 || PPM_GETG(bgcolorppm) != 0 || in main()
214 valueg= PPM_GETG(*(xpP-1)) * fmask[0] + in main()
215 PPM_GETG(*(xpP )) * fmask[1] + in main()
216 PPM_GETG(*(xpP+1)) * fmask[2] + in main()
217 PPM_GETG(*(xP -1)) * fmask[3] + in main()
218 PPM_GETG(*(xP )) * fmask[4] + in main()
219 PPM_GETG(*(xP +1)) * fmask[5] + in main()
220 PPM_GETG(*(xnP-1)) * fmask[6] + in main()
221 PPM_GETG(*(xnP )) * fmask[7] + in main()
[all …]
H A Dpnmrotate.c246 (fracShift * PPM_GETG(prevxel) in shearX()
247 + omfracShift * PPM_GETG(p) in shearX()
270 (fracShift * PPM_GETG(prevxel) in shearX()
271 + omfracShift * PPM_GETG(bgxel) in shearX()
461 (fracnew0 * PPM_GETG(prevxel) in shearYColAntialias()
462 + omfracnew0 * PPM_GETG(x) in shearYColAntialias()
487 (fracnew0 * PPM_GETG(prevxel) in shearYColAntialias()
488 + omfracnew0 * PPM_GETG(bgxel) in shearYColAntialias()
608 + omfracnew0 * PPM_GETG(x) in shearFinal()
633 (fracnew0 * PPM_GETG(prevxel) in shearFinal()
[all …]
H A Dppmflash.c95 PPM_GETG(*pP) +
96 (((maxval - PPM_GETG(*pP)) * longfactor) >> 16),
/dports/cad/gmsh/gmsh-4.9.2-source/Graphics/
H A Dgl2gif.h24 #define PPM_GETG(p) (((p)&0xffc00) >> 10) macro
32 (0.299 * PPM_GETR(p) + 0.587 * PPM_GETG(p) + 0.114 * PPM_GETB(p))
37 ((int)PPM_GETG(p) * (newmaxval) + (oldmaxval) / 2) / (oldmaxval), \
H A Dgl2gif.cpp198 PPM_GETG(color), PPM_GETB(color)); in ppm_colorhisttocolorhash()
273 g = (int)PPM_GETG(color); in closestcolor()
326 (int)PPM_GETG(((colorhist_vector)ch2)->color); in greencompare()
393 ming = maxg = PPM_GETG(chv[indx].color); in mediancut()
399 v = PPM_GETG(chv[indx + i].color); in mediancut()
489 ming = maxg = PPM_GETG(chv[indx].color); in mediancut()
495 v = PPM_GETG(chv[indx + i].color); in mediancut()
513 g += PPM_GETG(chv[indx + i].color); in mediancut()
1248 g1 = PPM_GETG(*pP); in create_gif()
1253 g2 = PPM_GETG(colormap[i].color); in create_gif()
[all …]
/dports/math/PDL/PDL-2.019/Lib/ImageRGB/
H A Dppm_quant.c49 #define PPM_GETG(p) ((p).g) macro
63 (int) PPM_GETG(p) * (newmaxval) / ((int)oldmaxval), \
76 ( 77 * PPM_GETR(p) + 150 * PPM_GETG(p) + 29 * PPM_GETB(p) )
111 (int) PPM_GETG(p) * 30013 + \
282 g1 = PPM_GETG( *pP ); in ppm_quant()
288 g2 = PPM_GETG( colormap[i].color ); in ppm_quant()
321 *map++ = PPM_GETG( colormap[i].color ); in ppm_quant()
400 ming = maxg = PPM_GETG( chv[indx].color );
408 v = PPM_GETG( chv[indx + i].color );
522 return (int) PPM_GETG( ((chist_vec)p1)->color ) -
[all …]
/dports/science/drawxtl/DRAWxtl/source/DRAWxtl55/
H A Dgl2gif.h24 #define PPM_GETG(p) (((p) & 0xffc00) >> 10) macro
31 #define PPM_LUMIN(p) ( 0.299 * PPM_GETR(p) + 0.587 * PPM_GETG(p) + 0.114 * PPM_GETB(p) )
36 ( (int) PPM_GETG(p) * (newmaxval) + (oldmaxval) / 2 ) / (oldmaxval), \
H A Dgl2gif.cxx272 g = (int) PPM_GETG(color); in closestcolor()
326 (int) PPM_GETG(((colorhist_vector) ch2)->color); in greencompare()
395 ming = maxg = PPM_GETG(chv[indx].color); in mediancut()
403 v = PPM_GETG(chv[indx + i].color); in mediancut()
498 ming = maxg = PPM_GETG(chv[indx].color); in mediancut()
504 v = PPM_GETG(chv[indx + i].color); in mediancut()
522 g += PPM_GETG(chv[indx + i].color); in mediancut()
1288 sg = PPM_GETG(*pP) + thisgerr[col + 1] / FS_SCALE; in create_gif()
1311 g1 = PPM_GETG(*pP); in create_gif()
1316 g2 = PPM_GETG(colormap[i].color); in create_gif()
[all …]
/dports/graphics/netpbm/netpbm-10.91.01/editor/specialty/
H A Dppmspread.c90 g1 = PPM_GETG(*pP2); in main()
94 PPM_ASSIGN(*pP2, PPM_GETR(*pP), PPM_GETG(*pP), PPM_GETB(*pP)); in main()
104 PPM_ASSIGN(*pP2, PPM_GETR(*pP), PPM_GETG(*pP), PPM_GETB(*pP)); in main()
H A Dppmtv.c82 PPM_ASSIGN(*pP2, PPM_GETR(*pP), PPM_GETG(*pP), PPM_GETB(*pP));
88 (PPM_GETG(*pP) * longfactor) >> 16,
H A Dppmshift.c104 PPM_ASSIGN(*pP2, PPM_GETR(*pP), PPM_GETG(*pP), PPM_GETB(*pP)); in main()
117 PPM_ASSIGN(*pP2, PPM_GETR(*pP), PPM_GETG(*pP), PPM_GETB(*pP)); in main()
/dports/graphics/netpbm/netpbm-10.91.01/converter/ppm/
H A Dppmtoyuvsplit.c133 g0 = PPM_GETG(*pP1); in main()
138 g1 = PPM_GETG(*pP1); in main()
143 g2 = PPM_GETG(*pP2); in main()
148 g3 = PPM_GETG(*pP2); in main()
H A Dppmtopuzz.c71 (void) putchar( (unsigned char) PPM_GETG( p ) );
90 row, col, PPM_GETR(*pP), PPM_GETG(*pP), PPM_GETB(*pP) );
/dports/graphics/netpbm/netpbm-10.91.01/analyzer/
H A Dppmhist.c140 retval = cmpUint(PPM_GETG(histItem1P->color), in rgbcompare()
141 PPM_GETG(histItem2P->color)); in rgbcompare()
223 pixval const g = PPM_GETG(color); in colorIsValid()
341 pixval const g = PPM_GETG(color); in colorSummary()
453 pixval const g = PPM_GETG(chv[i].color); in printColors()
576 pixval const g = PPM_GETG(chvInvalid[i].color); in printInvalidSamples()
/dports/graphics/netpbm/netpbm-10.91.01/converter/other/
H A Dpnmtorast.c55 prColormapP->map[1][i] = PPM_GETG(chv[i].color); in makePrColormap()
118 PPM_GETG(adjustedXel), in doRowDepth1()
173 PPM_GETG(adjustedXel), in doRowDepth8()
217 rastRow[cursor++] = PPM_GETG(adjustedXel); in doRowDepth24()
/dports/x11-toolkits/xmhtml/XmHTML-1.1.10/lib/common/
H A Dquantize.c154 #define PPM_GETG(p) ((p).g) macro
167 (int) PPM_GETG(p) * (newmaxval) / ((int)oldmaxval), \
172 ( 77 * PPM_GETR(p) + 150 * PPM_GETG(p) + 29 * PPM_GETB(p) )
579 g1 = PPM_GETG(*pP); in ppm_quant()
586 g2 = PPM_GETG(colormap[i].color); in ppm_quant()
624 GETG(img_data->cmap[i]) = (PPM_GETG(colormap[i].color)) << 8; in ppm_quant()
694 ming = maxg = PPM_GETG( chv[indx].color ); in mediancut()
703 v = PPM_GETG( chv[indx + i].color ); in mediancut()
766 g += PPM_GETG( chv[indx + i].color ) * chv[indx + i].value; in mediancut()
798 return((int) PPM_GETG( ((chist_vec)p1)->color) - in greencompare()
[all …]
/dports/science/afni/afni-AFNI_21.3.16/src/XmHTML/lib/common/
H A Dquantize.c154 #define PPM_GETG(p) ((p).g) macro
167 (int) PPM_GETG(p) * (newmaxval) / ((int)oldmaxval), \
172 ( 77 * PPM_GETR(p) + 150 * PPM_GETG(p) + 29 * PPM_GETB(p) )
579 g1 = PPM_GETG(*pP); in ppm_quant()
586 g2 = PPM_GETG(colormap[i].color); in ppm_quant()
624 GETG(img_data->cmap[i]) = (PPM_GETG(colormap[i].color)) << 8; in ppm_quant()
694 ming = maxg = PPM_GETG( chv[indx].color ); in mediancut()
703 v = PPM_GETG( chv[indx + i].color ); in mediancut()
766 g += PPM_GETG( chv[indx + i].color ) * chv[indx + i].value; in mediancut()
798 return((int) PPM_GETG( ((chist_vec)p1)->color) - in greencompare()
[all …]
/dports/graphics/xpaint/xpaint-2.9.10.3/rw/
H A Dlibpnmrw.h49 #define PPM_GETG(p) ((p).g) macro
95 ((int) PPM_GETG(p) * (newmaxval) + (oldmaxval) / 2) / (oldmaxval), \
101 #define PPM_LUMIN(p) (0.299*PPM_GETR(p) + 0.587*PPM_GETG(p) + 0.114*PPM_GETB(p))

12345