mscoree: COM cleanup in metahost.c.
[wine.git] / dlls / winegstreamer / gst_private.h
blob741fdf49634dd9fa840d48ffd6aa2ef13cb8cecc
1 /*
2 * GStreamer splitter + decoder, adapted from parser.c
4 * Copyright 2010 Maarten Lankhorst for CodeWeavers
6 * This file contains the (internal) driver registration functions,
7 * driver enumeration APIs and DirectDraw creation functions.
9 * This library is free software; you can redistribute it and/or
10 * modify it under the terms of the GNU Lesser General Public
11 * License as published by the Free Software Foundation; either
12 * version 2.1 of the License, or (at your option) any later version.
14 * This library is distributed in the hope that it will be useful,
15 * but WITHOUT ANY WARRANTY; without even the implied warranty of
16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
17 * Lesser General Public License for more details.
19 * You should have received a copy of the GNU Lesser General Public
20 * License along with this library; if not, write to the Free Software
21 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
24 #ifndef __GST_PRIVATE_INCLUDED__
25 #define __GST_PRIVATE_INCLUDED__
27 #include <stdarg.h>
29 #define COBJMACROS
30 #include "windef.h"
31 #include "winbase.h"
32 #include "wtypes.h"
33 #include "winuser.h"
34 #include "dshow.h"
35 #include "strmif.h"
36 #include "wine/strmbase.h"
38 #define MEDIATIME_FROM_BYTES(x) ((LONGLONG)(x) * 10000000)
40 /* enum media */
41 void dump_AM_MEDIA_TYPE(const AM_MEDIA_TYPE * pmt);
43 IUnknown * CALLBACK Gstreamer_AudioConvert_create(IUnknown *pUnkOuter, HRESULT *phr);
44 IUnknown * CALLBACK Gstreamer_Mp3_create(IUnknown *pUnkOuter, HRESULT *phr);
45 IUnknown * CALLBACK Gstreamer_YUV_create(IUnknown *pUnkOuter, HRESULT *phr);
46 IUnknown * CALLBACK Gstreamer_Splitter_create(IUnknown *pUnkOuter, HRESULT *phr);
48 void g_thread_impl_init(void);
49 DWORD Gstreamer_init(void);
50 #endif /* __GST_PRIVATE_INCLUDED__ */