MediaCodecInfo.CodecCapabilities Class

Definition

Encapsulates the capabilities of a given codec component.

[Android.Runtime.Register("android/media/MediaCodecInfo$CodecCapabilities", DoNotGenerateAcw=true)]
public sealed class MediaCodecInfo.CodecCapabilities : Java.Lang.Object
[<Android.Runtime.Register("android/media/MediaCodecInfo$CodecCapabilities", DoNotGenerateAcw=true)>]
type MediaCodecInfo.CodecCapabilities = class
    inherit Object
Inheritance
MediaCodecInfo.CodecCapabilities
Attributes

Remarks

Encapsulates the capabilities of a given codec component. For example, what profile/level combinations it supports and what colorspaces it is capable of providing the decoded data in, as well as some codec-type specific capability flags.

You can get an instance for a given MediaCodecInfo object with MediaCodecInfo#getCapabilitiesForType getCapabilitiesForType(), passing a MIME type.

Java documentation for android.media.MediaCodecInfo.CodecCapabilities.

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.

Constructors

MediaCodecInfo.CodecCapabilities()

Fields

COLORFormat12bitRGB444

This member is deprecated.

COLORFormat16bitARGB1555

This member is deprecated.

COLORFormat16bitARGB4444

This member is deprecated.

COLORFormat16bitBGR565

This member is deprecated.

COLORFormat16bitRGB565
Obsolete.

16 bits per pixel RGB color format, with 5-bit red & blue and 6-bit green component.

COLORFormat18bitARGB1665

This member is deprecated.

COLORFormat18BitBGR666

This member is deprecated.

COLORFormat18bitRGB666

This member is deprecated.

COLORFormat19bitARGB1666

This member is deprecated.

COLORFormat24BitABGR6666

This member is deprecated.

COLORFormat24bitARGB1887

This member is deprecated.

COLORFormat24BitARGB6666

This member is deprecated.

COLORFormat24bitBGR888
Obsolete.

24 bits per pixel RGB color format, with 8-bit red, green & blue components.

COLORFormat24bitRGB888

This member is deprecated.

COLORFormat25bitARGB1888

This member is deprecated.

COLORFormat32bitABGR2101010
Obsolete.

32 bits per pixel RGBA color format, with 10-bit red, green, blue, and 2-bit alpha components.

COLORFormat32bitABGR8888
Obsolete.

32 bits per pixel RGBA color format, with 8-bit red, green, blue, and alpha components.

COLORFormat32bitARGB8888

This member is deprecated.

COLORFormat32bitBGRA8888

This member is deprecated.

COLORFormat64bitABGRFloat
Obsolete.

64 bits per pixel RGBA color format, with 16-bit signed floating point red, green, blue, and alpha components.

COLORFormat8bitRGB332

This member is deprecated.

COLORFormatCbYCrY

This member is deprecated.

COLORFormatCrYCbY

This member is deprecated.

COLORFormatL16
Obsolete.

16 bits per pixel, little-endian Y color format.

COLORFormatL2

This member is deprecated.

COLORFormatL24

This member is deprecated.

COLORFormatL32

32 bits per pixel, little-endian Y color format.

COLORFormatL4

This member is deprecated.

COLORFormatL8
Obsolete.

8 bits per pixel Y color format.

COLORFormatMonochrome

This member is deprecated.

COLORFormatRawBayer10bit
Obsolete.

SMIA 10-bit Bayer format.

COLORFormatRawBayer8bit
Obsolete.

SMIA 8-bit Bayer format.

COLORFormatRawBayer8bitcompressed
Obsolete.

SMIA 8-bit compressed Bayer format.

COLORFormatRGBAFlexible
Obsolete.

Flexible 32 bits per pixel RGBA color format with 8-bit red, green, blue, and alpha components.

COLORFormatRGBFlexible
Obsolete.

Flexible 24 bits per pixel RGB color format with 8-bit red, green and blue components.

COLORFormatSurface
COLORFormatYCbYCr

This member is deprecated.

COLORFormatYCrYCb

This member is deprecated.

COLORFormatYUV411PackedPlanar

This member is deprecated.

COLORFormatYUV411Planar

This member is deprecated.

COLORFormatYUV420Flexible
Obsolete.

Flexible 12 bits per pixel, subsampled YUV color format with 8-bit chroma and luma components.

COLORFormatYUV420PackedPlanar

This member is deprecated.

COLORFormatYUV420PackedSemiPlanar

This member is deprecated.

COLORFormatYUV420Planar

This member is deprecated.

COLORFormatYUV420SemiPlanar

This member is deprecated.

COLORFormatYUV422Flexible
Obsolete.

Flexible 16 bits per pixel, subsampled YUV color format with 8-bit chroma and luma components.

COLORFormatYUV422PackedPlanar

This member is deprecated.

COLORFormatYUV422PackedSemiPlanar

This member is deprecated.

COLORFormatYUV422Planar

This member is deprecated.

COLORFormatYUV422SemiPlanar

