ReactOS 0.4.16-dev-92-g0c2cdca
qcap_main.h
Go to the documentation of this file.
1/*
2 * Qcap main header file
3 *
4 * Copyright (C) 2005 Rolf Kalbermatter
5 *
6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Lesser General Public
8 * License as published by the Free Software Foundation; either
9 * version 2.1 of the License, or (at your option) any later version.
10 *
11 * This library is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * Lesser General Public License for more details.
15 *
16 * You should have received a copy of the GNU Lesser General Public
17 * License along with this library; if not, write to the Free Software
18 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
19 */
20#ifndef _QCAP_MAIN_H_DEFINED
21#define _QCAP_MAIN_H_DEFINED
22
23#include "wine/strmbase.h"
24
26
40
42
44 /* Last 2 numbers give the skip info, the smaller they are the better
45 * Planar:
46 * HSKIP : VSKIP */
47 YUVP_421, /* 2 : 1 */
48 YUVP_422, /* 2 : 2 */
49 YUVP_441, /* 4 : 1 */
50 YUVP_444, /* 4 : 4 */
51 ENDPLANAR, /* No format, just last planar item so we can check on it */
52
53 /* Non-planar */
54 YUYV, /* Order: YUYV (Guess why it's named like that) */
55 UYVY, /* Order: UYVY (Looks like someone got bored and swapped the Y's) */
56 UYYVYY, /* YUV411 linux style, perhaps YUV420 is YYUYYV? */
57};
58
60void YUV_To_RGB24(enum YUV_Format format, unsigned char *target, const unsigned char *source, int width, int height) DECLSPEC_HIDDEN;
61
62#endif /* _QCAP_MAIN_H_DEFINED */
#define DECLSPEC_HIDDEN
Definition: precomp.h:8
unsigned int BOOL
Definition: ntddk_ex.h:94
unsigned long DWORD
Definition: ntddk_ex.h:95
GLint GLint GLsizei GLsizei height
Definition: gl.h:1546
GLint GLint GLsizei width
Definition: gl.h:1546
GLenum target
Definition: glext.h:7315
void YUV_Init(void) DECLSPEC_HIDDEN
IUnknown *WINAPI QCAP_createAudioCaptureFilter(IUnknown *pUnkOuter, HRESULT *phr) DECLSPEC_HIDDEN
Definition: audiorecord.c:270
DWORD ObjectRefCount(BOOL increment) DECLSPEC_HIDDEN
Definition: qcap_main.c:193
IUnknown *WINAPI QCAP_createAVIMuxPropertyPage1(IUnknown *pUnkOuter, HRESULT *phr) DECLSPEC_HIDDEN
IUnknown *WINAPI QCAP_createAVICompressor(IUnknown *pUnkOuter, HRESULT *phr) DECLSPEC_HIDDEN
Definition: avico.c:698
IUnknown *WINAPI QCAP_createFileWriter(IUnknown *pUnkOuter, HRESULT *phr) DECLSPEC_HIDDEN
IUnknown *WINAPI QCAP_createAVIMux(IUnknown *pUnkOuter, HRESULT *phr) DECLSPEC_HIDDEN
Definition: avimux.c:2362
IUnknown *WINAPI QCAP_createVFWCaptureFilterPropertyPage(IUnknown *pUnkOuter, HRESULT *phr) DECLSPEC_HIDDEN
IUnknown *WINAPI QCAP_createInfinitePinTeeFilter(IUnknown *pUnkOuter, HRESULT *phr) DECLSPEC_HIDDEN
IUnknown *WINAPI QCAP_createVFWCaptureFilter(IUnknown *pUnkOuter, HRESULT *phr) DECLSPEC_HIDDEN
Definition: vfwcapture.c:216
IUnknown *WINAPI QCAP_createAudioInputMixerPropertyPage(IUnknown *pUnkOuter, HRESULT *phr) DECLSPEC_HIDDEN
void YUV_To_RGB24(enum YUV_Format format, unsigned char *target, const unsigned char *source, int width, int height) DECLSPEC_HIDDEN
IUnknown *WINAPI QCAP_createSmartTeeFilter(IUnknown *pUnkOuter, HRESULT *phr) DECLSPEC_HIDDEN
void dump_AM_MEDIA_TYPE(const AM_MEDIA_TYPE *pmt) DECLSPEC_HIDDEN
Definition: enummedia.c:38
IUnknown *WINAPI QCAP_createCaptureGraphBuilder2(IUnknown *pUnkOuter, HRESULT *phr) DECLSPEC_HIDDEN
Definition: capturegraph.c:77
YUV_Format
Definition: qcap_main.h:43
@ YUYV
Definition: qcap_main.h:54
@ UYYVYY
Definition: qcap_main.h:56
@ UYVY
Definition: qcap_main.h:55
@ YUVP_444
Definition: qcap_main.h:50
@ YUVP_441
Definition: qcap_main.h:49
@ ENDPLANAR
Definition: qcap_main.h:51
@ YUVP_422
Definition: qcap_main.h:48
@ YUVP_421
Definition: qcap_main.h:47
IUnknown *WINAPI QCAP_createAVIMuxPropertyPage(IUnknown *pUnkOuter, HRESULT *phr) DECLSPEC_HIDDEN
Definition: format.c:58
#define WINAPI
Definition: msvc.h:6