OpenMetaverse.TerrainCompressor.IDCTColumn16 C# (CSharp) Method

IDCTColumn16() private static method

private static IDCTColumn16 ( float linein, float lineout, int column ) : void
linein float
lineout float
column int
return void
        private static void IDCTColumn16(float[] linein, float[] lineout, int column)
        {
            float total;
            int usize;

            for (int n = 0; n < 16; n++)
            {
                total = OO_SQRT2 * linein[column];

                for (int u = 1; u < 16; u++)
                {
                    usize = u * 16;
                    total += linein[usize + column] * CosineTable16[usize + n];
                }

                lineout[16 * n + column] = total;
            }
        }