Home
last modified time | relevance | path

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

/freebsd/lib/libvgl/
H A Dbitmap.c136 width = width * dst->PixelBytes; in WriteVerticalLine()
137 pos = (dst->VXsize * y + x) * dst->PixelBytes; in WriteVerticalLine()
152 address = dst->Bitmap + (dst->VXsize * y + x) * dst->PixelBytes; in WriteVerticalLine()
153 bcopy(line, address, width * dst->PixelBytes); in WriteVerticalLine()
173 buffer = alloca(width*src->PixelBytes); in __VGLBitmapCopy()
210 p = src->Bitmap+(srcline*src->VXsize+srcx)*dst->PixelBytes; in __VGLBitmapCopy()
212 bcopy(p, buffer, width*src->PixelBytes); in __VGLBitmapCopy()
271 object->PixelBytes = VGLDisplay->PixelBytes; in VGLBitmapCreate()
286 object->Bitmap = malloc(object->VXsize*object->VYsize*object->PixelBytes); in VGLBitmapAllocateBits()
299 srcpb = src->PixelBytes; in VGLBitmapCvt()
[all …]
H A Dsimple.c64 offset = (y * object->VXsize + x) * object->PixelBytes; in VGLSetXY()
77 switch (object->PixelBytes) { in VGLSetXY()
147 offset = (y * object->VXsize + x) * object->PixelBytes; in VGLGetXY()
148 switch (object->PixelBytes) { in VGLGetXY()
491 src.Bitmap = alloca(object->VXsize * object->PixelBytes); in VGLClear()
492 src.PixelBytes = object->PixelBytes; in VGLClear()
495 bcopy(&color, src.Bitmap + i * object->PixelBytes, object->PixelBytes); in VGLClear()
H A Dmain.c201 VGLDisplay->PixelBytes = 1; in VGLInit()
210 VGLDisplay->PixelBytes = 1; in VGLInit()
214 VGLDisplay->PixelBytes = 1; in VGLInit()
217 VGLDisplay->PixelBytes = VGLModeInfo.vi_pixel_size; in VGLInit()
218 switch (VGLDisplay->PixelBytes) { in VGLInit()
H A Dmouse.c412 bcopy(&VGLMouseOrMask->Bitmap[pos * VGLDisplay->PixelBytes], in VGLMouseMerge()
413 &line[(x1 - x) * VGLDisplay->PixelBytes], VGLDisplay->PixelBytes); in VGLMouseMerge()
H A Dvgl.h46 int PixelBytes; member