AVIStreamGetFrame
The AVIStreamGetFrame
function returns the address of a decompressed video frame.
STDAPI_(LPVOID) AVIStreamGetFrame(
PGETFRAME pgf, |
|
LONG lPos |
|
); |
|
Parameters
pgf
Address of a GetFrame
object.
lPos
Position, in
samples, within the stream of the desired frame.
Return Values
Returns a
pointer to the frame data if successful or NULL otherwise. The frame data is
returned as a packed DIB.
Remarks
The returned
frame is valid only until the next call to this function or the AVIStreamGetFrameClose
function.
See Also