coding_params.h 312 Bytes
Newer Older
Andreas Schmidt's avatar
Andreas Schmidt committed
1
2
3
#ifndef PRRT_CODING_PARAMS_H
#define PRRT_CODING_PARAMS_H

4
#include <pthread.h>
5
#include <stdint.h>
6

Andreas Schmidt's avatar
Andreas Schmidt committed
7
typedef struct {
8
    pthread_mutex_t lock;
Andreas Schmidt's avatar
Andreas Schmidt committed
9

10
11
12
13
    uint8_t k;
    uint8_t r;
    uint8_t n;
    uint8_t n_p;
Andreas Schmidt's avatar
Andreas Schmidt committed
14
15
} PrrtCodingParams;

16
17
void PrrtCodingParams_init(PrrtCodingParams *cpar);

Andreas Schmidt's avatar
Andreas Schmidt committed
18
#endif //PRRT_CODING_PARAMS_H
19