Go to the source code of this file.
Classes | |
| class | CMediaType |
Functions | |
| void WINAPI | DeleteMediaType (AM_MEDIA_TYPE *pmt) |
| AM_MEDIA_TYPE *WINAPI | CreateMediaType (AM_MEDIA_TYPE const *pSrc) |
| void WINAPI | CopyMediaType (AM_MEDIA_TYPE *pmtTarget, const AM_MEDIA_TYPE *pmtSource) |
| void WINAPI | FreeMediaType (AM_MEDIA_TYPE &mt) |
| STDAPI | CreateAudioMediaType (const WAVEFORMATEX *pwfx, AM_MEDIA_TYPE *pmt, BOOL bSetFormat) |
| void WINAPI CopyMediaType | ( | AM_MEDIA_TYPE * | pmtTarget, | |
| const AM_MEDIA_TYPE * | pmtSource | |||
| ) |
Definition at line 296 of file mtype.cpp.
Referenced by CMediaType::CMediaType(), CBasePin::ConnectionMediaType(), CreateMediaType(), and CMediaType::operator=().
| STDAPI CreateAudioMediaType | ( | const WAVEFORMATEX * | pwfx, | |
| AM_MEDIA_TYPE * | pmt, | |||
| BOOL | bSetFormat | |||
| ) |
Definition at line 332 of file mtype.cpp.
References E_OUTOFMEMORY, FALSE, NULL, S_OK, TRUE, and WAVE_FORMAT_EXTENSIBLE.
| AM_MEDIA_TYPE* WINAPI CreateMediaType | ( | AM_MEDIA_TYPE const * | pSrc | ) |
Definition at line 277 of file mtype.cpp.
References ASSERT, CopyMediaType(), and NULL.
Referenced by CMediaSample::GetMediaType(), CMediaSample::SetMediaType(), and CMediaSample::SetProperties().
| void WINAPI DeleteMediaType | ( | AM_MEDIA_TYPE * | pmt | ) |
Definition at line 265 of file mtype.cpp.
References FreeMediaType(), and NULL.
Referenced by CTransInPlaceFilter::Copy(), CVideoTransformFilter::Receive(), CMediaSample::SetMediaType(), CMediaSample::SetProperties(), CBasePin::TryMediaTypes(), and CMediaSample::~CMediaSample().
| void WINAPI FreeMediaType | ( | AM_MEDIA_TYPE & | mt | ) |
Definition at line 317 of file mtype.cpp.
References NULL.
Referenced by DeleteMediaType(), CMediaType::operator=(), and CMediaType::~CMediaType().
1.5.6