coding_params.c 257 Bytes
Newer Older
Andreas Schmidt's avatar
Andreas Schmidt committed
1
#include "coding_params.h"
2
3
4
5
6
7
8
9
10
11
#include "../defines.h"

void PrrtCodingParams_init(PrrtCodingParams *cpar) {
    pthread_mutex_init(&cpar->lock, NULL);

    cpar->k = K_START;
    cpar->n = N_START;
    cpar->r = cpar->n - cpar->k;
    cpar->n_p = N_P_START;
}