Bitsperpixel - Planar DX/PCI User Manual

Display controller
Hide thumbs Also See for DX/PCI:
Table of Contents

Advertisement

BitsPerPixel

Purpose Use
the framebuffer.
Syntax
DLong (*BitsPerPixel) (dev)
Return value Number of bits per pixel of the framebuffer.
Description

BitsPerPixel()

the framebuffer.
Errors None.
Example This example returns the bits and bytes per pixel of
the framebuffer.
#include "domeMd.h"
DMdDev
DLong
bitsPerPixel = (*dev->BitsPerPixel) (dev);
bytesPerPixel = (bitsPerPixel + 7) / 8;
See also
FbSize, FbWidth, FbHeight, FbPitch,
DMdDev Structure
BitsPerPixel
Parameter Type
DMdDev
returns the number of bits per pixel of
dev;
bitsPerPixel, bytesPerPixel;
.
.
.
to get the number of bits per pixel of
Name
Description
Device handle of the DOME
dev
device
BitsPerPixel | 87

Advertisement

Table of Contents
loading

This manual is also suitable for:

Dome m2/pciRx/pciDome dx/pciDome rx/pci

Table of Contents