put
The put command defines the area of the source image and destination window used for display. Digital-video and video-overlay devices recognize this command. wsprintf(lpstrCommand, "put %s %s %s", lpszDeviceID, lpszRegions,lpszFlags); Parameters lpszDeviceID Identifier of an MCI device. This identifier or alias is assigned when the device is opened. lpszRegions Flag for defining the area. The following table lists device types that recognize the put command and the flags used by each type:
digitalvideo
| destination
destination at rectangle frame frame at rectangle source source at rectangle |
|
overlay
| destination
destination at rectangle frame frame at rectangle | source
source at rectangle video video at rectangle |
destination
| Selects the entire client area of the destination window to display the data.
|
destination at rectangle
| Selects a portion of the client area of the destination window used to display
the image. When an area of the display window is specified and the device
supports stretching, the source image is stretched to the destination offset and
extent.
|
frame
| Selects the entire frame buffer to receive the incoming video images.
|
frame at rectangle
| Selects a portion of the frame buffer to receive the incoming video images.
|
source
| Selects the entire image for display in the destination window.
|
source at rectangle
| Selects a portion of the image to display in the destination window. When an
area of the source image is specified, and the device supports stretching, the
source image is stretched to the destination offset and extent.
|
| Selects the entire incoming video image to capture in the frame buffer.
|
| Selects a portion of the incoming video image to capture in the frame buffer.
|
window
| Restores the initial window size on the display. This command also displays
the window.
|
window at rectangle
| Changes the size and location of the display window. The specified rectangle
is relative to the parent window of the display window (usually the desktop) if
the "style child" flag has been used for the open command. To change the location of the window without changing its height or
width, specify zero for the height and width.
|
window client
| Restores the client area of the window.
|
window client at rectangle
| Changes the size and location of the client area of the window. The specified
rectangle is relative to the parent window of the client window. To change the
location of the window without changing its height or width, specify zero for
the height and width.
|
- The video rectangle defines the region of the incoming video image to capture.
- The frame rectangle defines the region of the frame buffer that receives the incoming video image.
- The source rectangle defines which region of the frame buffer is copied to the destination rectangle.
- The destination rectangle defines the region of the display window client area that receives the video image.
The regions in this example are defined as follows:
- A 200- by 200-pixel region of the incoming video data, starting at an origin 120 pixels from the upper left corner, will be captured to the frame buffer.
- The video data will be placed in a 200- by 200-pixel region at the upper left corner of the frame buffer.
- Transfers are made from the 200- by 200-pixel region at the upper left corner of the frame buffer to the destination window.
- Software for developers
-
Delphi Components
.Net Components
Software for Android Developers - More information resources
-
MegaDetailed.Net
Unix Manual Pages
Delphi Examples - Databases for Amazon shops developers
-
Amazon Categories Database
Browse Nodes Database