MediaCodecCapabilities Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Enumerates values returned by several types.
public enum MediaCodecCapabilities
type MediaCodecCapabilities =
- Inheritance
-
MediaCodecCapabilities
Fields
| Name | Value | Description |
|---|---|---|
| Formatmonochrome | 1 | The corresponding Java constant was deprecated in API level 23. Use Format24bitbgr888. Android reference for Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. |
| Format8bitrgb332 | 2 | The corresponding Java constant was deprecated in API level 23. Use Format24bitbgr888. Android reference for Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. |
| Format12bitrgb444 | 3 | The corresponding Java constant was deprecated in API level 23. Use Format24bitbgr888. Android reference for Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. |
| Format16bitargb4444 | 4 | The corresponding Java constant was deprecated in API level 23. Use Format32bitabgr8888. Android reference for Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. |
| Format16bitargb1555 | 5 | The corresponding Java constant was deprecated in API level 23. Use Format32bitabgr8888. Android reference for Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. |
| Format16bitrgb565 | 6 | 16 bits per pixel RGB color format, with 5-bit red & blue and 6-bit green component. Using 16-bit little-endian representation, colors stored as Red 15:11, Green 10:5, Blue 4:0. This format corresponds to Rgb565 and Rgb565. Android reference for Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. |
| Format16bitbgr565 | 7 | The corresponding Java constant was deprecated in API level 23. Use Format16bitrgb565. Android reference for Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. |
| Format18bitrgb666 | 8 | The corresponding Java constant was deprecated in API level 23. Use Format24bitbgr888. Android reference for Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. |
| Format18bitargb1665 | 9 | The corresponding Java constant was deprecated in API level 23. Use Format32bitabgr8888. Android reference for Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. |
| Format19bitargb1666 | 10 | The corresponding Java constant was deprecated in API level 23. Use Format32bitabgr8888. Android reference for Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. |
| Format24bitrgb888 | 11 | The corresponding Java constant was deprecated in API level 23. Use Format24bitbgr888 or Formatrgbflexible. Android reference for Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. |
| Format24bitbgr888 | 12 | 24 bits per pixel RGB color format, with 8-bit red, green & blue components. Using 24-bit little-endian representation, colors stored as Red 7:0, Green 15:8, Blue 23:16. This format corresponds to Rgb888, and can also be represented as a flexible format by Formatrgbflexible. Android reference for Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. |
| Format24bitargb1887 | 13 | The corresponding Java constant was deprecated in API level 23. Use Format32bitabgr8888. Android reference for Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. |
| Format25bitargb1888 | 14 | The corresponding Java constant was deprecated in API level 23. Use Format32bitabgr8888. Android reference for Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. |
| Format32bitbgra8888 | 15 | The corresponding Java constant was deprecated in API level 23. Use Format32bitabgr8888 or Formatrgbaflexible. Android reference for Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. |
| Format32bitargb8888 | 16 | The corresponding Java constant was deprecated in API level 23. Use Format32bitabgr8888 or Formatrgbaflexible. Android reference for Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. |
| Formatyuv411planar | 17 | The corresponding Java constant was deprecated in API level 23. Use Formatyuv420flexible. Android reference for Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. |
| Formatyuv411packedplanar | 18 | The corresponding Java constant was deprecated in API level 23. Use Formatyuv420flexible. Android reference for Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. |
| Formatyuv420planar | 19 | The corresponding Java constant was deprecated in API level 23. Use Formatyuv420flexible. Android reference for Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. |
| Formatyuv420packedplanar | 20 | The corresponding Java constant was deprecated in API level 23. Use Formatyuv420flexible. Android reference for Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. |
| Formatyuv420semiplanar | 21 | The corresponding Java constant was deprecated in API level 23. Use Formatyuv420flexible. Android reference for Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. |
| Formatyuv422planar | 22 | The corresponding Java constant was deprecated in API level 23. Use Formatyuv422flexible. Android reference for Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. |
| Formatyuv422packedplanar | 23 | The corresponding Java constant was deprecated in API level 23. Use Formatyuv422flexible. Android reference for Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. |
| Formatyuv422semiplanar | 24 | The corresponding Java constant was deprecated in API level 23. Use Formatyuv422flexible. Android reference for Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. |
| Formatycbycr | 25 | The corresponding Java constant was deprecated in API level 23. Use Formatyuv422flexible. Android reference for Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. |
| Formatycrycb | 26 | The corresponding Java constant was deprecated in API level 23. Use Formatyuv422flexible. Android reference for Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. |
| Formatcbycry | 27 | The corresponding Java constant was deprecated in API level 23. Use Formatyuv422flexible. Android reference for Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. |
| Formatcrycby | 28 | The corresponding Java constant was deprecated in API level 23. Use Formatyuv422flexible. Android reference for Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. |
| Formatyuv444interleaved | 29 | The corresponding Java constant was deprecated in API level 23. Use Formatyuv444flexible. Android reference for Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. |
| Formatrawbayer8bit | 30 | SMIA 8-bit Bayer format. Each byte represents the top 8-bits of a 10-bit signal. Android reference for Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. |
| Formatrawbayer10bit | 31 | SMIA 10-bit Bayer format. Android reference for Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. |
| Formatrawbayer8bitcompressed | 32 | SMIA 8-bit compressed Bayer format. Each byte represents a sample from the 10-bit signal that is compressed into 8-bits using DPCM/PCM compression, as defined by the SMIA Functional Specification. Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. |
| Formatl2 | 33 | The corresponding Java constant was deprecated in API level 23. Use Formatl8. Android reference for Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. |
| Formatl4 | 34 | The corresponding Java constant was deprecated in API level 23. Use Formatl8. Android reference for Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. |
| Formatl8 | 35 | 8 bits per pixel Y color format. Each byte contains a single pixel. This format corresponds to L8. Android reference for Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. |
| Formatl16 | 36 | 16 bits per pixel, little-endian Y color format. Android reference for Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. |
| Formatl24 | 37 | The corresponding Java constant was deprecated in API level 23. Use Formatl16. Android reference for Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. |
| Formatl32 | 38 | The corresponding Java constant was deprecated in API level 23. Use Formatl16. 32 bits per pixel, little-endian Y color format. Android reference for Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. |
| Formatyuv420packedsemiplanar | 39 | The corresponding Java constant was deprecated in API level 23. Use Formatyuv420flexible. Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. |
| Formatyuv422packedsemiplanar | 40 | The corresponding Java constant was deprecated in API level 23. Use Formatyuv422flexible. Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. |
| Format18bitbgr666 | 41 | The corresponding Java constant was deprecated in API level 23. Use Format24bitbgr888. Android reference for Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. |
| Format24bitargb6666 | 42 | The corresponding Java constant was deprecated in API level 23. Use Format32bitabgr8888. Android reference for Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. |
| Format24bitabgr6666 | 43 | The corresponding Java constant was deprecated in API level 23. Use Format32bitabgr8888. Android reference for Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. |
| Formatyuvp010 | 54 | P010 is 10-bit-per component 4:2:0 YCbCr semiplanar format. This format uses 24 allocated bits per pixel with 15 bits of data per pixel. Chroma planes are subsampled by 2 both horizontally and vertically. Each chroma and luma component has 16 allocated bits in little-endian configuration with 10 MSB of actual data. Use this format with Image. This format corresponds to YcbcrP010. Android reference for Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. |
| Formatyuvp210 | 60 | P210 is 10-bit-per component 4:2:2 YCbCr semiplanar format. This format uses 32 allocated bits per pixel with 20 bits of data per pixel. Chroma planes are subsampled by 2 horizontally. Each chroma and luma component has 16 allocated bits in little-endian configuration with 10 MSB of actual data. Use this format with Image. This format corresponds to YcbcrP210. Android reference for Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. |
| TiFormatyuv420packedsemiplanar | 2130706688 | The corresponding Java constant was deprecated in API level 23. Use Formatyuv420flexible. Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. |
| Formatsurface | 2130708361 | Opaque color format whose data is a GraphicBuffer metadata reference. |
| Format64bitabgrfloat | 2130710294 | 64 bits per pixel RGBA color format, with 16-bit signed floating point red, green, blue, and alpha components. This corresponds to RgbaF16. Android reference for Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. |
| Format32bitabgr8888 | 2130747392 | 32 bits per pixel RGBA color format, with 8-bit red, green, blue, and alpha components. Using 32-bit little-endian representation, colors stored as Red 7:0, Green 15:8, Blue 23:16, and Alpha 31:24. This corresponds to Rgba8888. Android reference for Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. |
| Format32bitabgr2101010 | 2130750114 | 32 bits per pixel RGBA color format, with 10-bit red, green, blue, and 2-bit alpha components. Using 32-bit little-endian representation, colors stored as Red 9:0, Green 19:10, Blue 29:20, and Alpha 31:30. This corresponds to Rgba1010102. Android reference for Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. |
| Formatrgbaflexible | 2134288520 | Flexible 32 bits per pixel RGBA color format with 8-bit red, green, blue, and alpha components. Use this format with Image. This format corresponds to FlexRgba8888, and can represent Format32bitbgra8888, Format32bitabgr8888 and Format32bitargb8888 formats. Android reference for Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. |
| Formatrgbflexible | 2134292616 | Flexible 24 bits per pixel RGB color format with 8-bit red, green and blue components. Use this format with Image. This format corresponds to FlexRgb888, and can represent Format24bitbgr888 and Format24bitrgb888 formats. Android reference for Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. |
| Formatyuv420flexible | 2135033992 | Flexible 12 bits per pixel, subsampled YUV color format with 8-bit chroma and luma components. Chroma planes are subsampled by 2 both horizontally and vertically. Use this format with Image. This format corresponds to Yuv420888, and can represent the COLOR_FormatYUV411Planar, COLOR_FormatYUV411PackedPlanar, COLOR_FormatYUV420Planar, COLOR_FormatYUV420PackedPlanar, COLOR_FormatYUV420SemiPlanar and COLOR_FormatYUV420PackedSemiPlanar formats. Android reference for Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. |
| Formatyuv422flexible | 2135042184 | Flexible 16 bits per pixel, subsampled YUV color format with 8-bit chroma and luma components. Chroma planes are horizontally subsampled by 2. Use this format with Image. This format corresponds to Yuv422888, and can represent the Formatycbycr, Formatycrycb, Formatcbycry, Formatcrycby, Formatyuv422planar, Formatyuv422packedplanar, Formatyuv422semiplanar and Formatyuv422packedsemiplanar formats. Android reference for Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. |
| Formatyuv444flexible | 2135181448 | Flexible 24 bits per pixel YUV color format with 8-bit chroma and luma components. Chroma planes are not subsampled. Use this format with Image. This format corresponds to Yuv444888, and can represent the Formatyuv444interleaved format. Android reference for Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. |
| QcomFormatyuv420semiplanar | 2141391872 | The corresponding Java constant was deprecated in API level 23. Use Formatyuv420flexible. Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. |
Remarks
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.