Skip to content

Latest commit

 

History

History
83 lines (63 loc) · 3.18 KB

ns-ksmedia-kscamera_extendedprop_backgroundsegmentation_configcaps.md

File metadata and controls

83 lines (63 loc) · 3.18 KB
UID tech.root title ms.date targetos description prerelease req.construct-type req.ddi-compliance req.dll req.header req.include-header req.kmdf-ver req.lib req.max-support req.redist req.target-min-winverclnt req.target-min-winversvr req.target-type req.typenames req.umdf-ver req.unicode-ansi topic_type api_type api_location api_name f1_keywords dev_langs
NS:ksmedia.tagKSCAMERA_EXTENDEDPROP_BACKGROUNDSEGMENTATION_CONFIGCAPS
stream
KSCAMERA_EXTENDEDPROP_BACKGROUNDSEGMENTATION_CONFIGCAPS
03/08/2022
Windows
The KSCAMERA_EXTENDEDPROP_BACKGROUNDSEGMENTATION_CONFIGCAPS structure is used to list which stream configurations support background segmentation.
false
structure
ksmedia.h
Ksmedia.h
Windows 11
KSCAMERA_EXTENDEDPROP_BACKGROUNDSEGMENTATION_CONFIGCAPS, *PKSCAMERA_EXTENDEDPROP_BACKGROUNDSEGMENTATION_CONFIGCAPS
apiref
HeaderDef
ksmedia.h
tagKSCAMERA_EXTENDEDPROP_BACKGROUNDSEGMENTATION_CONFIGCAPS
PKSCAMERA_EXTENDEDPROP_BACKGROUNDSEGMENTATION_CONFIGCAPS
KSCAMERA_EXTENDEDPROP_BACKGROUNDSEGMENTATION_CONFIGCAPS
tagKSCAMERA_EXTENDEDPROP_BACKGROUNDSEGMENTATION_CONFIGCAPS
ksmedia/tagKSCAMERA_EXTENDEDPROP_BACKGROUNDSEGMENTATION_CONFIGCAPS
PKSCAMERA_EXTENDEDPROP_BACKGROUNDSEGMENTATION_CONFIGCAPS
ksmedia/PKSCAMERA_EXTENDEDPROP_BACKGROUNDSEGMENTATION_CONFIGCAPS
KSCAMERA_EXTENDEDPROP_BACKGROUNDSEGMENTATION_CONFIGCAPS
ksmedia/KSCAMERA_EXTENDEDPROP_BACKGROUNDSEGMENTATION_CONFIGCAPS
c++

-description

The KSCAMERA_EXTENDEDPROP_BACKGROUNDSEGMENTATION_CONFIGCAPS structure is used to list which stream configurations support background segmentation when using the KSPROPERTY_CAMERACONTROL_EXTENDED_BACKGROUNDSEGMENTATION control so that consumer of this DDI knows what to expect when it is leveraged and in which cases it may not take effect.

If a stream configuration is not listed and the control is set to something other than KSCAMERA_EXTENDEDPROP_BACKGROUNDSEGMENTATION_OFF, the DDI may have no effect.

-struct-fields

-field Resolution

The width and height of the output format in pixels for which the MaxFrameRate and MaskResolution apply.

-field MaxFrameRate

The maximum frame rate the driver can accommodate for achieving background segmentation for each frame corresponding to Resolution.

-field MaxFrameRate.Numerator

Defines the LONG member Numerator.

-field MaxFrameRate.Denominator

Defines the LONG member Denominator.

-field MaskResolution

The width and height of the mask produced when streaming with a MediaType corresponding to Resolution.

-field SubType

Optional subtype for which this configuration capability applies. If left to zero, all streams conforming the Resolution and MaxFrameRate will support background segmentation with the specified MaskResolution.

-remarks

Two KSPROPERTY_CAMERACONTROL_EXTENDED_BACKGROUNDSEGMENTATION controls with the same Resolution but different MaxFrameRate and MaskResolution may be specified to express that different frame rates may produce a different mask resolution.

-see-also

KSCAMERA_METADATA_BACKGROUNDSEGMENTATIONMASK