• <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 在線詞典, 英語學習, 在線翻譯

            學海苦作舟,書山勤為徑

            留下點回憶

            常用鏈接

            統計

            積分與排名

            Denoise

            English study

            Web技術

            數據壓縮

            一些連接

            最新評論

            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 笨笨 閱讀(1557) 評論(0)  編輯 收藏 引用 所屬分類: 壓縮算法

            伊人久久大香线蕉AV色婷婷色| 久久精品免费大片国产大片| 亚洲愉拍99热成人精品热久久| 日韩久久久久久中文人妻| 久久国产精品99精品国产| 久久精品国产99久久香蕉| 亚洲色婷婷综合久久| 办公室久久精品| 亚洲综合精品香蕉久久网| 国产午夜福利精品久久| 久久久国产99久久国产一| 嫩草影院久久国产精品| 精品综合久久久久久97| 精品综合久久久久久88小说| 日韩人妻无码一区二区三区久久99| 成人免费网站久久久| 久久精品一本到99热免费| 91精品婷婷国产综合久久| 久久综合综合久久综合| 欧美精品九九99久久在观看| 国产精品美女久久久久AV福利| 久久99国产综合精品女同| 久久只有这精品99| 亚洲а∨天堂久久精品9966| 久久国产精品无码网站| 91精品免费久久久久久久久| 久久99国产精品久久久 | 国产69精品久久久久777| 奇米影视7777久久精品人人爽| 精品久久国产一区二区三区香蕉 | 久久精品成人欧美大片| 欧美麻豆久久久久久中文| 国产精品99久久久久久董美香| 国产精品久久久久国产A级| 日韩精品久久久肉伦网站| 久久99国产精品久久99小说| 三级片免费观看久久| 亚洲精品国产综合久久一线| 久久成人国产精品免费软件| 99久久国产宗和精品1上映| 久久男人Av资源网站无码软件|