Home
last modified time | relevance | path

Searched refs:pixel (Results 1 – 25 of 76) sorted by relevance

1234

/reactos/dll/win32/windowscodecs/
H A Dmain.c215 BYTE *pixel, temp; in reverse_bgr8() local
219 pixel = bits + stride * y; in reverse_bgr8()
223 temp = pixel[2]; in reverse_bgr8()
224 pixel[2] = pixel[0]; in reverse_bgr8()
225 pixel[0] = temp; in reverse_bgr8()
234 BYTE *pixel, temp; in convert_rgba_to_bgra() local
242 temp = pixel[3]; in convert_rgba_to_bgra()
243 pixel[3] = pixel[0]; in convert_rgba_to_bgra()
244 pixel[0] = pixel[1]; in convert_rgba_to_bgra()
245 pixel[1] = pixel[2]; in convert_rgba_to_bgra()
[all …]
H A Dconverter.c861 BYTE *pixel = pbBuffer+cbStride*y+4*x; in copypixels_to_32bppBGRA() local
862 BYTE c=pixel[0], m=pixel[1], y=pixel[2], k=pixel[3]; in copypixels_to_32bppBGRA()
863 pixel[0] = (255-y)*(255-k)/255; /* blue */ in copypixels_to_32bppBGRA()
864 pixel[1] = (255-m)*(255-k)/255; /* green */ in copypixels_to_32bppBGRA()
865 pixel[2] = (255-c)*(255-k)/255; /* red */ in copypixels_to_32bppBGRA()
866 pixel[3] = 255; /* alpha */ in copypixels_to_32bppBGRA()
/reactos/dll/opengl/mesa/
H A Dteximage.c362 GLint numPixels, pixel; in image_to_texture() local
454 pixel = j * image->Width + i; in image_to_texture()
493 for (pixel=0; pixel<numPixels; pixel++) { in image_to_texture()
617 texImage->Data[pixel] = alpha; in image_to_texture()
620 texImage->Data[pixel] = red; in image_to_texture()
623 texImage->Data[pixel*2+0] = red; in image_to_texture()
627 texImage->Data[pixel] = red; in image_to_texture()
630 texImage->Data[pixel*3+0] = red; in image_to_texture()
632 texImage->Data[pixel*3+2] = blue; in image_to_texture()
635 texImage->Data[pixel*4+0] = red; in image_to_texture()
[all …]
H A DCMakeLists.txt43 pixel.c
/reactos/modules/rosapps/applications/net/tsclient/rdesktop/
H A Dxwin.c604 uint16 pixel; in translate15to16() local
615 BSWAP16(pixel); in translate15to16()
629 BSWAP16(pixel); in translate15to16()
642 uint16 pixel; in translate15to24() local
691 uint16 pixel; in translate15to32() local
742 uint16 pixel; in translate16to16() local
800 uint16 pixel; in translate16to24() local
869 uint16 pixel; in translate16to32() local
940 uint32 pixel = 0; in translate24to16() local
965 uint32 pixel; in translate24to24() local
[all …]
/reactos/modules/rosapps/applications/net/tsclient/rdesktop/uiports/
H A Dqtewin.cpp1078 p = rop(op, pixel, p); in set_pixel()
1084 p = rop(op, pixel, p); in set_pixel()
1090 p = rop(op, pixel, p); in set_pixel()
1165 r = ((pixel >> 8) & 0xf8) | ((pixel >> 13) & 0x7); in paintEvent()
1166 g = ((pixel >> 3) & 0xfc) | ((pixel >> 9) & 0x3); in paintEvent()
1167 b = ((pixel << 3) & 0xf8) | ((pixel >> 2) & 0x7); in paintEvent()
1289 int r, g, b, pixel; in ui_create_bitmap() local
1329 int r, g, b, pixel; in ui_paint_bitmap() local
1400 data[y * width + x] = pixel; in set_pixel_on()
1679 int i, j, pixel; in ui_screenblt() local
[all …]
H A Dsvgawin.c224 pixel = 0; in set_pixel()
226 pixel = -1; in set_pixel()
228 pixel = rop(op, pixel, get_pixel(x, y)); in set_pixel()
232 sdata[y * g_width + x] = pixel; in set_pixel()
238 vga_setcolor(pixel); in set_pixel()
262 data[y * width + x] = pixel; in set_pixel2()
312 data[y * width + x] = pixel; in set_pixel_on()
655 int pixel; in draw_cursor() local
673 pixel = rop(0x8, k, pixel); in draw_cursor()
678 pixel = rop(0x6, k, pixel); in draw_cursor()
[all …]
H A Dnanoxwin.c164 int width, int height, int pixel) in set_pixel32() argument
168 *(((int*)data) + (y * width + x)) = pixel; in set_pixel32()
345 uint32 i, j, pixel; in ui_create_bitmap() local
356 pixel = *(((uint16 *) data) + (i * width + j)); in ui_create_bitmap()
357 pixel = COLOR16TO32(pixel); in ui_create_bitmap()
358 *(((uint32 *) p) + (i * width + j)) = pixel; in ui_create_bitmap()
/reactos/sdk/lib/3rdparty/freetype/src/cache/
H A Dftcmanag.h158 ((a)->pixel != 0) == ((b)->pixel != 0) && \
159 ( (a)->pixel || \
166 ( (q)->pixel ? 0 : ( (q)->x_res*33 ^ (q)->y_res*61 ) ) )
/reactos/sdk/tools/winesync/d3dx9_staging/
H A D0006-d3dx9_36_tests__Add_additional_tests_for_special_cases.diff105 + /* Test tex instruction with pixel shader 1.3 */
114 + /* Test texld instruction with pixel shader 1.4 */
123 + /* Test texld instruction with pixel shader 2.0 */
132 + /* Test texcoord instruction with pixel shader 1.3 */
141 + /* Test texcrd instruction with pixel shader 1.4 */
150 + /* Test sincos instruction pixel shader 2.0 */
159 + /* Test sincos instruction with pixel shader 3.0 */
168 + /* Test sincos instruction with pixel shader 2.0 */
177 + /* Test sincos instruction with pixel shader 3.0 */
H A D0010-d3dx9_36__Add_support_for_FOURCC_surface_to_save_dds_surface_to_memory.diff17 WARN("Unknown pixel format %#x\n", d3dformat);
/reactos/base/applications/mstsc/
H A Dbsops.c108 bs_set_pixel(int x, int y, int pixel, int rop, int use_clip) in bs_set_pixel() argument
121 pixel = bs_do_rop(rop, pixel, bs_get_pixel(x, y)); in bs_set_pixel()
125 *((unsigned char *) p) = pixel; in bs_set_pixel()
129 *((unsigned short *) p) = pixel; in bs_set_pixel()
133 *((unsigned int *) p) = pixel; in bs_set_pixel()
247 int pixel) in bs_set_pixel_on() argument
257 if (pixel != 0) in bs_set_pixel_on()
268 data[y * width + x] = pixel; in bs_set_pixel_on()
272 ((unsigned short *) data)[y * width + x] = pixel; in bs_set_pixel_on()
276 ((unsigned int *) data)[y * width + x] = (unsigned int) pixel; in bs_set_pixel_on()
H A Dbsops.h24 void bs_set_pixel(int x, int y, int pixel, int rop, int use_clip);
31 int pixel);
/reactos/win32ss/drivers/displays/vga/vgavideo/
H A Dvgavideo.c357 UCHAR pixel, nextpixel; in DIB_BltFromVGA() local
395 pixel = nextpixel; in DIB_BltFromVGA()
396 pixel >>= shift; in DIB_BltFromVGA()
399 pixel |= (nextpixel << (8 - shift)); in DIB_BltFromVGA()
402 *destline |= (UnpackPixel[pixel] << plane); in DIB_BltFromVGA()
410 pixel = nextpixel; in DIB_BltFromVGA()
411 pixel >>= shift; in DIB_BltFromVGA()
414 pixel |= (nextpixel << (8 - shift)); in DIB_BltFromVGA()
416 row = UnpackPixel[pixel] << plane; in DIB_BltFromVGA()
/reactos/modules/rosapps/applications/devutils/vgafontedit/
H A Dfileformats.txt11 The most-significant bit contains the pixel of the first column from the left.
14 We want to get the pixel in the third column of the second row of the seventh character.
/reactos/dll/win32/shell32/
H A Diconcache.cpp189 PULONG pixel; in SIC_OverlayShortcutImage() local
215 pixel = (PULONG)bits; in SIC_OverlayShortcutImage()
221 add_alpha = (*pixel++ & 0xFF000000) != 0; in SIC_OverlayShortcutImage()
247 pixel = (PULONG)bits; in SIC_OverlayShortcutImage()
253 if(add_alpha) *pixel++ |= 0xFF000000; in SIC_OverlayShortcutImage()
254 else *pixel++ &= 0x00FFFFFF; in SIC_OverlayShortcutImage()
/reactos/dll/win32/msvidc32/
H A Dmsvideo1.c431 WORD pixel = *src_row++; in convert_depth() local
432 *out_row++ = convert_5to8[(pixel & 0x7c00u) >> 10]; in convert_depth()
433 *out_row++ = convert_5to8[(pixel & 0x03e0u) >> 5]; in convert_depth()
434 *out_row++ = convert_5to8[(pixel & 0x001fu)]; in convert_depth()
/reactos/sdk/lib/3rdparty/freetype/src/bdf/
H A DREADME64 pixel) of the glyph data in the font. Possible values are 1 (the default),
66 driver returns either a bitmap with 1 bit per pixel or a pixmap with 8bits
67 per pixel (using 4, 16, and 256 gray levels, respectively).
/reactos/modules/rostests/winetests/gdiplus/
H A Dimage.c1687 COLORREF pixel; in test_createhbitmap() local
1735 expect(0x686868, pixel); in test_createhbitmap()
1780 expect(0x2a2a2a, pixel); in test_createhbitmap()
1782 expect(0x0, pixel); in test_createhbitmap()
1822 ok(pixel == 0xc12ac1 || broken(pixel == 0xc12a2a), "got %x, expected 0xc12ac1\n", pixel); in test_createhbitmap()
1824 ok(pixel == 0xff00ff || broken(pixel == 0xff0000), "got %x, expected 0xff00ff\n", pixel); in test_createhbitmap()
1826 ok(pixel == 0xb12ac1 || broken(pixel == 0xb12a2a), "got %x, expected 0xb12ac1\n", pixel); in test_createhbitmap()
1862 ok(pixel == 0xc12ac1 || broken(pixel == 0xc12a2a), "got %x, expected 0xc12ac1\n", pixel); in test_createhbitmap()
1864 ok(pixel == 0xff00ff || broken(pixel == 0xff0000), "got %x, expected 0xff00ff\n", pixel); in test_createhbitmap()
1866 ok(pixel == 0xb12ac1 || broken(pixel == 0xb12a2a), "got %x, expected 0xb12ac1\n", pixel); in test_createhbitmap()
[all …]
/reactos/dll/cpl/console/lang/
H A Dhe-IL.rc52 LTEXT "screen pixel wide\nscreen pixel high", IDC_STATIC, 138, 180, 100, 20
H A Dbg-BG.rc50 LTEXT "screen pixel wide\nscreen pixel high", IDC_STATIC, 138, 180, 100, 20
H A Den-US.rc50 LTEXT "screen pixel wide\nscreen pixel high", IDC_STATIC, 138, 180, 100, 20
H A Dsk-SK.rc53 LTEXT "screen pixel wide\nscreen pixel high", IDC_STATIC, 138, 180, 100, 20
H A Dcs-CZ.rc54 LTEXT "obrazovkových pixelů široký\nobrazovkových pixelů vysoký", IDC_STATIC, 138, 180, 100, 20
H A Des-ES.rc52 LTEXT "anchura del pixel\naltura del pixel", IDC_STATIC, 138, 180, 100, 20

1234