GoWebScan API
GoWebScanTileCombiner Class Reference

Description

Represents an algorithm for matching tiles received from different sources. Each source is represented by a combiner lane, which has a FIFO queue of received tiles. When a tile is received, the combiner logic decides whether to emit a frame (set of tiles that have the same position) or wait. A time threshold and a distance threshold must both be exceeded to cause a coherency violation. The primary consideration is time - when a lane has not received a frame within the specified time window, something has gone wrong and the lane should be disabled as soon as possible. But if the system reverses (no new tiles), and then runs forward again (new tiles when it catches up), a false coherency violation can be generated if time is the only criteria. A small distance coherency threshold is used to prevent these false violations.

Inheritance diagram for GoWebScanTileCombiner:
Inheritance graph

Public Member Functions

kStatus GoWebScanTileCombiner_AddLane (GoWebScanTileCombiner combiner, k32s msgId, k32s id1, k32s id2, k32s id3)
 Adds a lane to the combiner. More...
 
kStatus GoWebScanTileCombiner_AddTile (GoWebScanTileCombiner combiner, GoWebScanPipeMsg msg)
 Adds a tile message to the algorithm processing queue. More...
 
kStatus GoWebScanTileCombiner_Clear (GoWebScanTileCombiner combiner)
 Clears and relinquishes all lane tile queues. More...
 
kStatus GoWebScanTileCombiner_Construct (GoWebScanTileCombiner *combiner, const GoWebScanTileCombinerParams *args, kAlloc allocator)
 Constructs a GoWebScanTileCombiner object. More...
 
kStatus GoWebScanTileCombiner_LaneAt (GoWebScanTileCombiner combiner, kSSize index, k32s *id0, k32s *id1, k32s *id2, k32s *id3)
 Gets the lane ID for a given lane index. More...
 
kStatus GoWebScanTileCombiner_RemoveLanes (GoWebScanTileCombiner combiner)
 Removes all lanes from the combiner. More...
 
kStatus GoWebScanTileCombiner_SetDataHandler (GoWebScanTileCombiner combiner, GoWebScanTileCombinerDataFx data, kPointer context)
 Sets the handler for accepting the output data from the algorithm. More...
 
kStatus GoWebScanTileCombiner_SetLaneDisabledHandler (GoWebScanTileCombiner combiner, GoWebScanTileCombinerLaneChangeFx function, kPointer receiver)
 Set handler for when lane is disabled. More...
 
kStatus GoWebScanTileCombiner_SetLaneEnabledHandler (GoWebScanTileCombiner combiner, GoWebScanTileCombinerLaneChangeFx function, kPointer receiver)
 Set handler for when lane is re-enabled. More...
 

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