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

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

?? install.doc

?? jpeg編解碼器
?? DOC
?? 第 1 頁 / 共 4 頁
字號:
makefile to equal the corresponding object file name (for example, jmemansi.oor jmemansi.obj for jmemansi.c).If you have plenty of (real or virtual) main memory, just use jmemnobs.c."Plenty" means about ten bytes for every pixel in the largest imagesyou plan to process, so a lot of systems don't meet this criterion.If yours doesn't, try jmemansi.c first.  If that doesn't compile, you'll haveto use jmemname.c; be sure to adjust select_file_name() for local conditions.You may also need to change unlink() to remove() in close_backing_store().Except with jmemnobs.c or jmemmac.c, you need to adjust the DEFAULT_MAX_MEMsetting to a reasonable value for your system (either by adding a #define forDEFAULT_MAX_MEM to jconfig.h, or by adding a -D switch to the Makefile).This value limits the amount of data space the program will attempt toallocate.  Code and static data space isn't counted, so the actual memoryneeds for cjpeg or djpeg are typically 100 to 150Kb more than the max-memorysetting.  Larger max-memory settings reduce the amount of I/O needed toprocess a large image, but too large a value can result in "insufficientmemory" failures.  On most Unix machines (and other systems with virtualmemory), just set DEFAULT_MAX_MEM to several million and forget it.  At theother end of the spectrum, for MS-DOS machines you probably can't go muchabove 300K to 400K.  (On MS-DOS the value refers to conventional memory only.Extended/expanded memory is handled separately by jmemdos.c.)BUILDING THE SOFTWARE=====================Now you should be able to compile the software.  Just say "make" (orwhatever's necessary to start the compilation).  Have a cup of coffee.Here are some things that could go wrong:If your compiler complains about undefined structures, you should be able toshut it up by putting "#define INCOMPLETE_TYPES_BROKEN" in jconfig.h.If you have trouble with missing system include files or inclusion of thewrong ones, read jinclude.h.  This shouldn't happen if you used configureor ckconfig.c to set up jconfig.h.There are a fair number of routines that do not use all of their parameters;some compilers will issue warnings about this, which you can ignore.  Thereare also a few configuration checks that may give "unreachable code" warnings.Any other warning deserves investigation.If you don't have a getenv() library routine, define NO_GETENV.Also see the system-specific hints, below.TESTING THE SOFTWARE====================As a quick test of functionality we've included a small sample image inseveral forms:	testorig.jpg	Starting point for the djpeg tests.	testimg.ppm	The output of djpeg testorig.jpg	testimg.bmp	The output of djpeg -bmp -colors 256 testorig.jpg	testimg.jpg	The output of cjpeg testimg.ppm	testprog.jpg	Progressive-mode equivalent of testorig.jpg.	testimgp.jpg	The output of cjpeg -progressive -optimize testimg.ppm(The first- and second-generation .jpg files aren't identical since JPEG islossy.)  If you can generate duplicates of the testimg* files then youprobably have working programs.With most of the makefiles, "make test" will perform the necessarycomparisons.If you're using a makefile that doesn't provide the test option, run djpegand cjpeg by hand and compare the output files to testimg* with whateverbinary file comparison tool you have.  The files should be bit-for-bitidentical.If the programs complain "MAX_ALLOC_CHUNK is wrong, please fix", then youneed to reduce MAX_ALLOC_CHUNK to a value that fits in type size_t.Try adding "#define MAX_ALLOC_CHUNK 65520L" to jconfig.h.  A less likelyconfiguration error is "ALIGN_TYPE is wrong, please fix": defining ALIGN_TYPEas long should take care of that one.If the cjpeg test run fails with "Missing Huffman code table entry", it's agood bet that you needed to define RIGHT_SHIFT_IS_UNSIGNED.  Go back to theconfiguration step and run ckconfig.c.  (This is a good plan for any othertest failure, too.)If you are using Unix (one-file) command line style on a non-Unix system,it's a good idea to check that binary I/O through stdin/stdout actuallyworks.  You should get the same results from "djpeg <testorig.jpg >out.ppm"as from "djpeg -outfile out.ppm testorig.jpg".  Note that the makefiles alluse the latter style and therefore do not exercise stdin/stdout!  If thischeck fails, try recompiling with USE_SETMODE or USE_FDOPEN defined.If it still doesn't work, better use two-file style.If you chose a memory manager other than jmemnobs.c, you should test thattemporary-file usage works.  Try "djpeg -bmp -colors 256 -max 0 testorig.jpg"and make sure its output matches testimg.bmp.  If you have any really largeimages handy, try compressing them with -optimize and/or decompressing with-colors 256 to make sure your DEFAULT_MAX_MEM setting is not too large.NOTE: this is far from an exhaustive test of the JPEG software; some modules,such as 1-pass color quantization, are not exercised at all.  It's just aquick test to give you some confidence that you haven't missed somethingmajor.INSTALLING THE SOFTWARE=======================Once you're done with the above steps, you can install the software bycopying the executable files (cjpeg, djpeg, jpegtran, rdjpgcom, and wrjpgcom)to wherever you normally install programs.  On Unix systems, you'll also wantto put the man pages (cjpeg.1, djpeg.1, jpegtran.1, rdjpgcom.1, wrjpgcom.1)in the man-page directory.  The pre-fab makefiles don't support this stepsince there's such a wide variety of installation procedures on differentsystems.If you generated a Makefile with the "configure" script, you can just say	make installto install the programs and their man pages into the standard places.(You'll probably need to be root to do this.)  We recommend first saying	make -n installto see where configure thought the files should go.  You may need to editthe Makefile, particularly if your system's conventions for man pagefilenames don't match what configure expects.If you want to install the IJG library itself, for use in compiling otherprograms besides ours, then you need to put the four include files	jpeglib.h jerror.h jconfig.h jmorecfg.hinto your include-file directory, and put the library file libjpeg.a(extension may vary depending on system) wherever library files go.If you generated a Makefile with "configure", it will do what it thinksis the right thing if you say	make install-libOPTIONAL STUFF==============Progress monitor:If you like, you can #define PROGRESS_REPORT (in jconfig.h) to enable displayof percent-done progress reports.  The routine provided in cdjpeg.c merelyprints percentages to stderr, but you can customize it to do somethingfancier.Utah RLE file format support:We distribute the software with support for RLE image files (Utah RasterToolkit format) disabled, because the RLE support won't compile without theUtah library.  If you have URT version 3.1 or later, you can enable RLEsupport as follows:	1.  #define RLE_SUPPORTED in jconfig.h.	2.  Add a -I option to CFLAGS in the Makefile for the directory	    containing the URT .h files (typically the "include"	    subdirectory of the URT distribution).	3.  Add -L... -lrle to LDLIBS in the Makefile, where ... specifies	    the directory containing the URT "librle.a" file (typically the	    "lib" subdirectory of the URT distribution).Support for 12-bit-deep pixel data:The JPEG standard allows either 8-bit or 12-bit data precision.  (For color,this means 8 or 12 bits per channel, of course.)  If you need to work withdeeper than 8-bit data, you can compile the IJG code for 12-bit operation.To do so:  1. In jmorecfg.h, define BITS_IN_JSAMPLE as 12 rather than 8.  2. In jconfig.h, undefine BMP_SUPPORTED, RLE_SUPPORTED, and TARGA_SUPPORTED,     because the code for those formats doesn't handle 12-bit data and won't     even compile.  (The PPM code does work, as explained below.  The GIF     code works too; it scales 8-bit GIF data to and from 12-bit depth     automatically.)  3. Compile.  Don't expect "make test" to pass, since the supplied test     files are for 8-bit data.Currently, 12-bit support does not work on 16-bit-int machines.Note that a 12-bit version will not read 8-bit JPEG files, nor vice versa;so you'll want to keep around a regular 8-bit compilation as well.(Run-time selection of data depth, to allow a single copy that does both,is possible but would probably slow things down considerably; it's very lowon our to-do list.)The PPM reader (rdppm.c) can read 12-bit data from either text-format orbinary-format PPM and PGM files.  Binary-format PPM/PGM files which have amaxval greater than 255 are assumed to use 2 bytes per sample, LSB first(little-endian order).  As of early 1995, 2-byte binary format is notofficially supported by the PBMPLUS library, but it is expected that afuture release of PBMPLUS will support it.  Note that the PPM reader willread files of any maxval regardless of the BITS_IN_JSAMPLE setting; incomingdata is automatically rescaled to either maxval=255 or maxval=4095 asappropriate for the cjpeg bit depth.The PPM writer (wrppm.c) will normally write 2-byte binary PPM or PGMformat, maxval 4095, when compiled with BITS_IN_JSAMPLE=12.  Since thisformat is not yet widely supported, you can disable it by compiling wrppm.cwith PPM_NORAWWORD defined; then the data is scaled down to 8 bits to make astandard 1-byte/sample PPM or PGM file.  (Yes, this means still another copyof djpeg to keep around.  But hopefully you won't need it for very long.Poskanzer's supposed to get that new PBMPLUS release out Real Soon Now.)Of course, if you are working with 12-bit data, you probably have it storedin some other, nonstandard format.  In that case you'll probably want towrite your own I/O modules to read and write your format.Note that a 12-bit version of cjpeg always runs in "-optimize" mode, inorder to generate valid Huffman tables.  This is necessary because ourdefault Huffman tables only cover 8-bit data.Removing code:If you need to make a smaller version of the JPEG software, some optionalfunctions can be removed at compile time.  See the xxx_SUPPORTED #defines injconfig.h and jmorecfg.h.  If at all possible, we recommend that you leave indecoder support for all valid JPEG files, to ensure that you can read anyone'soutput.  Taking out support for image file formats that you don't use is themost painless way to make the programs smaller.  Another possibility is toremove some of the DCT methods: in particular, the "IFAST" method may not beenough faster than the others to be worth keeping on your machine.  (If youdo remove ISLOW or IFAST, be sure to redefine JDCT_DEFAULT or JDCT_FASTESTto a supported method, by adding a #define in jconfig.h.)OPTIMIZATION============Unless you own a Cray, you'll probably be interested in making the JPEGsoftware go as fast as possible.  This section covers some machine-dependentoptimizations you may want to try.  We suggest that before trying any ofthis, you first get the basic installation to pass the self-test step.Repeat the self-test after any optimization to make sure that you haven'tbroken anything.The integer DCT routines perform a lot of multiplications.  Thesemultiplications must yield 32-bit results, but none of their input valuesare more than 16 bits wide.  On many machines, notably the 680x0 and 80x86CPUs, a 16x16=>32 bit multiply instruction is faster than a full 32x32=>32bit multiply.  Unfortunately there is no portable way to specify such amultiplication in C, but some compilers can generate one when you use theright combination of casts.  See the MULTIPLYxxx macro definitions injdct.h.  If your compiler makes "int" be 32 bits and "short" be 16 bits,defining SHORTxSHORT_32 is fairly likely to work.  When experimenting withalternate definitions, be sure to test not only whether the code still works(use the self-test), but also whether it is actually faster --- on somecompilers, alternate definitions may compute the right answer, yet be slowerthan the default.  Timing cjpeg on a large PGM (grayscale) input file is thebest way to check this, as the DCT will be the largest fraction of the runtimein that mode.  (Note: some of the distributed compiler-specific jconfig filesalready contain #define switches to select appropriate MULTIPLYxxxdefinitions.)If your machine has sufficiently fast floating point hardware, you may findthat the float DCT method is faster than the integer DCT methods, evenafter tweaking the integer multiply macros.  In that case you may want tomake the float DCT be the default method.  (The only objection to this isthat float DCT results may vary slightly across machines.)  To do that, add"#define JDCT_DEFAULT JDCT_FLOAT" to jconfig.h.  Even if you don't changethe default, you should redefine JDCT_FASTEST, which is the method selectedby djpeg's -fast switch.  Don't forget to update the documentation files(usage.doc and/or cjpeg.1, djpeg.1) to agree with what you've done.If access to "short" arrays is slow on your machine, it may be a win todefine type JCOEF as int rather than short.  This will cost a good deal ofmemory though, particularly in some multi-pass modes, so don't do it unlessyou have memory to burn and short is REALLY slow.If your compiler can compile function calls in-line, make sure the INLINEmacro in jmorecfg.h is defined as the keyword that marks a function

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
一本久久a久久精品亚洲| 久久99久久精品| 中文字幕在线不卡视频| 国产视频不卡一区| 国产人成一区二区三区影院| 久久久噜噜噜久久中文字幕色伊伊| 亚洲精品在线观看视频| 精品1区2区在线观看| 国产偷国产偷精品高清尤物| 国产午夜精品理论片a级大结局 | 一二三区精品福利视频| 18涩涩午夜精品.www| 亚洲三级在线看| 亚洲一二三四在线| 欧美bbbbb| 成人天堂资源www在线| 97se亚洲国产综合在线| 欧美亚洲国产一卡| 精品国产一区久久| 亚洲视频在线观看一区| 午夜日韩在线观看| 极品美女销魂一区二区三区免费| 高清免费成人av| 欧美日韩国产综合一区二区| 精品久久久久av影院 | 日本久久电影网| 欧美精品1区2区3区| 国产日韩三级在线| 亚洲丶国产丶欧美一区二区三区| 国模大尺度一区二区三区| 成人高清伦理免费影院在线观看| 欧美无人高清视频在线观看| 久久天堂av综合合色蜜桃网| 一区二区免费看| 国产一区二区福利| 欧美老女人在线| 国产精品视频九色porn| 日韩国产在线观看一区| va亚洲va日韩不卡在线观看| 日韩一区二区三区精品视频 | 色噜噜夜夜夜综合网| 精品久久久三级丝袜| 亚洲精品国产无套在线观| 国内精品伊人久久久久av影院| 在线中文字幕不卡| 中文字幕精品在线不卡| 九九热在线视频观看这里只有精品| 成人av片在线观看| 久久久久97国产精华液好用吗| 亚洲观看高清完整版在线观看 | 亚洲精品一区在线观看| 亚洲成人免费视频| 99久久99久久久精品齐齐| 精品久久久久久综合日本欧美| 亚洲国产欧美在线人成| 91麻豆成人久久精品二区三区| 国产亚洲1区2区3区| 久久国产婷婷国产香蕉| 欧美乱妇15p| 亚洲最大的成人av| 色婷婷亚洲一区二区三区| 国产精品久久综合| 成人h动漫精品| 国产精品污网站| 成人午夜视频在线观看| 日本一区二区三区久久久久久久久不| 美女视频网站久久| 日韩欧美色电影| 久久狠狠亚洲综合| 欧美不卡一区二区三区四区| 日本不卡的三区四区五区| 911精品产国品一二三产区| 亚洲一区视频在线观看视频| 91免费观看视频| 亚洲精品国产a久久久久久| 一本色道久久综合亚洲91| 亚洲女与黑人做爰| 欧美影片第一页| 天天影视网天天综合色在线播放| 欧美日韩国产电影| 日本亚洲电影天堂| 亚洲精品一区二区三区四区高清| 老汉av免费一区二区三区| 精品国产凹凸成av人导航| 国模无码大尺度一区二区三区| 国产午夜精品一区二区| 成人av网站在线观看| 一区二区三区四区中文字幕| 7777女厕盗摄久久久| 久久99热狠狠色一区二区| 久久精品无码一区二区三区| 成人黄色777网| 亚洲国产成人av网| 精品国产免费视频| 成人av在线一区二区| 亚洲资源中文字幕| 精品播放一区二区| 一本一道波多野结衣一区二区| 五月天中文字幕一区二区| 精品捆绑美女sm三区| aa级大片欧美| 奇米色一区二区| 中文字幕在线观看不卡| 欧美日韩成人在线一区| 国产成人午夜高潮毛片| 亚洲影院久久精品| 国产农村妇女毛片精品久久麻豆| 91福利在线导航| 精品一区二区在线视频| 亚洲精品视频免费看| 日韩你懂的在线观看| 99re免费视频精品全部| 美女在线视频一区| 亚洲精品videosex极品| 精品国产一区二区精华| 欧美亚洲动漫精品| 国产91丝袜在线播放九色| 亚洲国产综合人成综合网站| 久久九九99视频| 91精品国产综合久久久蜜臀粉嫩| a在线欧美一区| 麻豆精品视频在线观看视频| 怡红院av一区二区三区| 亚洲国产岛国毛片在线| 欧美成人性战久久| 欧美视频在线观看一区二区| 99久久精品一区二区| 狠狠色狠狠色综合系列| 日韩av网站在线观看| 亚洲激情图片qvod| 国产精品毛片久久久久久| 精品成a人在线观看| 日韩一本二本av| 欧美熟乱第一页| 91久久精品一区二区三区| 成人av综合一区| 国产成人99久久亚洲综合精品| 麻豆精品久久精品色综合| 亚洲不卡av一区二区三区| 中文字幕在线一区二区三区| 国产日韩欧美高清在线| 26uuuu精品一区二区| 欧美va亚洲va香蕉在线| 欧美一级免费大片| 日韩一区二区三区av| 欧美精品第1页| 91精品午夜视频| 欧美一区二区三区在线观看| 91精品国产黑色紧身裤美女| 欧美精品久久久久久久久老牛影院| 欧美影院一区二区三区| 欧美三级日韩在线| 欧美区视频在线观看| 欧美电影在线免费观看| 欧美精三区欧美精三区| 欧美一级xxx| 久久久久久日产精品| 久久老女人爱爱| 国产精品乱码人人做人人爱| 国产精品嫩草99a| 亚洲少妇30p| 亚洲午夜激情网站| 奇米888四色在线精品| 韩国一区二区视频| 成人av免费观看| 在线观看视频一区二区| 欧美一区二区三区不卡| 久久青草欧美一区二区三区| 国产精品麻豆视频| 夜夜爽夜夜爽精品视频| 美国十次综合导航| 丁香天五香天堂综合| 一本一本久久a久久精品综合麻豆 一本一道波多野结衣一区二区 | 中文字幕免费不卡| 亚洲在线一区二区三区| 日本女优在线视频一区二区| 国产精品69毛片高清亚洲| 99精品国产99久久久久久白柏| 欧美人狂配大交3d怪物一区| 久久品道一品道久久精品| 亚洲图片激情小说| 免费观看久久久4p| 99精品国产视频| 日韩欧美高清在线| 亚洲免费av网站| 久久99国产精品麻豆| 99re热视频精品| 精品国产乱码久久久久久久久| 国产精品久久精品日日| 日韩高清一区在线| 色综合一区二区| 久久精品一区二区三区av| 一区二区三国产精华液| 国产激情一区二区三区四区 | 国产亚洲精品aa午夜观看| 亚洲国产视频一区| 不卡一区在线观看| 精品国产制服丝袜高跟| 亚洲成年人网站在线观看| 成人免费毛片a|