libosmocore 1.9.0.196-9975
Osmocom core library
osmo_conv_code Struct Reference

structure describing a given convolutional code More...

#include <conv.h>

Data Fields

int N
 Inverse of code rate. More...
 
int K
 Constraint length. More...
 
int len
 
enum osmo_conv_term term
 Termination type. More...
 
const uint8_t(* next_output )[2]
 Next output array. More...
 
const uint8_t(* next_state )[2]
 Next state array
More...
 
const uint8_t * next_term_output
 Flush termination output. More...
 
const uint8_t * next_term_state
 Flush termination state
More...
 
const int * puncture
 Punctured bits indexes. More...
 

Detailed Description

structure describing a given convolutional code

The only required fields are N,K and the next_output/next_state arrays. The other can be left to default value of zero depending on what the code does. If 'len' is left at 0 then only the low level API can be used.

Field Documentation

◆ K

◆ len

◆ N

◆ next_output

◆ next_state

const uint8_t(* osmo_conv_code::next_state)[2]

◆ next_term_output

const uint8_t* osmo_conv_code::next_term_output

◆ next_term_state

const uint8_t* osmo_conv_code::next_term_state

Flush termination state

Referenced by osmo_conv_decode_flush(), and osmo_conv_encode_flush().

◆ puncture

const int* osmo_conv_code::puncture

◆ term


The documentation for this struct was generated from the following file: