|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--quicktime.util.IntEncodedImage
IntEncodedImage keep the encoded image data as an array of ints.
Fields inherited from interface quicktime.jdirect.PrimitivesLib |
JDirect_MacOSX, libraryInstance |
Fields inherited from interface quicktime.util.EncodedImage |
kRowBytesUnknown |
Constructor Summary | |
IntEncodedImage(int numOfInts)
Creates a new IntEncodedImage of specified number of ints. |
|
IntEncodedImage(int numOfInts,
int rowBytes)
Creates a new IntEncodedImage of specified number of ints. |
|
IntEncodedImage(RawEncodedImage ptr)
Creates a IntEncodedImage from raw data. |
Method Summary | |
java.lang.Object |
clone()
Returns a copy of the current object |
boolean |
equals(java.lang.Object obj)
Returns true if the two objects have the same value. |
static IntEncodedImage |
fromIntArray(int[] ar)
This will make a ByteEncodedImage from an array of ints. |
static IntEncodedImage |
fromIntArray(int[] ar,
int rowBytes)
This will make a ByteEncodedImage from an array of ints. |
byte |
getByte(int offset)
Returns the byte at the specified offset. |
int |
getInt(int offset)
Returns the int at the specified offset. |
int[] |
getInts()
Returns the internal int array. |
int |
getRowBytes()
Returns either kRowBytesUnknown or the number of bytes per row that the encoded image data is comprised of. |
short |
getShort(int offset)
Returns the short at the specified offset. |
int |
getSize()
Returns the size in bytes of the EncodedImage data |
java.lang.String |
toString()
Returns a string representation of this object |
Methods inherited from class java.lang.Object |
getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public IntEncodedImage(RawEncodedImage ptr)
public IntEncodedImage(int numOfInts)
public IntEncodedImage(int numOfInts, int rowBytes)
Method Detail |
public static IntEncodedImage fromIntArray(int[] ar)
public static IntEncodedImage fromIntArray(int[] ar, int rowBytes)
public int[] getInts()
public int getSize()
getSize
in interface EncodedImage
public byte getByte(int offset)
getByte
in interface EncodedImage
public short getShort(int offset)
getShort
in interface EncodedImage
public int getInt(int offset)
getInt
in interface EncodedImage
public int getRowBytes()
getRowBytes
in interface EncodedImage
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public java.lang.Object clone()
public java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |