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

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

?? quantstepsizespec.java

?? jpeg2000算法實現
?? JAVA
字號:
/*  * CVS identifier: *  * $Id: QuantStepSizeSpec.java,v 1.11 2000/09/19 14:11:22 grosbois Exp $ *  * Class:                   QuantStepSizeSpec *  * Description:    Quantization base normalized step size specifications *  *  *  * 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.quantization;import jj2000.j2k.util.*;import jj2000.j2k.*;import java.util.*;/** * This class extends ModuleSpec class in order to hold specifications about * the quantization base normalized step size to use in each tile-component. * * @see ModuleSpec * */public class QuantStepSizeSpec extends ModuleSpec {    /**      * Constructs an empty 'QuantStepSizeSpec' 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 QuantStepSizeSpec(int nt, int nc, byte type){	super(nt, nc, type);    }    /**     * Constructs a new 'QuantStepSizeSpec' for the specified number of     * components and tiles and the arguments of "-Qstep" option.     *     * @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 pl The ParameterList     * */    public QuantStepSizeSpec(int nt, int nc, byte type, ParameterList pl){        super(nt, nc, type);	String param = pl.getParameter("Qstep");	if(param==null){	    throw new IllegalArgumentException("Qstep option not specified");	}	// 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	Float value; // value of the current step size		while(stk.hasMoreTokens()){	    word = stk.nextToken().toLowerCase();	  	    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: // Step size value		try{		    value = new Float(word);		}		catch(NumberFormatException e){		    throw new IllegalArgumentException("Bad parameter for "+						       "-Qstep option : "+						       word);		}		if (value.floatValue() <= 0.0f) {		    throw new IllegalArgumentException("Normalized base step "+						       "must be positive : "+						       value);		}				if(curSpecType==SPEC_DEF){		    setDefault(value);		}		else if(curSpecType==SPEC_TILE_DEF){		    for(int i=tileSpec.length-1; i>=0; i--)			if(tileSpec[i]){			    setTileDef(i,value);                        }		}		else if(curSpecType==SPEC_COMP_DEF){		    for(int i=compSpec.length-1; i>=0; i--)			if(compSpec[i]){			    setCompDef(i,value);                        }		}		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,value);                            }			}		    }		}		// 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){                setDefault(new Float(pl.getDefaultParameterList().                                     getParameter("Qstep")));            }            else{                // All tile-component have been specified, takes the first                // tile-component value as default.                setDefault(getTileCompVal(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一区二区三区免费野_久草精品视频
中文字幕一区二区三| 亚洲欧美一区二区视频| 欧美韩国日本综合| 亚洲国产日韩a在线播放| 国内精品免费在线观看| 色欧美日韩亚洲| 久久一夜天堂av一区二区三区| 亚洲综合在线第一页| 成人毛片视频在线观看| 日韩欧美在线综合网| 亚洲人成小说网站色在线| 国产成人鲁色资源国产91色综| 欧美日本一区二区在线观看| **欧美大码日韩| 国产一区二区三区免费播放| 欧美精品成人一区二区三区四区| 亚洲少妇中出一区| 国产成人av电影| 精品国产一区二区三区久久久蜜月 | 久久久亚洲午夜电影| 亚洲123区在线观看| 日本韩国一区二区三区| 国产精品毛片大码女人| 国产一区激情在线| 精品福利av导航| 欧美aⅴ一区二区三区视频| 欧美图区在线视频| 尤物视频一区二区| aaa亚洲精品| 中文字幕第一区第二区| 国产毛片精品国产一区二区三区| 日韩欧美国产高清| 成人毛片在线观看| 国产欧美日韩精品在线| 国产精品白丝jk黑袜喷水| 精品国产欧美一区二区| 久久电影国产免费久久电影| 日韩欧美中文字幕制服| 精品在线观看视频| 久久夜色精品国产欧美乱极品| 激情综合色丁香一区二区| 欧美一级在线免费| 麻豆免费看一区二区三区| 日韩一区和二区| 毛片不卡一区二区| 久久亚洲二区三区| 国产69精品久久777的优势| 国产精品久久久一本精品 | 国产一区二区导航在线播放| 亚洲精品在线观看网站| 国产精品996| 中文字幕中文乱码欧美一区二区| 色综合久久久久久久久| 亚洲自拍偷拍九九九| 88在线观看91蜜桃国自产| 免费成人小视频| 国产午夜精品一区二区三区四区| 福利电影一区二区三区| 亚洲男人的天堂一区二区| 欧美视频一区二区在线观看| 奇米影视一区二区三区| 精品91自产拍在线观看一区| 成人开心网精品视频| 亚洲一区二区三区视频在线播放| 日韩一区二区三区精品视频| 高清久久久久久| 亚洲综合色成人| 日韩欧美二区三区| 成人免费视频国产在线观看| 亚洲va在线va天堂| 久久久久国色av免费看影院| 一本到不卡精品视频在线观看 | 美腿丝袜一区二区三区| 中文字幕亚洲区| 4438x成人网最大色成网站| 国产精品456| 亚洲综合视频在线观看| 久久久精品一品道一区| 欧美亚洲高清一区| 成人午夜电影网站| 日本亚洲三级在线| 亚洲欧洲在线观看av| 日韩欧美卡一卡二| 欧美性大战久久久久久久| 国产激情一区二区三区四区 | voyeur盗摄精品| 日韩电影在线一区二区| 亚洲色大成网站www久久九九| 精品日韩av一区二区| 在线精品视频小说1| 国产不卡免费视频| 蜜臀va亚洲va欧美va天堂 | 久久久久久久久久久久久夜| 欧美日韩成人在线一区| 91美女片黄在线| 成人精品国产一区二区4080| 蜜臀久久久99精品久久久久久| 亚洲综合一二区| 亚洲免费观看视频| 久久精品视频一区二区三区| 日韩视频永久免费| 欧美色爱综合网| 99国产精品久久久久久久久久| 国产专区欧美精品| 精品午夜久久福利影院| 日韩高清在线一区| 性久久久久久久| 亚洲一区二区三区四区不卡| 综合久久久久久| 最新高清无码专区| 最近中文字幕一区二区三区| 中文字幕一区二区5566日韩| 中文字幕欧美国产| 中国色在线观看另类| 日本一区二区三级电影在线观看 | 亚洲不卡一区二区三区| 亚洲婷婷在线视频| 亚洲免费观看高清在线观看| 亚洲欧美国产三级| 亚洲女同ⅹxx女同tv| 亚洲人午夜精品天堂一二香蕉| 中文字幕在线一区| 亚洲精品视频在线观看免费| 亚洲精品第一国产综合野| 亚洲欧洲日产国产综合网| 亚洲欧美在线视频观看| 亚洲日本中文字幕区| 亚洲黄色免费网站| 亚洲一二三级电影| 奇米影视在线99精品| 国产综合色在线| 国产91丝袜在线观看| 99精品热视频| 亚洲欧洲日韩在线| 亚洲一线二线三线久久久| 亚洲h在线观看| 麻豆国产精品777777在线| 精品午夜久久福利影院| 成人手机在线视频| 91官网在线观看| 欧美精品乱码久久久久久| 精品国内二区三区| 亚洲天堂av一区| 视频在线观看国产精品| 韩国一区二区三区| 91在线免费视频观看| 7878成人国产在线观看| 久久蜜桃香蕉精品一区二区三区| 亚洲欧美在线高清| 日本欧美一区二区| eeuss鲁片一区二区三区在线观看| 色综合久久久久综合体桃花网| 欧美日韩高清不卡| 国产欧美一区二区精品性色| 一区二区三区日韩欧美| 免费高清不卡av| 成人免费va视频| 欧美日韩国产高清一区二区三区| 欧美不卡一区二区三区| 亚洲色图欧美偷拍| 国产尤物一区二区在线| 91成人国产精品| 久久一区二区三区四区| 亚洲一区在线观看视频| 国产一区二区三区免费在线观看| 91黄色免费观看| 久久精品男人天堂av| 日韩中文欧美在线| 波多野结衣亚洲一区| 91精品中文字幕一区二区三区| 亚洲视频综合在线| 狠狠狠色丁香婷婷综合激情| 欧美三级乱人伦电影| 亚洲欧美影音先锋| 国产一区二区精品在线观看| 欧美日韩国产一级| 亚洲人成在线观看一区二区| 国产河南妇女毛片精品久久久| 欧美精品乱人伦久久久久久| 亚洲美女在线国产| 风间由美一区二区三区在线观看| 91精品久久久久久蜜臀| 亚洲一区二区在线播放相泽| 成人黄页在线观看| 久久综合给合久久狠狠狠97色69| 日韩精品1区2区3区| 欧美日韩一区二区三区四区五区| 综合亚洲深深色噜噜狠狠网站| 高清在线成人网| 精品福利在线导航| 免费看黄色91| 欧美一级日韩免费不卡| 亚州成人在线电影| 欧美午夜宅男影院| 一区二区在线观看免费视频播放| 97国产一区二区| 中文字幕欧美一区| 一本到不卡免费一区二区| 亚洲精品一二三四区| 91久久精品一区二区三区|