/haiku-fatelf/src/add-ons/translators/exr/openexr/ilmimf/ |
H A D | ImfPreviewImageAttribute.cpp | 64 const PreviewRgba *pixels = _value.pixels(); local 68 Xdr::write <StreamIO> (os, pixels[i].r); 69 Xdr::write <StreamIO> (os, pixels[i].g); 70 Xdr::write <StreamIO> (os, pixels[i].b); 71 Xdr::write <StreamIO> (os, pixels[i].a); 88 PreviewRgba *pixels = p.pixels(); local 92 Xdr::read <StreamIO> (is, pixels[i].r); 93 Xdr::read <StreamIO> (is, pixels[ [all...] |
H A D | ImfPreviewImage.h | 76 // PreviewImage(w,h,p) constructs a preview image with w by h pixels 78 // coordinates of the pixels in p go from 0 to w-1, and from 0 to h-1. 81 // If p is zero, the pixels in the preview image are initialized with 88 const PreviewRgba pixels[] = 0); 107 PreviewRgba * pixels () {return _pixels;} function in class:Imf::PreviewImage 108 const PreviewRgba * pixels () const {return _pixels;} function in class:Imf::PreviewImage 112 // Access to individual pixels
|
H A D | ImfPreviewImage.cpp | 50 const PreviewRgba pixels[]) 56 if (pixels) 59 _pixels[i] = pixels[i]; 48 PreviewImage(unsigned int width, unsigned int height, const PreviewRgba pixels[]) argument
|
H A D | ImfOutputFile.cpp | 378 // Find the number of sampled pixels, dMaxX-dMinX+1, for 379 // slice i in scan line y (i.e. pixels within the data window 525 // sampled pixels (i.e. pixels within the data window 1151 THROW (Iex::ArgExc, "Cannot copy pixels from image " 1159 THROW (Iex::ArgExc, "Cannot copy pixels from image " 1225 THROW (Iex::LogicExc, "Cannot update preview image pixels. " 1230 // Store the new pixels in the header's preview image attribute. 1237 PreviewRgba *pixels = pi.pixels(); local [all...] |
H A D | ImfTiledOutputFile.cpp | 1337 THROW (Iex::ArgExc, "Cannot copy pixels from image " 1625 THROW (Iex::LogicExc, "Cannot update preview image pixels. " 1630 // Store the new pixels in the header's preview image attribute. 1637 PreviewRgba *pixels = pi.pixels(); local 1641 pixels[i] = newPixels[i]; 1659 REPLACE_EXC (e, "Cannot update preview image pixels for "
|
/haiku-fatelf/src/add-ons/translators/jpeg2000/ |
H A D | JPEG2000Translator.cpp | 101 //! Make RGB32 scanline from *pixels[3] 103 read_rgb24_to_rgb32(jas_matrix_t** pixels, jpr_uchar_t* scanline, int width) argument 108 scanline[index++] = (jpr_uchar_t)jas_matrix_getv(pixels[2], x); 109 scanline[index++] = (jpr_uchar_t)jas_matrix_getv(pixels[1], x); 110 scanline[index++] = (jpr_uchar_t)jas_matrix_getv(pixels[0], x); 117 //! Make gray scanline from *pixels[1] 119 read_gray_to_rgb32(jas_matrix_t** pixels, jpr_uchar_t* scanline, int width) argument 125 color = (jpr_uchar_t)jas_matrix_getv(pixels[0], x++); 135 Make RGBA32 scanline from *pixels[4] 139 read_rgba32(jas_matrix_t** pixels, jpr_uchar_ argument 158 read_gray(jas_matrix_t** pixels, jpr_uchar_t* scanline, int width) argument 170 write_gray1_to_gray(jas_matrix_t** pixels, jpr_uchar_t* scanline, int width) argument 188 write_gray1_to_rgb24(jas_matrix_t** pixels, jpr_uchar_t* scanline, int width) argument 212 write_cmap8_to_rgb24(jas_matrix_t** pixels, jpr_uchar_t* scanline, int width) argument 232 write_gray(jas_matrix_t** pixels, jpr_uchar_t* scanline, int width) argument 247 write_rgb15_to_rgb24(jas_matrix_t** pixels, jpr_uchar_t* scanline, int width) argument 272 write_rgb15b_to_rgb24(jas_matrix_t** pixels, jpr_uchar_t* scanline, int width) argument 297 write_rgb16_to_rgb24(jas_matrix_t** pixels, jpr_uchar_t* scanline, int width) argument 322 write_rgb16b_to_rgb24(jas_matrix_t** pixels, jpr_uchar_t* scanline, int width) argument 347 write_rgb24(jas_matrix_t** pixels, jpr_uchar_t* scanline, int width) argument 365 write_rgb24b(jas_matrix_t** pixels, jpr_uchar_t* scanline, int width) argument 383 write_rgb32_to_rgb24(jas_matrix_t** pixels, jpr_uchar_t* scanline, int width) argument 402 write_rgb32b_to_rgb24(jas_matrix_t** pixels, jpr_uchar_t* scanline, int width) argument 422 write_rgba32(jas_matrix_t** pixels, jpr_uchar_t* scanline, int width) argument 442 write_rgba32b(jas_matrix_t** pixels, jpr_uchar_t* scanline, int width) argument 1003 jas_matrix_t* pixels[4]; local 1087 jas_matrix_t* pixels[4]; local 1268 Error(jas_stream_t* stream, jas_image_t* image, jas_matrix_t** pixels, int32 pixels_count, jpr_uchar_t* scanline, status_t error) argument [all...] |
H A D | JPEG2000Translator.h | 158 status_t Error(jas_stream_t* stream, jas_image_t* image, jas_matrix_t** pixels,
|
/haiku-fatelf/src/documentation/docbook-xsl/extensions/saxon643/com/nwalsh/saxon/ |
H A D | Table.java | 38 * as an integral number of pixels. For convenience, percentage lengths 41 * millimeters (mm), picas (pc, 1pc=12pt), points (pt), and pixels (px). 42 * A number with no units is assumed to be pixels.</p> 57 /** The number of pixels per inch */ 69 /** The hash used to associate units with a length in pixels. */ 91 /** Set the pixels-per-inch value. Only positive values are legal. */ 99 /** Return the current pixels-per-inch value. */ 105 * <p>Convert a length specification to a number of pixels.</p> 120 int pixels = 0; 169 pixels [all...] |
/haiku-fatelf/src/build/libbe/interface/ |
H A D | Bitmap.cpp | 717 BaseReader(const void *data) : pixels((const pixel_t*)data) {} 719 inline void SetTo(const void *data) { pixels = (const pixel_t*)data; } 723 pixels = (const pixel_t*)((const char*)pixels + skip); 726 const pixel_t *pixels; member in struct:BaseReader 739 const pixel_t &pixel = *BaseReader<_PixelType>::pixels; 744 BaseReader<_PixelType>::pixels++; member in class:RGB24Reader::BaseReader 767 const pixel_t &pixel = *BaseReader<_PixelType>::pixels; 775 BaseReader<_PixelType>::pixels++; member in class:RGB16Reader::BaseReader 798 const pixel_t &pixel = *BaseReader<_PixelType>::pixels; 806 BaseReader<_PixelType>::pixels++; member in class:RGB15Reader::BaseReader 828 BaseReader<uint8>::pixels++; member in class:CMAP8Reader::BaseReader 834 BaseReader<uint8>::pixels++; member in class:CMAP8Reader::BaseReader 850 BaseReader<uint8>::pixels++; member in class:Gray8Reader::BaseReader 856 BaseReader<uint8>::pixels++; member in class:Gray8Reader::BaseReader 925 pixel_t *pixels; member in struct:BaseWriter 944 BaseWriter<_PixelType>::pixels++; member in class:RGB32Writer::BaseWriter 954 BaseWriter<_PixelType>::pixels++; member in class:RGB32Writer::BaseWriter 972 BaseWriter<_PixelType>::pixels++; member in class:RGB24Writer::BaseWriter 981 BaseWriter<_PixelType>::pixels++; member in class:RGB24Writer::BaseWriter 1000 BaseWriter<_PixelType>::pixels++; member in class:RGB16Writer::BaseWriter 1008 BaseWriter<_PixelType>::pixels++; member in class:RGB16Writer::BaseWriter 1027 BaseWriter<_PixelType>::pixels++; member in class:RGB15Writer::BaseWriter 1035 BaseWriter<_PixelType>::pixels++; member in class:RGB15Writer::BaseWriter [all...] |
/haiku-fatelf/src/tests/servers/app/newerClipping/ |
H A D | main.cpp | 104 fill_line_8(uint8* buffer, int32 pixels, uint8 r, uint8 g, uint8 b) argument 106 for (int32 i = 0; i < pixels; i++) { 115 fill_line_32(uint8* buffer, int32 pixels, uint8 r, uint8 g, uint8 b) argument 119 for (int32 i = 0; i < pixels; i++) { 126 fill_line_64(uint8* buffer, int32 pixels, uint8 r, uint8 g, uint8 b) argument 130 pixels /= 2; 131 for (int32 i = 0; i < pixels; i++) { 181 blend_line_8(uint8* buffer, int32 pixels, uint8 r, uint8 g, uint8 b, uint8 a) argument 183 for (int32 i = 0; i < pixels; i++) { 198 blend_line_32(uint8* buffer, int32 pixels, uint argument 261 blend_line_64(uint8* buffer, int32 pixels, uint8 r, uint8 g, uint8 b, uint8 a) argument [all...] |
/haiku-fatelf/src/servers/app/drawing/ |
H A D | drawing_support.h | 117 blend_line32(uint8* buffer, int32 pixels, uint8 r, uint8 g, uint8 b, uint8 a) argument 126 uint8 tempBuffer[pixels * 4]; 131 for (int32 i = 0; i < pixels; i++) { 142 gfxcpy32(buffer, tempBuffer, pixels * 4);
|
/haiku-fatelf/src/documentation/docbook-xsl/extensions/xalan2/com/nwalsh/xalan/ |
H A D | Table.java | 45 * as an integral number of pixels. For convenience, percentage lengths 48 * millimeters (mm), picas (pc, 1pc=12pt), points (pt), and pixels (px). 49 * A number with no units is assumed to be pixels.</p> 64 /** The number of pixels per inch */ 67 /** The hash used to associate units with a length in pixels. */ 92 /** Set the pixels-per-inch value. Only positive values are legal. */ 100 /** Return the current pixels-per-inch value. */ 106 * <p>Convert a length specification to a number of pixels.</p> 121 int pixels = 0; 170 pixels [all...] |
/haiku-fatelf/src/documentation/docbook-xsl/extensions/xalan27/src/com/nwalsh/xalan/ |
H A D | Table.java | 52 * as an integral number of pixels. For convenience, percentage lengths 55 * millimeters (mm), picas (pc, 1pc=12pt), points (pt), and pixels (px). 56 * A number with no units is assumed to be pixels.</p> 71 /** The number of pixels per inch */ 74 /** The hash used to associate units with a length in pixels. */ 99 /** Set the pixels-per-inch value. Only positive values are legal. */ 107 /** Return the current pixels-per-inch value. */ 113 * <p>Convert a length specification to a number of pixels.</p> 128 int pixels = 0; 177 pixels [all...] |
/haiku-fatelf/src/apps/serialconnect/ |
H A D | TermView.h | 28 VTermRect PixelsToGlyphs(BRect pixels) const;
|
H A D | TermView.cpp | 170 VTermRect TermView::PixelsToGlyphs(BRect pixels) const 172 pixels.OffsetBy(-kBorderSpacing, -kBorderSpacing); 175 rect.start_col = (int)floor(pixels.left / fFontWidth); 176 rect.end_col = (int)ceil(pixels.right / fFontWidth); 177 rect.start_row = (int)floor(pixels.top / fFontHeight); 178 rect.end_row = (int)ceil(pixels.bottom / fFontHeight); 185 rect.start_row, pixels.top, 186 rect.end_row, pixels.bottom, 187 rect.start_col, pixels.left, 188 rect.end_col, pixels [all...] |
/haiku-fatelf/src/add-ons/translators/exr/ |
H A D | EXRTranslator.cpp | 153 Array2D <Rgba> pixels(dataHeight, dataWidth); 154 in.setFrameBuffer (&pixels[0][0] - dataWindow.min.y * dataWidth - dataWindow.min.x, 1, dataWidth); 217 const Imf::Rgba &rp = pixels[y][x];
|
/haiku-fatelf/src/add-ons/print/drivers/pcl6/ |
H A D | PCL6Rasterizer.cpp | 61 // invert pixels 205 int pixels = 8; local 207 pixels = remainingPixels; 209 remainingPixels -= pixels; 264 for (; pixels > 0; pixels --) {
|
/haiku-fatelf/src/libs/print/libgutenprint/src/testpattern/ |
H A D | testpattern.c | 818 int pixels; \ 836 pixels = len / scount; \ 850 for (k = 0; k < pixels; k++) \ 936 int pixels; \ 961 pixels = len / scount; \ 996 for (k = 0; k < pixels; k++) \
|
/haiku-fatelf/src/apps/icon-o-matic/generic/gui/ |
H A D | IconButton.cpp | 622 int32 pixels = b.IntegerWidth() + 1; local 628 for (int32 x = 0; x < pixels; x++) { 669 for (int32 x = 0; x < pixels; x++) {
|
/haiku-fatelf/src/apps/webpositive/support/ |
H A D | IconButton.cpp | 763 int32 pixels = b.IntegerWidth() + 1; local 769 for (int32 x = 0; x < pixels; x++) { 810 for (int32 x = 0; x < pixels; x++) {
|
/haiku-fatelf/src/kits/shared/ |
H A D | IconButton.cpp | 711 int32 pixels = b.IntegerWidth() + 1; local 717 for (int32 x = 0; x < pixels; x++) { 761 for (int32 x = 0; x < pixels; x++) {
|
/haiku-fatelf/src/libs/print/libgutenprint/src/gutenprintui2/ |
H A D | panel.c | 106 static GtkWidget *scaling_ppi; /* Scale by pixels-per-inch */ 4287 int pixels = bytes / 3; local 4297 memset(where, 0, pixels * 3); 4298 for (i = 0; i < pixels; i++) 4309 p->offset += pixels * 3; 4313 int pixels = bytes / 3; local 4323 memset(where, 0xff, pixels * 3); 4324 for (i = 0; i < pixels; i++) 4335 p->offset += pixels * 3; 4339 int pixels local [all...] |
/haiku-fatelf/src/add-ons/translators/bmp/ |
H A D | BMPTranslator.cpp | 170 // Parameters: width, width of the row, in pixels 205 // Returns number of bytes required to store a row of BMP pixels 212 // Parameters: width, width of the row, in pixels 900 uint8 pixels = bitsRowData[i]; local 906 if (pixels & compbit) 1404 // Copies count 32-bit pixels with a color value of pixel to dest. 1490 // abort if all of the pixels in the row 1497 // pixels remaining in the current row, 1498 // only process the correct number of pixels 1562 // fill the skipped pixels wit [all...] |
/haiku-fatelf/src/add-ons/translators/tga/ |
H A D | TGATranslator.cpp | 443 // Convert width pixels from pbits to TGA format, storing the 1005 uint8 pixels = bitsRowData[i]; local 1010 if (pixels & compbit) 1401 // TGA pixels from ptga to pbits 1736 // convert a row of color mapped pixels to pbits
|
/haiku-fatelf/src/libs/pdflib/bind/pdflib/php/ext/pdf/ |
H A D | pdf.c | 3539 if (im->pixels && gdImageBoundsSafe(im, j, i)) { 3540 color = im->pixels[i][j];
|