KSCAMERA_EXTENDEDPROP_ROI_INFO structure (ksmedia.h)

This structure contains information about an ROI.

Syntax

typedef struct tagKSCAMERA_EXTENDEDPROP_ROI_INFO {
  RECT      Region;
  ULONGLONG Flags;
  LONG      Weight;
  LONG      RegionOfInterestType;
} KSCAMERA_EXTENDEDPROP_ROI_INFO, *PKSCAMERA_EXTENDEDPROP_ROI_INFO;

Members

Region

These are the relative coordinates in Q31 format on the frame that face detection is running.

Flags

These are VIDEOPROCFLAG flags that indicate the op mode for the ISP control. For focus ROI, the default value is 0 representing focus region configuration without initiating a focus.

Weight

This is the weight of the region (0-100).

RegionOfInterestType

If the region is a face, this value is KSCAMERA_EXTENDEDPROP_ROITYPE_FACE. If the region is anything other than face, this value is KSCAMERA_EXTENDEDPROP_ROITYPE_UNKNOWN. For more information, see the KSCAMERA_EXTENDEDPROP_ROITYPE enumeration.

Requirements

Requirement Value
Header ksmedia.h