--- trunk/xvidcore/src/quant/adapt_quant.c 2002/11/25 13:38:56 676 +++ trunk/xvidcore/src/quant/adapt_quant.c 2002/11/26 23:44:11 677 @@ -51,7 +51,7 @@ * exception also makes it possible to release a modified version which * carries forward this exception. * - * $Id: adapt_quant.c,v 1.12 2002-11-17 00:41:19 edgomez Exp $ + * $Id: adapt_quant.c,v 1.13 2002-11-26 23:44:11 edgomez Exp $ * ****************************************************************************/ @@ -122,7 +122,7 @@ int min_quant, int max_quant, int mb_width, - int mb_height) // no qstride because normalization + int mb_height) /* no qstride because normalization */ { int i, j, k, l; @@ -154,12 +154,12 @@ } for (k = 0; k < mb_height; k++) { - for (l = 0; l < mb_width; l++) // do this for all macroblocks individually + for (l = 0; l < mb_width; l++) /* do this for all macroblocks individually */ { quant[k * mb_width + l] = (float) framequant; - // calculate luminance-masking - ptr = &buf[16 * k * stride + 16 * l]; // address of MB + /* calculate luminance-masking */ + ptr = &buf[16 * k * stride + 16 * l]; /* address of MB */ val[k * mb_width + l] = 0.; @@ -180,7 +180,7 @@ if (((global GlobalDarkThres)) || (mid_range < MidRangeThres)) { for (k = 0; k < mb_height; k++) { - for (l = 0; l < mb_width; l++) // do this for all macroblocks individually + for (l = 0; l < mb_width; l++) /* do this for all macroblocks individually */ { if (val[k * mb_width + l] < DarkThres) quant[k * mb_width + l] +=