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

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

?? stringspec.java

?? jpeg2000算法實現
?? JAVA
字號:
/*  * CVS identifier: *  * $Id: StringSpec.java,v 1.17 2000/11/30 13:14:07 grosbois Exp $ *  * Class:                   StringSpec *  * Description:             String specification for an option *  *  *  * COPYRIGHT: *  * This software module was originally developed by Rapha雔 Grosbois and * Diego Santa Cruz (Swiss Federal Institute of Technology-EPFL); Joel * Askel鰂 (Ericsson Radio Systems AB); and Bertrand Berthelot, David * Bouchard, F閘ix Henry, Gerard Mozelle and Patrice Onno (Canon Research * Centre France S.A) in the course of development of the JPEG2000 * standard as specified by ISO/IEC 15444 (JPEG 2000 Standard). This * software module is an implementation of a part of the JPEG 2000 * Standard. Swiss Federal Institute of Technology-EPFL, Ericsson Radio * Systems AB and Canon Research Centre France S.A (collectively JJ2000 * Partners) agree not to assert against ISO/IEC and users of the JPEG * 2000 Standard (Users) any of their rights under the copyright, not * including other intellectual property rights, for this software module * with respect to the usage by ISO/IEC and Users of this software module * or modifications thereof for use in hardware or software products * claiming conformance to the JPEG 2000 Standard. Those intending to use * this software module in hardware or software products are advised that * their use may infringe existing patents. The original developers of * this software module, JJ2000 Partners and ISO/IEC assume no liability * for use of this software module or modifications thereof. No license * or right to this software module is granted for non JPEG 2000 Standard * conforming products. JJ2000 Partners have full right to use this * software module for his/her own purpose, assign or donate this * software module to any third party and to inhibit third parties from * using this software module for non JPEG 2000 Standard conforming * products. This copyright notice must be included in all copies or * derivative works of this software module. *  * Copyright (c) 1999/2000 JJ2000 Partners. * */package jj2000.j2k;import jj2000.j2k.util.*;import jj2000.j2k.*;import java.util.*;/** * This class extends ModuleSpec class in order to hold tile-component * specifications using Strings. * * @see ModuleSpec * */public class StringSpec extends ModuleSpec{        /**      * Constructs an empty 'StringSpec' with specified number of     * tile and components. This constructor is called by the decoder.     *     * @param nt Number of tiles     *     * @param nc Number of components     *     * @param type the type of the specification module i.e. tile specific,     * component specific or both.     * */    public StringSpec(int nt, int nc, byte type){	super(nt, nc, type);    }    /**     * Constructs a new 'StringSpec' for the specified number of     * components:tiles and the arguments of <tt>optName</tt>     * option. This constructor is called by the encoder. It also     * checks that the arguments belongs to the recognized arguments     * list.     *     * <P><u>Note:</u> The arguments must not start with 't' or 'c'     * since it is reserved for respectively tile and components     * indexes specification.     *     * @param nt The number of tiles     *     * @param nc The number of components     *     * @param type the type of the specification module i.e. tile specific,     * component specific or both.     *     * @param name of the option using boolean spec.     *     * @param list The list of all recognized argument in a String array     *     * @param pl The ParameterList     * */    public StringSpec(int nt, int nc, byte type, String optName,                       String[] list,ParameterList pl){        super(nt,nc,type);	String param = pl.getParameter(optName);        boolean recognized = false;	if(param==null){            param = pl.getDefaultParameterList().getParameter(optName);            for(int i=list.length-1; i>=0; i--)                if(param.equalsIgnoreCase(list[i]))                    recognized = true;            if(!recognized)                throw new IllegalArgumentException("Default parameter of "+                                                   "option -"+optName+" not"+                                                   " recognized: "+param);            setDefault(param);            return;	}	// Parse argument	StringTokenizer stk = new StringTokenizer(param);	String word; // current word	byte curSpecType = SPEC_DEF; // Specification type of the	// current parameter	boolean[] tileSpec = null; // Tiles concerned by the        // specification	boolean[] compSpec = null; // Components concerned by the specification        Boolean value;		while(stk.hasMoreTokens()){	    word = stk.nextToken();	  	    switch(word.charAt(0)){	    case 't': // Tiles specification 		tileSpec = parseIdx(word,nTiles);		if(curSpecType==SPEC_COMP_DEF){		    curSpecType = SPEC_TILE_COMP;		}		else{		    curSpecType = SPEC_TILE_DEF;		} 		break;	    case 'c': // Components specification		compSpec = parseIdx(word,nComp);		if(curSpecType==SPEC_TILE_DEF){		    curSpecType = SPEC_TILE_COMP;		}		else		    curSpecType = SPEC_COMP_DEF;		break;            default:                recognized = false;                                for(int i=list.length-1; i>=0; i--)                    if(word.equalsIgnoreCase(list[i]))                        recognized = true;                if(!recognized)                    throw new IllegalArgumentException("Default parameter of "+                                                       "option -"+optName+" not"+                                                       " recognized: "+word);		if(curSpecType==SPEC_DEF){		    setDefault(word);		}		else if(curSpecType==SPEC_TILE_DEF){		    for(int i=tileSpec.length-1; i>=0; i--)			if(tileSpec[i]){			    setTileDef(i,word);                        }		}		else if(curSpecType==SPEC_COMP_DEF){		    for(int i=compSpec.length-1; i>=0; i--)			if(compSpec[i]){			    setCompDef(i,word);                        }		}		else{		    for(int i=tileSpec.length-1; i>=0; i--){			for(int j=compSpec.length-1; j>=0 ; j--){			    if(tileSpec[i] && compSpec[j]){				setTileCompVal(i,j,word);                            }			}		    }		}		// Re-initialize		curSpecType = SPEC_DEF;		tileSpec = null;		compSpec = null;		break;	    }	}        // Check that default value has been specified        if(getDefault()==null){            int ndefspec = 0;            for(int t=nt-1; t>=0; t--){                for(int c=nc-1; c>=0 ; c--){                    if(specValType[t][c] == SPEC_DEF){                        ndefspec++;                    }                }            }                        // If some tile-component have received no specification, it takes            // the default value defined in ParameterList            if(ndefspec!=0){                param = pl.getDefaultParameterList().getParameter(optName);                for(int i=list.length-1; i>=0; i--)                    if(param.equalsIgnoreCase(list[i]))                        recognized = true;                if(!recognized)                    throw new IllegalArgumentException("Default parameter of "+                                                       "option -"+optName+                                                       " not"+                                                       " recognized: "+param);                setDefault(param);            }            else{                // All tile-component have been specified, takes the first                // tile-component value as default.                setDefault(getSpec(0,0));                switch(specValType[0][0]){                case SPEC_TILE_DEF:                    for(int c=nc-1; c>=0; c--){                        if(specValType[0][c]==SPEC_TILE_DEF)                            specValType[0][c] = SPEC_DEF;                    }                    tileDef[0] = null;                    break;                case SPEC_COMP_DEF:                    for(int t=nt-1; t>=0; t--){                        if(specValType[t][0]==SPEC_COMP_DEF)                            specValType[t][0] = SPEC_DEF;                    }                    compDef[0] = null;                    break;                case SPEC_TILE_COMP:                    specValType[0][0] = SPEC_DEF;                    tileCompVal.put("t0c0",null);                    break;                }            }	}  }}

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
国产成人精品亚洲日本在线桃色| 91福利区一区二区三区| av动漫一区二区| 在线成人av网站| 中文一区在线播放| 亚洲午夜羞羞片| 99久久99久久精品免费观看| 日韩三级中文字幕| 亚洲一区二区三区在线看| 国产一区二区不卡在线 | 亚洲成人精品影院| 成人午夜免费电影| 欧美大片免费久久精品三p| 亚洲天堂av一区| 国产美女精品一区二区三区| 欧美一区二区黄色| 亚洲午夜久久久久| 91久久精品国产91性色tv| 国产午夜精品一区二区三区视频| 蜜臀av性久久久久蜜臀aⅴ| 色婷婷激情综合| 一区在线观看免费| 波多野结衣一区二区三区| 精品三级在线看| 美日韩黄色大片| 91精品欧美综合在线观看最新| 成人免费在线播放视频| 成人午夜电影小说| 国产精品免费久久| jlzzjlzz欧美大全| 18欧美亚洲精品| av电影一区二区| 亚洲成人动漫在线观看| 成人av第一页| 亚洲男人的天堂在线观看| 91麻豆精东视频| 亚洲与欧洲av电影| 精品视频1区2区3区| 亚洲伊人伊色伊影伊综合网 | 国产伦精品一区二区三区视频青涩 | 7777精品伊人久久久大香线蕉的 | 男人的天堂亚洲一区| 7777精品伊人久久久大香线蕉经典版下载 | 91九色02白丝porn| 亚洲成a人片综合在线| 91麻豆精品国产| 麻豆91在线看| 国产欧美日韩亚州综合| 国产.欧美.日韩| 亚洲人123区| 精品视频免费看| 久久成人麻豆午夜电影| 国产亚洲一区二区三区在线观看 | 欧美久久久久久久久| 天堂久久久久va久久久久| 欧美电视剧在线看免费| 国产成人无遮挡在线视频| 亚洲丝袜制服诱惑| 欧美精品久久天天躁| 久久99精品网久久| 国产精品国产三级国产三级人妇 | 六月丁香婷婷久久| 久久久久久久综合狠狠综合| 99视频精品全部免费在线| 亚洲福中文字幕伊人影院| 久久美女高清视频| 91在线视频免费观看| 亚洲成在人线免费| 亚洲精品一区二区三区在线观看| 波多野结衣中文一区| 亚洲国产日日夜夜| 久久久五月婷婷| 欧美在线综合视频| 不卡一区中文字幕| 麻豆成人在线观看| 亚洲午夜在线电影| 欧美国产精品劲爆| 欧美一级搡bbbb搡bbbb| 97久久久精品综合88久久| 免费成人av资源网| 一区二区不卡在线视频 午夜欧美不卡在| 555www色欧美视频| 一本色道a无线码一区v| 狠狠色综合日日| 亚洲第一久久影院| 日韩伦理av电影| 国产日产精品1区| 日韩欧美国产不卡| 欧美性欧美巨大黑白大战| 国产成人精品免费一区二区| 美女网站色91| 午夜久久电影网| 日韩伦理av电影| 亚洲国产成人在线| 日韩欧美国产wwwww| 欧美日韩国产综合视频在线观看| 成人av资源在线| 国产高清亚洲一区| 捆绑紧缚一区二区三区视频| 天堂va蜜桃一区二区三区| 亚洲精品精品亚洲| 中文字幕视频一区| 国产精品欧美久久久久无广告| 精品国精品国产| 欧美一区二区久久| 91麻豆精品国产91久久久更新时间| 色婷婷久久综合| 99精品国产99久久久久久白柏| 国产91露脸合集magnet| 极品瑜伽女神91| 黑人巨大精品欧美一区| 久久99最新地址| 精品一区二区在线看| 激情成人午夜视频| 国产在线国偷精品产拍免费yy| 国产一区在线视频| 国产不卡在线视频| 风间由美一区二区av101| 国产成人av电影在线观看| 国产精品99久久久久久久女警| 国产一区在线视频| 成人自拍视频在线| 91在线观看一区二区| 91理论电影在线观看| 色爱区综合激月婷婷| 欧美综合亚洲图片综合区| 欧美理论片在线| 日韩精品一区二区三区三区免费| 精品国产精品网麻豆系列| 久久亚洲欧美国产精品乐播| 久久久久国产精品麻豆| 最新日韩av在线| 亚洲h在线观看| 久久疯狂做爰流白浆xx| 国产成人av电影| 欧洲精品一区二区三区在线观看| 欧美精品第一页| 精品黑人一区二区三区久久| 国产目拍亚洲精品99久久精品| 中文字幕综合网| 日韩va欧美va亚洲va久久| 国产一区二区三区最好精华液| 国产成人av影院| 色婷婷国产精品综合在线观看| 91精品国产综合久久精品图片 | 日韩女优制服丝袜电影| 国产三级精品三级| 亚洲猫色日本管| 天天操天天综合网| 国产aⅴ精品一区二区三区色成熟| 99热这里都是精品| 这里只有精品免费| 欧美激情一区二区三区蜜桃视频| 亚洲一区二区三区在线| 狠狠色狠狠色综合系列| 91激情在线视频| 日韩女优视频免费观看| 亚洲人成在线播放网站岛国| 美腿丝袜亚洲三区| 欧美中文字幕一区二区三区 | youjizz国产精品| 日韩精品综合一本久道在线视频| 国产精品无遮挡| 久久精品99国产精品| 色吧成人激情小说| 欧美国产精品中文字幕| 美女在线视频一区| 欧美一a一片一级一片| 国产精品麻豆欧美日韩ww| 日本va欧美va欧美va精品| av网站一区二区三区| 久久婷婷一区二区三区| 亚洲国产精品久久艾草纯爱| 丁香婷婷综合五月| 久久先锋影音av鲁色资源网| 日韩高清国产一区在线| 91免费在线播放| 中文字幕精品三区| 久久66热偷产精品| 欧美久久久久免费| 一区二区三区久久| av成人动漫在线观看| 国产日韩欧美一区二区三区乱码| 日本美女一区二区三区| 欧美唯美清纯偷拍| 伊人色综合久久天天| 成人动漫一区二区在线| 久久午夜羞羞影院免费观看| 日本中文字幕一区| 欧美精品久久99久久在免费线| 亚洲已满18点击进入久久| 91一区二区在线观看| 亚洲欧洲日本在线| 99国产精品国产精品毛片| 国产精品免费久久久久| 粉嫩av一区二区三区粉嫩| 国产无遮挡一区二区三区毛片日本| 久久精品国产在热久久| 欧美本精品男人aⅴ天堂| 麻豆精品久久精品色综合|