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

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

?? guardbitsspec.java

?? jpeg2000算法實現
?? JAVA
字號:
/*  * CVS identifier: *  * $Id: GuardBitsSpec.java,v 1.13 2000/09/19 14:11:01 grosbois Exp $ *  * Class:                   GuardBitsSpec *  * Description:             Guard bits 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 * number of guard bits in each tile-component. * * @see ModuleSpec * */public class GuardBitsSpec extends ModuleSpec{    /**      * Constructs an empty 'GuardBitsSpec' 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 GuardBitsSpec(int nt, int nc, byte type){	super(nt,nc,type);    }    /**     * Constructs a new 'GuardBitsSpec' for the specified number of components     * and tiles and the arguments of "-Qguard_bits" 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 GuardBitsSpec(int nt, int nc, byte type, ParameterList pl){        super(nt,nc,type);	String param = pl.getParameter("Qguard_bits");	if(param==null){	    throw new IllegalArgumentException("Qguard_bits 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	Integer value; // value of the guard bits		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 Integer(word);		}		catch(NumberFormatException e){		    throw new IllegalArgumentException("Bad parameter for "+						       "-Qguard_bits option"+                                                       " : "+word);		}		if (value.floatValue() <= 0.0f) {		    throw new IllegalArgumentException("Guard bits value "+						       "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 Integer(pl.getDefaultParameterList().                                       getParameter("Qguard_bits")));            }            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一区二区三区免费野_久草精品视频
丝袜诱惑亚洲看片| 在线观看91av| 97精品久久久久中文字幕| 国产一区在线精品| 精品一二三四在线| 国内精品久久久久影院一蜜桃| 久久99精品视频| 狠狠色综合播放一区二区| 久久国产精品72免费观看| 日本不卡一二三区黄网| 青青国产91久久久久久| 久久er精品视频| 国产风韵犹存在线视精品| 国产91精品露脸国语对白| 成人一区二区三区| av电影一区二区| 一本大道av一区二区在线播放| 色先锋资源久久综合| 欧美日韩视频在线第一区| 欧美日韩国产123区| 日韩免费福利电影在线观看| 久久久99久久精品欧美| 国产精品传媒视频| 亚洲图片欧美综合| 免费在线视频一区| 国产精品一区二区在线观看网站| 成人精品高清在线| 色婷婷综合久色| 91精品国产综合久久久久久 | 日韩一区二区三区免费观看| 日韩精品中午字幕| 中文字幕成人av| 亚洲一区在线观看视频| 蜜桃一区二区三区四区| 丰满白嫩尤物一区二区| 91国偷自产一区二区三区成为亚洲经典| 欧美吻胸吃奶大尺度电影| 日韩午夜激情av| 亚洲国产精品t66y| 亚洲h动漫在线| 国产成人aaa| 欧美日韩国产系列| 久久欧美中文字幕| 亚洲午夜三级在线| 国产一区二区在线视频| 在线观看三级视频欧美| 日韩欧美电影一二三| 国产精品久久国产精麻豆99网站| 亚洲成人一区二区| 国产精品一区二区久激情瑜伽 | 精品91自产拍在线观看一区| 中文字幕在线不卡视频| 美女视频免费一区| 一本色道久久综合亚洲精品按摩| 日韩一区二区视频| 亚洲视频资源在线| 国产曰批免费观看久久久| 在线亚洲免费视频| 国产日韩欧美精品电影三级在线| 亚洲一区免费视频| 国产福利一区二区| 制服丝袜亚洲播放| 亚洲人精品午夜| 国产精品2024| 日韩精品一区二区三区在线播放 | 国产三级欧美三级日产三级99| 亚洲一区免费视频| www.日韩精品| 久久综合一区二区| 视频一区视频二区中文字幕| aaa欧美色吧激情视频| 精品久久99ma| 日韩av一区二区三区四区| 91网站视频在线观看| 国产婷婷色一区二区三区在线| 婷婷激情综合网| 日本二三区不卡| 国产精品不卡视频| 国产大陆a不卡| 欧美www视频| 日产欧产美韩系列久久99| 91免费视频网址| 中文字幕一区三区| 不卡在线视频中文字幕| 欧美精品一区视频| 久久爱另类一区二区小说| 制服丝袜亚洲色图| 亚洲福利视频一区二区| 日本道免费精品一区二区三区| 国产精品青草久久| 成人性色生活片免费看爆迷你毛片| 欧美大胆人体bbbb| 日本麻豆一区二区三区视频| 欧美日韩免费观看一区二区三区 | 亚洲成av人片观看| 日本高清视频一区二区| 亚洲免费视频成人| 91美女视频网站| 亚洲免费观看高清在线观看| 成人精品视频网站| 欧美极品少妇xxxxⅹ高跟鞋| 国产精品影音先锋| 久久欧美中文字幕| 风间由美一区二区av101| 中文字幕欧美三区| 成人免费不卡视频| 国产精品久久久久aaaa| 91小视频免费看| 亚洲男人天堂av| 欧美色男人天堂| 日本亚洲一区二区| 日韩免费视频一区二区| 国产一区激情在线| 欧美国产乱子伦 | 91精品国产麻豆| 日日夜夜精品视频免费| 欧美一级日韩免费不卡| 韩国v欧美v日本v亚洲v| 2023国产精品自拍| 国产成人免费xxxxxxxx| 中文字幕亚洲在| 91久久线看在观草草青青| 亚洲一区欧美一区| 欧美一级日韩不卡播放免费| 精品中文av资源站在线观看| 久久久久9999亚洲精品| av激情亚洲男人天堂| 亚洲成人在线免费| 精品国产一区二区三区久久影院| 国产成人一级电影| 亚洲免费在线观看视频| 日韩一区二区免费视频| 国产一级精品在线| 亚洲精品v日韩精品| 欧美一区二区美女| 国产精品一区二区久久精品爱涩| 亚洲日本韩国一区| 91精品国产一区二区三区| 国产一区二区不卡老阿姨| 亚洲精品视频在线看| 91精品福利在线一区二区三区| 国产精品一品二品| 亚洲最新在线观看| 2023国产精品视频| 在线观看视频一区| 精品一区二区免费在线观看| 亚洲欧洲一区二区在线播放| 777a∨成人精品桃花网| 成人涩涩免费视频| 免费美女久久99| 亚洲丝袜制服诱惑| 精品国产伦一区二区三区观看体验| 北条麻妃国产九九精品视频| 日本伊人色综合网| 亚洲免费观看视频| 久久一区二区三区国产精品| 欧美性生交片4| 国产成人免费视| 奇米影视7777精品一区二区| 国产精品成人在线观看| 日韩免费电影网站| 欧美性猛交xxxx黑人交| 成人av在线网| 久久99精品久久久久婷婷| 亚洲高清视频在线| 国产精品水嫩水嫩| 日韩免费高清电影| 欧美日韩精品一区二区三区| 成人福利视频网站| 精品无人区卡一卡二卡三乱码免费卡 | 欧美亚洲精品一区| 国产一本一道久久香蕉| 日韩中文欧美在线| 一区二区视频免费在线观看| 国产亚洲一区字幕| 6080午夜不卡| 一本大道久久精品懂色aⅴ| 国产精品456露脸| 美日韩一级片在线观看| 亚洲资源中文字幕| 国产精品伦理一区二区| 久久综合资源网| 欧美成人三级在线| 欧美日韩二区三区| 91女神在线视频| 成人av在线电影| 高清在线观看日韩| 极品少妇一区二区三区精品视频| 亚洲国产另类av| 亚洲一区视频在线| 一区二区三区在线观看视频 | 久久精品国产秦先生| 亚洲.国产.中文慕字在线| 国产精品激情偷乱一区二区∴| 久久久久久久久蜜桃| 欧美成人精品二区三区99精品| 91成人免费在线视频| 91丝袜美腿高跟国产极品老师 | www.爱久久.com| 成人免费高清在线|