Android.Media.MediaCodec: Field Members

The fields of Android.Media.MediaCodec are listed below. For a list of all members, see the MediaCodec Members list.

See Also: Inherited members from Java.Lang.Object

Public Fields

const
BufferFlagCodecConfigMediaCodecBufferFlags (2). This indicated that the buffer marked as such contains codec initialization / codec specific data instead of media data.
const
BufferFlagEndOfStreamMediaCodecBufferFlags (4). This signals the end of stream, i.e. no buffers will be available after this, unless of course, MediaCodec.Flush follows.
const
BufferFlagKeyFrameMediaCodecBufferFlags (1). This indicates that the (encoded) buffer marked as such contains the data for a key frame.
const
BufferFlagSyncFrameMediaCodecBufferFlags (1). This indicates that the (encoded) buffer marked as such contains the data for a key frame.
const
ConfigureFlagEncodeMediaCodecConfigFlags (1). If this codec is to be used as an encoder, pass this flag.
const
CryptoModeAesCtrMediaCodecCryptoMode (1).
const
CryptoModeUnencryptedMediaCodecCryptoMode (0).
const
InfoOutputBuffersChangedMediaCodecInfoState (-3). The output buffers have changed, the client must refer to the new set of output buffers returned by MediaCodec.GetOutputBuffers from this point on.
const
InfoOutputFormatChangedMediaCodecInfoState (-2). The output format has changed, subsequent data will follow the new format.
const
InfoTryAgainLaterMediaCodecInfoState (-1). If a non-negative timeout had been specified in the call to MediaCodec.DequeueOutputBuffer(.BufferInfo, System.Int64), indicates that the call timed out.
const
ParameterKeyRequestSyncFramestring. Request that the encoder produce a sync frame "soon".
const
ParameterKeySuspendstring. Temporarily suspend/resume encoding of input data.
const
ParameterKeyVideoBitratestring. Change a video encoder's target bitrate on the fly.
const
VideoScalingModeScaleToFitVideoScalingMode (1). The content is scaled to the surface dimensions
const
VideoScalingModeScaleToFitWithCroppingVideoScalingMode (2). The content is scaled, maintaining its aspect ratio, the whole surface area is used, content may be cropped