@atem-connection/camera-control
Version:
Library for ATEM Camera control using atem-connection.
113 lines • 2.7 kB
TypeScript
export declare enum VideoSharpeningLevel {
Off = 0,
Low = 1,
Medium = 2,
High = 3
}
export interface ColorAdjust {
red: number;
green: number;
blue: number;
luma: number;
}
export interface AtemCameraControlState {
readonly cameraId: number;
lens: {
/**
* Focus
* 0.0 = near
* 1.0 = far
*/
focus: number;
/**
* Aperture (normalised)
* In range 0.0 to 1.0
*/
iris: number;
/** Optical image stabilisation */
opticalImageStabilisation: boolean;
zoomSpeed: number;
};
video: {
/**
* Manual White Balance
* 0: Color temperature in Kelvin
* 1: Tint in range -50 to 50
*/
whiteBalance: [colorTemperature: number, tint: number];
/**
* Exposure (time in us)
* In range 1 to 42000
*/
exposure: number;
/** Video sharpening level */
videoSharpeningLevel: VideoSharpeningLevel;
/**
* Shutter speed value as a fraction of 1, so 50 for 1/50th of a second
* In range from current sensor framerate to 5000
*/
shutterSpeed: number;
/** Gain in decibel (dB) */
gain: number;
/**
* ND Filter Stop
* In range 0.0 to 15.0
*/
ndFilterStop: number;
};
display: {
colorBarEnable: boolean;
};
colorCorrection: {
/**
* Color lift adjustments
* In range -2.0 to 2.0
*/
liftAdjust: ColorAdjust;
/**
* Color gamma adjustments
* In range -4.0 to 4.0
*/
gammaAdjust: ColorAdjust;
/**
* Color gain adjustments
* In range 0.0 to 16.0
*/
gainAdjust: ColorAdjust;
/**
* Color offset adjustments
* In range -8.0 to 8.0
*/
offsetAdjust: ColorAdjust;
contrastAdjust: {
/**
* Contrast Pivot
* In range 0.0 to 1.0
*/
pivot: number;
/**
* Contrast Adjustment
* In range 0.0 to 2.0
*/
adj: number;
};
/**
* Luma mix
* In range 0.0 to 1.0
*/
lumaMix: number;
colorAdjust: {
/**
* Hue adjust
* In range -1.0 to 1.0
*/
hue: number;
/**
* Saturation
* In range 0.0 to 2.0
*/
saturation: number;
};
};
}
//# sourceMappingURL=state.d.ts.map