Beispiel #1
0
        public override object vmethod_1(OGGClass1 class66_0, Class27 class27_0, object object_2)
        {
            OGGClass5 class49_ = class66_0.oggClass5;
            Class55   @class   = new Class55();
            Class54   class2   = @class.class54_0 = (Class54)object_2;

            @class.class27_0 = class27_0;
            @class.object_0  = new object[class2.int_0];
            @class.object_1  = new object[class2.int_0];
            @class.object_2  = new object[class2.int_0];
            @class.class50_0 = new Class50[class2.int_0];
            @class.class28_0 = new Class28[class2.int_0];
            @class.class23_0 = new Class23[class2.int_0];
            for (int i = 0; i < class2.int_0; i++)
            {
                int num  = class2.int_2[i];
                int num2 = class2.int_3[i];
                int num3 = class2.int_4[i];
                @class.class50_0[i] = Class50.class50_0[class49_.int_22[num]];
                @class.object_0[i]  = @class.class50_0[i].vmethod_1(class66_0, class27_0, class49_.object_1[num]);
                @class.class28_0[i] = Class28.class28_0[class49_.int_23[num2]];
                @class.object_1[i]  = @class.class28_0[i].vmethod_1(class66_0, class27_0, class49_.object_2[num2]);
                @class.class23_0[i] = Class23.class23_0[class49_.int_24[num3]];
                @class.object_2[i]  = @class.class23_0[i].vmethod_1(class66_0, class27_0, class49_.object_3[num3]);
            }
            if (class49_.int_20 == 0)
            {
            }
            @class.int_0 = class49_.int_8;
            return(@class);
        }
Beispiel #2
0
        public override object vmethod_1(OGGClass1 class66_0, Class27 class27_0, object object_1)
        {
            OGGClass5 class49_ = class66_0.oggClass5;
            Class36   @class   = (Class36)object_1;
            Class37   class2   = new Class37();

            class2.int_2     = @class.int_0;
            class2.int_0     = class49_.int_13[class27_0.int_0] / 2;
            class2.int_1     = @class.int_2;
            class2.class36_0 = @class;
            class2.class63_0.method_0(class2.int_1, class2.int_2);
            float num = (float)class2.int_1 / (float)Class30.smethod_0((float)((double)@class.int_1 / 2.0));

            class2.int_3 = new int[class2.int_0];
            for (int i = 0; i < class2.int_0; i++)
            {
                int num2 = (int)Math.Floor(Class30.smethod_0((float)((double)@class.int_1 / 2.0 / (double)class2.int_0 * (double)i)) * (double)num);
                if (num2 >= class2.int_1)
                {
                    num2 = class2.int_1;
                }
                class2.int_3[i] = num2;
            }
            return(class2);
        }
Beispiel #3
0
        public override object vmethod_1(OGGClass1 class66_0, Class27 class27_0, object object_0)
        {
            Class40 @class = (Class40)object_0;
            Class39 class2 = new Class39();
            int     num    = 0;
            int     num2   = 0;

            class2.class40_0 = @class;
            class2.int_0     = class27_0.int_3;
            class2.int_1     = @class.int_3;
            class2.class21_0 = class66_0.oggClass4;
            class2.class21_1 = class66_0.oggClass4[@class.int_4];
            int num3 = class2.class21_1.int_0;

            class2.int_3 = new int[class2.int_1][];
            for (int i = 0; i < class2.int_1; i++)
            {
                int num4 = Class24.smethod_2(@class.int_5[i]);
                if (num4 != 0)
                {
                    if (num4 > num2)
                    {
                        num2 = num4;
                    }
                    class2.int_3[i] = new int[num4];
                    for (int j = 0; j < num4; j++)
                    {
                        if ((@class.int_5[i] & 1 << j) != 0)
                        {
                            class2.int_3[i][j] = @class.int_6[num++];
                        }
                    }
                }
            }
            class2.int_4 = (int)Math.Round(Math.Pow((double)class2.int_1, (double)num3));
            class2.int_2 = num2;
            class2.int_5 = new int[class2.int_4][];
            for (int k = 0; k < class2.int_4; k++)
            {
                int num5 = k;
                int num6 = class2.int_4 / class2.int_1;
                class2.int_5[k] = new int[num3];
                for (int l = 0; l < num3; l++)
                {
                    int num7 = num5 / num6;
                    num5 -= num7 * num6;
                    num6 /= class2.int_1;
                    class2.int_5[k][l] = num7;
                }
            }
            return(class2);
        }
