Home
last modified time | relevance | path

Searched refs:PixelBytes (Results 1 – 4 of 4) sorted by relevance

/freebsd-12.1/lib/libvgl/
H A Dsimple.c113 color2mem(color, b, object->PixelBytes); in VGLSetXY()
115 object->PixelBytes); in VGLSetXY()
120 color2mem(color, b, object->PixelBytes); in VGLSetXY()
122 bcopy(b, &object->Bitmap[offset], object->PixelBytes); in VGLSetXY()
170 b, object->PixelBytes); in VGLGetXY()
171 return (mem2color(b, object->PixelBytes)); in VGLGetXY()
178 return (mem2color(b, object->PixelBytes)); in VGLGetXY()
528 color2mem(color, b, object->PixelBytes); in VGLClear()
530 for (i = 0; i < total; i += object->PixelBytes) in VGLClear()
537 color2mem(color, b, object->PixelBytes); in VGLClear()
[all …]
H A Dbitmap.c152 width = width * dst->PixelBytes; in WriteVerticalLine()
153 pos = (dst->VXsize * y + x) * dst->PixelBytes; in WriteVerticalLine()
171 address = dst->Bitmap + (dst->VXsize * y + x) * dst->PixelBytes; in WriteVerticalLine()
172 bcopy(line, address, width * dst->PixelBytes); in WriteVerticalLine()
267 width = width * src->PixelBytes; in ReadVerticalLine()
268 pos = (src->VXsize * y + x) * src->PixelBytes; in ReadVerticalLine()
286 address = src->Bitmap + (src->VXsize * y + x) * src->PixelBytes; in ReadVerticalLine()
287 bcopy(address, line, width * src->PixelBytes); in ReadVerticalLine()
H A Dmain.c199 VGLDisplay->PixelBytes = 1; in VGLInit()
203 VGLDisplay->PixelBytes = 1; in VGLInit()
206 VGLDisplay->PixelBytes = VGLModeInfo.vi_pixel_size; in VGLInit()
207 switch (VGLDisplay->PixelBytes) { in VGLInit()
H A Dvgl.h48 int PixelBytes; member