Learn how to evaluate and integrate the VNC SDK

We're here if you need help.

ImmutablePixelFormat

public class ImmutablePixelFormat

An immutable PixelFormat, owned by the SDK.

Method Summary

Modifier and Type Method and Description
ImmutablePixelFormat

bgr888()

32 bits per pixel stored as XXXXXXXXBBBBBBBBGGGGGGGGRRRRRRRR in most significant to least significant bit order

int

blueMax()

Gets the maximum value for the blue pixel value.

int

blueShift()

Gets the number of bits the blue pixel value is shifted.

int

bpp()

Gets the total number of bits per pixel.

int

depth()

Gets the number of significant bits that are used to store pixel data.

int

greenMax()

Gets the maximum value for the green pixel value.

int

greenShift()

Gets the number of bits the green pixel value is shifted.

int

redMax()

Gets the maximum value for the red pixel value.

int

redShift()

Gets the number of bits the red pixel value is shifted.

ImmutablePixelFormat

rgb555()

16 bits per pixel stored as XRRRRRGGGGGBBBBB in most significant to least significant bit order

ImmutablePixelFormat

rgb565()

16 bits per pixel stored as RRRRRGGGGGGBBBBB in most significant to least significant bit order

ImmutablePixelFormat

rgb888()

32 bits per pixel stored as XXXXXXXXRRRRRRRRGGGGGGGGBBBBBBBB in most significant to least significant bit order

Methods

public static ImmutablePixelFormat bgr888()

32 bits per pixel stored as XXXXXXXXBBBBBBBBGGGGGGGGRRRRRRRR in most significant to least significant bit order

For more information, see vnc_PixelFormat_bgr888().

public int blueMax()

Gets the maximum value for the blue pixel value.

For more information, see vnc_PixelFormat_blueMax().

public int blueShift()

Gets the number of bits the blue pixel value is shifted.

For more information, see vnc_PixelFormat_blueShift().

public int bpp()

Gets the total number of bits per pixel.

For more information, see vnc_PixelFormat_bpp().

public int depth()

Gets the number of significant bits that are used to store pixel data.

For more information, see vnc_PixelFormat_depth().

public int greenMax()

Gets the maximum value for the green pixel value.

For more information, see vnc_PixelFormat_greenMax().

public int greenShift()

Gets the number of bits the green pixel value is shifted.

For more information, see vnc_PixelFormat_greenShift().

public int redMax()

Gets the maximum value for the red pixel value.

For more information, see vnc_PixelFormat_redMax().

public int redShift()

Gets the number of bits the red pixel value is shifted.

For more information, see vnc_PixelFormat_redShift().

public static ImmutablePixelFormat rgb555()

16 bits per pixel stored as XRRRRRGGGGGBBBBB in most significant to least significant bit order

For more information, see vnc_PixelFormat_rgb555().

public static ImmutablePixelFormat rgb565()

16 bits per pixel stored as RRRRRGGGGGGBBBBB in most significant to least significant bit order

For more information, see vnc_PixelFormat_rgb565().

public static ImmutablePixelFormat rgb888()

32 bits per pixel stored as XXXXXXXXRRRRRRRRGGGGGGGGBBBBBBBB in most significant to least significant bit order

For more information, see vnc_PixelFormat_rgb888().

×