|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectscenic.Format
public class Format
Contains constants for different pixel formats. All formats are specified from most significant bit (MSB) to least significant bit (LSB). In memory the bytes area stored from LSB to MSB. So the format A8R8G8B8 is stored in memory in the following order: blue, green, red and alpha. It should be noted that the order is exactly the opposite
| Nested Class Summary | |
|---|---|
static class |
Format.Info
Contains information about a pixel format. |
| Field Summary | |
|---|---|
static int |
A8
Alpha using 8-bits. |
static int |
A8R8G8B8
Alpha, red, green and blue channels using 8-bits per channel. |
static int |
ABGR_16F
Alpha, blue, green and red channels using 16-bit floats per channel. |
static int |
AL_32F
Alpha and luminance channels using 32-bit floats per channel. |
static int |
AL_64F
Alpha and luminance channels using 64-bit floats per channel. |
static int |
AL8
A single alpha-luminance value using 8-bits. |
static int |
L8
Luminance using 8-bits. |
static int |
R8G8B8
Red, green and blue channels using 8-bits per channel. |
static int |
R8G8B8A8
Alpha, red, green and blue channels using 8-bits per channel. |
| Method Summary | |
|---|---|
static Format.Info |
getInfo(int format)
Gets the information for the given format. |
static int |
getPixelSize(int format)
Gets the number of bytes per pixel for the given format. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int A8R8G8B8
public static final int R8G8B8A8
public static final int R8G8B8
public static final int L8
public static final int A8
public static final int AL8
public static final int ABGR_16F
public static final int AL_32F
public static final int AL_64F
| Method Detail |
|---|
public static Format.Info getInfo(int format)
public static int getPixelSize(int format)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||