winegstreamer: Add gstreamer YUV->RGB transform filter.
[wine] / dlls / winegstreamer / gst_private.h
1 /*
2  * GStreamer splitter + decoder, adapted from parser.c
3  *
4  * Copyright 2010 Maarten Lankhorst for CodeWeavers
5  *
6  * This file contains the (internal) driver registration functions,
7  * driver enumeration APIs and DirectDraw creation functions.
8  *
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.
13  *
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.
18  *
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
22  */
23
24 #ifndef __GST_PRIVATE_INCLUDED__
25 #define __GST_PRIVATE_INCLUDED__
26
27 #include <stdarg.h>
28
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"
37
38 #define MEDIATIME_FROM_BYTES(x) ((LONGLONG)(x) * 10000000)
39
40 /* enum media */
41 void dump_AM_MEDIA_TYPE(const AM_MEDIA_TYPE * pmt);
42
43 IUnknown * CALLBACK Gstreamer_YUV_create(IUnknown *pUnkOuter, HRESULT *phr);
44 IUnknown * CALLBACK Gstreamer_Splitter_create(IUnknown *pUnkOuter, HRESULT *phr);
45
46 void g_thread_impl_init(void);
47 DWORD Gstreamer_init(void);
48 #endif /* __GST_PRIVATE_INCLUDED__ */