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

? 歡迎來(lái)到蟲(chóng)蟲(chóng)下載站! | ?? 資源下載 ?? 資源專(zhuān)輯 ?? 關(guān)于我們
? 蟲(chóng)蟲(chóng)下載站

?? readme.txt

?? vhdl source for jpeg beginner
?? TXT
字號(hào):
- Directory Organization   cores - Xilinx CoreGen generated cores are inside this directory (if it is not there anymore then you should be able to generate them using CoreGen with the parameters described in the section "Functional Description" of this document.)   docs - documents about this project   images - contains main test image to run testbench against   src - contains main source file compressor.vhd   testbench - contains main testbench file- DescriptionThis project features a complete JPEG Hardware Compressor (standard Baseline DCT, JFIF header) with 2:1:1 subsampling, able to compress at a rate of up to 24 images per second (on XC2V1000-4 @ 40 MHz with resolution 352x288).Image resolution is not limited. It takes an RGB input (row-wise) and outputs to a memory the compressed JPEG image. Its quality is comparable to software solutions.A testbench has been made that takes a bitmap image from your computer and writes a compressed JPEG file by simulating the code. Download the code and try it, it's easy.The source code is VHDL and it is LGPL, so it can be used in commercial applications as long as the terms of the license are respected.Anyone interested in the image standards used in this project, they can be downloaded from the following places:JPEG (ITU-T81 standard): http://www.w3.org/Graphics/JPEG/itu-t81.pdfJFIF (JPEG file headers): http://www.w3.org/Graphics/JPEG/jfif3.pdfBMP (bitmaps for the testbench): http://netghost.narod.ru/gff/vendspec/micbmp/bmp.txtPlease note that there is another Tab in this web page named "Detailed Description" with further info on this core.If you run into any problems downloading the files from the cvs please check that you are downloading them in binary form. For any questions my email is:galland@opencores.org- NotesSome quick notes until the time I upload the full documentation:    * This implementation is compliant with ISO standard (and ITU standard T-81), it features a compliant JPEG compressor Baseline DCT with Huffman encoding and 2x2 1x1 1x1 subsampling. The header is the widely employed JFIF. Baseline DCT JPEG with JFIF header is one of the most used image formats.    * Included with the source code is a Testbench which allows you to compress a bitmap (uncompressed 24 bit BMP) file located in the project folder (if using Active-HDL then in the design folder) just by simulating it. Its name MUST be "image.bmp". By the way, remember that a bitmap image stores the information bottom up, and JPEG is top-bottom, so you should flip (invert) the bitmap image (see the test image if you don't understand what I mean). This is only important for simulation.    * The testbench is made in such a way that it will automatically exit the simulation when it finishes. A 352x288 image takes almost 40 ms of simulation time (that will take some minutes depending on your machine). The output image will be in the same folder as "image.bmp" and its name will be "image.jpg" (it will overwrite previous outputs without warning).    * It has been simulated on Windows machines, so I can't guarantee anything on simulation over Linux though I don't think there could be any problem at all. Please update me on this.    * It has been synthesized and tested in a Xilinx Virtex-2 XC2V1000-4 running at 40 MHz (that is why it takes 40 ms, the testbench simulates a 40 MHz clock). This is one of the worst speed grades (-4), so with most other FPGAs you will get faster implementations.    * It uses at minimum 11 BlockRAMs (one of them for the DCT block), but you will need some more to store the final compressed image (whose size varies as compression depends on the image as well as in the compression level), the source code in the Downloads page includes a memory for this purpose of 51.200 bytes (buffer_img), that is 25 BlockRAMs.    * There is an easily overridable limitation on input image resolution, for a description on how to change the maximum input image size see the Notes at the beginning of the main source file "compressor.vhd".    * The only real limitation is that the input image must have width and height multiple of 16 (that is, an image 32x32 will produce a strictly compliant JPEG image file, but not a 32x24 or a 24x32 input image, although the resulting image will more likely still be viewable), this is due to the subsampling method employed. This limitation could be overriden with some extra logic (for padding as indicated in the JPEG standard).     * Finally I would like to apologize if you find this code somewhat messy. When I programmed it, I imposed myself very strict deadlines and making it opensource was not in my mind, mainly because, if I were to do it again, I would do it in other way to get much more performance. The main problem faced with this implementation was a very scarce availability of BlockRAM in the target FPGA, so some areas that could perfectly run in parallel, speeding a lot the whole process, had to be made sequential in order to save up BlockRAMs. Anyways, this code works (it functioned as a webcam, attached to a CMOS sensor) and, though not as fast as it could be, it has a good performance. This source code is LGPL. Any questions, suggestions, comments (positive criticism) is always welcome. - Functional DescriptionThe source code is composed of 9 VHDL files:    * compressor_tb.vhd : Testbench file for the project. It reads an uncompressed BMP located in the project folder (not necessarily the source code folder) and outputs a JPG compressed image (the actual writing of the output file is carried out by the next file).     * compressor.vhd : This is the main code file. Inside, there are a few concurrent instructions, declarations of the needed componentes (BlockRAMs and DCT block) and two processes which are responsible of the whole compression process. To better follow the next explanation consult the figure located after this explanation. The first process is RGB2YCbCr is in charge of converting the input signals (Red, Green and Blue, strobed by ProcessRGB signal) to the YCbCr color space and to apply a level shift as specified by the JPEG standard. The second is the process JPEG, it feeds the DCT block (DCT-2D Core in the figure) with data from the previous process (the interface between the two processes are three memories (Y, Cb and Cr Compression Buffers in the figure), one for luminance (Y) data, one for blue chrominance (Cb) and another for red chrominance (Cr)); after the DCT has processed the data (calculated the Forward 2D-DCT) it is quantized with the values stored in memory q_rom (Q ROM in the figure). As this quantization implies dividing by an integer number (remember that only divisions by power of 2 numbers and multiplications times an integer can be made really efficient in digital logic thru the use of shifts, right for division, left for multiplication), the solution was to convert the number to divide into a fraction with denominator 16384 for all the quantization values (128 for every compression level and there are three of these) so that we can multiply times an integer (left shift and some additions) and divide by a power of 2 number (right shift). For instance: to divide by 11 is the same as multiplying times 1/11, which is almost the same as multiplying times 1489/16384, which is actually equal to dividing by 11.003357. Using this apparently complicated way of handling real number operations we get the fastest implementation and no floating point, only a minimal error (you would never notice the visual difference). After quantization of all the values, Huffman encoding starts by looking up the tables stored in huff_rom (Huffman ROM in the figure) and storing in the final image buffer the compressed image (should be buffer_img but in the figure is left as a blue upwards pointing arrow). By the way, at the beginning, when a compression level is selected and the port CompressImage signals the start of a new image, the header in buffer_img (yes, there are some hundred bytes pre-stored with the fixed fields in the header) is updated with image dimensions and with the quantization tables for the selected compression (they are read from the ROM tabla_q in the figure and copied to the appropiate location in buffer_img).     * buffer_img.vhd : CoreGen generated file with wrapper for the 25 SP BlockRAMs, Read/Write, WidthxDepth = 8 bits x 51200, where final image is stored.     * buffer_comp.vhd : CoreGen generated file with wrapper for 5 SP BlockRAMs, Read/Write, WidthxDepth = 12 bits x 5632. Y pixels (8 bits) stored here and also, after transformation by DCT, their quantized counterparts (12 bits) are stored over them.     * buffer_comp_chrom.vhd : CoreGen generated file with wrapper for 1 SP BlockRAM, Read/Write, WidthxDepth = 12 bits x 1408. This component is instantiated twice, one for Cb pixels, and other for Cr pixels. Cx pixels (8 bits) stored here and also, after transformation by DCT, their quantized counterparts (12 bits) are stored over them.     * huff_rom.vhd : CoreGen generated file with wrapper for 1 SP BlockRAM, Read Only, WidthxDepth = 20 bits x 352. Huffman Code Tables stored here.     * q_rom.vhd : CoreGen generated file with wrapper for 1 SP BlockRAM, Read Only, WidthxDepth = 13 bits x 384. Quantization Numerators stored here for multiplication and later division by 16384 as explained above. Three compression levels, two tables for each one (AC and DC), 64 elements in each one : 3x2x64=384.     * tabla_q.vhd : CoreGen generated file with wrapper for 1 SP BlockRAM, Read Only, WidthxDepth = 8 bits x 384. Quantization Tables stored here for updating of the final JPEG file header. Three compression levels, two tables for each one (AC and DC), 64 elements in each one : 3x2x64=384.     * dct2d.vhd : CoreGen generated file with wrapper for 2-D Discrete Cosine Transform (Forward DCT), Data Width = 8 bits Signed, Coefficients Width = 24 (Enable Symmetry), Precision Control: Round, Internal Width: 19, Result Width: 19, Performance: Clock Cycles per input=9, Transpose Memory = Block, Reset: No. (Results: Latency = 95 cycles, Row Latency = 15 cycles, Column Latency = 15 cycles). Takes as input sixty-four 8 bits signed values and outputs sixty-four 19 bits signed numbers in the frequency domain (the LSBs are decimals). 

