CSJ2K.J2kImage.GetDefaultEncoderParameterList C# (CSharp) Method

GetDefaultEncoderParameterList() public static method

public static GetDefaultEncoderParameterList ( string pinfo ) : CSJ2K.j2k.util.ParameterList
pinfo string
return CSJ2K.j2k.util.ParameterList
        public static ParameterList GetDefaultEncoderParameterList(string[][] pinfo)
        {
            ParameterList pl = new ParameterList();
            string[][] str;

            str = pinfo ?? encoder_pinfo;
            if (str != null) for (int i = str.Length - 1; i >= 0; i--) pl[str[i][0]] = str[i][3];

            str = ForwCompTransf.ParameterInfo;
            if (str != null) for (int i = str.Length - 1; i >= 0; i--) pl[str[i][0]] = str[i][3];

            str = AnWTFilter.ParameterInfo;
            if (str != null) for (int i = str.Length - 1; i >= 0; i--) pl[str[i][0]] = str[i][3];

            str = ForwardWT.ParameterInfo;
            if (str != null) for (int i = str.Length - 1; i >= 0; i--) pl[str[i][0]] = str[i][3];

            str = Quantizer.ParameterInfo;
            if (str != null) for (int i = str.Length - 1; i >= 0; i--) pl[str[i][0]] = str[i][3];

            str = ROIScaler.ParameterInfo;
            if (str != null) for (int i = str.Length - 1; i >= 0; i--) pl[str[i][0]] = str[i][3];

            str = EntropyCoder.ParameterInfo;
            if (str != null) for (int i = str.Length - 1; i >= 0; i--) pl[str[i][0]] = str[i][3];

            str = HeaderEncoder.ParameterInfo;
            if (str != null) for (int i = str.Length - 1; i >= 0; i--) pl[str[i][0]] = str[i][3];

            str = PostCompRateAllocator.ParameterInfo;
            if (str != null) for (int i = str.Length - 1; i >= 0; i--) pl[str[i][0]] = str[i][3];

            str = PktEncoder.ParameterInfo;
            if (str != null) for (int i = str.Length - 1; i >= 0; i--) pl[str[i][0]] = str[i][3];

            return pl;
        }