// ksmedia.h
typedef struct tagKSCAMERA_EXTENDEDPROP_BACKGROUNDSEGMENTATION_CONFIGCAPS {
SIZE Resolution;
struct {
LONG Numerator;
LONG Denominator;
} MaxFrameRate;
SIZE MaskResolution;
GUID SubType;
} KSCAMERA_EXTENDEDPROP_BACKGROUNDSEGMENTATION_CONFIGCAPS, *PKSCAMERA_EXTENDEDPROP_BACKGROUNDSEGMENTATION_CONFIGCAPS;
View the official Windows Driver Kit DDI referenceNo description available.
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.
ResolutionThe width and height of the output format in pixels for which the MaxFrameRate and MaskResolution apply.
MaxFrameRateThe maximum frame rate the driver can accommodate for achieving background segmentation for each frame corresponding to Resolution.
MaxFrameRate.NumeratorDefines the LONG member Numerator.
MaxFrameRate.DenominatorDefines the LONG member Denominator.
MaskResolutionThe width and height of the mask produced when streaming with a MediaType corresponding to Resolution.
SubTypeOptional 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.
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.
KSCAMERA_METADATA_BACKGROUNDSEGMENTATIONMASK