|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This interface can be used to realize different videoinputs such as livecam, moviefile or image-sequence.
Field Summary | |
static java.lang.String |
version
The Version of JARFrameGrabber. |
Method Summary | |
void |
displayProperties()
Displays the properties of the picturresoure in the console |
int |
getBitCount()
get the bitdepth of a frame. |
void |
getBuffer(int[] pixel)
Get the buffer as an integerarray. |
long |
getBufferPointer()
Get the buffer as a longpointer. |
long |
getBufferSize()
Get the size of the framebuffer in bytes. |
int |
getHeight()
Get the height of a frame. |
void |
getNextBuffer(int[] pixel)
Get the next frame and return the buffer as an integerarray. |
long |
getNextBufferPointer()
Get the next frame and return the buffer as a longpointer. |
int |
getWidth()
Get the width of a frame. |
void |
grabFrame()
Grab next frame from picturesource. |
void |
setFlippedImage(boolean flip)
Set the flag for flipping the image. |
Field Detail |
public static final java.lang.String version
Method Detail |
public void displayProperties()
public int getBitCount()
public void getBuffer(int[] pixel)
pixel
- The buffer in which the framedata will be copied in.public long getBufferPointer()
public long getBufferSize()
public int getHeight()
public void getNextBuffer(int[] pixel)
pixel
- The buffer in which the framedata will be copied in.public long getNextBufferPointer()
public int getWidth()
public void grabFrame()
public void setFlippedImage(boolean flip)
flip
- If true, the image will be flipped vertically.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |