亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? iccprofile.java

?? jpeg2000編解碼
?? JAVA
?? 第 1 頁 / 共 2 頁
字號:
    /** profile type */ public final static int kdwInputProfile      = ICCProfile.getInt(new String ("scnr").getBytes(), 0);    /** tag type     */ public final static int kdwDisplayProfile    = ICCProfile.getInt(new String ("mntr").getBytes(), 0);    /** tag type     */ public final static int kdwRGBData			 = ICCProfile.getInt(new String ("RGB ").getBytes(), 0);    /** tag type     */ public final static int kdwGrayData	    	 = ICCProfile.getInt(new String ("GRAY").getBytes(), 0);    /** tag type     */ public final static int kdwXYZData			 = ICCProfile.getInt(new String ("XYZ ").getBytes(), 0);    /** input type   */ public final static int kMonochromeInput	 = 0;    /** input type   */ public final static int kThreeCompInput		 = 1;    /** tag signature */ public final static int kdwGrayTRCTag		  = ICCProfile.getInt(new String ("kTRC").getBytes(), 0);    /** tag signature */ public final static int kdwRedColorantTag    = ICCProfile.getInt(new String ("rXYZ").getBytes(), 0);    /** tag signature */ public final static int kdwGreenColorantTag  = ICCProfile.getInt(new String ("gXYZ").getBytes(), 0);    /** tag signature */ public final static int kdwBlueColorantTag   = ICCProfile.getInt(new String ("bXYZ").getBytes(), 0);    /** tag signature */ public final static int kdwRedTRCTag		  = ICCProfile.getInt(new String ("rTRC").getBytes(), 0);    /** tag signature */ public final static int kdwGreenTRCTag	      = ICCProfile.getInt(new String ("gTRC").getBytes(), 0);    /** tag signature */ public final static int kdwBlueTRCTag		  = ICCProfile.getInt(new String ("bTRC").getBytes(), 0);    /** tag signature */ public final static int kdwCopyrightTag      = ICCProfile.getInt(new String ("cprt").getBytes(), 0);    /** tag signature */ public final static int kdwMediaWhiteTag     = ICCProfile.getInt(new String ("wtpt").getBytes(), 0);    /** tag signature */ public final static int kdwProfileDescTag    = ICCProfile.getInt(new String ("desc").getBytes(), 0);        private ICCProfileHeader header  = null;    private ICCTagTable      tags    = null;    private byte []          profile = null;    private int getProfileSize ()                   { return header.dwProfileSize; }    private int getCMMTypeSignature ()              { return header.dwCMMTypeSignature; }    private int getProfileClass ()                  { return header.dwProfileClass ; }    private int getColorSpaceType ()                { return header.dwColorSpaceType; }    private int getPCSType ()                       { return header.dwPCSType; }    private int getProfileSignature ()              { return header.dwProfileSignature; }    private int getPlatformSignature ()             { return header.dwPlatformSignature; }    private int getCMMFlags ()                      { return header.dwCMMFlags; }    private int getDeviceManufacturer ()            { return header.dwDeviceManufacturer; }    private int getDeviceModel ()                   { return header.dwDeviceModel; }    private int getDeviceAttributes1 ()             { return header.dwDeviceAttributes1; }    private int getDeviceAttributesReserved ()      { return header.dwDeviceAttributesReserved; }    private int getRenderingIntent ()               { return header.dwRenderingIntent; }    private int getCreatorSig ()                    { return header.dwCreatorSig; }    private ICCProfileVersion getProfileVersion ()  { return header.profileVersion; }        private void setProfileSignature (int profilesig)           { header.dwProfileSignature = profilesig; }    private void setProfileSize (int size)                      { header.dwProfileSize = size; }    private void setCMMTypeSignature (int cmmsig)               { header.dwCMMTypeSignature = cmmsig; }    private void setProfileClass (int pclass)                   { header.dwProfileClass  = pclass; }    private void setColorSpaceType (int colorspace)             { header.dwColorSpaceType = colorspace; }    private void setPCSIlluminant(XYZNumber xyz)                { header.PCSIlluminant = xyz; }    private void setPCSType (int PCStype)                       { header.dwPCSType = PCStype; }    private void setPlatformSignature (int platformsig)         { header.dwPlatformSignature = platformsig; }    private void setCMMFlags (int cmmflags)                     { header.dwCMMFlags = cmmflags; }    private void setDeviceManufacturer (int manufacturer)       { header.dwDeviceManufacturer = manufacturer; }    private void setDeviceModel (int model)                     { header.dwDeviceModel = model; }    private void setDeviceAttributes1 (int attr1)               { header.dwDeviceAttributes1 = attr1; }    private void setDeviceAttributesReserved (int attrreserved) { header.dwDeviceAttributesReserved = attrreserved; }    private void setRenderingIntent (int rendering)             { header.dwRenderingIntent = rendering; }    private void setCreatorSig (int creatorsig)                 { header.dwCreatorSig = creatorsig; }    private void setProfileVersion (ICCProfileVersion version)  { header.profileVersion = version; }    private void setDateTime (ICCDateTime datetime)             { header.dateTime = datetime; }    private byte [] data = null;    private ParameterList pl = null;    private ICCProfile () throws ICCProfileException {        throw new ICCProfileException             ("illegal to invoke empty constructor"); }    /**     * ParameterList constructor      *   @param csb provides colorspace information     */    protected ICCProfile (ColorSpace csm)         throws ColorSpaceException, ICCProfileInvalidException {        this.pl = csm.pl;        profile = csm.getICCProfile();        initProfile(profile); }    /**     * Read the header and tags into memory and verify     * that the correct type of profile is being used. for encoding.     *   @param data ICCProfile     * @exception ICCProfileInvalidException for bad signature and class and bad type     */    private void initProfile (byte [] data)         throws ICCProfileInvalidException {        header = new ICCProfileHeader (data);        tags = ICCTagTable.createInstance(data);                                // Verify that the data pointed to by icc is indeed a valid profile            // and that it is possibly of one of the Restricted ICC types. The simplest way to check            // this is to verify that the profile signature is correct, that it is an input profile,            // and that the PCS used is XYX.                    // However, a common error in profiles will be to create Monitor profiles rather            // than input profiles. If this is the only error found, it's still useful to let this          // go through with an error written to stderr.                  if (getProfileClass() == kdwDisplayProfile) {            String message =                 "NOTE!! Technically, this profile is a Display profile, not an" +                " Input Profile, and thus is not a valid Restricted ICC profile." +                " However, it is quite possible that this profile is usable as" +                " a Restricted ICC profile, so this code will ignore this state" +                " and proceed with processing.";            FacilityManager.getMsgLogger(). printmsg(MsgLogger.WARNING,message); } 	        if ((getProfileSignature() != kdwProfileSignature) ||            ((getProfileClass()    != kdwInputProfile) &&             (getProfileClass()    != kdwDisplayProfile)) ||            (getPCSType()     != kdwXYZData)) {            throw new ICCProfileInvalidException (); }}    /** Provide a suitable string representation for the class */    public String toString () {        StringBuffer rep = new StringBuffer("[ICCProfile:");        StringBuffer body = new StringBuffer();        body.append(eol).append(header);        body.append(eol).append(eol).append(tags);        rep.append(ColorSpace.indent("  ", body));        return rep.append("]").toString(); }    /**     * Create a two character hex representation of a byte     *   @param i byte to represent     * @return representation     */    public static String toHexString(byte i) {        String rep = (i>=0 && i<16 ? "0" : "") + Integer.toHexString((int)i);        if (rep.length()>2) rep = rep.substring(rep.length()-2);        return rep; }    /**     * Create a 4 character hex representation of a short     *   @param i short to represent     * @return representation     */    public static String toHexString(short i) {        String rep;        if (i>=0 && i<0x10)        rep = "000" + Integer.toHexString((int)i);        else if (i>=0 && i<0x100)  rep = "00"  + Integer.toHexString((int)i);        else if (i>=0 && i<0x1000) rep = "0"   + Integer.toHexString((int)i);        else                       rep = ""    + Integer.toHexString((int)i);        if (rep.length()>4) rep = rep.substring(rep.length()-4);        return rep; }    /**     * Create a 8 character hex representation of a int     *   @param i int to represent     * @return representation     */    public static String toHexString(int i) {        String rep;        if (i>=0 && i<0x10)                rep = "0000000" + Integer.toHexString((int)i);        else if (i>=0 && i<0x100)          rep = "000000"  + Integer.toHexString((int)i);        else if (i>=0 && i<0x1000)         rep = "00000"   + Integer.toHexString((int)i);        else if (i>=0 && i<0x10000)        rep = "0000"    + Integer.toHexString((int)i);        else if (i>=0 && i<0x100000)       rep = "000"     + Integer.toHexString((int)i);        else if (i>=0 && i<0x1000000)      rep = "00"      + Integer.toHexString((int)i);        else if (i>=0 && i<0x10000000)     rep = "0"       + Integer.toHexString((int)i);        else                               rep = ""        + Integer.toHexString((int)i);        if (rep.length()>8) rep = rep.substring(rep.length()-8);        return rep; }    public static String toString (byte [] data) {        int i, row,col,rem,rows,cols;        StringBuffer rep  = new StringBuffer();        StringBuffer rep0 = null;        StringBuffer rep1 = null;        StringBuffer rep2 = null;        cols = 16;        rows = data.length/cols;        rem  = data.length%cols;        byte [] lbytes = new byte [8];        for(row=0, i=0; row<rows; ++row) {            rep1 = new StringBuffer();            rep2 = new StringBuffer();            for (i=0;i<8;++i) lbytes[i]=0;            byte [] tbytes = Integer.toHexString (row*16).getBytes();            for (int t=0,l=lbytes.length-tbytes.length;                 t<tbytes.length;                  ++l,++t) lbytes[l] = tbytes[t];                        rep0 = new StringBuffer(new String(lbytes));            for (col=0; col<cols; ++col) {                byte b = data[i++];                rep1 .append(toHexString(b)).append(i%2 == 0 ? " " : "");                if (Character.isJavaIdentifierStart((char)b)) rep2 .append((char)b);                else rep2 .append("."); }            rep                 .append(rep0)                .append(" :  ")                .append(rep1)                .append(":  ")                .append(rep2).append(eol); }        rep1 = new StringBuffer();        rep2 = new StringBuffer();        for (i=0;i<8;++i) lbytes[i]=0;        byte [] tbytes = Integer.toHexString (row*16).getBytes();        for (int t=0,l=lbytes.length-tbytes.length;             t<tbytes.length;              ++l,++t) lbytes[l] = tbytes[t];                rep0 = new StringBuffer(new String(lbytes));        for (col=0; col<rem; ++col) {                byte b = data[i++];                rep1 .append(toHexString(b)).append(i%2 == 0 ? " " : "");                if (Character.isJavaIdentifierStart((char)b)) rep2 .append((char)b);                else rep2 .append("."); }        for (col=rem; col<16; ++col) rep1 .append("  ").append(col%2 == 0 ? " " : "");        rep             .append(rep0)            .append(" :  ")            .append(rep1)            .append(":  ")            .append(rep2).append(eol);                return rep.toString(); }    /**     * Access the profile header     * @return ICCProfileHeader     */    public ICCProfileHeader getHeader () {return header;}        /**     * Access the profile tag table     * @return ICCTagTable     */    public ICCTagTable getTagTable () {return tags;}		    /**     * Parse this ICCProfile into a RestrictedICCProfile     * which is appropriate to the data in this profile.     * Either a MonochromeInputRestrictedProfile or      * MatrixBasedRestrictedProfile is returned     * @return RestrictedICCProfile     * @exception ICCProfileInvalidException no curve data     */    public  RestrictedICCProfile parse () throws ICCProfileInvalidException {	        // The next step is to determine which Restricted ICC type is used by this profile.        // Unfortunately, the only way to do this is to look through the tag table for        // the tags required by the two types.	        // First look for the gray TRC tag. If the profile is indeed an input profile, and this        // tag exists, then the profile is a Monochrome Input profile        ICCCurveType grayTag = (ICCCurveType) tags.get(new Integer(kdwGrayTRCTag));        if (grayTag != null) {            return RestrictedICCProfile.createInstance (grayTag); }	        // If it wasn't a Monochrome Input profile, look for the Red Colorant tag. If that        // tag is found and the profile is indeed an input profile, then this profile is        // a Three-Component Matrix-Based Input profile        ICCCurveType rTRCTag = (ICCCurveType) tags.get(new Integer(kdwRedTRCTag));                if (rTRCTag != null) {            ICCCurveType gTRCTag = (ICCCurveType) tags.get(new Integer(kdwGreenTRCTag));            ICCCurveType bTRCTag = (ICCCurveType) tags.get(new Integer(kdwBlueTRCTag));            ICCXYZType rColorantTag = (ICCXYZType) tags.get(new Integer(kdwRedColorantTag));            ICCXYZType gColorantTag = (ICCXYZType) tags.get(new Integer(kdwGreenColorantTag));            ICCXYZType bColorantTag = (ICCXYZType) tags.get(new Integer(kdwBlueColorantTag));            return RestrictedICCProfile.createInstance                (rTRCTag, gTRCTag, bTRCTag, rColorantTag, gColorantTag, bColorantTag); }        throw new ICCProfileInvalidException ("curve data not found in profile"); }    /**     * Output this ICCProfile to a RandomAccessFile     *   @param os output file     */    public void write (RandomAccessFile os) throws IOException {        getHeader().write (os);        getTagTable().write (os); }        /* end class ICCProfile */ }

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
亚洲国产精品国自产拍av| 欧美高清视频一二三区| 国产三级欧美三级日产三级99 | 国产精品久久久久影视| 国产一区二区三区蝌蚪| 国产午夜亚洲精品不卡| 成人中文字幕在线| 亚洲男人的天堂av| 欧美揉bbbbb揉bbbbb| 日韩精品欧美精品| 日韩欧美国产高清| 国产精品一区久久久久| 国产精品久久久久久久久搜平片 | 成人av在线网站| 亚洲黄色av一区| 欧美日韩久久久| 男男成人高潮片免费网站| 精品88久久久久88久久久| 国产91清纯白嫩初高中在线观看| 中文字幕第一页久久| 91丝袜美女网| 人人精品人人爱| 精品国产三级a在线观看| 国产成人aaa| 亚洲精品五月天| 日韩欧美精品在线视频| 高清国产午夜精品久久久久久| 国产精品久久久久久久久动漫| 在线观看一区二区视频| 免费久久精品视频| 国产精品女同互慰在线看 | 99在线热播精品免费| 玉米视频成人免费看| 日韩欧美中文字幕制服| 播五月开心婷婷综合| 天天操天天综合网| 国产精品亲子乱子伦xxxx裸| 91福利资源站| 国产精品综合一区二区三区| 一区二区三区在线看| 精品久久久久一区二区国产| 91尤物视频在线观看| 久久国产免费看| 亚洲精品久久久久久国产精华液| 精品三级av在线| 91精品福利视频| 国产成人一级电影| 日本亚洲最大的色成网站www| 国产精品毛片久久久久久久| 91精品欧美综合在线观看最新 | 久久久精品人体av艺术| 欧美日韩国产精品自在自线| jlzzjlzz亚洲女人18| 日韩电影在线一区二区三区| 日韩美女视频一区| 26uuu亚洲综合色| 欧美精品v日韩精品v韩国精品v| 成人精品免费网站| 激情图片小说一区| 欧美aa在线视频| 亚洲chinese男男1069| 亚洲欧美日韩国产成人精品影院| 久久久久久久久久久电影| 制服.丝袜.亚洲.中文.综合| 一本高清dvd不卡在线观看| 国产福利一区二区三区| 蜜臀av性久久久久蜜臀aⅴ流畅| 一二三区精品福利视频| 国产精品卡一卡二卡三| 久久蜜臀中文字幕| 精品免费国产一区二区三区四区| 欧美日韩一区二区三区四区| 色悠悠亚洲一区二区| av电影在线观看一区| 丁香桃色午夜亚洲一区二区三区| 国产做a爰片久久毛片| 免费成人性网站| 日韩 欧美一区二区三区| 国产一二精品视频| 日韩成人av影视| 亚洲在线免费播放| 亚洲午夜精品网| 亚洲免费av网站| 亚洲免费在线视频| 亚洲狼人国产精品| 亚洲综合免费观看高清完整版| 一区二区三区蜜桃| 亚洲自拍偷拍麻豆| 亚洲大片在线观看| 亚洲mv在线观看| 日韩成人精品在线| 国产自产v一区二区三区c| 国内精品在线播放| 国产不卡视频一区二区三区| 成人免费的视频| 91亚洲精品久久久蜜桃| 一本色道久久加勒比精品 | 国产精品视频一二三区| 国产精品免费视频观看| 亚洲欧美日韩国产综合| 亚洲尤物视频在线| 日本中文字幕一区二区视频| 美女视频网站久久| 风间由美性色一区二区三区| 不卡视频一二三| 精品视频1区2区| 精品少妇一区二区三区免费观看 | 国产经典欧美精品| 99国产精品久久久久久久久久| 色噜噜狠狠成人中文综合| 欧美视频中文字幕| 欧美不卡一区二区三区四区| 久久久久国产一区二区三区四区 | 亚洲丶国产丶欧美一区二区三区| 热久久国产精品| 国产精品自拍在线| 91网址在线看| 日韩丝袜情趣美女图片| 国产精品影视在线观看| 夜夜爽夜夜爽精品视频| 久久精品国产秦先生| 成人18精品视频| 欧美日韩电影在线播放| 久久久久国产免费免费| 亚洲精品成人悠悠色影视| 老司机精品视频导航| caoporn国产一区二区| 欧美日韩高清一区二区不卡| 久久网站热最新地址| 亚洲一区在线看| 国产美女娇喘av呻吟久久| 91美女精品福利| 欧美刺激脚交jootjob| 亚洲四区在线观看| 蜜桃视频在线观看一区二区| yourporn久久国产精品| 91精品国产综合久久久久久漫画| 国产欧美日本一区视频| 丝袜亚洲另类欧美| 99久久精品一区二区| 精品国产乱码久久久久久浪潮| 亚洲激情网站免费观看| 国产精品亚洲午夜一区二区三区| 欧美日韩中文字幕一区二区| 欧美国产精品一区二区三区| 日本成人中文字幕在线视频 | 国产丶欧美丶日本不卡视频| 欧美亚州韩日在线看免费版国语版| 久久久影院官网| 日韩国产精品久久| 在线视频国内自拍亚洲视频| 国产日韩成人精品| 狠狠v欧美v日韩v亚洲ⅴ| 欧美日韩亚州综合| 亚洲欧美日韩在线| 成人app网站| 国产亚洲欧美激情| 精品一区二区久久| 欧美人与禽zozo性伦| 亚洲欧美成aⅴ人在线观看 | 丁香激情综合五月| 2014亚洲片线观看视频免费| 日韩经典中文字幕一区| 欧美日韩一区 二区 三区 久久精品| 国产精品久久久一本精品| 国产传媒一区在线| 精品女同一区二区| 精品午夜一区二区三区在线观看| 538在线一区二区精品国产| 亚洲国产精品视频| 欧美色倩网站大全免费| 亚洲在线视频一区| 在线观看日韩国产| 一区二区三区在线观看国产| 99精品视频在线观看| 亚洲欧洲日产国产综合网| av亚洲产国偷v产偷v自拍| 国产精品毛片高清在线完整版| 国产成人免费视频网站高清观看视频 | 亚洲制服丝袜一区| 欧美在线不卡视频| 亚洲国产精品麻豆| 制服丝袜av成人在线看| 美女精品自拍一二三四| 精品日韩欧美在线| 国产精品一区二区在线观看网站| 久久久久久久久久久久久夜| 国产成人av一区二区| 国产精品美女久久久久久久久| av成人老司机| 亚洲精品成a人| 欧美综合亚洲图片综合区| 亚洲aaa精品| 精品日韩99亚洲| www.亚洲色图| 亚洲一区二区视频在线| 日韩欧美视频在线| 成人深夜福利app| 亚洲综合在线视频| 日韩欧美黄色影院|