ARX  1.2.0
The next-generation open source augmented reality toolkit.
Loading...
Searching...
No Matches
matrixCode.c File Reference
#include "matrixCode.h"
#include <stdbool.h>
Include dependency graph for matrixCode.c:

Functions

int encode_bch (int length, int k, const int *g, uint64_t number, uint8_t **out_bits_p)
 Caller must free out_bits_p; Returns length of *out_bits_p.
int encodeMatrixCode (const AR_MATRIX_CODE_TYPE matrixCodeType, uint64_t in, uint8_t **out_bits_p)
 Caller must free out_bits_p; Returns length of *out_bits_p.

Function Documentation

◆ encode_bch()

int encode_bch ( int length,
int k,
const int * g,
uint64_t number,
uint8_t ** out_bits_p )

Caller must free out_bits_p; Returns length of *out_bits_p.

Here is the call graph for this function:

◆ encodeMatrixCode()

int encodeMatrixCode ( const AR_MATRIX_CODE_TYPE matrixCodeType,
uint64_t in,
uint8_t ** out_bits_p )

Caller must free out_bits_p; Returns length of *out_bits_p.

Here is the call graph for this function: