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

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

?? codestreamwriter.java

?? jpeg2000編解碼
?? JAVA
字號:
/* * CVS identifier: * * $Id: CodestreamWriter.java,v 1.1.1.1 2002/07/22 09:26:47 grosbois Exp $ * * Class:                   CodestreamWriter * * Description:             Interface for writing bit streams * * * * 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.codestream.writer;import java.io.*;/** * This is the abstract class for writing to a codestream. A codestream * corresponds to headers (main and tile-parts) and packets. Each packet has a * head and a body. The codestream always has a maximum number of bytes that * can be written to it. After that many number of bytes no more data is * written to the codestream but the number of bytes is counted so that the * value returned by getMaxAvailableBytes() is negative. If the number of * bytes is unlimited a ridicoulosly large value, such as Integer.MAX_VALUE, * is equivalent. * * <p>Data writting to the codestream can be simulated. In this case, no byto * is effectively written to the codestream but the resulting number of bytes * is calculated and returned (although it is not accounted in the bit * stream). This can be used in rate control loops.</p> * * <p>Implementing classes should write the header of the bit stream before * writing any packets. The bit stream header can be written with the help of * the HeaderEncoder class.</p> * * @see HeaderEncoder * */public abstract class CodestreamWriter {    /** The number of bytes already written to the bit stream */    protected int ndata=0;    /** The maximum number of bytes that can be written to the bit stream */    protected int maxBytes;    /**     * Allocates this object and initializes the maximum number of bytes.     *     * @param mb The maximum number of bytes that can be written to the     * codestream.     * */    protected CodestreamWriter(int mb) {        maxBytes = mb;    }    /**     * Returns the number of bytes remaining available in the codestream. This     * is the maximum allowed number of bytes minus the number of bytes that     * have already been written to the bit stream. If more bytes have been     * written to the bit stream than the maximum number of allowed bytes,     * then a negative value is returned.     *     * @return The number of bytes remaining available in the bit stream.     * */    public abstract int getMaxAvailableBytes();    /**     * Returns the current length of the entire codestream.     *     * @return the current length of the codestream     * */    public abstract int getLength();    /**     * Writes a packet head into the codestream and returns the number of     * bytes used by this header. If in simulation mode then no data is     * effectively written to the codestream but the number of bytes is     * calculated. This can be used for iterative rate allocation.     *     * <p>If the number of bytes that has to be written to the codestream is     * more than the space left (as returned by getMaxAvailableBytes()), only     * the data that does not exceed the allowed length is effectively written     * and the rest is discarded. However the value returned by the method is     * the total length of the packet, as if all of it was written to the bit     * stream.</p>     *     * <p>If the codestream header has not been commited yet and if 'sim' is     * false, then the bit stream header is automatically commited (see     * commitBitstreamHeader() method) before writting the packet.     *     * @param head The packet head data.     *     * @param hlen The number of bytes in the packet head.     *     * @param sim Simulation mode flag. If true nothing is written to the bit     * stream, but the number of bytes that would be written is returned.     *     * @param sop Start of packet header marker flag. This flag indicates     * whether or not SOP markers should be written. If true, SOP markers     * should be written, if false, they should not.     *     * @param eph End of Packet Header marker flag. This flag indicates     * whether or not EPH markers should be written. If true, EPH markers     * should be written, if false, they should not.     *     * @return The number of bytes spent by the packet head.     *     * @exception IOException If an I/O error occurs while writing to the     * output stream.     *     * @see #commitBitstreamHeader     * */     public abstract int writePacketHead(byte head[],int hlen,boolean sim, 					boolean sop, boolean eph)        throws IOException;    /**     * Writes a packet body to the codestream and returns the number of bytes     * used by this body. If in simulation mode then no data is written to the     * bit stream but the number of bytes is calculated. This can be used for     * iterative rate allocation.     *     * <p>If the number of bytes that has to be written to the codestream is     * more than the space left (as returned by getMaxAvailableBytes()), only     * the data that does not exceed the allowed length is effectively written     * and the rest is discarded. However the value returned by the method is     * the total length of the packet, as if all of it was written to the bit     * stream.</p>     *     * @param body The packet body data.     *     * @param blen The number of bytes in the packet body.     *     * @param sim Simulation mode flag. If true nothing is written to the bit     * stream, but the number of bytes that would be written is returned.     *     * @param roiInPkt Whether or not there is ROI information in this packet     *     * @param roiLen Number of byte to read in packet body to get all the ROI     * information      *     * @return The number of bytes spent by the packet body.     *     * @exception IOException If an I/O error occurs while writing to the     * output stream.     *     * @see #commitBitstreamHeader     * */     public abstract int writePacketBody(byte body[],int blen,boolean sim,                                        boolean roiInPkt, int roiLen)         throws IOException;    /**     * Closes the underlying resource (file, stream, network connection,     * etc.). After a CodestreamWriter is closed no more data can be written     * to it.     *     * @exception IOException If an I/O error occurs while closing the     * resource.     * */    public abstract void close() throws IOException;        /**     * Writes the header data to the bit stream, if it has not been already     * done. In some implementations this method can be called only once, and     * an IllegalArgumentException is thrown if called more than once.     *     * @exception IOException If an I/O error occurs while writing the data.     *     * @exception IllegalArgumentException If this method has already been     * called.     * */    public abstract void commitBitstreamHeader(HeaderEncoder he)        throws IOException;    /**      * Gives the offset of the end of last packet containing ROI information      *     * @return End of last ROI packet      * */    public abstract int getOffLastROIPkt();}

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
亚洲欧美激情一区二区| 亚洲精品在线免费播放| 亚洲一区二区三区视频在线播放| 99久久99精品久久久久久| 国产三级精品在线| fc2成人免费人成在线观看播放 | 亚洲人成7777| 欧美色大人视频| 日韩国产欧美在线播放| 久久久久久久性| 97久久精品人人做人人爽| 一区二区三区日韩精品视频| 欧美男男青年gay1069videost| 美国十次了思思久久精品导航| 2014亚洲片线观看视频免费| 99热精品一区二区| 亚洲成人精品影院| 久久久亚洲欧洲日产国码αv| 成人看片黄a免费看在线| 一区二区免费在线播放| 日韩一级黄色大片| av在线这里只有精品| 亚洲一区二区精品视频| wwww国产精品欧美| 色婷婷久久一区二区三区麻豆| 日本少妇一区二区| 国产欧美一二三区| 欧美理论电影在线| 成人精品鲁一区一区二区| 视频一区国产视频| 国产日韩欧美制服另类| 欧美日韩精品欧美日韩精品一| 狠狠色2019综合网| 亚洲综合成人在线| 国产欧美视频一区二区| 国产精品白丝在线| 欧美日韩精品一区二区三区蜜桃 | 午夜精品福利一区二区蜜股av | 国产精品欧美极品| 欧美精品乱码久久久久久按摩| 国产成人在线电影| 午夜久久久影院| 亚洲欧洲av另类| 精品国产一区二区三区久久影院| 91一区二区在线| 韩日精品视频一区| 亚洲不卡一区二区三区| 中文字幕在线观看一区二区| 欧美不卡一区二区三区四区| 99久久精品国产导航| 国产麻豆午夜三级精品| 麻豆视频一区二区| 丝袜亚洲另类欧美| 夜夜爽夜夜爽精品视频| 国产精品久久久久久妇女6080| 精品福利一区二区三区免费视频| 欧美日韩精品欧美日韩精品一| 一本大道久久a久久精品综合| 成人黄色国产精品网站大全在线免费观看 | 热久久久久久久| 亚洲黄色小说网站| 亚洲三级免费电影| 国产精品色一区二区三区| 久久蜜桃一区二区| 日韩精品中文字幕在线不卡尤物| 在线成人高清不卡| 欧美日韩一区中文字幕| 欧美性xxxxx极品少妇| 国产日韩高清在线| 久久久久久夜精品精品免费| 91精品一区二区三区在线观看| 色噜噜狠狠成人中文综合| 不卡一区中文字幕| bt欧美亚洲午夜电影天堂| 成av人片一区二区| 成人免费av网站| av在线不卡观看免费观看| 成人福利视频在线看| 成人免费的视频| 成人丝袜高跟foot| 成人国产一区二区三区精品| 国产成人一级电影| 成人午夜激情在线| 成人av午夜电影| 色诱视频网站一区| 欧美视频在线一区| 欧美一区二区三区在线看| 日韩免费看网站| 久久嫩草精品久久久久| 中文字幕二三区不卡| 亚洲色图制服诱惑| 亚洲福中文字幕伊人影院| 午夜久久久久久久久久一区二区| 日本伊人午夜精品| 久久成人av少妇免费| 国产激情一区二区三区| 99麻豆久久久国产精品免费 | 国产欧美久久久精品影院| 久久精品一区二区三区四区| 日本一区二区成人| 亚洲一区二区三区小说| 奇米色777欧美一区二区| 韩国成人在线视频| 99精品国产91久久久久久| 欧美日韩一区二区三区视频| 亚洲尤物视频在线| 免费成人在线观看| 国产盗摄女厕一区二区三区| 91亚洲精品久久久蜜桃网站 | 欧美体内she精视频| 日韩精品一区二区三区四区| 久久精品亚洲乱码伦伦中文| 亚洲欧洲日韩av| 日日摸夜夜添夜夜添国产精品| 国内不卡的二区三区中文字幕| 97久久精品人人做人人爽| 欧美高清hd18日本| 欧美高清在线一区| 日韩电影一区二区三区四区| 国产suv一区二区三区88区| 色av一区二区| 久久久久久99精品| 丝袜美腿亚洲一区| 成人动漫一区二区在线| 日韩欧美国产一区二区三区 | 丝袜国产日韩另类美女| 国产精品亚洲а∨天堂免在线| 欧美专区日韩专区| 欧美激情一区在线| 麻豆91精品91久久久的内涵| 91丨porny丨中文| 精品精品欲导航| 夜夜揉揉日日人人青青一国产精品 | 国产精品一区二区在线看| 欧美日韩久久久一区| 国产精品人成在线观看免费| 日一区二区三区| 在线一区二区三区做爰视频网站| 久久久亚洲国产美女国产盗摄| 亚洲va欧美va国产va天堂影院| 99久久综合99久久综合网站| 精品电影一区二区| 午夜视频在线观看一区二区| 91视频在线看| 中文天堂在线一区| 国产在线一区观看| 欧美一区二区精品在线| 亚洲一二三四久久| 91无套直看片红桃| 亚洲国产精品v| 国产美女在线精品| 日韩一区和二区| 调教+趴+乳夹+国产+精品| 91久久精品国产91性色tv| 亚洲人午夜精品天堂一二香蕉| 国产69精品久久777的优势| 欧美精品一区二区三区在线| 日本色综合中文字幕| 欧美二区三区91| 丝袜美腿亚洲一区| 91精品在线一区二区| 日av在线不卡| 91精品婷婷国产综合久久竹菊| 亚洲国产精品尤物yw在线观看| 在线观看免费亚洲| 亚洲一区二区三区国产| 欧美性生活一区| 亚洲成av人片在www色猫咪| 欧美精品色综合| 日本成人中文字幕| 日韩限制级电影在线观看| 久久er精品视频| 国产亚洲欧洲997久久综合| 国产精品资源在线| 国产人伦精品一区二区| 成人美女视频在线观看18| 亚洲丝袜另类动漫二区| 色综合久久九月婷婷色综合| 亚洲一区影音先锋| 精品视频一区二区三区免费| 午夜精品一区二区三区三上悠亚| 制服.丝袜.亚洲.中文.综合| 麻豆成人久久精品二区三区红 | 免费人成在线不卡| 日韩欧美国产一区二区在线播放| 国内成人免费视频| 亚洲欧洲另类国产综合| 欧美色窝79yyyycom| 秋霞电影网一区二区| 欧美精品一区二区三区视频| 成人免费不卡视频| 亚洲成年人影院| 欧美成人video| 成人做爰69片免费看网站| 亚洲综合丝袜美腿| 精品久久99ma| 色噜噜久久综合| 蜜桃免费网站一区二区三区| 日本一二三不卡| 欧美日韩综合色|