mirror of
https://github.com/f4exb/sdrangel.git
synced 2026-06-04 15:04:38 -04:00
Rewriting of copyright notices for plugins/channeltx. Part of #1893
This commit is contained in:
@@ -1,22 +1,38 @@
|
||||
///////////////////////////////////////////////////////////////////////////////////////
|
||||
// Copyright (C) 2021 Jon Beniston, M7RCE <jon@beniston.com> //
|
||||
// //
|
||||
// This program is free software; you can redistribute it and/or modify //
|
||||
// it under the terms of the GNU General Public License as published by //
|
||||
// the Free Software Foundation as version 3 of the License, or //
|
||||
// (at your option) any later version. //
|
||||
// //
|
||||
// This program is distributed in the hope that it will be useful, //
|
||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of //
|
||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the //
|
||||
// GNU General Public License V3 for more details. //
|
||||
// //
|
||||
// You should have received a copy of the GNU General Public License //
|
||||
// along with this program. If not, see <http://www.gnu.org/licenses/>. //
|
||||
///////////////////////////////////////////////////////////////////////////////////////
|
||||
#include "memory.h"
|
||||
#include "DVB2.h"
|
||||
|
||||
/*
|
||||
for( int row = 0; row < rows; row++ )
|
||||
{
|
||||
for( int n = 0; n < 360; n++ )
|
||||
{
|
||||
for( int col = 1; col <= table_name[row][0]; col++ )
|
||||
{
|
||||
// parity bit location, position from start of block
|
||||
m_ldpc_encode.p[index] = m_format.kldpc + (table_name[row][col] + (n*m_format.q_val))%pbits;
|
||||
// data bit to be accumulated
|
||||
m_ldpc_encode.d[index] = im;
|
||||
index++;
|
||||
}
|
||||
im++;
|
||||
}
|
||||
}
|
||||
for( int row = 0; row < rows; row++ )
|
||||
{
|
||||
for( int n = 0; n < 360; n++ )
|
||||
{
|
||||
for( int col = 1; col <= table_name[row][0]; col++ )
|
||||
{
|
||||
// parity bit location, position from start of block
|
||||
m_ldpc_encode.p[index] = m_format.kldpc + (table_name[row][col] + (n*m_format.q_val))%pbits;
|
||||
// data bit to be accumulated
|
||||
m_ldpc_encode.d[index] = im;
|
||||
index++;
|
||||
}
|
||||
im++;
|
||||
}
|
||||
}
|
||||
*/
|
||||
|
||||
#define LDPC_BF( TABLE_NAME, ROWS ) \
|
||||
@@ -32,7 +48,7 @@ for( int row = 0; row < ROWS; row++ ) \
|
||||
} \
|
||||
im++; \
|
||||
} \
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user