Searched refs:rgb (Results 26 - 33 of 33) sorted by relevance

12

/haiku-fatelf/src/add-ons/translators/hpgs/lib/
H A Dhpgs.h661 int (*setrgbcolor) (hpgs_device *_this, const hpgs_color *rgb);
669 int (*setpatcol) (hpgs_device *_this, const hpgs_color *rgb);
750 static int hpgs_setrgbcolor (hpgs_device *_this, const hpgs_color *rgb);
767 HPGS_API int hpgs_setpatcol (hpgs_device *_this, const hpgs_color *rgb);
810 __inline__ int hpgs_setrgbcolor (hpgs_device *_this, const hpgs_color *rgb) argument
811 { return _this->vtable->setrgbcolor ? _this->vtable->setrgbcolor(_this,rgb) : 0; }
985 unsigned *palette_idx; //!< a compacted rgb color index.
993 /*! Enter the supplied rgb value to the palette of an indexed image.
H A Dhpgspath.c465 hpgs_color rgb; local
467 rgb.r = (1.0-alpha) + reader->pen_colors[pen].r*alpha;
468 rgb.g = (1.0-alpha) + reader->pen_colors[pen].g*alpha;
469 rgb.b = (1.0-alpha) + reader->pen_colors[pen].b*alpha;
471 if (hpgs_setrgbcolor(reader->device,&rgb))
H A Dhpgsimage.c1226 unsigned rgb = local
1237 if ((image->palette_idx[i] & 0xffffff00) < rgb)
1244 rgb == (image->palette_idx[i0] & 0xffffff00))
1260 image->palette_idx[i0] = rgb | image->palette_ncolors;
/haiku-fatelf/src/add-ons/translators/raw/
H A DRAW.cpp1728 ushort (*rgb)[TS][TS][3];
1737 rgb = (ushort(*)[TS][TS][3])buffer;
1750 memset(rgb, 0, 12 * TS * TS);
1763 rgb[0][row - top][col - left][1]
1769 rgb[1][row - top][col - left][1] = ULIM(val,
1781 rix = &rgb[d][row - top][col - left];
1867 = rgb[hm[1] > hm[0]][tr][tc][c];
1872 = (rgb[0][tr][tc][c] + rgb[1][tr][tc][c]) >> 1;
/haiku-fatelf/src/libs/print/libgutenprint/src/testpattern/
H A Drun-testpattern-2.in303 mode rgb 8;
/haiku-fatelf/src/tests/kits/storage/
H A DMimeTypeTest.cpp406 // 24-bit rgb pixel data...
409 char rgb[3]; local
410 rgb[0] = data[2]; // red
411 rgb[1] = data[1]; // green
412 rgb[2] = data[0]; // blue
413 dest8.SetBits(rgb, 3, i, B_RGB32);
/haiku-fatelf/src/libs/ncurses/misc/
H A Dterminfo.src3066 initc=\E]4;%p1%d;rgb\:%p2%{255}%*%{1000}%/%2.2X/%p3%{255}%*%{1000}%/%2.2X/%p4%{255}%*%{1000}%/%2.2X\E\\,
H A Dterminfo.tmp3066 initc=\E]4;%p1%d;rgb\:%p2%{255}%*%{1000}%/%2.2X/%p3%{255}%*%{1000}%/%2.2X/%p4%{255}%*%{1000}%/%2.2X\E\\,

Completed in 311 milliseconds

12