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

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? blkimgdatasrcimageproducer.java

?? jpeg2000算法實(shí)現(xiàn)
?? JAVA
?? 第 1 頁 / 共 2 頁
字號:
/*  * CVS identifier: *  * $Id: BlkImgDataSrcImageProducer.java,v 1.13 2000/12/04 17:18:54 grosbois Exp $ *  * Class:                   BlkImgDataSrcImageProducer *  * Description:             Creates an Java AWT ImapeProducer from a *                          BlkImgDataSrc *  *  *  * 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.disp;import jj2000.j2k.image.*;import jj2000.j2k.util.*;import jj2000.j2k.*;import java.awt.image.*;import java.util.*;import java.awt.*;/** * This class provides an ImageProducer for the BlkImgDataSrc interface. It * will request data from the BlkImgDataSrc source and deliver it to the * registered image consumers. The data is requested line by line, starting at * the top of each tile. The tiles are requested in raster-scan order. * * <P>The image data is not rescaled to fit the available dynamic range (not * even the alpha values for RGBA data). * * <P>BlkImgDataSrc sources with 1, 3 and 4 components are supported. If 1, * it is assumed to be gray-level data. If 3 it is assumed to be RGB data, in * that order. If 4 it is assumed to be RGBA data (RGB plus alpha plane), in * that order. All components must have the same size. * * @see ImageProducer * * @see BlkImgDataSrc * */public class BlkImgDataSrcImageProducer implements ImageProducer {    /** The list of image consumers for this image producer */    private volatile Vector consumers;    /** The source of image data */    private BlkImgDataSrc src;    /** The type of image: GRAY, RGB or RGBA */    private int type;    /** The gray-level image type (256 levels). For this type the source of     * image data must have only 1 component. */    private static final int GRAY = 0;    /** The color image type (24 bits RGB). No alpha plane. For this type the     * source of image data must have 3 components, which are considered to be     * R, G and B, in that order */    private static final int RGB = 1;    /** The color image type (32 bits RGBA). For this type the source of image     * data must have 4 components, which are considered to be R, G, B and A,     * in that order. */    private static final int RGBA = 2;    /** The default color model (0xAARRGGBB) used in Java */    private static final ColorModel cm = ColorModel.getRGBdefault();    /**     * Creates an image producer which uses 'src' as the source of image     * data. If 'once' is true then the image is produced only once.     *     * @param src The source of image data     *     * @param once If the image is to be produced only once or not.     * */    public BlkImgDataSrcImageProducer(BlkImgDataSrc src){        int i;        // Check for image type        switch (src.getNumComps()) {        case 1:            type = GRAY;            break;        case 3:            type = RGB;            break;        case 4:            type = RGBA;            break;        default:            throw new IllegalArgumentException("Only 1, 3, and 4 components "+                                               "supported");        }        // Check component sizes and bitdepths        for (i=src.getNumComps()-1; i>=0; i--) {            if (src.getCompImgHeight(i) != src.getImgHeight() ||                src.getCompImgWidth(i) != src.getImgWidth()) {                throw new IllegalArgumentException("All components must have "+                                                   "the same dimensions and no"+                                                   "subsampling");            }            if (src.getNomRangeBits(i) > 8) {                throw new IllegalArgumentException("Depths greater than 8 "+                                                   "bits per component is not "+                                                   "supported");            }        }        this.src = src;        consumers = new Vector();    }    /**     * Returns an Image object given an BlkImgDataSrc source. It will use a     * new J2KImageProducer object as the underlying image producer.     *     * <P>This method uses the JVM default Toolkit, which might not be what it     * is desired.     *     * @param src The source of image data     *     * @return An image which has a J2KImageProducer object as the underlying     * image producer.     * */    public static Image createImage(BlkImgDataSrc src){        // Use the system toolkit's createImage method        return            Toolkit.getDefaultToolkit().            createImage(new BlkImgDataSrcImageProducer(src));    }    /**     * Returns an Image object given an BlkImgDataSrc source. It will use a     * new J2KImageProducer object as the underlying image producer.     *     * <P>This method uses the component's toolkit. The toolkit of a component      * may change if it is moved from one frame to another one, since it is     * the frame that controls which toolkit is used.     *     * @param src The source of image data     *     * @param c The component to use to generate the 'Image' object from the     * 'ImageProducer'.     *     * @return An image which has a J2KImageProducer object as the underlying     * image producer.     * */    public static Image createImage(BlkImgDataSrc src, Component c){        // Use the component's toolkit createImage method        return c.getToolkit().            createImage(new BlkImgDataSrcImageProducer(src));    }    /**     * Registers an image consumer with this image producer. The delivery of     * image data does not start immediately. It will only start after the     * next call to the startProduction() method.     *     * @param ic The image consumer to which image data has to be delivered.     *     * @see #startProduction     * */    public final synchronized void addConsumer(ImageConsumer ic) {        if (ic != null && !consumers.contains(ic)) {            consumers.addElement(ic);        }    }    /**     * This method determines if the given image consumer, 'ic', is registered     * with this image producer.     *     * @param ic The image consumer to test.     *     * @return True if 'ic' is registered with this image producer, false     * otherwise.     * */    public boolean isConsumer(ImageConsumer ic) {        return consumers.contains(ic);    }    /**     * Removes the given image consumer 'ic' from the list of consumers     * registered with this producer. This image producer will stop sending     * pixel data to 'ic' as soon as it is feasible. The method call is     * ignored if 'ic' has not been registered with this image producer.     *     * @param ic The image consumer to be removed     * */    public synchronized void removeConsumer(ImageConsumer ic) {        consumers.removeElement(ic);    }    /**     * Registers the given ImageConsumer object as a consumer and starts an     * immediate reconstruction of the image data which will then be delivered     * to this consumer and any other consumer which may have already been     * registered with the producer.     *     * <P> Delivery is performed in "parallel" to all the registered image     * consumers. By "parallel" it is meant that each line of the image is     * delivered to all consumers before delivering the next line.     *     * <P>If the data returned by the BlkImgDataSrc source happens to be     * progressive (see BlkImgDataSrc and DataBlk) then the abort condition is     * sent to the image consumers and no further data is delivered.     *     * <P>Once all the data is sent to a consumer this one is automatically     * removed from the list of registered ones, unless an abort happens.     *     * <P>To start the BlkImgDataSrc is set to tile (0,0), and the tiles are     * produced in raster sacn order. Once the last tile is produced,     * setTile(0,0) is called again, which signals that we are done with the     * current tile, which might free up resources.     *     * @param ic The image consumer to register     * */

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
亚洲va欧美va天堂v国产综合| 蜜臀av亚洲一区中文字幕| 91精品国产综合久久精品性色| 国产一区二区三区精品视频| 亚洲一区二区在线免费看| 精品久久久久一区二区国产| 欧美日韩中文字幕一区二区| 岛国一区二区三区| 青青草国产成人99久久| 一区二区在线观看视频| 亚洲国产高清aⅴ视频| 日韩天堂在线观看| 欧美视频精品在线| 99精品视频一区二区| 欧美三级韩国三级日本一级| 懂色av一区二区在线播放| 蜜桃视频一区二区三区| 亚洲午夜久久久久久久久电影院 | 日本精品免费观看高清观看| 国产伦精品一区二区三区在线观看| 亚洲bdsm女犯bdsm网站| 亚洲色图在线播放| 中文字幕二三区不卡| 国产亚洲婷婷免费| 91精品国产色综合久久ai换脸| 在线观看日韩电影| 91麻豆免费看| 97久久超碰国产精品电影| 国产99久久久国产精品| 国产激情精品久久久第一区二区| 看电影不卡的网站| 秋霞午夜鲁丝一区二区老狼| 午夜欧美大尺度福利影院在线看| 亚洲视频一二三| 亚洲日本欧美天堂| 亚洲天堂免费在线观看视频| 亚洲日本中文字幕区| 亚洲三级小视频| 一区二区久久久久久| 亚洲永久精品大片| 亚洲国产sm捆绑调教视频| 亚洲一区二区在线免费观看视频| 一二三四区精品视频| 亚洲午夜久久久久中文字幕久| 亚洲h精品动漫在线观看| 亚洲与欧洲av电影| 日韩黄色小视频| 麻豆91免费看| 狠狠色丁香婷婷综合久久片| 国产精品自拍在线| 成人深夜福利app| 91网上在线视频| 欧美日韩国产色站一区二区三区| 91精品国产综合久久国产大片| 欧美一区二区三区在线| 精品日韩一区二区| 国产女人18毛片水真多成人如厕 | 欧美高清在线精品一区| 中文字幕在线不卡一区二区三区| 综合久久久久久久| 一区二区三区波多野结衣在线观看| 亚洲成人你懂的| 蓝色福利精品导航| 成人app软件下载大全免费| 色天使久久综合网天天| 欧美高清视频一二三区| 精品国产乱码久久久久久久久 | 欧美xxx久久| 欧美激情一二三区| 玉米视频成人免费看| 99视频精品全部免费在线| 色噜噜狠狠色综合欧洲selulu | 国产精品激情偷乱一区二区∴| 亚洲视频综合在线| 日产国产欧美视频一区精品| 韩国v欧美v日本v亚洲v| 91尤物视频在线观看| 91精品久久久久久久91蜜桃| 国产午夜三级一区二区三| 亚洲欧美日韩精品久久久久| 亚洲成人综合视频| 韩国女主播一区二区三区| 91视频在线观看| 日韩欧美成人激情| 亚洲欧美激情一区二区| 精品亚洲国产成人av制服丝袜| 91猫先生在线| xnxx国产精品| 午夜精品一区二区三区电影天堂 | 欧美一区在线视频| 国产精品热久久久久夜色精品三区 | 日韩精品一区在线观看| 亚洲人成亚洲人成在线观看图片| 美女网站色91| 色欧美日韩亚洲| 国产清纯白嫩初高生在线观看91 | 中文成人av在线| 轻轻草成人在线| 91美女在线看| 国产午夜精品一区二区| 青青草伊人久久| 色噜噜偷拍精品综合在线| 久久久影视传媒| 蜜臀av在线播放一区二区三区| 91色视频在线| 日本一区二区三级电影在线观看| 91视频在线看| 日韩欧美中文字幕制服| 中国色在线观看另类| 日韩中文字幕区一区有砖一区 | 国产午夜精品理论片a级大结局| 亚洲成av人影院| www.成人在线| 中文字幕欧美国产| 精品午夜一区二区三区在线观看 | 精品捆绑美女sm三区| 亚欧色一区w666天堂| 91美女视频网站| 国产精品嫩草99a| 国产精品77777| 欧美精品一区二区在线播放| 日韩成人一区二区| 欧美人妇做爰xxxⅹ性高电影| 亚洲精品菠萝久久久久久久| 不卡的电影网站| 国产精品人成在线观看免费| 99国产精品视频免费观看| 欧美一区二区在线不卡| 性久久久久久久久久久久| 一本久久精品一区二区| 久久草av在线| 欧美三级在线看| 五月天激情综合网| 欧美三级中文字幕| 亚洲国产日韩在线一区模特| 在线观看成人免费视频| 一卡二卡三卡日韩欧美| 在线一区二区观看| 亚洲一本大道在线| 欧美日韩在线免费视频| 午夜国产精品影院在线观看| 欧美日本韩国一区二区三区视频| 亚洲高清视频在线| 欧美日本乱大交xxxxx| 日韩国产在线观看一区| 4438x成人网最大色成网站| 麻豆精品久久精品色综合| 日韩欧美视频一区| 国产乱子轮精品视频| 久久精品日韩一区二区三区| www.av精品| 一区二区在线免费观看| 欧美日韩一区二区三区高清| 人人精品人人爱| 国产性做久久久久久| 99re这里只有精品视频首页| 亚洲午夜免费福利视频| 日韩欧美中文字幕公布| 国产精品一区专区| 亚洲欧美精品午睡沙发| 欧美高清视频一二三区 | 久久国产视频网| 国产三级精品视频| 色猫猫国产区一区二在线视频| 视频在线在亚洲| 国产亚洲精品中文字幕| 91香蕉视频污| 久久精品国产亚洲5555| 中文在线资源观看网站视频免费不卡| 色88888久久久久久影院野外| 天堂av在线一区| 中文字幕久久午夜不卡| 欧美性大战久久| 久久国产精品99精品国产| 国产精品剧情在线亚洲| 制服丝袜亚洲网站| 成人午夜视频网站| 午夜视频一区二区| 国产精品色呦呦| 欧美一区二区成人| bt欧美亚洲午夜电影天堂| 亚欧色一区w666天堂| 中文字幕欧美三区| 91精品一区二区三区久久久久久| 成人久久18免费网站麻豆| 日韩精品乱码免费| 国产精品九色蝌蚪自拍| 日韩欧美在线综合网| 日本乱人伦aⅴ精品| 国产精品主播直播| 日韩av不卡在线观看| 亚洲男同性恋视频| 久久久一区二区三区捆绑**| 欧美色图天堂网| 丁香婷婷综合五月| 另类小说图片综合网| 一区二区三区在线免费视频| 国产性天天综合网| 日韩三级电影网址| 欧美日韩久久一区二区|