2001-09-26 00:37:04 +02:00
|
|
|
/*
|
|
|
|
* Implements IEnumMediaTypes and helper functions. (internal)
|
|
|
|
*
|
|
|
|
* hidenori@a2.ctktv.ne.jp
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef WINE_DSHOW_MTYPE_H
|
|
|
|
#define WINE_DSHOW_MTYPE_H
|
|
|
|
|
|
|
|
HRESULT QUARTZ_MediaType_Copy(
|
|
|
|
AM_MEDIA_TYPE* pmtDst,
|
|
|
|
const AM_MEDIA_TYPE* pmtSrc );
|
|
|
|
void QUARTZ_MediaType_Free(
|
|
|
|
AM_MEDIA_TYPE* pmt );
|
|
|
|
AM_MEDIA_TYPE* QUARTZ_MediaType_Duplicate(
|
|
|
|
const AM_MEDIA_TYPE* pmtSrc );
|
|
|
|
void QUARTZ_MediaType_Destroy(
|
|
|
|
AM_MEDIA_TYPE* pmt );
|
|
|
|
|
2001-10-08 22:56:08 +02:00
|
|
|
void QUARTZ_MediaSubType_FromFourCC(
|
|
|
|
GUID* psubtype, DWORD dwFourCC );
|
|
|
|
BOOL QUARTZ_MediaSubType_IsFourCC(
|
|
|
|
const GUID* psubtype );
|
2001-09-26 00:37:04 +02:00
|
|
|
|
2001-10-14 18:13:14 +02:00
|
|
|
HRESULT QUARTZ_MediaSubType_FromBitmap(
|
|
|
|
GUID* psubtype, const BITMAPINFOHEADER* pbi );
|
|
|
|
|
2001-10-28 22:16:00 +01:00
|
|
|
void QUARTZ_PatchBitmapInfoHeader( BITMAPINFOHEADER* pbi );
|
2001-10-22 21:03:26 +02:00
|
|
|
BOOL QUARTZ_BitmapHasFixedSample( const BITMAPINFOHEADER* pbi );
|
|
|
|
|
|
|
|
|
2001-09-26 00:37:04 +02:00
|
|
|
HRESULT QUARTZ_CreateEnumMediaTypes(
|
|
|
|
IEnumMediaTypes** ppobj,
|
|
|
|
const AM_MEDIA_TYPE* pTypes, ULONG cTypes );
|
|
|
|
|
|
|
|
|
|
|
|
#endif /* WINE_DSHOW_MTYPE_H */
|