Share via


IDVEnc::get_IFormatResolution

 
Microsoft DirectShow 9.0

IDVEnc::get_IFormatResolution

The get_IFormatResolution method retrieves the encoding resolution.

Syntax

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

Parameters

VideoFormat

[out] Pointer to a variable that receives a member of the DVENCODERVIDEOFORMAT enumeration, specifying the video standard in use (NTSC or PAL).

[out] Pointer to a variable that receives a member of the DVENCODERFORMAT enumeration, specifying the digital video (DV) format.

Resolution

[out] Pointer to a variable that receives a member of the DVENCODERRESOLUTION enumeration, specifying the video resolution.

fDVInfo

[in] Boolean value specifying whether to retrieve the DVINFO structure that specifies the stream format. If TRUE, the stream format is returned in the sDVInfo parameter.

sDVInfo

[out] Pointer to a variable that receives a DVINFO structure containing the stream format. If fDVInfo is FALSE, this parameter is ignored.

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