home *** CD-ROM | disk | FTP | other *** search
- README.TXT (Windows dynamic link library: VLIB.DLL)
-
- -----------------------------------------------------------------------------
- 1. VIDEO_Initialize
-
- Initialize video capture board.
-
- Syntax:
- BOOL FAR PASCAL VIDEO_Initialize(void)
-
- Return vaule:
- TRUE
-
-
- -----------------------------------------------------------------------------
- 2. VIDEO_End
-
- End video function.
-
- Syntax:
- void FAR PASCAL VIDEO_End(void)
-
- Return vaule:
- none
-
-
- -----------------------------------------------------------------------------
- 3. VIDEO_EnableVideo
-
- Enable video.
-
- Syntax:
- void FAR PASCAL VIDEO_EnableVideo(void)
-
- Return value:
- none
-
- See also:
- VIDEO_DisableVideo
-
-
- -----------------------------------------------------------------------------
- 4. VIDEO_DisableVideo
-
- Disable video.
-
- Syntax:
- void FAR PASCAL VIDEO_DisableVideo(void)
-
- Return value:
- none
-
- See also:
- VIDEO_EnableVideo
-
-
- -----------------------------------------------------------------------------
- 5. VIDEO_SetVideoSource
-
- Select video source.
-
- Syntax:
- void FAR PASCAL VIDEO_SetVideoSource(WORD wSource)
-
- Parameter:
- WORD wSource: 1 --> Source 1 (composed)
- 2 --> Source 2 (S-Video)
-
- Return value:
- none
-
-
- -----------------------------------------------------------------------------
- 6. VIDEO_SetInputFormat
-
- Select input format.
-
- Syntax:
- void FAR PASCAL VIDEO_SetInputFormat(WORD wFormat)
-
- Parameter:
- WORD wFormat: VIDEO_NTSC --> NTSC format
- VIDEO_PAL --> PAL format
- VIDEO_SECAM --> SECAM format
-
- Return value:
- none
-
-
- -----------------------------------------------------------------------------
- 7. VIDEO_SetVideoMode
-
- Select video mode.
-
- Syntax:
- void FAR PASCAL VIDEO_SetVideoMode(WORD wMode)
-
- Parameter:
- WORD wMode: VIDEO_TV --> TV mode
- VIDEO_VTR --> VTR mode
-
- Return value:
- none
-
-
- -----------------------------------------------------------------------------
- 8. VIDEO_FreezeVideo
-
- Freeze Video picture.
-
- Syntax:
- void FAR PASCAL VIDEO_FreezeVideo(void)
-
- Return value:
- none
-
- See also:
- VIDEO_UnfreezeVideo
-
-
- -----------------------------------------------------------------------------
- 9. VIDEO_UnfreezeVideo
-
- Unfreeze Video picture.
-
- Syntax:
- void FAR PASCAL VIDEO_UnfreezeVideo(void)
-
- Return value:
- none
-
- See also:
- VIDEO_FreezeVideo
-
-
- -----------------------------------------------------------------------------
- 10. VIDEO_SetColor
-
- Set hue, brightness, saturation, contrast value.
-
- Syntax:
- void FAR PASCAL VIDEO_SetColor(BYTE bIndex, BYTE bValue)
-
- Parameter:
- BYTE bIndex: VIDEO_HUE --> Set hue value.
- VIDEO_BRI --> Set brightness value.
- VIDEO_SAT --> Set saturation value.
- VIDEO_CON --> Set contrast value.
- BYTE bValue: Specifies a value to hue, brightness, saturation or
- contrast. The value can be from 0 to 255.
-
- Return value:
- none
-
-
- -----------------------------------------------------------------------------
- 11. VIDEO_SetVideoPos
-
- Set video window position (size and starting position).
-
- Syntax:
- void FAR PASCAL VIDEO_SetVideoPos(int iX, int iY, int iCX, int iCY);
-
- Parameter:
- int iX: Position in pixels of the left side of the video window.
- int iY: Position in pixels of the top of the video window.
- int iCX: Width of video window in pixels.
- int iCY: Height of video window in pixels.
-
- Return value:
- none
-
-
- -----------------------------------------------------------------------------
- 12. VIDEO_LoadImageRect
-
- Retrieve a rectangle region from video memory.
-
- Syntax:
- void FAR PASCAL VIDEO_LoadImageRect(
- BYTE _huge * lpHuge,
- WORD wX, WORD wY,
- WORD wCX, WORD wCY,
- WORD wImageType, WORD wOffset)
-
- Parameter:
- BYTE _huge * lpHuge: A memory buffer to store image data.
- WORD wX: Position in pixels of the left side of the
- rectangle region.
- WORD wY: Position in pixels of the top of the
- rectangle region.
- WORD wCX: Width of the rectangle region in pixels.
- WORD wCY: Height of the rectangle region in pixels.
- WORD wImageType: Specifies the Image type to be retrieved.
- VIDEO_BMP_8_GRAY --> 256 color gray scale
- VIDEO_BMP_15 --> 32K HiColor.
- VIDEO_BMP_16 --> 64K HiColor.
- VIDEO_BMP_24 --> 16 million true color.
- WORD wOffset: Row offset of memory buffer.
- If wOffset is 0, this function automatically
- calculate the value.
- (i.e. If wImageType = VIDEO_BMP_16
- and wCX = 50, then wOffset = wCX * 2 = 100)
-
- Return value:
- none
-
- See also:
- VIDEO_RestoreImageRect
-
-
- -----------------------------------------------------------------------------
- 13. VIDEO_RestoreImageRect
-
- Restore memory buffer to video memory.
-
- Syntax:
- void FAR PASCAL VIDEO_RestoreImageRect(
- BYTE _huge * lpHuge,
- WORD wX, WORD wY,
- WORD wCX, WORD wCY,
- WORD wImageType, WORD wOffset)
-
- Parameter:
- BYTE _huge * lpHuge: Specefies a huge pointer to a memory buffer that
- includes image data for restoring to video
- memory.
- WORD wX: Position in pixels of the left side of the
- video screen.
- WORD wY: Position in pixels of the top of the
- video screen.
- WORD wCX: Width of the image data in pixels.
- WORD wCY: Height of the image data in pixels.
- WORD wImageType: Specifies the Image type to restore.
- VIDEO_BMP_8_GRAY --> 256 color gray scale
- VIDEO_BMP_15 --> 32K HiColor.
- VIDEO_BMP_16 --> 64K HiColor.
- VIDEO_BMP_24 --> 16 million true color.
- WORS wOffset: Row offset of memory buffer.
- If wOffset is 0, this function automatically
- calculate the value.
- (i.e. If wImageType = VIDEO_BMP_16
- and wCX = 50, then wOffset = wCX * 2 = 100)
-
- Return value:
- none
-
- See also:
- VIDEO_LoadImageRect
-
-
- -----------------------------------------------------------------------------
- 14. VIDEO_SetHorizontalAlignment
-
- Adjust horizontal alignment.
-
- Syntax:
- void FAR PASCAL VIDEO_SetHorizontalAlignment(int iValue)
-
- Parameter:
- int iValue: Specefies a value to adjust horizontal alignment.
-
- Return value:
- none
-
- See also:
- VIDEO_SetVerticalAlignment, VIDEO_SetHorizontalCrop,
- VIDEO_SetVerticalCrop.
-
-
- -----------------------------------------------------------------------------
- 15. VIDEO_SetVerticalAlignment
-
- Adjust vertical alignment.
-
- Syntax:
- void FAR PASCAL VIDEO_SetVerticalAlignment(int iValue);
-
- Parameter:
- int iValue: Specefies a value to adjust vertical alignment.
-
- Return value:
- none
-
- See also:
- VIDEO_SetHorizontalAlignment, VIDEO_SetHorizontalCrop,
- VIDEO_SetVerticalCrop.
-
-
- -----------------------------------------------------------------------------
- 16. VIDEO_SetHorizontalCrop
-
- Adjust horizontal cropping.
-
- Syntax:
- void FAR PASCAL VIDEO_SetHorizontalCrop(WORD wValue);
-
- Parameter:
- WORD wValue: Specefies a value to adjust horizontal cropping.
-
- Return value:
- none
-
- See also:
- VIDEO_SetHorizontalAlignment, VIDEO_SetVerticalAlignment,
- VIDEO_SetVerticalCrop.
-
-
- -----------------------------------------------------------------------------
- 17. VIDEO_SetVerticalCrop
-
- Adjust vertical cropping.
-
- Syntax:
- void FAR PASCAL VIDEO_SetVerticalCrop(WORD wValue);
-
- Parameter:
- WORD wValue: Specefies a value to adjust vertical cropping.
-
- Return value:
- none
-
- See also:
- VIDEO_SetHorizontalAlignment, VIDEO_SetVerticalAlignment,
- VIDEO_SetHorizontalCrop.
-
-
- -----------------------------------------------------------------------------
- 18. VIDEO_LoadImageRect
-
- Retrieve a rectangle region from video memory.
-
- Syntax:
- BOOL FAR PASCAL VIDEO_SaveImageFile(
- LPSTR lpFileName,
- WORD wX, WORD wY,
- WORD wCX, WORD wCY,
- WORD wFileType)
-
- Parameter:
- LPSTR lpFileName: File nmae for save image file.
- WORD wX: Position in pixels of the left side of the
- rectangle region.
- WORD wY: Position in pixels of the top of the
- rectangle region.
- WORD wCX: Width of the rectangle region in pixels.
- WORD wCY: Height of the rectangle region in pixels.
- WORD wFileType: Specifies the file format to be saved.
- VIDEO_BMP24 --> Windows DIB 24 bit true color
- VIDEO_BMP8 --> Windows DIB 8 bit palettized
- VIDEO_BMP8G --> Windows DIB 8 bit gray-scale
- VIDEO_BMP4 --> Windows DIB 4 bit dithered
- VIDEO_MMP --> IBM MMotion format 4:1:1 YUV
- VIDEO_PCX8 --> PCX 8 bit palettized
- VIDEO_PCX8G --> PCX 8 bit gray-scale
- VIDEO_TGA32 --> Targa 32 bit true color
- VIDEO_TGA24 --> Targa 24 bit true color
- VIDEO_TGA16 --> Targa 16 bit true color
- VIDEO_TIF24 --> TIFF 24 bit true color
- VIDEO_TIF8 --> TIFF 8 bit palettized
- VIDEO_TIF8G --> TIFF 8 bit gray-scale
- VIDEO_PCX4 --> PCX 4 bit dithered
-
- Return value:
- TRUE: sucessful
- FALSE: failure
-
- See also:
- VIDEO_LoadImageRect
-
-
- ------------------------------------(End)------------------------------------
-