public abstract class NSampleFormat extends Object implements com.neurotec.lang.NIntType
| Modifier and Type | Field and Description |
|---|---|
int |
MAX_CHANNEL_COUNT
Specifies the maximum channel count for the sample format.
|
protected int |
value |
| Modifier | Constructor and Description |
|---|---|
protected |
NSampleFormat() |
protected |
NSampleFormat(int value) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj)
Checks whether the current object equals the specified object.
|
int |
getBitsPerChannel()
Gets NSampleFormat channel size in bits.
|
int |
getBitsPerIndex()
Gets NSampleFormat channel size per index.
|
int |
getBitsPerPaletteEntry()
Gets bits count per palette entry (palette of indexed image).
|
int |
getBitsPerSample()
Gets bits count per sample.
|
int |
getBitsPerValue()
Gets bits count per value (one sample size in bits truncated to bytes).
|
int |
getBytesPerChannel()
Gets NSampleFormat channel size in bytes.
|
int |
getBytesPerPaletteEntry()
Gets bytes count per palette entry (palette of indexed image).
|
int |
getBytesPerSample()
Gets bytes count per sample.
|
int |
getBytesPerValue()
Gets bytes count per value (one sample size in bits truncated to bytes).
|
int |
getChannelCount()
Gets channel count per sample.
|
NChannelFormat |
getChannelFormat()
Gets channel format.
|
com.neurotec.lang.NType |
getChannelType()
Retrieves the channel type.
|
NExtraChannel |
getExtraChannel()
Retrieves the extra channel.
|
int |
getMaxPaletteLength()
Gets maximum palette length.
|
int |
getPlaneCount()
Gets plane count.
|
int |
getValue()
Gets the value of the current object.
|
int |
hashCode()
Gets the hash code of the current object.
|
boolean |
isIndexed()
Checks whether the sample format is indexed.
|
boolean |
isSeparated()
Checks whether the specified sample format is indexed.
|
static com.neurotec.lang.NType |
nativeTypeOf()
Retrieves the native type for the enclosing class.
|
public final int MAX_CHANNEL_COUNT
protected int value
protected NSampleFormat()
protected NSampleFormat(int value)
public static com.neurotec.lang.NType nativeTypeOf()
public final int getValue()
getValue in interface com.neurotec.lang.NIntTypepublic final int hashCode()
public final boolean equals(Object obj)
public final NExtraChannel getExtraChannel()
public final int getChannelCount()
public final NChannelFormat getChannelFormat()
public final int getBitsPerChannel()
public final boolean isIndexed()
public final int getBitsPerIndex()
public final int getMaxPaletteLength()
public final boolean isSeparated()
public final int getPlaneCount()
public final int getBitsPerValue()
public final int getBitsPerSample()
public final int getBitsPerPaletteEntry()
public final int getBytesPerChannel()
public final int getBytesPerValue()
public final int getBytesPerSample()
public final int getBytesPerPaletteEntry()
public final com.neurotec.lang.NType getChannelType()
Copyright © 2016 Neurotechnology. All rights reserved.