 |
AVIStreamGetFrame ..msdn Add comment W32 Constants Translate this page |
 |
 |
|
The AVIStreamGetFrame function returns the address of a decompressed video frame. |
 |
 |
| Code examples: |
 |
|
|
 |
 |
| Declaration: |
 |
 |
STDAPI_(LPVOID) AVIStreamGetFrame(
PGETFRAME pgf,
LONG lPos
);
|
 |
 |
 |
| FoxPro declaration: |
 |
 |
DECLARE INTEGER AVIStreamGetFrame IN avifil32;
INTEGER pgf,;
INTEGER lPos
|
 |
 |
 |
| Parameters: |
 |
pgf
Pointer to a GetFrame object.
lPos
Position, in samples, within the stream of the desired frame.
|
 |
 |
| Return value: |
 |
| Returns a pointer to the frame data if successful or NULL otherwise. |
 |
 |
| My comment: |
 |
The frame data is returned as a packed DIB. The returned frame is valid only until the next call to this function or the AVIStreamGetFrameClose function.
The packed DIB contains BITMAPINFOHEADER structure, followed sometimes by palette table, and then followed by bitmap data -- all in continuous block of memory. |
 |
 |
| Word Index links for the AVIStreamGetFrame : |
 |
|
|
 |
 |
| Translate this page: |
 |
|
 |
 |
| • |
 |
| Created: | 2003-12-01 22:08:08 | | Modified: | 2003-12-01 22:16:49 | Visited in last 7 days: 32 |