J
jieson
Unregistered / Unconfirmed
GUEST, unregistred user!
一样的翻译一次就行了,工作量不算大吧?
typedef unsigned long HRGBCAPTURE, *PHRGBCAPTURE, FAR *LPHRGBCAPTURE;
enum
{
RGBFORMAT_3WIRE_SYNC_ON_GREEN,
RGBFORMAT_4WIRE_COMPOSITE_SYNC,
RGBFORMAT_5WIRE_SEPARATE_SYNCS,
};
typedef void (RGBFRAMECAPTUREDFN)(LPVOID FrameCapturedArg);
typedef struct
{
unsigned short Size
/* Size in bytes of this structure. */
unsigned long Flags
/* Indicates which fields are relevant. */
unsigned short Input
/* Which input connector to capture from. */
unsigned short Format
/* Format of RGB signal to be captured. */
VDIF VideoTimings
/* The characteristics of the signal. */
unsigned short Phase
/* Aligns samples with pixels in signal. */
unsigned short Brightness
/* Modifies DC offset. */
unsigned short Contrast
/* Input voltage/gain. */
unsigned short BlackLevel
/* When to sample black level (number of
* pixels from the reference point). */
unsigned short SampleRate
/* Frames to drop between samples. */
unsigned short PixelFormat
/* Pixel format for frame buffer reads. */
unsigned short SyncEdge
/* The HSYNC edge to use as reference. */
signed long HorScale
/* . */
signed short HorOffset
/* . */
signed short VerOffset
/* . */
HWND HWnd
/* Window to receive messages from ISR. */
RGBFRAMECAPTUREDFN *FrameCapturedFn
/* Pointer to frame captured function.*/
LPVOID FrameCapturedArg; /* Parameters for function.*/
}
RGBCAPTUREPARMS, *PRGBCAPTUREPARMS, FAR *LPRGBCAPTUREPARMS;
typedef struct
{
unsigned short Size
/* Size in bytes of this structure. */
unsigned long NPixelsInBuffer
/* Maximum number of pixels. */
unsigned short NBuffers
/* Number of frame stores available. */
unsigned long Flags
/* General flags. */
} RGBCAPTURECAPS, *PRGBCAPTURECAPS, FAR *LPRGBCAPTURECAPS;
typedef unsigned long RGBERROR;
typedef struct
{
LPVOID LpVoidBuffer
/* Pointer application uses to access data. */
unsigned short Index
/* Used to identify buffer to RGB device. */
} RGBCAPTUREBUFFER, *PRGBCAPTUREBUFFER, FAR *LPRGBCAPTUREBUFFER;
typedef unsigned long HRGBCAPTURE, *PHRGBCAPTURE, FAR *LPHRGBCAPTURE;
enum
{
RGBFORMAT_3WIRE_SYNC_ON_GREEN,
RGBFORMAT_4WIRE_COMPOSITE_SYNC,
RGBFORMAT_5WIRE_SEPARATE_SYNCS,
};
typedef void (RGBFRAMECAPTUREDFN)(LPVOID FrameCapturedArg);
typedef struct
{
unsigned short Size
/* Size in bytes of this structure. */
unsigned long Flags
/* Indicates which fields are relevant. */
unsigned short Input
/* Which input connector to capture from. */
unsigned short Format
/* Format of RGB signal to be captured. */
VDIF VideoTimings
/* The characteristics of the signal. */
unsigned short Phase
/* Aligns samples with pixels in signal. */
unsigned short Brightness
/* Modifies DC offset. */
unsigned short Contrast
/* Input voltage/gain. */
unsigned short BlackLevel
/* When to sample black level (number of
* pixels from the reference point). */
unsigned short SampleRate
/* Frames to drop between samples. */
unsigned short PixelFormat
/* Pixel format for frame buffer reads. */
unsigned short SyncEdge
/* The HSYNC edge to use as reference. */
signed long HorScale
/* . */
signed short HorOffset
/* . */
signed short VerOffset
/* . */
HWND HWnd
/* Window to receive messages from ISR. */
RGBFRAMECAPTUREDFN *FrameCapturedFn
/* Pointer to frame captured function.*/
LPVOID FrameCapturedArg; /* Parameters for function.*/
}
RGBCAPTUREPARMS, *PRGBCAPTUREPARMS, FAR *LPRGBCAPTUREPARMS;
typedef struct
{
unsigned short Size
/* Size in bytes of this structure. */
unsigned long NPixelsInBuffer
/* Maximum number of pixels. */
unsigned short NBuffers
/* Number of frame stores available. */
unsigned long Flags
/* General flags. */
} RGBCAPTURECAPS, *PRGBCAPTURECAPS, FAR *LPRGBCAPTURECAPS;
typedef unsigned long RGBERROR;
typedef struct
{
LPVOID LpVoidBuffer
/* Pointer application uses to access data. */
unsigned short Index
/* Used to identify buffer to RGB device. */
} RGBCAPTUREBUFFER, *PRGBCAPTUREBUFFER, FAR *LPRGBCAPTUREBUFFER;