• <ins id="pjuwb"></ins>
    <blockquote id="pjuwb"><pre id="pjuwb"></pre></blockquote>
    <noscript id="pjuwb"></noscript>
          <sup id="pjuwb"><pre id="pjuwb"></pre></sup>
            <dd id="pjuwb"></dd>
            <abbr id="pjuwb"></abbr>
            Dict.CN 在線詞典, 英語學(xué)習(xí), 在線翻譯

            學(xué)海苦作舟,書山勤為徑

            留下點(diǎn)回憶

            常用鏈接

            統(tǒng)計(jì)

            積分與排名

            Denoise

            English study

            Web技術(shù)

            數(shù)據(jù)壓縮

            一些連接

            最新評(píng)論

            Data structures during JPEG compressing process

             

            Summary

            This article focuses on data structures which are used during whole JPEG compressing process. This will help to understand the data flow in JPEG.

             

            Input Buffer

            Input buffer is the image buffer for compressed. The line of image will be input into JPEG line by line.

             

            Color Buffer

            Color buffer includes two line and 3 components. Read each line from image and convert to YCC color space.

             

            After read two lines from image, it can do sub sampling.

             

            If no need to do sub sampling, just copy the data to main buffer, the two lines will be seen as a group.

             

            If need do sub sampling, do sub sampling for Cb and Cr components, then copy them to Main buffer.

             

            Main Buffer

            Main buffer include 3 components. It defines different size for 3 components. It depends on sub sampling or not.

             

            Main Buffer includes 16 lines pixels of input image. At vertical direction, it is two block width. At horizontal direction, it will include (width+7)>>3 block width. If the right edge doesn’t meet the requirement, it will be expanded.

             



            DCT workspace

            DCT workspace is 8*8 size block. DCT is done at this local area and quant is too.

            The blocks are gotten from Main buffer by MCU.

             

            MCU

            MCU is standard 16*16 pixels in original image. Because of sub sampling, Cb, Cr components may just include 1 block. So for sub sampling case, MCU include 6 blocks. For no sub sampling case, MCU include 12 blocks.

             

            Output Stream

            Whole MCU will be encoded together, after encoded; the bits will be output to a stream.

             

            In JPEG, the output stream is default 64KB, if the size will greater than it, reallocate it, the increment is 64KB

             

            For Decompress process

            Now that the compression buffers have been known, then for decompressing, it is same. And data flow is inverse direction.

            posted on 2008-03-20 11:22 笨笨 閱讀(1570) 評(píng)論(0)  編輯 收藏 引用 所屬分類: 壓縮算法

            久久99国产一区二区三区| 亚洲午夜福利精品久久| 国产麻豆精品久久一二三| 91久久婷婷国产综合精品青草| 久久综合狠狠色综合伊人| 久久久久亚洲AV无码专区桃色 | 97久久超碰国产精品2021| 97精品伊人久久久大香线蕉| 97久久国产综合精品女不卡 | 久久99国内精品自在现线| 国产精品免费久久| 性高湖久久久久久久久| 一本综合久久国产二区| 99久久无码一区人妻| 久久夜色精品国产噜噜麻豆| 日本精品一区二区久久久| 欧美一区二区三区久久综合| 久久受www免费人成_看片中文| 日韩AV无码久久一区二区| 大蕉久久伊人中文字幕| 精品久久久久中文字幕日本 | 狠狠色狠狠色综合久久| 综合久久精品色| 久久久久这里只有精品 | 久久免费看黄a级毛片| 久久国产乱子伦精品免费午夜| 国产精品久久久久久吹潮| 国产精品久久久久久久久久影院| 久久亚洲国产精品五月天婷| 女人香蕉久久**毛片精品| 色欲综合久久躁天天躁蜜桃| 国内精品久久久久影院薰衣草| 尹人香蕉久久99天天拍| 久久性精品| 久久天天躁夜夜躁狠狠| 久久WWW免费人成一看片| 亚洲中文字幕无码一久久区| 无码AV波多野结衣久久| 久久99久久99小草精品免视看| 国产亚洲精品自在久久| 久久99精品久久久久久|