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

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

?? ccittg4encoder.java

?? iText可以制作中文PDF文件的JAVA源程序最新版下載
?? JAVA
?? 第 1 頁 / 共 2 頁
字號(hào):
/* * Copyright (c) 2001 Sun Microsystems, Inc. All Rights Reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * -Redistributions of source code must retain the above copyright notice, this * list of conditions and the following disclaimer. * * -Redistribution in binary form must reproduct the above copyright notice, * this list of conditions and the following disclaimer in the documentation * and/or other materials provided with the distribution. * * Neither the name of Sun Microsystems, Inc. or the names of contributors may * be used to endorse or promote products derived from this software without * specific prior written permission. * * This software is provided "AS IS," without a warranty of any kind. ALL * EXPRESS OR IMPLIED CONDITIONS, REPRESENTATIONS AND WARRANTIES, INCLUDING ANY * IMPLIED WARRANTY OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE OR * NON-INFRINGEMENT, ARE HEREBY EXCLUDED. SUN AND ITS LICENSORS SHALL NOT BE * LIABLE FOR ANY DAMAGES SUFFERED BY LICENSEE AS A RESULT OF USING, MODIFYING * OR DISTRIBUTING THE SOFTWARE OR ITS DERIVATIVES. IN NO EVENT WILL SUN OR ITS * LICENSORS BE LIABLE FOR ANY LOST REVENUE, PROFIT OR DATA, OR FOR DIRECT, * INDIRECT, SPECIAL, CONSEQUENTIAL, INCIDENTAL OR PUNITIVE DAMAGES, HOWEVER * CAUSED AND REGARDLESS OF THE THEORY OF LIABILITY, ARISING OUT OF THE USE OF * OR INABILITY TO USE SOFTWARE, EVEN IF SUN HAS BEEN ADVISED OF THE * POSSIBILITY OF SUCH DAMAGES. * * You acknowledge that Software is not designed,licensed or intended for use in * the design, construction, operation or maintenance of any nuclear facility. * * Modified by Paulo Soares for iText. */package com.lowagie.text.pdf;public class CCITTG4Encoder {        /**     * The CCITT numerical definition of white.     */    private static final int WHITE = 0;        /**     * The CCITT numerical definition of black.     */    private static final int BLACK = 1;        // --- Begin tables for CCITT compression ---        private static byte[] byteTable = new byte[] {        8, 7, 6, 6, 5, 5, 5, 5, 4, 4, 4, 4, 4, 4, 4, 4,     // 0 to 15        3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3,     // 16 to 31        2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,     // 32 to 47        2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,     // 48 to 63        1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,     // 64 to 79        1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,     // 80 to 95        1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,     // 96 to 111        1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,     // 112 to 127        0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,     // 128 to 143        0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,     // 144 to 159        0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,     // 160 to 175        0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,     // 176 to 191        0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,     // 192 to 207        0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,     // 208 to 223        0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,     // 224 to 239        0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0      // 240 to 255    };        /**     * Terminating codes for black runs.     */    private static int[] termCodesBlack = new int[] {        /*     0 0x0000 */     0x0dc0000a, 0x40000003, 0xc0000002, 0x80000002,        /*     4 0x0004 */     0x60000003, 0x30000004, 0x20000004, 0x18000005,        /*     8 0x0008 */     0x14000006, 0x10000006, 0x08000007, 0x0a000007,        /*    12 0x000c */     0x0e000007, 0x04000008, 0x07000008, 0x0c000009,        /*    16 0x0010 */     0x05c0000a, 0x0600000a, 0x0200000a, 0x0ce0000b,        /*    20 0x0014 */     0x0d00000b, 0x0d80000b, 0x06e0000b, 0x0500000b,        /*    24 0x0018 */     0x02e0000b, 0x0300000b, 0x0ca0000c, 0x0cb0000c,        /*    28 0x001c */     0x0cc0000c, 0x0cd0000c, 0x0680000c, 0x0690000c,        /*    32 0x0020 */     0x06a0000c, 0x06b0000c, 0x0d20000c, 0x0d30000c,        /*    36 0x0024 */     0x0d40000c, 0x0d50000c, 0x0d60000c, 0x0d70000c,        /*    40 0x0028 */     0x06c0000c, 0x06d0000c, 0x0da0000c, 0x0db0000c,        /*    44 0x002c */     0x0540000c, 0x0550000c, 0x0560000c, 0x0570000c,        /*    48 0x0030 */     0x0640000c, 0x0650000c, 0x0520000c, 0x0530000c,        /*    52 0x0034 */     0x0240000c, 0x0370000c, 0x0380000c, 0x0270000c,        /*    56 0x0038 */     0x0280000c, 0x0580000c, 0x0590000c, 0x02b0000c,        /*    60 0x003c */     0x02c0000c, 0x05a0000c, 0x0660000c, 0x0670000c    };        /**     * Terminating codes for white runs.     */    private static int[] termCodesWhite = new int[] {        /*     0 0x0000 */     0x35000008, 0x1c000006, 0x70000004, 0x80000004,        /*     4 0x0004 */     0xb0000004, 0xc0000004, 0xe0000004, 0xf0000004,        /*     8 0x0008 */     0x98000005, 0xa0000005, 0x38000005, 0x40000005,        /*    12 0x000c */     0x20000006, 0x0c000006, 0xd0000006, 0xd4000006,        /*    16 0x0010 */     0xa8000006, 0xac000006, 0x4e000007, 0x18000007,        /*    20 0x0014 */     0x10000007, 0x2e000007, 0x06000007, 0x08000007,        /*    24 0x0018 */     0x50000007, 0x56000007, 0x26000007, 0x48000007,        /*    28 0x001c */     0x30000007, 0x02000008, 0x03000008, 0x1a000008,        /*    32 0x0020 */     0x1b000008, 0x12000008, 0x13000008, 0x14000008,        /*    36 0x0024 */     0x15000008, 0x16000008, 0x17000008, 0x28000008,        /*    40 0x0028 */     0x29000008, 0x2a000008, 0x2b000008, 0x2c000008,        /*    44 0x002c */     0x2d000008, 0x04000008, 0x05000008, 0x0a000008,        /*    48 0x0030 */     0x0b000008, 0x52000008, 0x53000008, 0x54000008,        /*    52 0x0034 */     0x55000008, 0x24000008, 0x25000008, 0x58000008,        /*    56 0x0038 */     0x59000008, 0x5a000008, 0x5b000008, 0x4a000008,        /*    60 0x003c */     0x4b000008, 0x32000008, 0x33000008, 0x34000008    };        /**     * Make-up codes for black runs.     */    private static int[] makeupCodesBlack = new int[] {        /*     0 0x0000 */     0x00000000, 0x03c0000a, 0x0c80000c, 0x0c90000c,        /*     4 0x0004 */     0x05b0000c, 0x0330000c, 0x0340000c, 0x0350000c,        /*     8 0x0008 */     0x0360000d, 0x0368000d, 0x0250000d, 0x0258000d,        /*    12 0x000c */     0x0260000d, 0x0268000d, 0x0390000d, 0x0398000d,        /*    16 0x0010 */     0x03a0000d, 0x03a8000d, 0x03b0000d, 0x03b8000d,        /*    20 0x0014 */     0x0290000d, 0x0298000d, 0x02a0000d, 0x02a8000d,        /*    24 0x0018 */     0x02d0000d, 0x02d8000d, 0x0320000d, 0x0328000d,        /*    28 0x001c */     0x0100000b, 0x0180000b, 0x01a0000b, 0x0120000c,        /*    32 0x0020 */     0x0130000c, 0x0140000c, 0x0150000c, 0x0160000c,        /*    36 0x0024 */     0x0170000c, 0x01c0000c, 0x01d0000c, 0x01e0000c,        /*    40 0x0028 */     0x01f0000c, 0x00000000, 0x00000000, 0x00000000,        /*    44 0x002c */     0x00000000, 0x00000000, 0x00000000, 0x00000000,        /*    48 0x0030 */     0x00000000, 0x00000000, 0x00000000, 0x00000000,        /*    52 0x0034 */     0x00000000, 0x00000000, 0x00000000, 0x00000000,        /*    56 0x0038 */     0x00000000, 0x00000000, 0x00000000, 0x00000000    };        /**     * Make-up codes for white runs.     */    private static int[] makeupCodesWhite = new int[] {        /*     0 0x0000 */     0x00000000, 0xd8000005, 0x90000005, 0x5c000006,        /*     4 0x0004 */     0x6e000007, 0x36000008, 0x37000008, 0x64000008,        /*     8 0x0008 */     0x65000008, 0x68000008, 0x67000008, 0x66000009,        /*    12 0x000c */     0x66800009, 0x69000009, 0x69800009, 0x6a000009,        /*    16 0x0010 */     0x6a800009, 0x6b000009, 0x6b800009, 0x6c000009,        /*    20 0x0014 */     0x6c800009, 0x6d000009, 0x6d800009, 0x4c000009,        /*    24 0x0018 */     0x4c800009, 0x4d000009, 0x60000006, 0x4d800009,        /*    28 0x001c */     0x0100000b, 0x0180000b, 0x01a0000b, 0x0120000c,        /*    32 0x0020 */     0x0130000c, 0x0140000c, 0x0150000c, 0x0160000c,        /*    36 0x0024 */     0x0170000c, 0x01c0000c, 0x01d0000c, 0x01e0000c,        /*    40 0x0028 */     0x01f0000c, 0x00000000, 0x00000000, 0x00000000,        /*    44 0x002c */     0x00000000, 0x00000000, 0x00000000, 0x00000000,        /*    48 0x0030 */     0x00000000, 0x00000000, 0x00000000, 0x00000000,        /*    52 0x0034 */     0x00000000, 0x00000000, 0x00000000, 0x00000000,        /*    56 0x0038 */     0x00000000, 0x00000000, 0x00000000, 0x00000000    };        /**     * Pass mode table.     */    private static int[] passMode = new int[] {        0x10000004            // 0001    };        /**     * Vertical mode table.     */    private static int[] vertMode = new int[] {        0x06000007,            // 0000011        0x0c000006,            // 000011        0x60000003,            // 011        0x80000001,            // 1        0x40000003,            // 010        0x08000006,            // 000010        0x04000007            // 0000010    };        /**     * Horizontal mode table.     */    private static int[] horzMode = new int[] {        0x20000003            // 001    };        /**     * Black and white terminating code table.     */    private static int[][] termCodes =    new int[][] {termCodesWhite, termCodesBlack};        /**     * Black and white make-up code table.     */    private static int[][] makeupCodes =        new int[][] {makeupCodesWhite, makeupCodesBlack};        /**     * Black and white pass mode table.     */    private static int[][] pass = new int[][] {passMode, passMode};        /**     * Black and white vertical mode table.     */    private static int[][] vert = new int[][] {vertMode, vertMode};        /**     * Black and white horizontal mode table.     */    private static int[][] horz = new int[][] {horzMode, horzMode};        // --- End tables for CCITT compression ---        /**     * Output bit buffer.     */    private int bits;        /**     * Number of bits in the output bit buffer.     */    private int ndex;        /**     * Constructs a <code>TIFFFaxEncoder</code> for CCITT bilevel encoding.     */    public CCITTG4Encoder() {    }        public static byte[] compress(byte[] data, int width, int height) {        CCITTG4Encoder g4 = new CCITTG4Encoder();        return g4.encodeT6(data, width, height);    }        /**     * Return min of <code>maxOffset</code> or offset of first pixel     * different from pixel at <code>bitOffset</code>.     */    private int nextState(byte[] data,        int    base,        int    bitOffset,        int    maxOffset) {        if(data == null) {            return maxOffset;        }                int next  = base + (bitOffset>>>3);        int end   = base + (maxOffset>>>3);        if(end == data.length) { // Prevents out of bounds exception below            end--;        }        if (next == data.length) // and so does this            --next;        int extra = bitOffset & 0x7;                int  testbyte;        if((data[next] & (0x80 >>> extra)) != 0) {    // look for "0"            testbyte = ~(data[next]) & (0xff >>> extra);            while (next < end) {                if (testbyte != 0) {                    break;                }                testbyte = ~(data[++next]) & 0xff;            }        } else {                // look for "1"            if ((testbyte = (data[next] & (0xff >>> extra))) != 0) {                bitOffset = (next-base)*8 + byteTable[testbyte];                return ((bitOffset < maxOffset) ? bitOffset : maxOffset);            }            while (next < end) {                if ((testbyte = data[++next]&0xff) != 0) {                    // "1" is in current byte

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號(hào) Ctrl + =
減小字號(hào) Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
久久草av在线| 最新中文字幕一区二区三区| 国产亚洲欧美激情| 自拍视频在线观看一区二区| 亚洲高清免费视频| 黄页视频在线91| 91浏览器打开| 日韩欧美精品在线视频| 中文字幕成人网| 亚洲成人黄色小说| 国产成人免费在线视频| 精品视频123区在线观看| 久久久久亚洲蜜桃| 一区二区国产盗摄色噜噜| 秋霞午夜av一区二区三区| 成人美女在线观看| 91精品国产一区二区三区| 亚洲国产精品精华液2区45| 亚洲国产aⅴ天堂久久| 国产精品 欧美精品| 欧美丝袜丝交足nylons图片| 久久久久久久久岛国免费| 亚洲综合免费观看高清完整版在线| 精品一区二区三区免费毛片爱| 97久久人人超碰| 久久久影视传媒| 午夜精品一区在线观看| 成人国产免费视频| 欧美va亚洲va| 亚洲一二三四区不卡| 成人午夜视频网站| 日韩欧美国产精品| 亚洲国产wwwccc36天堂| 午夜视黄欧洲亚洲| 91黄色在线观看| 亚洲香肠在线观看| 美女免费视频一区二区| 91欧美一区二区| 国产欧美一区二区在线| 日韩av中文字幕一区二区三区 | 欧美视频在线一区| 国产精品久久久久三级| 久久国产精品99久久久久久老狼| 日本精品一区二区三区高清| 国产欧美日韩不卡免费| 久久9热精品视频| 欧美猛男超大videosgay| 日韩毛片在线免费观看| 国产成人高清视频| 欧美成人一区二区三区在线观看 | 欧美一区二区成人| 亚洲一卡二卡三卡四卡五卡| 99精品视频在线观看| 国产欧美视频一区二区三区| 国内精品国产成人国产三级粉色| 日韩午夜电影av| 日韩福利电影在线观看| 欧美日免费三级在线| 依依成人精品视频| 色综合久久久网| 亚洲男人的天堂在线aⅴ视频| 不卡在线观看av| 亚洲国产精品成人综合色在线婷婷| 久久精品国产在热久久| 日韩久久久久久| 久久精品国产99久久6| 日韩欧美国产一区二区三区| 久久精品国产亚洲a| 日韩免费高清av| 精品一区二区免费看| 精品国产一区二区三区不卡| 精品中文字幕一区二区| 337p粉嫩大胆色噜噜噜噜亚洲 | 久久综合九色综合久久久精品综合| 久久疯狂做爰流白浆xx| 久久无码av三级| 国产精品一区免费在线观看| 国产亚洲欧美日韩日本| 国产成人免费高清| 亚洲欧洲日产国产综合网| 色综合色狠狠天天综合色| 亚洲综合成人在线视频| 欧美日韩一区不卡| 日本va欧美va精品发布| 精品播放一区二区| 成人晚上爱看视频| 亚洲人成在线观看一区二区| 欧美中文字幕一二三区视频| 日本午夜一区二区| 337p日本欧洲亚洲大胆精品| 成人av在线资源网| 亚洲自拍偷拍图区| 欧美一区二区三区视频免费| 国产最新精品免费| 国产精品久久福利| 日本丶国产丶欧美色综合| 丝袜美腿成人在线| 久久久国产一区二区三区四区小说| 成人激情电影免费在线观看| 一区二区三区成人在线视频| 91精品国产丝袜白色高跟鞋| 国产成人亚洲综合a∨婷婷 | 欧美色视频一区| 狂野欧美性猛交blacked| 国产日韩精品一区| 色婷婷综合久久久中文字幕| 日韩二区在线观看| 中文字幕精品综合| 欧美日韩综合不卡| 精品一区二区三区视频在线观看| 国产精品夫妻自拍| 欧美剧在线免费观看网站| 国产精品一区二区久久不卡| 一区二区在线免费| 日韩精品一区二区三区视频| 99国产一区二区三精品乱码| 日本亚洲欧美天堂免费| 国产精品日韩成人| 欧美一区二区久久久| 99久久综合狠狠综合久久| 偷拍一区二区三区四区| 久久精品亚洲麻豆av一区二区| 在线观看亚洲a| 国产美女视频91| 亚洲精品一卡二卡| 精品国精品国产尤物美女| 在线亚洲免费视频| 国产在线精品一区二区夜色| 亚洲一区在线看| 中文无字幕一区二区三区| 91精品午夜视频| 一本色道久久综合亚洲91| 精品一区二区三区影院在线午夜| 亚洲综合久久av| 国产精品人人做人人爽人人添| 这里只有精品电影| 色综合天天综合狠狠| 国产精品自在欧美一区| 亚洲第一综合色| 国产精品久久久久久久久免费桃花| 欧美一区二区三区在线电影 | 亚洲一二三级电影| 欧美国产一区在线| 日韩免费视频线观看| 欧美日韩视频在线一区二区| 成人av在线资源网| 国产一区二区久久| 日韩高清国产一区在线| 亚洲精品日韩专区silk| 欧美激情综合五月色丁香小说| 日韩免费成人网| 91精品国产91综合久久蜜臀| 在线国产亚洲欧美| 成人激情av网| 国产成人免费在线观看| 激情都市一区二区| 美女脱光内衣内裤视频久久网站 | 欧美一级理论性理论a| 一本大道久久a久久精品综合| 成人综合婷婷国产精品久久蜜臀 | 久久午夜羞羞影院免费观看| 91精品国产乱| 337p亚洲精品色噜噜| 欧美色综合网站| 欧美中文字幕一区二区三区 | 亚洲午夜免费视频| 有码一区二区三区| 国产精品盗摄一区二区三区| 国产精品美日韩| 国产精品天美传媒| 国产欧美精品一区| 国产欧美精品一区aⅴ影院| 久久久久亚洲综合| 久久亚洲一区二区三区明星换脸 | 大陆成人av片| 成人午夜视频在线观看| 丁香另类激情小说| 国产成人av在线影院| 国产不卡视频一区二区三区| 国产99久久久国产精品免费看 | 国产精品久久久久久久久图文区 | 91啦中文在线观看| 色婷婷综合久久久中文一区二区| 99国产精品99久久久久久| 成人毛片在线观看| 成人爱爱电影网址| 成人国产一区二区三区精品| 本田岬高潮一区二区三区| va亚洲va日韩不卡在线观看| 91蝌蚪国产九色| 色www精品视频在线观看| 在线视频你懂得一区二区三区| 欧美亚洲综合另类| 欧美精品久久一区| 日韩视频免费直播| www欧美成人18+| 国产精品成人一区二区三区夜夜夜 | 亚洲免费资源在线播放| 亚洲免费在线看| 天堂av在线一区|