• <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>

            牽著老婆滿街逛

            嚴以律己,寬以待人. 三思而后行.
            GMail/GTalk: yanglinbo#google.com;
            MSN/Email: tx7do#yahoo.com.cn;
            QQ: 3 0 3 3 9 6 9 2 0 .

            YUV Formats

            轉載自:http://blog.csdn.net/jerrytong/article/details/5655439

            YUV Color Space

            Color is decomposed in three components.

                  Y: represents Luminance. 
                  U (Cb): is the Chroma channel, U axis, blue component.
                  V (Cr): is the Chroma channel, V axis, red component.

            The first reason to use the YUV decomposition is that a conversion of an RGB signal (such as the one used on computer monitors) to YUV requires just a linear transform, which is really easy to do with analogue circuitry and it is cheap to compute numerically.

            The second reason that YUV allows separating the color information from the luminance component (which we perceive as brightness). For this reason YUV is used worldwide for television and motion picture encoding standards such as PAL, SECAM and for JPEG/MPEG compression. Since the human eye is also much more responsive to luminance, JPEG compresses more heavily the chroma channels which are less likely to cause perceptible differences in the resulting image.

             

            There are several YUV formats. There are interleaved formats and planar formats (also called packed formats). The main difference is how they are stored in memory.

            Interleaved images have all color components needed to represent a pixel placed at the same place in memory. For planar formats the data is not interleaved, but stored separately for each color channel (also called color plane).

            For filter writers this means that they can write one simple function that is called three times, one for each color channel, assuming that the operations are channel-independent (which is not always the case). Again, using aligned for both color and luma channels will allow easy memory access. The use of a planar format gives in most cases a significant speedup, since all bytes of each plane can be treated the same way. It can also give a speedup because your filter doesn't have to work on all planes, if it only modifies one or two of them.

             

            4:4:4 Format (Base YUV Format)

             

             

            In this format size of matrices of Y, U and V value are as same as RGB.

            Image size: 176x144.
            RGB: 3 matrices in size of 176x144.
            YUV: 3 matrices in size of 176x144.

             

            4:2:2 Format (Known as YUY2)

            However in 4:2:2 format Y value is 176x144 but U and V values are half sizes, 88x72.

            Image size: 176x144.
            RGB: 3 matrices in size of 176x144.
                 Y: 176x144.
                 U: 88x72.
                 V: 88x72.

             

            YUY2 colorformat

            YUY2 is an interleaved image format. Bytes are arranged in memory like this:

            YUYV|YUYV|YUYV|YUYV|YUYV|YUYV|...
            ^first byte in a row.
            

             

             

            So when converting back to RGB color space each U and V value is used four times to complete the conversion. Figure 1 shows the usage of the 4:2:2 format while converting back to RGB.

            Figure 1. YUV 4:2:2 format.

             


            posted on 2013-01-25 12:06 楊粼波 閱讀(423) 評論(0)  編輯 收藏 引用

            久久精品国产亚洲av瑜伽| 88久久精品无码一区二区毛片 | 无码久久精品国产亚洲Av影片 | 热久久国产精品| 久久99精品国产麻豆婷婷| 色婷婷久久综合中文久久一本| 亚洲欧美一级久久精品| 一本一道久久综合狠狠老| 91精品国产91久久久久福利| 久久人人超碰精品CAOPOREN| 久久久噜噜噜久久中文福利| 久久精品国产一区二区电影| 蜜臀av性久久久久蜜臀aⅴ麻豆| 亚洲国产精品久久久久网站 | 久久91综合国产91久久精品| 人人狠狠综合久久亚洲婷婷| 精品久久久久中文字| 久久久久亚洲精品中文字幕| 亚洲国产精品无码久久一区二区| 蜜臀av性久久久久蜜臀aⅴ麻豆| 国内精品久久久久久久coent| 亚洲精品高清一二区久久| 久久精品一区二区影院| 性做久久久久久久久久久| 久久久久国产精品| 久久99热精品| 国产精品免费看久久久| 精品免费久久久久国产一区| 国产情侣久久久久aⅴ免费| 久久久久亚洲AV片无码下载蜜桃 | 久久AV无码精品人妻糸列| 久久久精品国产Sm最大网站| 国产精品视频久久久| 亚洲av日韩精品久久久久久a| 欧美精品丝袜久久久中文字幕 | 欧美性猛交xxxx免费看久久久| 国产一久久香蕉国产线看观看 | 久久人人爽人人爽人人av东京热| 久久久久久亚洲精品无码| 久久91这里精品国产2020| 国内精品欧美久久精品|