55 #ifndef GNSS_SDR_UNPACK_2BIT_SAMPLES_H 56 #define GNSS_SDR_UNPACK_2BIT_SAMPLES_H 59 #include <gnuradio/sync_interpolator.h> 71 using unpack_2bit_samples_sptr = gnss_shared_ptr<unpack_2bit_samples>;
73 unpack_2bit_samples_sptr make_unpack_2bit_samples(
74 bool big_endian_bytes,
76 bool big_endian_items,
77 bool reverse_interleaving =
false);
91 bool big_endian_items,
92 bool reverse_interleaving);
94 int work(
int noutput_items,
95 gr_vector_const_void_star &input_items,
96 gr_vector_void_star &output_items);
99 friend unpack_2bit_samples_sptr make_unpack_2bit_samples_sptr(
100 bool big_endian_bytes,
102 bool big_endian_items,
103 bool reverse_interleaving);
105 std::vector<int8_t> work_buffer_;
107 bool big_endian_bytes_;
108 bool big_endian_items_;
109 bool swap_endian_items_;
110 bool swap_endian_bytes_;
111 bool reverse_interleaving_;
117 #endif // GNSS_SDR_UNPACK_2BIT_SAMPLES_H This interface represents a GNSS block.
This class takes 2 bit samples that have been packed into bytes or shorts as input and generates a by...