GNU Radio's SATELLITES Package
descrambler308_impl.h
Go to the documentation of this file.
1 /* -*- c++ -*- */
2 /*
3  * Copyright 2018 Daniel Estevez <daniel@destevez.net>
4  *
5  * This file is part of gr-satellites
6  *
7  * SPDX-License-Identifier: GPL-3.0-or-later
8  *
9  */
10 
11 #ifndef INCLUDED_SATELLITES_DESCRAMBLER308_IMPL_H
12 #define INCLUDED_SATELLITES_DESCRAMBLER308_IMPL_H
13 
14 #include <stdint.h>
15 
17 
18 namespace gr {
19 namespace satellites {
20 
22 {
23 private:
24  uint32_t d_counter;
25  uint32_t d_shift_register;
26  unsigned char d_scramble_bit(unsigned char inbit);
27 
28 public:
31 
32  // Where all the action really happens
33  int work(int noutput_items,
34  gr_vector_const_void_star& input_items,
35  gr_vector_void_star& output_items);
36 };
37 
38 } // namespace satellites
39 } // namespace gr
40 
41 #endif /* INCLUDED_SATELLITES_DESCRAMBLER308_IMPL_H */
Definition: descrambler308_impl.h:22
int work(int noutput_items, gr_vector_const_void_star &input_items, gr_vector_void_star &output_items)
<+description of block+>
Definition: descrambler308.h:26
Definition: ax100_decode.h:17