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 | This constant was deprecated in API level 23. Use COLOR_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 | This constant was deprecated in API level 23. Use COLOR_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 | This constant was deprecated in API level 23. Use COLOR_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 | This constant was deprecated in API level 23. Use COLOR_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 | This constant was deprecated in API level 23. Use COLOR_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 PixelFormat.RGB_565 and ImageFormat.RGB_565. 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 | This constant was deprecated in API level 23. Use COLOR_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 | This constant was deprecated in API level 23. Use COLOR_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 | This constant was deprecated in API level 23. Use COLOR_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 | This constant was deprecated in API level 23. Use COLOR_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 | This constant was deprecated in API level 23. Use COLOR_Format24bitBGR888 or COLOR_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 PixelFormat.RGB_888, and can also be represented as a flexible format by COLOR_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 | This constant was deprecated in API level 23. Use COLOR_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 | This constant was deprecated in API level 23. Use COLOR_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 | This constant was deprecated in API level 23. Use COLOR_Format32bitABGR8888 Or COLOR_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 | This constant was deprecated in API level 23. Use COLOR_Format32bitABGR8888 Or COLOR_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 | This constant was deprecated in API level 23. Use COLOR_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 | This constant was deprecated in API level 23. Use COLOR_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 | This constant was deprecated in API level 23. Use COLOR_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 | This constant was deprecated in API level 23. Use COLOR_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 | This constant was deprecated in API level 23. Use COLOR_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 | This constant was deprecated in API level 23. Use COLOR_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 | This constant was deprecated in API level 23. Use COLOR_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 | This constant was deprecated in API level 23. Use COLOR_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 | This constant was deprecated in API level 23. Use COLOR_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 | This constant was deprecated in API level 23. Use COLOR_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 | This constant was deprecated in API level 23. Use COLOR_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 | This constant was deprecated in API level 23. Use COLOR_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 | This constant was deprecated in API level 23. Use COLOR_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 | This constant was deprecated in API level 23. Use COLOR_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 | This constant was deprecated in API level 23. Use COLOR_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 PixelFormat.L_8. 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 | This constant was deprecated in API level 23. Use COLOR_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 | This constant was deprecated in API level 23. Use COLOR_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 | This constant was deprecated in API level 23. Use COLOR_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 | This constant was deprecated in API level 23. Use COLOR_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 | This constant was deprecated in API level 23. Use COLOR_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 | This constant was deprecated in API level 23. Use COLOR_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 | This constant was deprecated in API level 23. Use COLOR_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 ImageFormat.YCBCR_P010. 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 both 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 ImageFormat.YCBCR_P210. 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 | This constant was deprecated in API level 23. Use COLOR_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 | |
| Format64bitabgrfloat | 2130710294 | 64 bits per pixel RGBA color format, with 16-bit signed floating point red, green, blue, and alpha components. This corresponds to PixelFormat.RGBA_F16. 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 PixelFormat.RGBA_8888. 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 PixelFormat.RGBA_1010102. 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 ImageFormat.FLEX_RGBA_8888, and can represent COLOR_Format32bitBGRA8888, COLOR_Format32bitABGR8888 and COLOR_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 ImageFormat.FLEX_RGB_888, and can represent COLOR_Format24bitBGR888 and COLOR_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 ImageFormat.YUV_420_888, 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 ImageFormat.YUV_422_888, and can represent the COLOR_FormatYCbYCr, COLOR_FormatYCrYCb, COLOR_FormatCbYCrY, COLOR_FormatCrYCbY, COLOR_FormatYUV422Planar, COLOR_FormatYUV422PackedPlanar, COLOR_FormatYUV422SemiPlanar and COLOR_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 ImageFormat.YUV_444_888, and can represent the COLOR_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 | This constant was deprecated in API level 23. Use COLOR_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.