Freigeben über


IDVEnc::put_IFormatResolution

 
Microsoft DirectShow 9.0

IDVEnc::put_IFormatResolution

The put_IFormatResolution method sets the encoding resolution.

Syntax

  HRESULT put_IFormatResolution(
  int VideoFormat,
  int DVFormat,
  int Resolution,
  BYTE fDVInfo,
  DVINFO *sDVInfo
);

Parameters

VideoFormat

[in] Member of the DVENCODERVIDEOFORMAT enumeration, specifying the video standard to use (NTSC or PAL).

DVFormat

[in] Member of the DVENCODERFORMAT enumeration, specifying the DV format.

Resolution

[in] Member of the DVENCODERRESOLUTION enumeration, specifying the video resolution.

fDVInfo

[in] Boolean value specifying whether the sDVInfo parameter contains a valid DVINFO structure. To set the stream format, set this parameter to TRUE and specify the format chunk with the sDVInfo parameter.

sDVInfo

[in] If fDVInfo is TRUE, must point to a DVINFO structure that describes the stream format.

Return Values

Returns S_OK if successful. Otherwise, returns E_FAIL or another error code.

Requirements

Header: Declared in Strmif.h; include Dshow.h.

Library: Use Strmiids.lib.

See Also