UltraGrid
UltraGrid Low-Latency High-Resolution Transmission System
Loading...
Searching...
No Matches
ldpc-matrix.h
Go to the documentation of this file.
1/*
2 * =====================================================================================
3 *
4 * Filename: ldpc-matrix.h
5 *
6 * Description: Generates LDPC Staircase matrix
7 *
8 * Version: 1.0
9 * Created: 04/14/2012 10:50:43 PM
10 * Revision: none
11 * Compiler: gcc
12 *
13 * Author: Milan Kabat (), kabat@ics.muni.cz
14 * Company: FI MUNI
15 *
16 * =====================================================================================
17 */
18
19#define LDGM_MAX_K 8192
20
21/* Returns a pseudorandom number between 0 and bound-1 */
22long unsigned int pmms_rand ( int bound );
23
24/* Computes degree of a given row of the given matrix */
25int degree_of_row ( char **matrix, int row, int column_num );
26
27void left_matrix_init ( char **matrix, int k, int n, int N1, int seed );
28
29void right_matrix_staircase_init ( char **matrix, int k, int n );
long unsigned int pmms_rand(int bound)
void right_matrix_staircase_init(char **matrix, int k, int n)
int degree_of_row(char **matrix, int row, int column_num)
void left_matrix_init(char **matrix, int k, int n, int N1, int seed)