←Select platform

MediaType Class Members

Summary

The following tables list the members exposed by MediaType.

Public Constructors

Name Description
MediaType Initializes a new instance of the MediaType class.

Public Methods

Name Description
Dispose Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
GetFormatData Gets a copy of the format buffer.
GetPortableType Gets a portable version of the media type.
GetVideoFormatData Copies data from the video format buffer.
ResetFormat This method allows you to reset the format buffer and free the memory allocated to it.
ResetMediaType This method allows you to reset the entire media type (format buffer, type, subtype, etc).
SetFormatData Copies data to the format buffer.
SetPortableType Specifies the media type from portable data.
SetVideoFormatData Copies data to the video format buffer.

Public Properties

Name Description
FixedSizeSamples Gets or sets the fixed size mode for MediaSamples.
Format Gets the direct reference to the format buffer.
FormatSize Gets or sets the size of the format buffer, in bytes.
FormatType Gets or sets the format buffer type.
SampleSize Gets or sets the sample size, in bytes.
SubType Gets or sets the subtype of the media sample.
TemporalCompression Gets or sets a value that indicates whether samples are compressed using temporal (interframe) compression.
Type Gets or sets the major type of the media sample.
Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Multimedia Assembly