Szerkesztés

Megosztás a következőn keresztül:


KSPROPERTY_VIDEOPROCAMP_POWERLINE_FREQUENCY

The KSPROPERTY_VIDEOPROCAMP_POWERLINE_FREQUENCY property specifies the local power line frequency. The frequency might be necessary if the device supports anti-flicker processing for fluorescent lighting environments.

Usage Summary Table

Get Set Target Property Descriptor Type Property Value Type

Yes

Yes

Filter or node

KSPROPERTY_VIDEOPROCAMP_S or KSPROPERTY_VIDEOPROCAMP_NODE_S

LONG

The property value (operation data) is a LONG that specifies the local power line frequency. The value indicates the current power-line setting of the camera.

Value Description

0

The power-line frequency control is disabled.

1

The power-line frequency is 50 Hz.

2

The power-line frequency is 60 Hz.

3

The power-line frequency is determined automatically by the system.

Note  The auto property value (3) is not available on all cameras (UVC 1.1 specifically).

Remarks

When making a set request, the client should supply one of the values in the preceding table in the Value member of the KSPROPERTY_VIDEOPROCAMP_NODE_S structure.

When making a get request, the client receives one of the values in the preceding table in the Value member of the KSPROPERTY_VIDEOPROCAMP_NODE_S structure.

Requirements

Header

Ksmedia.h (include Ksmedia.h)

See also

KSPROPERTY

KSPROPERTY_VIDEOPROCAMP_S

PowerlineFrequency enumeration