/// <summary> /// Initialises a new instance of <see cref="BayerMetaProcessor"/>. /// </summary> /// <param name="camVersion">The camera version you're using.</param> public BayerMetaProcessor(CameraVersion camVersion) { this.CameraVersion = camVersion; }
/// <summary> /// Apply a processor to strip out Bayer metadata from a JPEG frame. /// </summary> /// <param name="context">The image context.</param> /// <param name="version">The camera version.</param> /// <returns>The active image context.</returns> public static IFrameProcessingContext StripBayerMetadata(this IFrameProcessingContext context, CameraVersion version) => context.Apply(new BayerMetaProcessor(version));
private CameraStatus(CameraVersion version, PowerMode powerMode, ConnectionState connection) { Version = version; PowerMode = powerMode; Connection = connection; }