SDRAngel  4.11.5
Developer docs for <a href="https://github.com/f4exb/sdrangel">SDRangel<\a>, an Open Source Qt5 / OpenGL 3.0+ SDR and signal analyzer frontend to various hardware.
Classes | Public Member Functions | Public Attributes | List of all members
TripleByteLE< qint32 > Struct Template Reference

#include <decimators.h>

Classes

union  isample
 

Public Member Functions

 operator qint32 () const
 

Public Attributes

typedef __attribute__
 
uint8_t b0
 
uint8_t b1
 
uint8_t b2
 

Detailed Description

template<>
struct TripleByteLE< qint32 >

Definition at line 291 of file decimators.h.

Member Function Documentation

◆ operator qint32()

TripleByteLE< qint32 >::operator qint32 ( ) const
inline

Definition at line 309 of file decimators.h.

References __attribute__, b0, b1, b2, isample::i, i, isample::i0, i0, isample::i1, i1, isample::i2, i2, isample::i3, i3, isample::ia, and ia.

309  {
310  isample s;
311  s.i0 = 0;
312  s.i1 = b0;
313  s.i2 = b1;
314  s.i3 = b2;
315  return s.i >> 8;
316  }
uint8_t i3
Definition: decimators.h:67
uint8_t i0
Definition: decimators.h:64
int32_t i
Definition: decimators.h:61
uint8_t i2
Definition: decimators.h:66
uint8_t i1
Definition: decimators.h:65

Member Data Documentation

◆ __attribute__

typedef TripleByteLE< qint32 >::__attribute__

◆ b0

uint8_t TripleByteLE< qint32 >::b0

Definition at line 293 of file decimators.h.

◆ b1

uint8_t TripleByteLE< qint32 >::b1

Definition at line 294 of file decimators.h.

◆ b2

uint8_t TripleByteLE< qint32 >::b2

Definition at line 295 of file decimators.h.


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