The following tables list the members exposed by MediaType.
| Name | Description | |
|---|---|---|
| MediaType Constructor | Initializes a new instance of the MediaType class. |
| 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 whether samples are compressed using temporal (interframe) compression. |
| Type | Gets or sets the major type of the media sample. |
| 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. |