This member is deprecated.

COLORFormatYUV444Flexible
Obsolete.

Flexible 24 bits per pixel YUV color format with 8-bit chroma and luma components.

COLORFormatYUV444Interleaved

This member is deprecated.

COLORFormatYUVP010
Obsolete.

P010 is 10-bit-per component 4:2:0 YCbCr semiplanar format.

COLORQCOMFormatYUV420SemiPlanar

This member is deprecated.

COLORTIFormatYUV420PackedSemiPlanar

This member is deprecated.

FEATUREAdaptivePlayback

<b>video decoder only</b>: codec supports seamless resolution changes.

FEATUREDynamicTimestamp

If true, the timestamp of each output buffer is derived from the timestamp of the input buffer that produced the output.

FEATUREEncodingStatistics

<b>video encoder only</b>: codec supports exporting encoding statistics.

FEATUREFrameParsing

<b>decoder only</b>If true, the codec supports partial (including multiple) access units per input buffer.

FEATUREHdrEditing

<b>video encoder only</b>: codec supports HDR editing.

FEATUREIntraRefresh

<b>video encoder only</b>: codec supports intra refresh.

FEATURELowLatency

<b>decoder only</b>: codec supports low latency decoding.

FEATUREMultipleFrames

If true, the codec supports multiple access units (for decoding, or to output for encoders).

FEATUREPartialFrame

<b>video decoder only</b>: codec supports queuing partial frames.

FEATUREQpBounds

<b>video encoder only</b>: codec supports quantization parameter bounds.

FEATURESecurePlayback

<b>video decoder only</b>: codec supports secure decryption.

FEATURETunneledPlayback

<b>video or audio decoder only</b>: codec supports tunneled playback.

Properties

AudioCapabilities
Class

Returns the runtime class of this Object.

(Inherited from Object)
ColorFormats

The color format for the media.

DefaultFormat

Returns a MediaFormat object with default values for configurations that have defaults.

EncoderCapabilities
Handle

The handle to the underlying Android instance.

(Inherited from Object)
JniIdentityHashCode (Inherited from Object)
JniPeerMembers
MaxSupportedInstances

Returns the max number of the supported concurrent codec instances.

MimeType

Returns the mime type for which this codec-capability object was created.

PeerReference (Inherited from Object)
ProfileLevels
ThresholdClass

This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.

(Inherited from Object)
ThresholdType

This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.

(Inherited from Object)
VideoCapabilities

Methods

Clone()

Creates and returns a copy of this object.

(Inherited from Object)
CreateFromProfileLevel(String, MediaCodecProfileLevel, Int32)
Dispose() (Inherited from Object)
Dispose(Boolean) (Inherited from Object)
Equals(Object)

Indicates whether some other object is "equal to" this one.

(Inherited from Object)
GetHashCode()

Returns a hash code value for the object.

(Inherited from Object)
IsFeatureRequired(String)

Query codec feature requirements.

IsFeatureSupported(String)

Query codec feature capabilities.

IsFormatSupported(MediaFormat)

Query whether codec supports a given MediaFormat.

JavaFinalize()

Called by the garbage collector on an object when garbage collection determines that there are no more references to the object.

(Inherited from Object)
Notify()

Wakes up a single thread that is waiting on this object's monitor.

(Inherited from Object)
NotifyAll()

Wakes up all threads that are waiting on this object's monitor.

(Inherited from Object)
SetHandle(IntPtr, JniHandleOwnership)

Sets the Handle property.

(Inherited from Object)
ToArray<T>() (Inherited from Object)
ToString()

Returns a string representation of the object.

(Inherited from Object)
UnregisterFromRuntime() (Inherited from Object)
Wait()

Causes the current thread to wait until it is awakened, typically by being <em>notified</em> or <em>interrupted</em>.

(Inherited from Object)
Wait(Int64)

Causes the current thread to wait until it is awakened, typically by being <em>notified</em> or <em>interrupted</em>, or until a certain amount of real time has elapsed.

(Inherited from Object)
Wait(Int64, Int32)

Causes the current thread to wait until it is awakened, typically by being <em>notified</em> or <em>interrupted</em>, or until a certain amount of real time has elapsed.

(Inherited from Object)

Explicit Interface Implementations

IJavaPeerable.Disposed() (Inherited from Object)
IJavaPeerable.DisposeUnlessReferenced() (Inherited from Object)
IJavaPeerable.Finalized() (Inherited from Object)
IJavaPeerable.JniManagedPeerState (Inherited from Object)
IJavaPeerable.SetJniIdentityHashCode(Int32) (Inherited from Object)
IJavaPeerable.SetJniManagedPeerState(JniManagedPeerStates) (Inherited from Object)
IJavaPeerable.SetPeerReference(JniObjectReference) (Inherited from Object)

Extension Methods

JavaCast<TResult>(IJavaObject)

Performs an Android runtime-checked type conversion.

JavaCast<TResult>(IJavaObject)
GetJniTypeName(IJavaPeerable)

Applies to