DM&P DOS W99200 Library

2001/08/29 Version 0.11

This library is extracted from WebCamera codes. We will provide a powerful and fast library for our another new real time MPEG1/Motion JPEG video encoder. The library contains some basic functions for programmer who want to use WebCamera hardware to develope their application.

If you have any problem with the library, mail to webcamera@dmp.com.tw please.
WebCamera demo home page http://www.webcamera.com.tw.


W99200 Function List

BOOL W99200_Init();
void W99200_SetImage(int nType);
BOOL W99200_Compress();
int W99200_GetQuality();
void W99200_SetQuality(int nQuality);
int W99200_GetLuminance();
void W99200_SetLuminance(int nLuminance);
int W99200_GetContrast();
void W99200_SetContrast(int nContrast);
void W99200_SetFileName(char *szFileName);
BOOL W99200_VideoReady();
BOOL W99200_IsNTSC();


BOOL W99200_Init()

Description: Initialize W99200F chipset of WebCamera.
Arguments:
ReturnTRUE on success and FALSE on error

void W99200_SetImage(int nType);

Description: Set image size (FULL,SIF,QSIF).
Arguments:
nTypeImage type:
IMG_FULL704*480
SIF352*240
QSIF176*112
ReturnN/A

BOOL W99200_Compress();

Description: Send command to W99200F to compress image from camera.
Arguments:
ReturnTRUE on success and FALSE on error

int W99200_GetQuality();

Description: Get quality factor of W99200F.
Arguments:
Return1(high)~31(low)

void W99200_SetQuality(int nQuality);

Description: Set quality factor of W99200F.
Arguments:
nQuality1(high)~31(low)
ReturnN/A

int W99200_GetLuminance();

Description: Get luminance of W99200F.
Arguments:
Return0(dark)~255(bright)

void W99200_SetLuminance(int nLuminance);

Description: Set luminance of W99200F.
Arguments:
nLuminance0(dark)~255(bright)
ReturnN/A

int W99200_GetContrast();

Description: Get contrast of W99200F.
Arguments:
Return1(min)~127(max)

void W99200_SetContrast(int nContrast);

Description: Set contrast of W99200F.
Arguments:
nContrast1(min)~127(max)
ReturnN/A

void W99200_SetFileName(char *szFileName);

Description: Set output file name for W99200F.
Arguments:
szFileNameASCIIZ file name for output file.
ReturnN/A

BOOL W99200_VideoReady();

Description: Check video signal from WebCamera video input.
Arguments:
ReturnTRUE on success and FALSE on error

BOOL W99200_IsNTSC();

Description: Check NTSC or PAL signal.
Arguments:
ReturnTRUE on NTSC and FALSE on PAL

Jan Yin Chan Electronics Co., LTD.
TEL: +886-2-22980770
FAX: +886-2-22991883
E-Mail : info@dmp.com.tw
Address: 8F, No.12 Wu-Quan 7 Rd., Wu-Gu Industrial Park (PostCode:248) Wu Gu Xiang, Taipei Hsien, Taiwan, R.O.C.