Beispiel #4
0
 private OGGStream()
 {
     this.class56_0 = new Class56();
     this.oggClass1 = new OGGClass1();
     this.oggClass6 = new OGGClass6(this.oggClass1);
 }
Beispiel #5
0
        public override int vmethod_3(OGGClass6 class71_0, object object_2)
        {
            int result;

            lock (this.object_0)
            {
                OGGClass1 class66_ = class71_0.oggClass1;
                OGGClass5 class49_ = class66_.oggClass5;
                Class55   @class   = (Class55)object_2;
                Class54   class54_ = @class.class54_0;
                Class27   class27_ = @class.class27_0;
                int       num      = class71_0.int_3 = class49_.int_13[class71_0.int_1];
                float[]   array    = class66_.float_2[class71_0.int_1][class71_0.int_0][class71_0.int_2][class27_.int_1];
                if (this.float_0 == null || this.float_0.Length < class49_.int_8)
                {
                    this.float_0  = new float[class49_.int_8][];
                    this.int_1    = new int[class49_.int_8];
                    this.int_0    = new int[class49_.int_8];
                    this.object_1 = new object[class49_.int_8];
                }
                for (int i = 0; i < class49_.int_8; i++)
                {
                    float[] array2 = class71_0.float_0[i];
                    int     num2   = class54_.int_1[i];
                    this.object_1[i] = @class.class28_0[num2].vmethod_3(class71_0, @class.object_1[num2], this.object_1[i]);
                    if (this.object_1[i] != null)
                    {
                        this.int_1[i] = 1;
                    }
                    else
                    {
                        this.int_1[i] = 0;
                    }
                    for (int j = 0; j < num / 2; j++)
                    {
                        array2[j] = 0f;
                    }
                }
                for (int k = 0; k < class54_.int_6; k++)
                {
                    if (this.int_1[class54_.int_7[k]] != 0 || this.int_1[class54_.int_8[k]] != 0)
                    {
                        this.int_1[class54_.int_7[k]] = 1;
                        this.int_1[class54_.int_8[k]] = 1;
                    }
                }
                for (int l = 0; l < class54_.int_0; l++)
                {
                    int num3 = 0;
                    for (int m = 0; m < class49_.int_8; m++)
                    {
                        if (class54_.int_1[m] == l)
                        {
                            if (this.int_1[m] != 0)
                            {
                                this.int_0[num3] = 1;
                            }
                            else
                            {
                                this.int_0[num3] = 0;
                            }
                            this.float_0[num3++] = class71_0.float_0[m];
                        }
                    }
                    @class.class23_0[l].vmethod_3(class71_0, @class.object_2[l], this.float_0, this.int_0, num3);
                }
                for (int n = class54_.int_6 - 1; n >= 0; n--)
                {
                    float[] array3 = class71_0.float_0[class54_.int_7[n]];
                    float[] array4 = class71_0.float_0[class54_.int_8[n]];
                    for (int num4 = 0; num4 < num / 2; num4++)
                    {
                        float num5 = array3[num4];
                        float num6 = array4[num4];
                        if (num5 > 0f)
                        {
                            if (num6 > 0f)
                            {
                                array3[num4] = num5;
                                array4[num4] = num5 - num6;
                            }
                            else
                            {
                                array4[num4] = num5;
                                array3[num4] = num5 + num6;
                            }
                        }
                        else if (num6 > 0f)
                        {
                            array3[num4] = num5;
                            array4[num4] = num5 + num6;
                        }
                        else
                        {
                            array4[num4] = num5;
                            array3[num4] = num5 - num6;
                        }
                    }
                }
                for (int num7 = 0; num7 < class49_.int_8; num7++)
                {
                    float[] array5 = class71_0.float_0[num7];
                    int     num8   = class54_.int_1[num7];
                    @class.class28_0[num8].vmethod_4(class71_0, @class.object_1[num8], this.object_1[num7], array5);
                }
                for (int num9 = 0; num9 < class49_.int_8; num9++)
                {
                    float[] array6 = class71_0.float_0[num9];
                    ((Class68)class66_.object_0[class71_0.int_1][0]).method_1(array6, array6);
                }
                for (int num10 = 0; num10 < class49_.int_8; num10++)
                {
                    float[] array7 = class71_0.float_0[num10];
                    if (this.int_1[num10] != 0)
                    {
                        for (int num11 = 0; num11 < num; num11++)
                        {
                            array7[num11] *= array[num11];
                        }
                    }
                    else
                    {
                        for (int num12 = 0; num12 < num; num12++)
                        {
                            array7[num12] = 0f;
                        }
                    }
                }
                result = 0;
            }
            return(result);
        }
