NDEVR
API Documentation
PixelFormat

Describes the pixel format of a VNC remote framebuffer, including color depth, endianness, and per-channel bit layout. More...

Public Member Functions

bool useCompressed3BytePixel () const
 Checks whether the format supports 3-byte compressed pixel transfer.

Public Attributes

int bigEndianFlag
 Non-zero if pixels are big-endian.
int bitsPerPixel
 Bits per pixel (e.g., 8, 16, 32).
int blueMax
 Maximum value for the blue channel.
int blueShift
 Number of bits the blue channel is shifted.
int depth
 Number of useful color bits per pixel.
int greenMax
 Maximum value for the green channel.
int greenShift
 Number of bits the green channel is shifted.
int redMax
 Maximum value for the red channel.
int redShift
 Number of bits the red channel is shifted.
int trueColorFlag
 Non-zero if pixel values map directly to RGB.

Detailed Description

Describes the pixel format of a VNC remote framebuffer, including color depth, endianness, and per-channel bit layout.


Definition at line 1683 of file VncDefines.h.

Member Function Documentation

◆ useCompressed3BytePixel()

bool PixelFormat::useCompressed3BytePixel ( ) const
inline

Checks whether the format supports 3-byte compressed pixel transfer.

Returns
true if 32bpp true color with 24-bit depth.

Definition at line 1698 of file VncDefines.h.

References bitsPerPixel, depth, and trueColorFlag.


The documentation for this struct was generated from the following file: