Searched refs:pixels (Results 1 - 15 of 15) sorted by relevance

/haiku/src/add-ons/translators/jpeg2000/
H A DJPEG2000Translator.cpp103 //! Make RGB32 scanline from *pixels[3]
105 read_rgb24_to_rgb32(jas_matrix_t** pixels, uchar* scanline, int width) argument
110 scanline[index++] = (uchar)jas_matrix_getv(pixels[2], x);
111 scanline[index++] = (uchar)jas_matrix_getv(pixels[1], x);
112 scanline[index++] = (uchar)jas_matrix_getv(pixels[0], x);
119 //! Make gray scanline from *pixels[1]
121 read_gray_to_rgb32(jas_matrix_t** pixels, uchar* scanline, int width) argument
127 color = (uchar)jas_matrix_getv(pixels[0], x++);
137 Make RGBA32 scanline from *pixels[4]
141 read_rgba32(jas_matrix_t** pixels, ucha argument
160 read_gray(jas_matrix_t** pixels, uchar* scanline, int width) argument
172 write_gray1_to_gray(jas_matrix_t** pixels, uchar* scanline, int width) argument
190 write_gray1_to_rgb24(jas_matrix_t** pixels, uchar* scanline, int width) argument
214 write_cmap8_to_rgb24(jas_matrix_t** pixels, uchar* scanline, int width) argument
234 write_gray(jas_matrix_t** pixels, uchar* scanline, int width) argument
249 write_rgb15_to_rgb24(jas_matrix_t** pixels, uchar* scanline, int width) argument
274 write_rgb15b_to_rgb24(jas_matrix_t** pixels, uchar* scanline, int width) argument
299 write_rgb16_to_rgb24(jas_matrix_t** pixels, uchar* scanline, int width) argument
324 write_rgb16b_to_rgb24(jas_matrix_t** pixels, uchar* scanline, int width) argument
349 write_rgb24(jas_matrix_t** pixels, uchar* scanline, int width) argument
367 write_rgb24b(jas_matrix_t** pixels, uchar* scanline, int width) argument
385 write_rgb32_to_rgb24(jas_matrix_t** pixels, uchar* scanline, int width) argument
404 write_rgb32b_to_rgb24(jas_matrix_t** pixels, uchar* scanline, int width) argument
424 write_rgba32(jas_matrix_t** pixels, uchar* scanline, int width) argument
444 write_rgba32b(jas_matrix_t** pixels, uchar* scanline, int width) argument
999 jas_matrix_t* pixels[4]; local
1083 jas_matrix_t* pixels[4]; local
1264 Error(jas_stream_t* stream, jas_image_t* image, jas_matrix_t** pixels, int32 pixels_count, uchar* scanline, status_t error) argument
[all...]
H A DJPEG2000Translator.h162 status_t Error(jas_stream_t* stream, jas_image_t* image, jas_matrix_t** pixels,
/haiku/src/servers/app/drawing/
H A Ddrawing_support.h41 blend_line32(uint8* buffer, int32 pixels, uint8 r, uint8 g, uint8 b, uint8 a) argument
50 uint8 tempBuffer[pixels * 4];
55 for (int32 i = 0; i < pixels; i++) {
66 memcpy(buffer, tempBuffer, pixels * 4);
/haiku/src/build/libbe/interface/
H A DBitmap.cpp725 BaseReader(const void *data) : pixels((const pixel_t*)data) {}
727 inline void SetTo(const void *data) { pixels = (const pixel_t*)data; }
731 pixels = (const pixel_t*)((const char*)pixels + skip);
734 const pixel_t *pixels; member in struct:BaseReader
747 const pixel_t &pixel = *BaseReader<_PixelType>::pixels;
752 BaseReader<_PixelType>::pixels++; member in class:RGB24Reader::BaseReader
775 const pixel_t &pixel = *BaseReader<_PixelType>::pixels;
783 BaseReader<_PixelType>::pixels++; member in class:RGB16Reader::BaseReader
806 const pixel_t &pixel = *BaseReader<_PixelType>::pixels;
814 BaseReader<_PixelType>::pixels++; member in class:RGB15Reader::BaseReader
836 BaseReader<uint8>::pixels++; member in class:CMAP8Reader::BaseReader
842 BaseReader<uint8>::pixels++; member in class:CMAP8Reader::BaseReader
858 BaseReader<uint8>::pixels++; member in class:Gray8Reader::BaseReader
864 BaseReader<uint8>::pixels++; member in class:Gray8Reader::BaseReader
933 pixel_t *pixels; member in struct:BaseWriter
952 BaseWriter<_PixelType>::pixels++; member in class:RGB32Writer::BaseWriter
962 BaseWriter<_PixelType>::pixels++; member in class:RGB32Writer::BaseWriter
980 BaseWriter<_PixelType>::pixels++; member in class:RGB24Writer::BaseWriter
989 BaseWriter<_PixelType>::pixels++; member in class:RGB24Writer::BaseWriter
1008 BaseWriter<_PixelType>::pixels++; member in class:RGB16Writer::BaseWriter
1016 BaseWriter<_PixelType>::pixels++; member in class:RGB16Writer::BaseWriter
1035 BaseWriter<_PixelType>::pixels++; member in class:RGB15Writer::BaseWriter
1043 BaseWriter<_PixelType>::pixels++; member in class:RGB15Writer::BaseWriter
[all...]
/haiku/src/tests/servers/app/newerClipping/
H A Dmain.cpp104 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/src/add-ons/translators/avif/
H A DAVIFTranslator.cpp288 rgb.pixels = static_cast<uint8_t*>(malloc(bitsSize));
289 if (rgb.pixels == NULL)
293 if (stream->Read(rgb.pixels, bitsSize) != bitsSize) {
294 free(rgb.pixels);
299 free(rgb.pixels);
309 uint8_t* pixels = static_cast<uint8_t*>(malloc(bitsSize)); local
310 if (stream->Read(pixels, bitsSize) != bitsSize)
318 luma[i] = pixels[3 * i + 0];
319 cb[i] = pixels[3 * i + 1];
320 cr[i] = pixels[
444 uint8_t* pixels; local
[all...]
/haiku/src/apps/serialconnect/
H A DTermView.h38 VTermRect _PixelsToGlyphs(BRect pixels) const;
H A DTermView.cpp362 TermView::_PixelsToGlyphs(BRect pixels) const
364 pixels.OffsetBy(-kBorderSpacing, -kBorderSpacing);
367 rect.start_col = (int)floor(pixels.left / fFontWidth);
368 rect.end_col = (int)ceil(pixels.right / fFontWidth);
369 rect.start_row = (int)floor(pixels.top / fFontHeight);
370 rect.end_row = (int)ceil(pixels.bottom / fFontHeight);
377 rect.start_row, pixels.top,
378 rect.end_row, pixels.bottom,
379 rect.start_col, pixels.left,
380 rect.end_col, pixels
[all...]
/haiku/src/add-ons/translators/exr/
H A DEXRTranslator.cpp153 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/src/add-ons/print/drivers/pcl6/
H A DPCL6Rasterizer.cpp61 // invert pixels
205 int pixels = 8; local
207 pixels = remainingPixels;
209 remainingPixels -= pixels;
264 for (; pixels > 0; pixels --) {
/haiku/src/kits/interface/
H A DIcon.cpp397 int32 pixels = b.IntegerWidth() + 1; local
404 for (int32 x = 0; x < pixels; x++) {
458 for (int32 x = 0; x < pixels; x++) {
512 for (int32 x = 0; x < pixels; x++) {
564 for (int32 x = 0; x < pixels; x++) {
/haiku/src/apps/icon-o-matic/generic/gui/
H A DIconButton.cpp622 int32 pixels = b.IntegerWidth() + 1; local
628 for (int32 x = 0; x < pixels; x++) {
669 for (int32 x = 0; x < pixels; x++) {
/haiku/src/kits/shared/
H A DIconButton.cpp707 int32 pixels = b.IntegerWidth() + 1; local
713 for (int32 x = 0; x < pixels; x++) {
757 for (int32 x = 0; x < pixels; x++) {
/haiku/src/add-ons/translators/bmp/
H A DBMPTranslator.cpp170 // 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
897 uint8 pixels = bitsRowData[i]; local
903 if (pixels & compbit)
1401 // Copies count 32-bit pixels with a color value of pixel to dest.
1487 // abort if all of the pixels in the row
1494 // pixels remaining in the current row,
1495 // only process the correct number of pixels
1559 // fill the skipped pixels wit
[all...]
/haiku/src/add-ons/translators/tga/
H A DTGATranslator.cpp443 // 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

Completed in 102 milliseconds