Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrBodyMismatch = errors.New("body mismatch") ErrMessageMismatch = errors.New("message mismatch") )
Functions ¶
This section is empty.
Types ¶
type BlockPreamble ¶
type JpegRawImage ¶
type JpegRawImage struct { Size ltpb.Point2I Offset ltpb.Point2I Monochrome bool Lengths [4]uint32 ExtraData [1552]byte Data [][]byte SensorType ltpb.SensorType }
func (*JpegRawImage) Decode ¶
func (jpImage *JpegRawImage) Decode(data []byte) error
type LIRImagePart ¶
type LRIFile ¶
type LRIFile struct { Images []RawImageData // contains filtered or unexported fields }
type PackedRawImage ¶
type PackedRawImage struct { Size ltpb.Point2I Offset ltpb.Point2I Stride uint64 DataSize uint64 Data []uint16 }
func (*PackedRawImage) Decode ¶
func (rImg *PackedRawImage) Decode(data []byte) error
type RawImageData ¶
type RawImageData struct { Module *ltpb.CameraModule Surface *ltpb.CameraModule_Surface Content LIRImagePart }
func NewRawImage ¶
func NewRawImage(module *ltpb.CameraModule, surface *ltpb.CameraModule_Surface, data []byte) (*RawImageData, error)
Click to show internal directories.
Click to hide internal directories.