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.
|
Public Member Functions | |
g722_encode_state () | |
void | init (int rate, int options) |
Public Attributes | |
int | itu_test_mode |
int | packed |
int | eight_k |
int | bits_per_sample |
int | x [24] |
struct { | |
int s | |
int sp | |
int sz | |
int r [3] | |
int a [3] | |
int ap [3] | |
int p [3] | |
int d [7] | |
int b [7] | |
int bp [7] | |
int sg [7] | |
int nb | |
int det | |
} | band [2] |
unsigned int | in_buffer |
int | in_bits |
unsigned int | out_buffer |
int | out_bits |
Definition at line 34 of file audiog722.h.
AudioG722::g722_encode_state::g722_encode_state | ( | ) |
Definition at line 83 of file audiog722.cpp.
References init().
void AudioG722::g722_encode_state::init | ( | int | rate, |
int | options | ||
) |
Definition at line 88 of file audiog722.cpp.
References band, bits_per_sample, eight_k, G722_PACKED, G722_SAMPLE_RATE_8000, in_bits, in_buffer, itu_test_mode, out_bits, out_buffer, packed, and x.
Referenced by g722_encode_state(), and AudioG722::init().
int AudioG722::g722_encode_state::a[3] |
Definition at line 55 of file audiog722.h.
Referenced by AudioG722::block4().
int AudioG722::g722_encode_state::ap[3] |
Definition at line 56 of file audiog722.h.
Referenced by AudioG722::block4().
int AudioG722::g722_encode_state::b[7] |
Definition at line 59 of file audiog722.h.
Referenced by AudioG722::block4().
struct { ... } AudioG722::g722_encode_state::band[2] |
Referenced by AudioG722::block4(), AudioG722::encode(), and init().
int AudioG722::g722_encode_state::bits_per_sample |
6 for 48000kbps, 7 for 56000kbps, or 8 for 64000kbps.
Definition at line 44 of file audiog722.h.
Referenced by AudioG722::encode(), and init().
int AudioG722::g722_encode_state::bp[7] |
Definition at line 60 of file audiog722.h.
Referenced by AudioG722::block4().
int AudioG722::g722_encode_state::d[7] |
Definition at line 58 of file audiog722.h.
Referenced by AudioG722::block4().
int AudioG722::g722_encode_state::det |
Definition at line 63 of file audiog722.h.
Referenced by AudioG722::encode().
int AudioG722::g722_encode_state::eight_k |
TRUE if encode from 8k samples/second
Definition at line 42 of file audiog722.h.
Referenced by AudioG722::encode(), and init().
int AudioG722::g722_encode_state::in_bits |
Definition at line 67 of file audiog722.h.
Referenced by init().
unsigned int AudioG722::g722_encode_state::in_buffer |
Definition at line 66 of file audiog722.h.
Referenced by init().
int AudioG722::g722_encode_state::itu_test_mode |
TRUE if the operating in the special ITU test mode, with the band split filters disabled.
Definition at line 38 of file audiog722.h.
Referenced by AudioG722::encode(), and init().
int AudioG722::g722_encode_state::nb |
Definition at line 62 of file audiog722.h.
Referenced by AudioG722::encode().
int AudioG722::g722_encode_state::out_bits |
Definition at line 69 of file audiog722.h.
Referenced by AudioG722::encode(), and init().
unsigned int AudioG722::g722_encode_state::out_buffer |
Definition at line 68 of file audiog722.h.
Referenced by AudioG722::encode(), and init().
int AudioG722::g722_encode_state::p[3] |
Definition at line 57 of file audiog722.h.
Referenced by AudioG722::block4().
int AudioG722::g722_encode_state::packed |
TRUE if the G.722 data is packed
Definition at line 40 of file audiog722.h.
Referenced by AudioG722::encode(), and init().
int AudioG722::g722_encode_state::r[3] |
Definition at line 54 of file audiog722.h.
Referenced by AudioG722::block4().
int AudioG722::g722_encode_state::s |
Definition at line 51 of file audiog722.h.
Referenced by AudioG722::block4(), and AudioG722::encode().
int AudioG722::g722_encode_state::sg[7] |
Definition at line 61 of file audiog722.h.
Referenced by AudioG722::block4().
int AudioG722::g722_encode_state::sp |
Definition at line 52 of file audiog722.h.
Referenced by AudioG722::block4().
int AudioG722::g722_encode_state::sz |
Definition at line 53 of file audiog722.h.
Referenced by AudioG722::block4().
int AudioG722::g722_encode_state::x[24] |
Signal history for the QMF
Definition at line 47 of file audiog722.h.
Referenced by AudioG722::encode(), and init().