Freigeben über


IVPBaseConfig::GetMaxPixelRate

 
Microsoft DirectShow 9.0

IVPBaseConfig::GetMaxPixelRate

The GetMaxPixelRate method retrieves the maximum pixel rate the device will output for a given width and height.

Syntax

  HRESULT GetMaxPixelRate(
  LPAMVPSIZE pamvpSize,
  LPDWORD pdwMaxPixelsPerSecond
);

Parameters

pamvpSize

[in, out] Pointer to an AMVPSIZE structure containing the desired width and height.

pdwMaxPixelsPerSecond

[out] Pointer to a variable that receives the maximum pixel rate, in pixels per second.

Return Values

Returns an HRESULT value.

Remarks

This method retrieves the maximum pixels per second expected for a given size. If the device does not support this size, then it returns the rate and the size that it supports.

Requirements

Header: Include Dvp.h, Vptype.h, Vpconfig.h.

Library: None.

See Also