GNU Radio's M17 Package
codec2_encoder_impl.h
Go to the documentation of this file.
1/* -*- c++ -*- */
2/*
3 * Copyright 2026 wkaczmarski.
4 *
5 * SPDX-License-Identifier: GPL-3.0-or-later
6 */
7
8#ifndef INCLUDED_M17_CODEC2_ENCODER_IMPL_H
9#define INCLUDED_M17_CODEC2_ENCODER_IMPL_H
10
11#include <atomic>
13
14#ifdef __cplusplus
15 #define _Static_assert(cond, msg) static_assert(cond, msg)
16#endif
17
18#include "../codec2-mod/inc/codec2_mod.h"
19
20#ifdef __cplusplus
21 #undef _Static_assert
22#endif
23
24namespace gr
25{
26 namespace m17
27 {
28
30 {
31 private:
33
34 void reset(const pmt::pmt_t &msg);
35 void init_state(void);
36
37 public:
40
41 // Where all the action really happens
42 void forecast(int noutput_items,
43 gr_vector_int &ninput_items_required);
44
45 int general_work(int noutput_items,
46 gr_vector_int &ninput_items,
47 gr_vector_const_void_star &input_items,
48 gr_vector_void_star &output_items);
49 };
50
51 } // namespace m17
52} // namespace gr
53
54#endif /* INCLUDED_M17_CODEC2_ENCODER_IMPL_H */
int general_work(int noutput_items, gr_vector_int &ninput_items, gr_vector_const_void_star &input_items, gr_vector_void_star &output_items)
void forecast(int noutput_items, gr_vector_int &ninput_items_required)
<+description of block+>
Definition codec2_encoder.h:25
Definition codec2_decoder.h:17
Definition codec2_decoder.h:15
Definition codec2_internal.h:128