EN
이 콘텐츠는 한국어로 제공되지 않아 영어 버전으로 표시됩니다.

AVIStreamGetFrameOpen function

The AVIStreamGetFrameOpen function prepares to decompress video frames from the specified video stream.

Syntax


STDAPI_(PGETFRAME) AVIStreamGetFrameOpen(
  PAVISTREAM pavi,
  LPBITMAPINFOHEADER lpbiWanted
);

Parameters

pavi

Pointer to the video stream used as the video source.

lpbiWanted

Pointer to a structure that defines the desired video format. Specify NULL to use a default format. You can also specify AVIGETFRAMEF_BESTDISPLAYFMT to decode the frames to the best format for your display.

Return value

Returns a GetFrame object that can be used with the AVIStreamGetFrame function. If the system cannot find a decompressor that can decompress the stream to the given format, or to any RGB format, the function returns NULL.

The argument pavi is a pointer to an IAVIStream interface.

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

Vfw.h

Library

Vfw32.lib

DLL

Avifil32.dll

See also

AVIFile Functions and Macros
AVIFile Functions

 

 

커뮤니티 추가 항목

표시:
© 2015 Microsoft