Crate adder_codec_core

Source
Expand description

§adder-codec-core

The core types and utilities for encoding and decoding ADΔER events

Re-exports§

pub use bitstream_io;

Modules§

codec
Expose public API for encoding and decoding

Structs§

Coord
Pixel channel address in the ADΔER model
CoordSingle
A 2D coordinate representation
Event
An ADΔER event representation
EventCoordless
An ADΔER event representation
EventCoordlessRelative
EventRelative
EventSingle
An ADΔER event representation, without the channel component
PlaneSize
The size of the image plane in pixels

Enums§

Mode
PixelMultiMode
PlaneError
Error type for the PlaneSize struct
SourceCamera
SourceType
The type of data source representation
TimeMode
The type of time used in the ADΔER representation

Constants§

D_EMPTY
Special symbol signifying no information (filler dt)
D_MAX
The maximum possible D value
D_NO_EVENT
Special symbol signifying no Event exists
D_SHIFT
Array for computing the intensity to integrate for a given D value
D_SHIFT_F32
Array for computing the intensity to integrate for a given D value
D_SHIFT_F64
Array for computing the intensity to integrate for a given D value
D_START
The default D value for every pixel at the beginning of transcode
D_ZERO_INTEGRATION
Special symbol signifying no information (filler dt)
EOF_PX_ADDRESS
Special pixel address when signifying the end of a sequence of Events
MAX_INTENSITY
The maximum intensity representation for input data. Currently 255 for 8-bit framed input.

Functions§

is_framed
Is the given source camera a framed source?
open_file_decoder
Helper function for opening a file as a raw or compressed input ADΔER stream

Type Aliases§

AbsoluteT
Absolute firing time (in ticks) of an event. For a given pixel, this will always be grater than or equal to that of the pixel’s last fired event.
BigT
Large count of ticks (e.g., for tracking the running timestamp of a sequence of Events
D
Decimation value; a pixel’s sensitivity.
DeltaT
Number of ticks elapsed since a given pixel last fired an Event
Intensity
Measure of an amount of light intensity
PixelAddress
Pixel x- or y- coordinate address in the ADΔER model
UDshift
Precision for maximum intensity representable with allowed D values