review comments

This commit is contained in:
Laurent THOMAS
2022-04-11 19:29:45 +02:00
parent 95a58d646a
commit 4ad71064b8
8 changed files with 31 additions and 72 deletions
+3 -5
View File
@@ -313,14 +313,12 @@ void nr_deinterleaving_ldpc(uint32_t E, uint8_t Qm, int16_t *e,int16_t *f)
switch(Qm) {
case 2:
{
AssertFatal(E%4==0,"");
AssertFatal(E%2==0,"");
int16_t *e1=e+(E/2);
int16_t *end=f+E-3;
int16_t *end=f+E-1;
while( f<end ){
*e++ = *f++;
*e1++ = *f++;
*e++ = *f++;
*e1++ = *f++;
}
}
break;
@@ -360,7 +358,7 @@ void nr_deinterleaving_ldpc(uint32_t E, uint8_t Qm, int16_t *e,int16_t *f)
break;
case 8:
{
AssertFatal(E%8==0,"zob");
AssertFatal(E%8==0,"");
int16_t *e1=e+(E/8);
int16_t *e2=e1+(E/8);
int16_t *e3=e2+(E/8);
@@ -390,7 +390,7 @@ void nr_processDLSegment(void* arg) {
no_iteration_ldpc = nrLDPC_decoder(p_decoderParms,
(int8_t *)&pl[0],
llrProcBuf,
p_procTime);
&procTime);
//VCD_SIGNAL_DUMPER_DUMP_FUNCTION_BY_NAME(VCD_SIGNAL_DUMPER_FUNCTIONS_DLSCH_LDPC, VCD_FUNCTION_OUT);
// Fixme: correct type is unsigned, but nrLDPC_decoder and all called behind use signed int