Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
lamphamsy committed Sep 7, 2018
1 parent ae62a24 commit 8f3fb3b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/fec_vectorisation.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ void RsFnt<uint16_t>::encode_post_process(
{
size_t size = this->pkt_size;
uint16_t threshold = this->gf->card_minus_one();
unsigned code_len = this->code_len;
unsigned code_len = this->n_outputs;

// number of elements per vector register
unsigned vec_size = ALIGN_SIZE / sizeof(uint16_t);
Expand Down Expand Up @@ -82,7 +82,7 @@ void RsFnt<uint32_t>::encode_post_process(
{
const size_t size = this->pkt_size;
const uint32_t threshold = this->gf->card_minus_one();
const unsigned code_len = this->code_len;
const unsigned code_len = this->n_outputs;

// number of elements per vector register
const unsigned vec_size = ALIGN_SIZE / sizeof(uint32_t);
Expand Down
2 changes: 2 additions & 0 deletions src/simd.h
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@

#ifdef QUADIRON_USE_SIMD

#include "property.h"

const unsigned F4 = 65537;
const unsigned F3 = 257;

Expand Down

0 comments on commit 8f3fb3b

Please sign in to comment.