libosmocore 1.11.0.30-c17053.202506162026
Osmocom core library
Loading...
Searching...
No Matches
osmo_conv_code Struct Reference

structure describing a given convolutional code More...

#include <conv.h>

Data Fields

int N
 Inverse of code rate.
 
int K
 Constraint length.
 
int len
 
enum osmo_conv_term term
 Termination type.
 
const uint8_t(* next_output )[2]
 Next output array.
 
const uint8_t(* next_state )[2]
 Next state array

 
const uint8_tnext_term_output
 Flush termination output.
 
const uint8_tnext_term_state
 Flush termination state

 
const intpuncture
 Punctured bits indexes.
 

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

◆ 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

◆ term


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