Beispiel #6
0
        public override object vmethod_1(OGGClass1 class66_0, Class27 class27_0, object object_0)
        {
            int num = 0;

            int[]   array  = new int[Class29.int_1 + 2];
            Class31 @class = (Class31)object_0;
            Class32 class2 = new Class32();

            class2.class31_0 = @class;
            class2.int_7     = @class.int_7[1];
            for (int i = 0; i < @class.int_0; i++)
            {
                num += @class.int_2[@class.int_1[i]];
            }
            num         += 2;
            class2.int_6 = num;
            for (int j = 0; j < num; j++)
            {
                array[j] = j;
            }
            for (int k = 0; k < num - 1; k++)
            {
                for (int l = k; l < num; l++)
                {
                    if (@class.int_7[array[k]] > @class.int_7[array[l]])
                    {
                        int num2 = array[l];
                        array[l] = array[k];
                        array[k] = num2;
                    }
                }
            }
            for (int m = 0; m < num; m++)
            {
                class2.int_2[m] = array[m];
            }
            for (int n = 0; n < num; n++)
            {
                class2.int_3[class2.int_2[n]] = n;
            }
            for (int num3 = 0; num3 < num; num3++)
            {
                class2.int_1[num3] = @class.int_7[class2.int_2[num3]];
            }
            switch (@class.int_6)
            {
            case 1:
                class2.int_8 = 256;
                break;

            case 2:
                class2.int_8 = 128;
                break;

            case 3:
                class2.int_8 = 86;
                break;

            case 4:
                class2.int_8 = 64;
                break;

            default:
                class2.int_8 = -1;
                break;
            }
            for (int num4 = 0; num4 < num - 2; num4++)
            {
                int num5 = 0;
                int num6 = 1;
                int num7 = 0;
                int num8 = class2.int_7;
                int num9 = @class.int_7[num4 + 2];
                for (int num10 = 0; num10 < num4 + 2; num10++)
                {
                    int num11 = @class.int_7[num10];
                    if (num11 > num7 && num11 < num9)
                    {
                        num5 = num10;
                        num7 = num11;
                    }
                    if (num11 < num8 && num11 > num9)
                    {
                        num6 = num10;
                        num8 = num11;
                    }
                }
                class2.int_5[num4] = num5;
                class2.int_4[num4] = num6;
            }
            return(class2);
        }
Beispiel #7
0
 public abstract object vmethod_1(OGGClass1 class66_0, Class27 class27_0, object object_0);