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

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

?? modulespec.java

?? jpeg2000算法實現
?? JAVA
?? 第 1 頁 / 共 2 頁
字號:
/*  * CVS identifier: *  * $Id: ModuleSpec.java,v 1.20 2000/11/30 13:12:26 grosbois Exp $ *  * Class:                   ModuleSpec *  * Description:             Generic class for storing module specs *  *                           from WTFilterSpec (Diego Santa Cruz) *  * 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 java.util.*;/** * This generic class is used to handle values to be used by a module for each * tile and component.  It uses attribute to determine which value to use. It * should be extended by each module needing this feature. *  * This class might be used for values that are only tile specific or * component specific but not both. * * <P>The attributes to use are defined by a hierarchy. The hierarchy is: * * <ul> * <li> Tile and component specific attribute</li> * <li> Tile specific default attribute</li> * <li> Component main default attribute</li> * <li> Main default attribute</li> * </ul> * */public class ModuleSpec {    /** The identifier for a specification module that applies only to     * components */    public final static byte SPEC_TYPE_COMP = 0;    /** The identifier for a specification module that applies only to        tiles */    public final static byte SPEC_TYPE_TILE = 1;    /** The identifier for a specification module that applies both to     * tiles and components */    public final static byte SPEC_TYPE_TILE_COMP = 2;    /** The identifier for default specification */    public final static byte SPEC_DEF = 0;    /** The identifier for "component default" specification */    public final static byte SPEC_COMP_DEF = 1;    /** The identifier for "tile default" specification */    public final static byte SPEC_TILE_DEF = 2;    /** The identifier for a "tile-component" specification */    public final static byte SPEC_TILE_COMP = 3;    /** The type of the specification module */    protected int specType;    /** The number of tiles */    protected int nTiles = 0;    /** The number of components */    protected int nComp = 0;    /** The spec type for each tile-component. The first index is     * the tile index, the second is the component index.     */    protected byte[][] specValType;    /** Default value for each tile-component */    protected Object def = null;    /** The default value for each component. Null if no component        specific value is defined */    protected Object[] compDef = null;    /** The default value for each tile. Null if no tile specific        value is defined */    protected Object[] tileDef = null;    /** The specific value for each tile-component. Value of tile 16 component     * 3 is accessible through the hash value "t16c3". Null if no     * tile-component specific value is defined */    protected Hashtable tileCompVal;    /**     * Constructs a 'ModuleSpec' object, initializing all the components and     * tiles to the 'SPEC_DEF' spec val type, for the specified number of     * components and tiles.     *     * @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.     * */    public ModuleSpec(int nt, int nc, byte type) {	nTiles = nt;	nComp = nc;        specValType = new byte[nt][nc];        switch (type) {        case SPEC_TYPE_TILE:            specType = SPEC_TYPE_TILE;            break;        case SPEC_TYPE_COMP:            specType = SPEC_TYPE_COMP;            break;        case SPEC_TYPE_TILE_COMP:            specType = SPEC_TYPE_TILE_COMP;            break;        }    }    /**      * Sets default value for this module      * */    public void setDefault(Object value){	def = value;    }    /**      * Gets default value for this module.      *     * @return The default value (Must be casted before use)     * */    public Object getDefault(){	return def;    }    /**      * Sets default value for specified component and specValType tag if     * allowed by its priority.     *     * @param c Component index      * */    public void setCompDef(int c, Object value){        if ( specType == SPEC_TYPE_TILE ) {            String errMsg = "Option whose value is '"+value+"' cannot be "                +"specified for components as it is a 'tile only' specific "                +"option";            throw new Error(errMsg);        }	if(compDef==null)	    compDef = new Object[nComp];	for(int i=0; i<nTiles; i++){	    if(specValType[i][c]<SPEC_COMP_DEF) {		specValType[i][c] = SPEC_COMP_DEF;            }	}	compDef[c] = value;    }    /**      * Gets default value of the specified component. If no specification have     * been entered for this component, returns default value.     *     * @param c Component index      *     * @return The default value for this component (Must be casted before      * use)     *     * @see #setCompDef     * */    public Object getCompDef(int c){        if ( specType == SPEC_TYPE_TILE ) {            throw new Error("Illegal use of ModuleSpec class");        }	if(compDef==null || compDef[c]==null){	    return getDefault();	}	else	    return compDef[c];    }    /**      * Sets default value for specified tile and specValType tag if     * allowed by its priority.     *     * @param c Tile index.     * */    public void setTileDef(int t, Object value){        if ( specType == SPEC_TYPE_COMP ) {            String errMsg = "Option whose value is '"+value+"' cannot be "                + "specified for tiles as it is a 'component only' specific "                + "option";            throw new Error(errMsg);        }	if(tileDef==null)	    tileDef = new Object[nTiles];	for(int i=0; i<nComp; i++){	    if(specValType[t][i]<SPEC_TILE_DEF){		specValType[t][i] = SPEC_TILE_DEF;	    }	}	tileDef[t] = value;    }    /**      * Gets default value of the specified tile. If no specification     * has been entered, it returns the default value.     *     * @param t Tile index      *     * @return The default value for this tile (Must be casted before use)     *     * @see #setTileDef     * */    public Object getTileDef(int t){        if ( specType == SPEC_TYPE_COMP ) {            throw new Error("Illegal use of ModuleSpec class");        }	if(tileDef==null || tileDef[t]==null){	    return getDefault();	}	else	    return tileDef[t];    }    /**      * Sets value for specified tile-component.     *     * @param t Tie index      *      * @param c Component index      * */    public void setTileCompVal(int t,int c, Object value){        if ( specType != SPEC_TYPE_TILE_COMP ) {            String errMsg = "Option whose value is '"+value+"' cannot be "                + "specified for ";            switch (specType) {

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
51精品国自产在线| 精品国产凹凸成av人网站| 久久成人免费网| 国产精品久久久久天堂| 欧美精品 日韩| 成人av高清在线| 韩国欧美国产一区| 亚洲高清视频在线| 亚洲日本丝袜连裤袜办公室| 精品福利视频一区二区三区| 欧美日韩精品电影| 91亚洲大成网污www| 国产精品99久久久久久宅男| 五月天中文字幕一区二区| 亚洲色图视频网| 日本一区二区三区视频视频| 日韩一区二区三区四区| 欧美视频在线一区二区三区 | 精品国产一区二区三区忘忧草| 色吧成人激情小说| 波多野结衣在线一区| 国产一区在线观看麻豆| 美女一区二区视频| 性久久久久久久久久久久| 亚洲欧美区自拍先锋| 国产精品全国免费观看高清| 欧美精品一区二区三区蜜桃视频| 在线成人免费观看| 91精品久久久久久蜜臀| 欧美日韩国产大片| 在线观看三级视频欧美| 色婷婷亚洲一区二区三区| 91麻豆国产精品久久| 成人黄色免费短视频| 成人av电影在线| 不卡一区二区中文字幕| 成人99免费视频| 91视频在线看| 色香蕉久久蜜桃| 色偷偷88欧美精品久久久| 91影院在线观看| 色一情一伦一子一伦一区| 91久久一区二区| 欧美亚洲禁片免费| 欧美日本国产一区| 欧美一区二区在线免费观看| 在线播放/欧美激情| 91精品国产91久久综合桃花 | 国产精品久久久久久久久免费樱桃 | 欧美一级片在线看| 欧美一卡二卡在线| 91精品国产综合久久精品图片| 欧美少妇bbb| 欧美一区国产二区| 2020日本不卡一区二区视频| 国产日韩精品一区二区三区在线| 国产欧美一区二区精品久导航 | 欧美国产一区在线| 一区二区在线观看免费| 香蕉加勒比综合久久| 美洲天堂一区二卡三卡四卡视频| 久久66热re国产| 高清成人在线观看| 在线观看免费成人| 日韩亚洲欧美一区| 久久精品欧美日韩| 亚洲精品中文字幕乱码三区| 五月综合激情婷婷六月色窝| 久久精品av麻豆的观看方式| 国内偷窥港台综合视频在线播放| 风流少妇一区二区| 欧美在线小视频| 精品欧美乱码久久久久久1区2区| 久久久美女毛片| 亚洲另类色综合网站| 日韩成人一区二区| 国产成人在线色| 日本电影亚洲天堂一区| 日韩欧美第一区| 国产精品久线观看视频| 亚洲成人精品影院| 国产成人综合在线| 欧美日韩午夜在线| 国产欧美一区二区精品忘忧草| 亚洲午夜久久久久久久久久久 | 日韩一区二区三区在线| 国产精品免费网站在线观看| 亚洲免费看黄网站| 狠狠色2019综合网| 欧美伊人精品成人久久综合97| 欧美成人国产一区二区| 亚洲欧美日韩中文播放 | 不卡av免费在线观看| 日韩一级片在线观看| 亚洲人123区| 国产一区二区三区在线观看精品 | 国产精品亚洲专一区二区三区| 一本色道久久综合亚洲精品按摩| 精品免费视频一区二区| 亚洲蜜臀av乱码久久精品蜜桃| 极品销魂美女一区二区三区| 日本韩国一区二区三区| 国产欧美一区二区三区在线看蜜臀| 五月婷婷久久综合| 色噜噜狠狠色综合中国| 欧美激情综合五月色丁香| 奇米色一区二区三区四区| 一本色道a无线码一区v| 久久久久国产一区二区三区四区| 视频一区欧美精品| 欧美在线一区二区三区| 中文字幕亚洲在| 国产成人免费av在线| 日韩欧美成人一区| 亚洲va韩国va欧美va| 色综合一个色综合| 中文字幕一区免费在线观看 | 欧美日韩日日骚| 亚洲人成在线播放网站岛国 | 欧美午夜片在线看| 亚洲乱码国产乱码精品精可以看| www.亚洲在线| 国产日韩精品视频一区| 国产一区美女在线| 欧美精品一区二区久久婷婷| 日韩电影一区二区三区四区| 中文字幕中文字幕在线一区| 国产亚洲欧美中文| 欧美aaa在线| 欧美一区午夜精品| 日本亚洲一区二区| 欧美理论在线播放| 亚州成人在线电影| 91精品国产综合久久福利| 亚洲成人综合视频| 欧美日韩国产三级| 午夜a成v人精品| 欧美一区二区视频免费观看| 美国欧美日韩国产在线播放| 欧美一二三四区在线| 捆绑调教美女网站视频一区| 日韩精品最新网址| 国产精品自拍av| 国产片一区二区三区| 成人美女视频在线观看| 久久91精品国产91久久小草| 久久综合给合久久狠狠狠97色69| 久久99国产精品久久99果冻传媒| 亚洲精品一区二区在线观看| 国产精品一卡二| 久久精品人人做人人综合 | 欧美网站一区二区| 日日夜夜免费精品| 日韩视频一区二区| 国产不卡免费视频| 亚洲男帅同性gay1069| 欧美丝袜自拍制服另类| 日本不卡在线视频| 国产性天天综合网| 91尤物视频在线观看| 日韩电影一区二区三区四区| 精品美女在线观看| 成人精品免费视频| 亚洲一区二区av电影| 日韩三级精品电影久久久| 国产福利一区二区三区视频在线 | 国产精品嫩草影院com| 在线亚洲人成电影网站色www| 日产欧产美韩系列久久99| 欧美成人欧美edvon| 大尺度一区二区| 天天综合网 天天综合色| 久久亚洲精华国产精华液| 99精品视频在线免费观看| 亚洲国产成人av好男人在线观看| 欧美sm美女调教| 色系网站成人免费| 精品亚洲欧美一区| 亚洲女子a中天字幕| 日韩欧美一级精品久久| 91麻豆国产精品久久| 麻豆精品在线播放| 亚洲精品免费播放| 日韩精品一区在线| 日本精品裸体写真集在线观看| 蜜臀av亚洲一区中文字幕| 亚洲欧洲韩国日本视频| 日韩精品一区二区三区四区| 91亚洲精品久久久蜜桃网站| 美腿丝袜在线亚洲一区| 一区2区3区在线看| 国产欧美精品区一区二区三区| 欧美日韩一区视频| 国产成人av影院| 日本v片在线高清不卡在线观看| 亚洲三级电影网站| 国产人成亚洲第一网站在线播放| 欧美猛男gaygay网站| 9人人澡人人爽人人精品| 久久66热偷产精品|