Lines Matching refs:j
514 s32 j; in Draw3D_Scale() local
515 for (j = 0; j < SCALE_SAMPLING_OCTAVES; j++) in Draw3D_Scale()
517 DrawBarWithColor((s16)((i * (SCALE_SAMPLING_OCTAVES + 2) + j) * 3 + 2), in Draw3D_Scale()
518 (s16)(192 - gDrawData[i * SCALE_SAMPLING_OCTAVES + j]), in Draw3D_Scale()
519 (s16)((i * (SCALE_SAMPLING_OCTAVES + 2) + j) * 3 + 5), in Draw3D_Scale()
520 (s16)192, (u32)(j + 1)); in Draw3D_Scale()
917 s32 j, index; in SetDrawData() local
923 for (j = 0; j < DRAW_STEP; j++) in SetDrawData()
943 s32 j, index; in SetDrawData() local
949 …for (j = 0; j < blockCount * DRAW_STEP && index < sizeof(smoothedPower)/sizeof(smoothedPower[0]); … in SetDrawData()
954 tmpPower /= j; in SetDrawData()
967 s32 j; in SetDrawData() local
969 for (j = 0; j < SCALE_SAMPLING_OCTAVES ; j++) in SetDrawData()
976 for (k = scaleSamplingPoints[i][j][0]; k < scaleSamplingPoints[i][j][1]; k++) in SetDrawData()
990 gDrawData[i * SCALE_SAMPLING_OCTAVES + j] = (u8)MATH_MIN(maxPower/16, 191); in SetDrawData()