←Select platform
In This Topic ▼

MediaType Class Members

Summary

The following tables list the members exposed by MediaType.

Public Constructors

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

Public Methods

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

Public Properties

Name Description
Public Property
FixedSizeSamples Gets or sets the fixed size mode for MediaSamples.
Public Property Format Gets the direct reference to the format buffer.
Public Property FormatSize Gets or sets the size of the format buffer, in bytes.
Public Property FormatType Gets or sets the format buffer type.
Public Property SampleSize Gets or sets the sample size, in bytes.
Public Property SubType Gets or sets the subtype of the media sample.
Public Property TemporalCompression Gets or sets a value that indicates whether samples are compressed using temporal (interframe) compression.
Public Property Type Gets or sets the major type of the media sample.

Help Version 20.0.2020.4.2
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Multimedia Assembly