MultiCam Boards Documentation > MultiCam Documentation > MultiCam DirectShow Reference > Reference Guide > Interfaces > IESFCompression > IESFCompression::GetAverageBitrateRange

IESFCompression::GetAverageBitrateRange

HRESULT GetAverageBitrateRange(
  long *plMinValue,
  long *plMaxValue,
  long *plDefaultValue = NULL
);

plMinValue

[out] Pointer to a variable that receives the minimum value for the average bit rate setting.

plMaxValue

[out] Pointer to a variable that receives the maximum value of the average bit rate setting.

plDefaultValue

[out] Pointer to a variable that receives the default average bit rate setting. If NULL, the default value is not returned.

Retrieves the range and default value for the target bit rate control.

The bit rate setting is available only if the following conditions are met:

Be aware that, when the output format is set to AUTO, the media type is decided only when the filter is connected. The media type can be selected through the output format setting.

Return Values

Returns an HRESULT value. Possible values include the following.

Return code

Description

S_OK

No error.

E_POINTER

At least one argument is not a valid pointer.

E_FAIL

Bit rate setting is not applicable. See notes above.

Requirements

Header

ESFilter.h

Library

ESFilter.dll

MultiCam

5.0 or later

See also

Compression

DX50 with PICOLO Diligent

MP4S with PICOLO Diligent

IESFCompression::GetAverageBitrate

IESFCompression::SetAverageBitrate

IESFCompression::GetBitrateControl

IESFCompression::SetBitrateControl