libosmogsm  0.11.0-dirty
Osmocom GSM library
src/gsm/conv_tch_afs_12_2_gen.c File Reference
#include <stdint.h>
#include <osmocom/core/conv.h>

Variables

static const uint8_t tch_afs_12_2_state [][2]
static const uint8_t tch_afs_12_2_output [][2]
static const uint8_t tch_afs_12_2_term_state []
static const uint8_t tch_afs_12_2_term_output []
static const int tch_afs_12_2_puncture []
struct osmo_conv_code gsm0503_tch_afs_12_2
 TCH/AFS 12.2 kbits convolutional code: 250 bits block, rate 1/2, punctured G0/G0 = 1 G1/G0 = 1 + D + D3 + D4 / 1 + D3 + D4.

Variable Documentation

Initial value:
 {
        .N = 2,
        .K = 5,
        .len = 250,
        .next_output = tch_afs_12_2_output,
        .next_state = tch_afs_12_2_state,
        .next_term_output = tch_afs_12_2_term_output,
        .next_term_state = tch_afs_12_2_term_state,
        .puncture = tch_afs_12_2_puncture,
}

TCH/AFS 12.2 kbits convolutional code: 250 bits block, rate 1/2, punctured G0/G0 = 1 G1/G0 = 1 + D + D3 + D4 / 1 + D3 + D4.

structure describing TCH/AFS 12.2 kbits convolutional code:.

const uint8_t tch_afs_12_2_output[][2] [static]
Initial value:
 {
        {  0,  3 },
        {  1,  2 },
        {  0,  3 },
        {  1,  2 },
        {  0,  3 },
        {  1,  2 },
        {  0,  3 },
        {  1,  2 },
        {  0,  3 },
        {  1,  2 },
        {  0,  3 },
        {  1,  2 },
        {  0,  3 },
        {  1,  2 },
        {  0,  3 },
        {  1,  2 },
}
const int tch_afs_12_2_puncture[] [static]
const uint8_t tch_afs_12_2_state[][2] [static]
Initial value:
 {
        {  0,  1 },
        {  2,  3 },
        {  4,  5 },
        {  6,  7 },
        {  9,  8 },
        { 11, 10 },
        { 13, 12 },
        { 15, 14 },
        {  1,  0 },
        {  3,  2 },
        {  5,  4 },
        {  7,  6 },
        {  8,  9 },
        { 10, 11 },
        { 12, 13 },
        { 14, 15 },
}
const uint8_t tch_afs_12_2_term_output[] [static]
Initial value:
 {
        0, 1, 0, 1, 3, 2, 3, 2, 3, 2, 3, 2, 0, 1, 0, 1, 
}
const uint8_t tch_afs_12_2_term_state[] [static]
Initial value:
 {
        0, 2, 4, 6, 8, 10, 12, 14, 0, 2, 4, 6, 8, 10, 12, 14, 
}
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines