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 Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document
Your email has been sent to support! Someone should be in touch! If your matter is urgent please come back into chat.
Chat Hours:
Monday - Friday, 8:30am to 6pm ET
Thank you for your feedback!
Please fill out the form again to start a new chat.
All agents are currently offline.
Chat Hours:
Monday - Friday
8:30AM - 6PM EST
To contact us please fill out this form and we will contact you via email.