home *** CD-ROM | disk | FTP | other *** search
- // README.TXT (DOS library)
-
- ** DOS libraries for VideoPlus T230:
-
- VIDEO.H - VideoPlus T230 include file
- VPT230T.LIB - VideoPlus T230 tiny model library
- VPT230S.LIB - VideoPlus T230 small model library
- VPT230M.LIB - VideoPlus T230 medium model library
- VPT230C.LIB - VideoPlus T230 compact model library
- VPT230L.LIB - VideoPlus T230 large model library
- VPT230H.LIB - VideoPlus T230 huge model library
-
- ** These DOS libraries can not run under Windows 95 DOS Prompt.
- In Windows 95, you must restart to MS-DOS mode for running
- the program that links these libraries.
-
-
- -----------------------------------------------------------------------------
- 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_SwitchMode
-
- Set display mode.
-
- Syntax:
- void FAR PASCAL VIDEO_SwitchMode(WORD wMode)
-
- Parameter:
- WORD wMode: VIDEO_MODE_NORMAL --> 80x25 text mode.
- VIDEO_MODE_640x480x8 --> 640x480 256 color mode.
- VIDEO_MODE_640x480x16 --> 640x480 64K HiColor mode.
- VIDEO_MODE_640x480x24 --> 640x480 true color mode.
-
- Return value:
- none
-
-
- ------------------------------------(End)------------------------------------
-