Android CodecCapabilities image format

Source: Internet
Author: User

A is the transparency component. If this component occupies 1 bit, you can use this component to design text or images that are transparent to the background. If multiple bits are used, you can use this bit to set the overlapping effect of multiple images.

Int COLOR_Format12bitRGB444

Each pixel is represented by 12 bits, and each RGB component occupies 4 bits.

Int COLOR_Format16bitARGB1555

Each pixel is represented by 16 bits, transparency A occupies 1 bit, and each RGB component occupies 5 bits.

Int COLOR_Format16bitARGB4444

Each pixel is represented by 16 bits, transparency is represented by RGB components, and each component occupies 4 bits.

Int COLOR_Format16bitBGR565

Each pixel occupies 16 bits, B occupies 5 bits, G occupies 6 bits, and R occupies 5 bits.

Int COLOR_Format16bitRGB565

Each pixel occupies 16 bits, the R component is 5 bits, the G component is 6 bits, and the B component is 5 bits.

Int COLOR_Format18BitBGR666

Each pixel occupies 18 bits, and each BGA Component occupies 6 bits.

Int COLOR_Format18bitARGB1665

Each pixel occupies 18 bits, where A occupies 1 bits, R occupies 6 bits, G occupies 6 bits, and B occupies 5 bits.

Int COLOR_Format18bitRGB666

Each pixel occupies 18 bits, and each RGB component occupies 6 bits.

Int COLOR_Format19bitARGB1666

Each pixel occupies 19bit, A occupies 1 bit, and RGB occupies 6 bit

Int COLOR_Format24BitABGR6666

Each pixel occupies 24 bits, while each ABGR occupies 6 bits

Int COLOR_Format24BitARGB6666

Each pixel occupies 24 bits, and each ARGB occupies 6 bits.

Int COLOR_Format24bitARGB1887

Each pixel occupies 24 bits, while A occupies 1 bits, RG occupies 8 bits, and B occupies 7 bits.

Int COLOR_Format24bitBGR888

Each pixel occupies 24 bits, and each BGR occupies 8b it

Int COLOR_Format24bitRGB888

Each pixel occupies 24 bits and RGB components, and each component occupies 8 bits.

Int COLOR_Format25bitARGB1888

Each pixel occupies 25 bits, transparency A occupies 1 bits, and RGB occupies 8 bits

Int COLOR_Format32bitARGB8888

Each pixel occupies 32 bits, and each ARGB occupies 8 bits

Int COLOR_Format32bitBGRA8888

Each pixel occupies 32 bits, and each BGRA occupies 8 bits.

Int COLOR_Format8bitRGB332

Each pixel occupies 8 bits, where the R component occupies 3 bits, the G component occupies 3 bits, and the B component occupies 2 bits.

Int COLOR_FormatCbYCrY

The preceding image formats are RGB, while CbCrY is a YUV signal, which can be seen as the YUV signal being scaled and cheap. Y indicates the brightness, Cb, Cr indicates the color and saturation of the image, Cb indicates the saturation, U indicates the color, Cr indicates the color, and V indicates the color signal,

Int COLOR_FormatCrYCbY

It is also a YUV signal, but the brightness, tone, and saturation information are different from the above.

Int COLOR_FormatL16

Int COLOR_FormatL2

Int COLOR_FormatL24

Int COLOR_FormatL32

Int COLOR_FormatL4

Int COLOR_FormatL8

Int COLOR_FormatMonochrome

It is a monochrome image with an unknown number of digits.

Int COLOR_FormatRawBayer10bit

The color digital camera requires three monochrome sensor to obtain the RGB component, but the cost is high. To reduce the cost, the color component is obtained through the RGB mosaic filter on a single sensor, this method was initially proposed by bayer, so it is named bayer. As shown below, the filter can have four patterns: GB/RG, GR/BG, BG/GR, RG/GB. Each sampling point has 10-bit ADC for quantification.


<喎?http: www.bkjia.com kf ware vc " target="_blank" class="keylink"> VcD4KPHA + primary + 0 + primary + bXj08k4Yml0wb + 7rzwvcD4KPHA + primary/hidden + primary/tPKw/primary + IDxpbWcgc3JjPQ = "alt "= "\">

Int COLOR_FormatYUV411Planar

Each four consecutive Y components share one UV component, but the UV component is packaged into different planes,

Int COLOR_FormatYUV420PackedPlanar

YUV420 packet shares one UV component every 2x2 pixels and packs YUV into one plane,


Int COLOR_FormatYUV420PackedSemiPlanar

Int COLOR_FormatYUV420Planar

Every 2x2 pixels share a UV space. The Y component space is followed by the U component plane, which is then the V component plane,

Int COLOR_FormatYUV420SemiPlanar

A uv space is shared every 2x2 pixels, which is considered to be a line-by-line UV sample. Package UV components into a plane in a staggered manner,


Int COLOR_FormatYUV422PackedPlanar

One UV component is shared for each two consecutive Y components and is stored in a compact manner.

Int COLOR_FormatYUV422PackedSemiPlanar

Int COLOR_FormatYUV422Planar

As shown in

Int COLOR_FormatYUV422SemiPlanar


Int COLOR_FormatYUV444Interleaved

Indicates that the UV component has no subsampling. In other words, each Y component has its own UV component, as shown in


Int COLOR_QCOM_FormatYUV420SemiPlanar

Int COLOR_TI_FormatYUV420PackedSemiPlanar

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.