視訊參數對話盒一共有四種, 分別是:
1. 視訊來源對話盒 (Video Source Dialog)
2. 視訊格式對話盒 (Video Format Dialog)
3. 視訊顯示對話盒 (Video Display Dialog)
4. 視訊壓縮對話盒 (Video Compression Dialog)
接下來我們將分別介紹各種視訊參數對話盒的呼叫函式。
1. 視訊來源對話盒 (Video Source Dialog Box)
capDlgVideoSource
The capDlgVideoSource macro displays a dialog box in which the user can control the video source. The Video Source dialog box might contain controls that select input sources; alter the hue, contrast, brightness of the image; and modify the video quality before digitizing the images into the frame buffer. You can use this macro or explicitly send the WM_CAP_DLG_VIDEOSOURCE message.
BOOL capDlgVideoSource(
hwnd
);
Parameters
hwnd
Handle to a capture window.
Return Values
Returns TRUE if successful or FALSE otherwise.
Remarks
The Video Source dialog box is unique for each capture driver. Some capture drivers might not support a Video Source dialog box. Applications can determine if the capture driver supports this message by checking the fHasDlgVideoSource member of the CAPDRIVERCAPS structure.
No comments:
Post a Comment