FireSync API
 All Classes Files Functions Variables Typedefs Friends Macros Modules Pages
kCameraState.h
Go to the documentation of this file.
1 
8 #ifndef K_FIRESYNC_CAMERA_STATE_H
9 #define K_FIRESYNC_CAMERA_STATE_H
10 
11 #include <kFireSync/kNodeDef.h>
12 
13 kBeginHeader()
14 
15 
21 //typedef kObject kCameraState; --forward-declared in kFsDef.x.h
22 
23 
32 kFsFx(kSize) kCameraState_Id(kCameraState state);
33 
42 kFsFx(kStatus) kCameraState_SetLeft(kCameraState state, k32u left);
43 
51 kFsFx(k32u) kCameraState_Left(kCameraState state);
52 
62 
71 kFsFx(kStatus) kCameraState_SetTop(kCameraState state, k32u top);
72 
80 kFsFx(k32u) kCameraState_Top(kCameraState state);
81 
91 
100 kFsFx(kStatus) kCameraState_SetWidth(kCameraState state, k32u width);
101 
109 kFsFx(k32u) kCameraState_Width(kCameraState state);
110 
120 
129 kFsFx(kStatus) kCameraState_SetHeight(kCameraState state, k32u height);
130 
139 
149 
158 kFsFx(kStatus) kCameraState_SetXSubsampling(kCameraState state, k32u xSubampling);
159 
168 
178 
188 
197 
207 
216 kFsFx(kStatus) kCameraState_SetYSubsampling(kCameraState state, k32u ySubampling);
217 
226 
236 
246 
255 
265 
274 kFsFx(kStatus) kCameraState_InvertX(kCameraState state, kBool invert);
275 
284 
294 
303 kFsFx(kStatus) kCameraState_InvertY(kCameraState state, kBool invert);
304 
313 
323 
333 
342 
352 
361 kFsFx(kStatus) kCameraState_SetBlack(kCameraState state, k32u black);
362 
370 kFsFx(k32u) kCameraState_Black(kCameraState state);
371 
381 
391 kFsFx(kStatus) kCameraState_SetGain(kCameraState state, kCameraGain channel, k64f gain);
392 
401 kFsFx(k64f) kCameraState_Gain(kCameraState state, kCameraGain channel);
402 
412 kFsFx(kStatus) kCameraState_GainInfo(kCameraState state, kCameraGain channel, kInfo64f* info);
413 
425 
434 
444 
454 kFsFx(kStatus) kCameraState_SetKneeTime(kCameraState state, kSize index, k64f normalizedExposureTime);
455 
464 kFsFx(k64f) kCameraState_KneeTime(kCameraState state, kSize index);
465 
475 kFsFx(kStatus) kCameraState_KneeTimeInfo(kCameraState state, kSize index, kInfo64f* info);
476 
486 kFsFx(kStatus) kCameraState_SetKneeCap(kCameraState state, kSize index, k64f normalizedOutputCap);
487 
496 kFsFx(k64f) kCameraState_KneeCap(kCameraState state, kSize index);
497 
507 kFsFx(kStatus) kCameraState_KneeCapInfo(kCameraState state, kSize index, kInfo64f* info);
508 
518 
527 
537 
551 kFsFx(kStatus) kCameraState_SetMaxBatchSize(kCameraState state, kSize maxBatchSize);
552 
561 
571 
582 kFsFx(kStatus) kCameraState_SetDelayNs(kCameraState state, k64u delay);
583 
594 
604 
615 kFsFx(kStatus) kCameraState_SetExposureNs(kCameraState state, k64u exposure);
616 
627 
637 
649 
659 kFsFx(k64u) kCameraState_GapNs(kCameraState state);
660 
670 
680 
689 
699 
710 
723 
732 
742 
751 
760 
774 
784 
794 
816 kFsFx(kStatus) kCameraState_WriteRamImage(kCameraState state, kSize index, kImage image);
817 
827 
828 kEndHeader()
829 
830 #include <kFireSync/Client/kCameraState.x.h>
831 
832 #endif
Abstract base class for camera algorithm parameters.
kStatus kCameraState_SetWidth(kCameraState state, k32u width)
Sets the width of the camera region-of-interest (ROI).
kCameraAlgorithm kCameraState_AlgorithmType(kCameraState state)
Gets current configuration type for a hardware-accelerated camera algorithm.
kSize kCameraState_KneeCount(kCameraState state)
Gets the number of knee points in the gamma curve (multi slope).
k32u kCameraState_Black(kCameraState state)
Gets the black-level for the camera state (used when AutoBlack is disabled).
k64u kCameraState_DelayNs(kCameraState state)
Gets the delay for the camera state, in nanoseconds.
k32u kCameraState_XSubsampling(kCameraState state)
Gets the column subsampling amount for the camera state.
k64u kCameraState_DurationNs(kCameraState state)
Reports the total time required to execute this camera state, in nanoseconds.
kStatus kCameraState_DelayNsInfo(kCameraState state, kInfo64u *info)
Reports constraint and validity information for the DelayNs setting, in nanoseconds.
Represents a camera state configuration.
kStatus kCameraState_SetKneeCap(kCameraState state, kSize index, k64f normalizedOutputCap)
Sets the knee point's normalized reset point as a fraction of the maximum output. ...
kStatus kCameraState_InvertX(kCameraState state, kBool invert)
Sets the horizontal orientation for the camera state.
k64f kCameraState_KneeCap(kCameraState state, kSize index)
Gets the knee point's normalized reset point as a fraction of the maximum output. ...
kStatus kCameraState_AutoBlackEnabledInfo(kCameraState state, kInfoBool *info)
Reports constraint and validity information for the AutoBlackEnabled setting.
kStatus kCameraState_SetGain(kCameraState state, kCameraGain channel, k64f gain)
Sets the gain for the specified gain channel.
kStatus kCameraState_ExposureModeInfo(kCameraState state, kInfoBits *info)
Reports constraint and validity information for the ExposureMode setting.
kStatus kCameraState_LeftInfo(kCameraState state, kInfo32u *info)
Reports constraint and validity information for the Left setting.
kSize kCameraState_MaxBatchSize(kCameraState state)
Gets the maximum message batching size for the camera state.
kStatus kCameraState_WidthInfo(kCameraState state, kInfo32u *info)
Reports constraint and validity information for the Width setting.
kStatus kCameraState_XSubsamplingInfo(kCameraState state, kInfoBits *info)
Reports constraint and validity information for the XSubsampling setting.
Represents constraint and validity information for a bit flag setting.
Definition: kInfo.h:454
kStatus kCameraState_SetXSubsamplingMode(kCameraState state, kCameraSubsampling mode)
Sets the column subsampling mode for the camera state.
kStatus kCameraState_SetExposureMode(kCameraState state, kCameraExposure mode)
Sets the exposure mode for the camera state.
k64f kCameraState_Gain(kCameraState state, kCameraGain channel)
Gets the gain for the specified gain channel.
Represents camera subsampling modes.
kStatus kCameraState_KneeTimeInfo(kCameraState state, kSize index, kInfo64f *info)
Reports constraint and validity information for the KneeTime setting.
k32u kCameraState_Width(kCameraState state)
Gets the width of the camera region-of-interest (ROI).
kBool kCameraState_IsTransitionValid(kCameraState previous, kCameraState current)
Reports validity of state transitions.
kStatus kCameraState_ExposureNsInfo(kCameraState state, kInfo64u *info)
Reports constraint and validity information for the ExposureNs setting.
kCameraExposure kCameraState_ExposureMode(kCameraState state)
Gets the exposure mode for the camera state.
kCameraSubsampling kCameraState_YSubsamplingMode(kCameraState state)
Gets the row subsampling mode for the camera state.
kStatus kCameraState_SetMaxBatchSize(kCameraState state, kSize maxBatchSize)
Sets the maximum message batching size.
kStatus kCameraState_SetDelayNs(kCameraState state, k64u delay)
Sets the delay for the camera state, in nanoseconds.
Represents constraint and validity information for a double setting.
Definition: kInfo.h:349
kStatus kCameraState_InvertY(kCameraState state, kBool invert)
Sets the vertical orientation for the camera state.
kStatus kCameraState_EnableAutoGap(kCameraState state, kBool enabled)
Enables automatic gap calculation for the camera state.
kStatus kCameraState_RamImageCountInfo(kCameraState state, kInfo32u *info)
Reports constraint and validity information for the RamImageCount setting.
Essential declarations related to FireSync nodes.
kStatus kCameraState_GainInfo(kCameraState state, kCameraGain channel, kInfo64f *info)
Reports constraint and validity information for a Gain setting.
k32u kCameraState_Top(kCameraState state)
Gets the vertical origin of the camera region-of-interest (ROI).
kStatus kCameraState_KneeCapInfo(kCameraState state, kSize index, kInfo64f *info)
Reports constraint and validity information for the KneeCap setting.
kBool kCameraState_YInverted(kCameraState state)
Gets the vertical orientation for the camera state.
kStatus kCameraState_SetKneeCount(kCameraState state, kSize count)
Sets the number of knee points.
kStatus kCameraState_SetKneeTime(kCameraState state, kSize index, k64f normalizedExposureTime)
Sets the knee point's normalized exposure time as a fraction of the total exposure time...
kStatus kCameraState_MaxBatchSizeInfo(kCameraState state, kInfoSize *info)
Reports constraint and validity information for the MaxBatchSize setting.
Represents camera gain channels.
kStatus kCameraState_AlgorithmEnabledInfo(kCameraState state, kInfoBool *info)
Reports constraint and validity information for the AlgorithmEnabled setting.
kStatus kCameraState_SetLeft(kCameraState state, k32u left)
Sets the horizontal origin of the camera region-of-interest (ROI).
kBool kCameraState_AutoGapEnabled(kCameraState state)
Reports whether automatic gap is enabled for the camera state.
k32u kCameraState_Height(kCameraState state)
Gets the height of the camera region-of-interest (ROI).
kStatus kCameraState_SetXSubsampling(kCameraState state, k32u xSubampling)
Sets the column subsampling amount for the camera state.
kStatus kCameraState_SetRamImageCount(kCameraState state, k32u count)
Sets the number of images that will be stored in FPGA RAM for this camera state (used for testing/sim...
Represents camera exposure mode.
kStatus kCameraState_EnableAutoBlack(kCameraState state, kBool enabled)
Enables automatic black-level adjustment for the camera state.
kStatus kCameraState_TopInfo(kCameraState state, kInfo32u *info)
Reports constraint and validity information for the Top setting.
kStatus kCameraState_XInvertInfo(kCameraState state, kInfoBool *info)
Reports constraint and validity information for the XInverted setting.
kStatus kCameraState_SetYSubsampling(kCameraState state, k32u ySubampling)
Sets the row subsampling amount for the camera state.
k32u kCameraState_Left(kCameraState state)
Gets the horizontal origin of the camera region-of-interest (ROI).
kSize kCameraState_Id(kCameraState state)
Gets the id of the state.
kStatus kCameraState_YSubsamplingModeInfo(kCameraState state, kInfoBits *info)
Reports constraint and validity information for the YSubsamplingMode setting.
k32u kCameraState_YSubsampling(kCameraState state)
Gets the row subsampling amount for the camera state.
kStatus kCameraState_WriteRamImage(kCameraState state, kSize index, kImage image)
Writes an image into FPGA RAM (used for testing/simulation).
Represents constraint and validity information for a 64-bit unsigned integer setting.
Definition: kInfo.h:187
kStatus kCameraState_SetExposureNs(kCameraState state, k64u exposure)
Sets the exposure for the camera state, in nanoseconds.
kCameraSubsampling kCameraState_XSubsamplingMode(kCameraState state)
Gets the column subsampling mode for the camera state.
kStatus kCameraState_SetGapNs(kCameraState state, k64u gap)
Sets the gap for the camera state, in nanoseconds.
k64u kCameraState_ExposureNs(kCameraState state)
Gets the exposure for the camera state, in nanoseconds.
kStatus kCameraState_YInvertInfo(kCameraState state, kInfoBool *info)
Reports constraint and validity information for the YInverted setting.
kStatus kCameraState_YSubsamplingInfo(kCameraState state, kInfoBits *info)
Reports constraint and validity information for the YSubsampling setting.
Represents camera hardware-accelerated algorithm types.
kStatus kCameraState_EnableAlgorithm(kCameraState state, kBool enabled)
Specifies whether a hardware-accelerated camera algorithm is enabled.
kStatus kCameraState_BlackInfo(kCameraState state, kInfo32u *info)
Reports constraint and validity information for the Black setting.
kBool kCameraState_XInverted(kCameraState state)
Gets the horizontal orientation for the camera state.
kStatus kCameraState_XSubsamplingModeInfo(kCameraState state, kInfoBits *info)
Reports constraint and validity information for the XSubsamplingMode setting.
Represents constraint and validity information for a 32-bit unsigned integer setting.
Definition: kInfo.h:79
k64u kCameraState_GapNs(kCameraState state)
Gets the gap for the camera state, in nanoseconds.
Represents constraint and validity information for a kSize setting.
Definition: kInfo.h:295
kAlgInfo kCameraState_AlgorithmConfig(kCameraState state)
Gets configuration for a hardware-accelerated camera algorithm.
kStatus kCameraState_SetHeight(kCameraState state, k32u height)
Sets the height of the camera region-of-interest (ROI).
kStatus kCameraState_SetTop(kCameraState state, k32u top)
Sets the vertical origin of the camera region-of-interest (ROI).
kStatus kCameraState_AutoGapEnabledInfo(kCameraState state, kInfoBool *info)
Reports constraint and validity information for the AutoGapEnabled setting.
kBool kCameraState_AlgorithmEnabled(kCameraState state)
Reports whether a hardware-accelerated camera algorithm is enabled.
kStatus kCameraState_GapNsInfo(kCameraState state, kInfo64u *info)
Reports constraint and validity information for the GapNs setting.
kStatus kCameraState_HeightInfo(kCameraState state, kInfo32u *info)
Reports constraint and validity information for the Height setting.
kStatus kCameraState_SetBlack(kCameraState state, k32u black)
Set the black-level for the camera state (used when AutoBlack is disabled).
k64f kCameraState_KneeTime(kCameraState state, kSize index)
Gets the knee point's normalized exposure time as a fraction of the total exposure time...
kStatus kCameraState_KneeCountInfo(kCameraState state, kInfoSize *info)
Reports constraint and validity information for the KneeCount setting.
k32u kCameraState_RamImageCount(kCameraState state)
Gets the number of images stored in FPGA RAM for this camera state (used for testing/simulation).
kStatus kCameraState_SetYSubsamplingMode(kCameraState state, kCameraSubsampling mode)
Sets the row subsampling mode for the camera state.
Represents constraint and validity information for a boolean setting.
Definition: kInfo.h:403
kBool kCameraState_AutoBlackEnabled(kCameraState state)
Reports whether automatic black-level adjustment is enabled for the camera state. ...