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

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

?? precinctsizespec.java

?? jpeg2000算法實現(xiàn)
?? JAVA
?? 第 1 頁 / 共 2 頁
字號:
/* * CVS identifier: * * $Id: PrecinctSizeSpec.java,v 1.17 2001/02/14 10:33:00 grosbois Exp $ * * Class:                   PrecinctSizeSpec * * Description:             Specification of the precinct sizes * * * * 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.entropy;import jj2000.j2k.codestream.*;import jj2000.j2k.wavelet.*;import jj2000.j2k.image.*;import jj2000.j2k.util.*;import jj2000.j2k.*;import java.util.*;/** * This class extends ModuleSpec class for precinct partition sizes holding * purposes. *  * <p>It stores the size a of precinct when precinct partition is used or not. * If precinct partition is used, we can have several packets for a given * resolution level whereas there is only one packet per resolution level if * no precinct partition is used. * */public class PrecinctSizeSpec extends ModuleSpec {    /** Name of the option */    private static final String optName = "Cpp";        /** Reference to wavelet number of decomposition levels for each     * tile-component.  */    private IntegerSpec dls;        /**     * Creates a new PrecinctSizeSpec object for the specified number of tiles     * and components.     *     * @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 dls Reference to the number of decomposition levels     * specification     * */    public PrecinctSizeSpec(int nt, int nc, byte type, IntegerSpec dls) {        super(nt, nc, type);        this.dls = dls;    }        /**     * Creates a new PrecinctSizeSpec object for the specified number of tiles     * and components and the ParameterList instance.     *     * @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 imgsrc The image source (used to get the image size)     *     * @param pl The ParameterList instance     * */    public PrecinctSizeSpec(int nt, int nc, byte type, BlkImgDataSrc imgsrc,                           IntegerSpec dls, ParameterList pl) {        super(nt, nc, type);                this.dls = dls;                // The precinct sizes are stored in a 2 elements vector array, the        // first element containing a vector for the precincts width for each        // resolution level and the second element containing a vector for the        // precincts height for each resolution level. The precincts sizes are        // specified from the highest resolution level to the lowest one        // (i.e. 0).  If there are less elements than the number of        // decomposition levels, the last element is used for all remaining        // resolution levels (i.e. if the precincts sizes are specified only        // for resolutions levels 5, 4 and 3, then the precincts size for        // resolution levels 2, 1 and 0 will be the same as the size used for        // resolution level 3).                // Boolean used to know if we were previously reading a precinct's         // size or if we were reading something else.        boolean wasReadingPrecinctSize = false;         String param = pl.getParameter(optName);        // Set precinct sizes to default i.e. 2^15 =        // Markers.PRECINCT_PARTITION_DEF_SIZE        Vector tmpv[] = new Vector[2];        tmpv[0] = new Vector(); // ppx        tmpv[0].addElement(new Integer(Markers.PRECINCT_PARTITION_DEF_SIZE));        tmpv[1] = new Vector(); // ppy        tmpv[1].addElement(new Integer(Markers.PRECINCT_PARTITION_DEF_SIZE));        setDefault(tmpv);                if ( param==null ) {            // No precinct size specified in the command line so we do not try             // to parse it.            return;        }                // Precinct partition is used : parse arguments        StringTokenizer stk = new StringTokenizer(param);        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        int i, xIdx, ci, ti;                boolean endOfParamList = false;        String word = null; // current word        Integer w, h;        String errMsg = null;        while((stk.hasMoreTokens() || wasReadingPrecinctSize) &&               !endOfParamList){                        Vector v[] = new Vector[2]; // v[0] : ppx, v[1] : ppy            // We do not read the next token if we were reading a precinct's            // size argument as we have already read the next token into word.            if ( !wasReadingPrecinctSize ) {                word = stk.nextToken();            }            wasReadingPrecinctSize = false;                        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:                if ( !Character.isDigit(word.charAt(0)) ) {                    errMsg = "Bad construction for parameter: "+word;                    throw new IllegalArgumentException(errMsg);                 }                                // Initialises Vector objects                v[0] = new Vector(); // ppx                v[1] = new Vector(); // ppy                            while ( true ) {                                        // Now get the precinct dimensions                    try {                        // Get precinct width                        w = new Integer(word);                                                // Get next word in argument list                        try {                            word = stk.nextToken();                        }                        catch (NoSuchElementException e) { 

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
国产一区二区视频在线播放| 国产精品1区2区3区在线观看| 日韩免费视频一区二区| 99视频一区二区三区| 日本欧美韩国一区三区| 亚洲天堂2014| 久久精品人人做人人综合 | 精品一区中文字幕| 中文字幕综合网| 国产人妖乱国产精品人妖| 9191精品国产综合久久久久久| 成人av影视在线观看| 蜜桃久久av一区| 夜夜嗨av一区二区三区网页 | 粉嫩蜜臀av国产精品网站| 青椒成人免费视频| 一区二区欧美视频| 国产精品九色蝌蚪自拍| 久久久国际精品| 日韩一区二区在线观看| 欧美日韩国产综合一区二区三区| av欧美精品.com| 国产精品一区二区在线观看不卡| 成人av电影免费观看| 日本不卡一区二区| 五月天激情综合| 亚洲国产一区二区a毛片| 亚洲天堂免费在线观看视频| 中文av一区特黄| 国产网红主播福利一区二区| 欧美精品一区二区蜜臀亚洲| 欧美一区二区成人6969| 欧美一级欧美三级| 欧美日韩精品电影| 欧美日韩免费不卡视频一区二区三区 | 亚洲男人天堂av网| 日韩理论片在线| 国产精品成人免费| 亚洲欧洲精品一区二区三区| 国产精品欧美一区二区三区| 国产午夜精品一区二区 | 一区二区成人在线| 伊人色综合久久天天| 亚洲欧美一区二区三区极速播放 | 成人av在线资源网站| 成人午夜在线播放| 国产不卡免费视频| 成人精品gif动图一区| 波多野结衣亚洲| 91在线观看高清| 在线观看视频91| 欧美三级韩国三级日本三斤| 欧美日本乱大交xxxxx| 欧美精品久久一区二区三区| 日韩天堂在线观看| 精品少妇一区二区三区在线播放 | 日韩女优制服丝袜电影| 日韩欧美色综合网站| 久久免费视频一区| 国产精品免费久久久久| 亚洲啪啪综合av一区二区三区| 亚洲激情在线播放| 三级精品在线观看| 精品一区二区三区av| 国产成人一级电影| 91久久久免费一区二区| 欧美精品在线观看播放| 欧美精品一区二区三区在线| 国产精品欧美久久久久无广告| 亚洲男人的天堂av| 日本亚洲电影天堂| 成人一区二区三区视频| 欧美在线|欧美| 精品嫩草影院久久| 国产精品久线在线观看| 午夜免费久久看| 国产成人精品一区二| 欧美三电影在线| 精品1区2区在线观看| 中文字幕一区视频| 免费在线观看视频一区| 懂色av一区二区在线播放| 欧美午夜影院一区| 久久九九久久九九| 亚洲成人精品在线观看| 国产精品一区二区视频| 在线观看日韩高清av| 337p粉嫩大胆噜噜噜噜噜91av| 国产精品国产三级国产普通话99| 日韩精品五月天| 粉嫩av一区二区三区| 欧美日韩不卡一区二区| 久久精品视频一区二区| 石原莉奈在线亚洲二区| 99久久国产综合精品色伊| 欧美大片在线观看一区| 亚洲永久精品大片| 成人小视频在线| 欧美岛国在线观看| 亚洲国产精品麻豆| av午夜一区麻豆| 久久精品一区二区| 日韩中文字幕区一区有砖一区| 播五月开心婷婷综合| 日韩欧美在线不卡| 亚洲一区二区三区自拍| 东方aⅴ免费观看久久av| 欧美成人福利视频| 亚洲123区在线观看| 91老师国产黑色丝袜在线| 精品国产亚洲一区二区三区在线观看| 亚洲精品国产a久久久久久| 国产suv精品一区二区883| 日韩欧美国产小视频| 亚洲国产精品久久久久秋霞影院| av不卡在线播放| 国产欧美一区二区在线观看| 免费av网站大全久久| 欧美视频一区在线| 中文字幕精品一区| 国产成人综合网| 久久久久国产一区二区三区四区| 青青草91视频| 91精品国产综合久久福利| 亚洲高清免费视频| 欧洲精品在线观看| 亚洲一区在线观看网站| 91麻豆6部合集magnet| 最新日韩在线视频| 国产成人a级片| 国产视频在线观看一区二区三区| 国产在线精品不卡| ww亚洲ww在线观看国产| 国产一区二区91| 久久久亚洲午夜电影| 国产精品综合在线视频| 国产丝袜美腿一区二区三区| 国产91精品欧美| 国产精品久久久久天堂| av一二三不卡影片| 一区二区三区在线免费视频| 91美女蜜桃在线| 亚洲午夜久久久久久久久久久| 在线观看不卡一区| 午夜a成v人精品| 日韩视频一区二区三区在线播放 | 972aa.com艺术欧美| 亚洲日本中文字幕区| 99国产一区二区三精品乱码| 亚洲精品中文字幕在线观看| 91搞黄在线观看| 日av在线不卡| 久久久久久久久久看片| 成人激情免费视频| 一区二区三区四区在线免费观看 | 国产精品美女久久久久久2018| 成人18视频日本| 夜夜嗨av一区二区三区四季av| 欧美日韩午夜在线视频| 青椒成人免费视频| 久久婷婷久久一区二区三区| 成人精品视频一区二区三区尤物| 中文字幕亚洲成人| 欧美日韩三级在线| 精品夜夜嗨av一区二区三区| 中文在线资源观看网站视频免费不卡| 一本一本大道香蕉久在线精品 | 国产精品88av| 亚洲日本在线观看| 91精品国产综合久久福利| 国产电影精品久久禁18| 亚洲情趣在线观看| 欧美一区国产二区| 国产精品一区二区久久不卡| 一区二区在线观看视频在线观看| 日韩一卡二卡三卡四卡| 99精品视频一区二区| 午夜私人影院久久久久| 国产亚洲女人久久久久毛片| 91久久久免费一区二区| 紧缚捆绑精品一区二区| 亚洲人被黑人高潮完整版| 91精品国产综合久久蜜臀| 不卡一卡二卡三乱码免费网站 | 91亚洲精品乱码久久久久久蜜桃| 亚洲大片在线观看| 国产亚洲欧洲一区高清在线观看| 欧美色图在线观看| 国产精品一区二区免费不卡| 亚洲成人精品在线观看| 中文子幕无线码一区tr| 日韩欧美在线一区二区三区| 91麻豆视频网站| 国产一区二区影院| 日精品一区二区| 中文字幕日韩欧美一区二区三区| 日韩欧美成人一区| 久久精品一区八戒影视| 欧美一区二区三级| 色老汉一区二区三区|