FireSync API
 All Classes Files Functions Variables Typedefs Friends Macros Modules Pages
kCSum4 Struct Reference

Description

Represents a CSum value in the format produced by the Binarize-CSum camera algorithm (version 4).

Use the associated macros to extract individual CSum fields.

kCSum4 supports the kdat6 serialization protocol.

Inheritance diagram for kCSum4:
Inheritance graph

Public Attributes

k32u csum
 Column sum fields.
 

Related

k32u kCSum4_MaxSum ()
 Reports the maximum sum that can be represented by this data type. More...
 
k32u kCSum4_MaxWSum ()
 Reports the maximum weighted sum that can be represented by this data type. More...
 
void kCSum4_Init (kCSum4 *cs, k32u sum, k32u wsum)
 Initializes a csum to a valid value. More...
 
void kCSum4_InitOverflow (kCSum4 *cs)
 Initializes a csum to represent the 'overflow' condition. More...
 
kBool kCSum4_IsOverflow (const kCSum4 *cs)
 Reports whether the csum represents an 'overflow' result. More...
 
void kCSum4_SetSum (kCSum4 *cs, k32u sum)
 Sets the sum component of the CSum value. More...
 
k32u kCSum4_Sum (const kCSum4 *cs)
 Reports the sum component of the CSum value. More...
 
void kCSum4_SetWSum (kCSum4 *cs, k32u wsum)
 Sets the weighted sum component of the CSum value. More...
 
k32u kCSum4_WSum (const kCSum4 *cs)
 Reports the weighted-sum component of the CSum value. More...
 

The documentation for this struct was generated from the following file: