[MN-dev] [mndiff]: r130 - trunk/noe/ldpc.c

michael subversion at mplayerhq.hu
Wed Nov 26 00:48:52 CET 2008


Author: michael
Date: Wed Nov 26 00:48:52 2008
New Revision: 130

Log:
Change nzc defaults again.


Modified:
   trunk/noe/ldpc.c

Modified: trunk/noe/ldpc.c
==============================================================================
--- trunk/noe/ldpc.c	(original)
+++ trunk/noe/ldpc.c	Wed Nov 26 00:48:52 2008
@@ -81,11 +81,11 @@ LDPCContext *EXT(initLDPC)(int data_len,
     int code_len= data_len + parity_len;
 
     if(nzc==0){
-        if     (parity_len < 16) nzc=3;
-        else if(parity_len < 32) nzc=4;
+        if     (parity_len < 16) nzc=4;
+        else if(parity_len < 32) nzc=5;
         else if(parity_len < 64) nzc=5;
         else if(parity_len <256) nzc=6;
-        else                     nzc=7;
+        else                     nzc=6;
     }
 
     if(nzc > MAX_NZC || nzc > parity_len)



More information about the Mndiff-dev mailing list