?? 快捷鍵說(shuō)明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號(hào) Ctrl + =
減小字號(hào) Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
久久精品一级爱片| 精品夜夜嗨av一区二区三区| 蜜臀av在线播放一区二区三区| 亚洲午夜影视影院在线观看| 视频一区视频二区中文字幕| 国产91在线观看| 欧美一级高清片| 亚洲另类在线制服丝袜| 国产一区二区三区免费看 | 日韩欧美一级二级三级| 国产午夜亚洲精品羞羞网站| 日本成人在线看| 欧美日韩一卡二卡三卡 | 欧美三电影在线| 欧美激情自拍偷拍| 国模套图日韩精品一区二区| 欧美系列一区二区| 亚洲欧美激情小说另类| 国产精品资源站在线| 宅男噜噜噜66一区二区66| 亚洲精选视频在线| 99视频有精品| 国产精品午夜春色av| 免费av网站大全久久| 欧美日本一区二区| 亚洲观看高清完整版在线观看 | 日韩在线卡一卡二| 日本韩国精品一区二区在线观看| 91丨九色丨蝌蚪富婆spa| 国产日韩影视精品| 国产在线视频一区二区三区| 欧美mv和日韩mv国产网站| 波多野结衣亚洲一区| 国产欧美一区二区三区网站| 国产乱妇无码大片在线观看| 国产欧美一区二区精品忘忧草| 亚洲欧洲另类国产综合| 成人ar影院免费观看视频| 中文字幕电影一区| 成人免费福利片| 亚洲欧美另类图片小说| 欧美中文字幕一区二区三区| 午夜精品久久久久久久久久 | 日韩福利视频导航| 欧美日韩国产美女| 免费欧美日韩国产三级电影| 精品国产乱码久久久久久浪潮| 亚洲日本护士毛茸茸| 色综合久久88色综合天天 | 一区二区三区日韩在线观看| 懂色av一区二区夜夜嗨| 中文字幕中文乱码欧美一区二区| 日韩极品在线观看| 26uuu国产日韩综合| 成人avav在线| 五月激情六月综合| 久久一二三国产| 99精品视频在线观看免费| 午夜影视日本亚洲欧洲精品| 欧美mv日韩mv国产网站| a美女胸又www黄视频久久| 午夜精品久久久久久久蜜桃app| 成人少妇影院yyyy| 亚洲乱码日产精品bd| 91精品久久久久久久91蜜桃 | 久久久久久久久久久久久夜| 国产大片一区二区| 亚洲国产精品久久艾草纯爱| 精品国产一区二区三区久久影院| 亚洲成a人片综合在线| 在线电影院国产精品| 国产精品一卡二卡| 亚洲国产精品久久不卡毛片 | 国产高清在线精品| 一区二区三区在线看| 欧美日韩一二区| 成人精品在线视频观看| 日韩不卡一区二区| 中文字幕在线一区免费| 日韩午夜精品视频| 91福利资源站| 国产成人精品免费在线| 日韩福利电影在线| 亚洲伦在线观看| 欧美mv日韩mv国产网站app| 91国产成人在线| 国产黄色91视频| 久久国产婷婷国产香蕉| 亚洲毛片av在线| 国产精品区一区二区三区| 欧美一卡二卡三卡| 欧美视频一区二区三区在线观看| 一区二区三区四区乱视频| 久久综合精品国产一区二区三区 | 在线看不卡av| 国产99久久久精品| 精品综合久久久久久8888| 亚洲宅男天堂在线观看无病毒| 91久久人澡人人添人人爽欧美| 亚洲免费观看高清完整版在线观看 | 日韩精品一区二区三区在线观看| 日本不卡123| 亚洲免费观看高清完整版在线观看熊| 一本到三区不卡视频| 国产精品自在在线| 免费成人性网站| 蜜桃久久av一区| 美日韩一区二区| 久久精品国产免费看久久精品| 26uuu国产电影一区二区| 精品视频一区三区九区| 欧美性高清videossexo| 色欧美乱欧美15图片| 91网上在线视频| 一本色道a无线码一区v| 色综合天天综合狠狠| 91视视频在线观看入口直接观看www | jlzzjlzz亚洲女人18| 韩国欧美国产1区| 国产精一品亚洲二区在线视频| 国产嫩草影院久久久久| 久久这里只精品最新地址| 久久久午夜电影| 视频一区二区不卡| 免费日韩伦理电影| 精品一区二区国语对白| 高清国产午夜精品久久久久久| 亚洲电影在线免费观看| 日韩电影一区二区三区四区| 免费视频最近日韩| 国产v综合v亚洲欧| 成人免费看黄yyy456| 97se亚洲国产综合在线| 欧美色视频在线| 欧美大片顶级少妇| 国产日韩欧美在线一区| 亚洲日本欧美天堂| 天堂蜜桃91精品| 国产一区二区在线看| 国产成人综合网| 在线免费观看成人短视频| 日韩欧美亚洲另类制服综合在线| 99国内精品久久| 在线观看视频一区二区| 91精选在线观看| 国产精品三级视频| 亚洲制服丝袜一区| 国产精品自在欧美一区| 色婷婷久久久综合中文字幕| 欧美精品日韩综合在线| 欧美激情一区在线观看| 午夜精品在线看| 国产精品一区专区| 欧美日韩一级片网站| 国产欧美一区二区精品仙草咪| 日韩一区二区在线观看视频| 国产三级精品三级| 洋洋av久久久久久久一区| 美国av一区二区| 色爱区综合激月婷婷| 久久久亚洲精品石原莉奈| 亚洲一区av在线| 成人午夜短视频| 欧美二区乱c少妇| 亚洲男人天堂av| 国精品**一区二区三区在线蜜桃| 日韩精品一二三四| 99久久免费精品高清特色大片| 国产不卡免费视频| 欧美日韩国产免费一区二区 | 亚洲精品成人少妇| 国产在线国偷精品免费看| 91亚洲精华国产精华精华液| 日韩视频免费直播| 亚洲一级片在线观看| 不卡一区中文字幕| 国产嫩草影院久久久久| 久久av资源网| 欧美精品日日鲁夜夜添| 亚洲精品乱码久久久久久黑人| 亚洲成人免费在线观看| 99re视频精品| 精品久久久久av影院| 日韩高清不卡一区| 欧美精品日韩综合在线| 亚洲一区二区三区四区五区中文| 爽好多水快深点欧美视频| 在线观看免费亚洲| 亚洲日本青草视频在线怡红院| 亚洲色图19p| eeuss国产一区二区三区| 久久久综合精品| 国产一区二区三区黄视频| 日韩女优av电影在线观看| 蜜桃av一区二区三区电影| 欧美成人在线直播| 日韩精品亚洲专区| 91.麻豆视频| 毛片av一区二区| 欧美不卡一二三|