FileDocCategorySizeDatePackage
VFWCapture.javaAPI DocJMF 2.1.1e3302Mon May 12 12:21:20 BST 2003com.sun.media.protocol.vfw

VFWCapture

public class VFWCapture extends Object

Fields Summary
private static int
globalnID
Constructors Summary
Methods Summary
static native booleancacheFieldIDs()

static native booleancapCaptureAbort(int hWnd)

static native booleancapCaptureGetSetup(int hWnd, CaptureParms cp)

static native booleancapCaptureSequence(int hWnd)

static native booleancapCaptureSequenceNoFile(int hWnd)

static native booleancapCaptureSetSetup(int hWnd, CaptureParms cp)

static native booleancapCaptureStop(int hWnd)

public static native intcapCreateCaptureWindow(java.lang.String title, int parentHandle, int x, int y, int width, int height, int nID)

static native booleancapDlgVideoCompression(int hWnd)

static native booleancapDlgVideoDisplay(int hWnd)

public static native booleancapDlgVideoFormat(int hWnd)

static native booleancapDlgVideoSource(int hWnd)

public static native booleancapDriverConnect(int hWnd, int driverIndex)

public static native booleancapDriverDisconnect(int hWnd)

static native booleancapDriverGetCaps(int hWnd, CapDriverCaps cp)

public static native java.lang.StringcapDriverGetName(int hWnd)

static native java.lang.StringcapDriverGetVersion(int hWnd)

static native booleancapGetAudioFormat(int hWnd, WaveFormatEx wfe)

static native java.lang.StringcapGetDriverDescriptionDesc(int driverID)

public static native java.lang.StringcapGetDriverDescriptionName(int driverID)

static native booleancapGetStatus(int hWnd, CapStatus cs)

public static native booleancapGetVideoFormat(int hWnd, com.sun.media.vfw.BitMapInfo bmi)

static native booleancapOverlay(int hWnd, boolean overlay)

static native booleancapPreview(int hWnd, boolean preview)

static native booleancapPreviewRate(int hWnd, int millis)

static native booleancapPreviewScale(int hWnd, boolean scale)

static native booleancapSetAudioFormat(int hWnd, WaveFormatEx wfe)

static native booleancapSetVideoFormat(int hWnd, com.sun.media.vfw.BitMapInfo bmi)

static native intcapSetWindowPos(int hWnd, int x, int y, int width, int height)

static native intcreateFrameCallback(int hWnd)

static native intcreateWindow(java.lang.String title)

static native voiddestroyFrameCallback(int hWnd, int cbHandle)

static native voiddestroyWindow(int hWnd)

static native intgetAvailableData(int hWnd, int cbHandle, java.lang.Object data, long dataBytes, int dataLength, long[] resultTimeStamp)

public static synchronized intgetNextID()


     
	com.sun.media.JMFSecurityManager.loadLibrary("jmvfw");
	cacheFieldIDs();
    
	return globalnID++;
    
static native intpeekWindowLoop(int window)

static native voidshowWindow(int hWnd, int value, int width, int height)

static native voidstartFrameCallback(int hWnd, int cbHandle)

static native voidstopFrameCallback(int hWnd, int cbHandle)