ReactOS  0.4.15-dev-2703-g05fb0f1
mftransform.idl
Go to the documentation of this file.
1 /*
2  * Copyright 2017 Alistair Leslie-Hughes
3  *
4  * This library is free software; you can redistribute it and/or
5  * modify it under the terms of the GNU Lesser General Public
6  * License as published by the Free Software Foundation; either
7  * version 2.1 of the License, or (at your option) any later version.
8  *
9  * This library is distributed in the hope that it will be useful,
10  * but WITHOUT ANY WARRANTY; without even the implied warranty of
11  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12  * Lesser General Public License for more details.
13  *
14  * You should have received a copy of the GNU Lesser General Public
15  * License along with this library; if not, write to the Free Software
16  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
17  */
18 
19 import "mfobjects.idl";
20 
21 typedef struct _MFT_INPUT_STREAM_INFO
22 {
29 
31 {
36 
38 {
44 
45 typedef enum _MFT_MESSAGE_TYPE
46 {
58 
59 [
60  object,
61  uuid(bf94c121-5b05-4e6f-8000-ba598961414d)
62 ]
64 {
65  HRESULT GetStreamLimits([out] DWORD *input_minimum, [out] DWORD *input_maximum, [out] DWORD *output_minimum,
66  [out] DWORD *output_maximum);
67 
68  HRESULT GetStreamCount([out] DWORD *inputs, [out] DWORD *outputs);
69 
70  HRESULT GetStreamIDs([in] DWORD input_size, [out,size_is(input_size)] DWORD *inputs,
71  [in] DWORD output_size, [out,size_is(output_size)] DWORD *outputs);
72 
74 
76 
77  HRESULT GetAttributes([out] IMFAttributes **attributes);
78 
80 
82 
84 
85  HRESULT AddInputStreams([in] DWORD streams, [in] DWORD *ids);
86 
88 
90 
92 
94 
96 
98 
100 
102 
103  HRESULT SetOutputBounds([in] LONGLONG lower, [in] LONGLONG upper);
104 
106 
108 
109  [local] HRESULT ProcessInput([in] DWORD id, [in] IMFSample *sample, [in] DWORD flags);
110 
112  [out] DWORD *status);
113 };
HRESULT GetStreamIDs([in] DWORD input_size, [out, size_is(input_size)] DWORD *inputs, [in] DWORD output_size, [out, size_is(output_size)] DWORD *outputs)
struct _MFT_OUTPUT_DATA_BUFFER * PMFT_OUTPUT_DATA_BUFFER
GLsizei samples
Definition: glext.h:7006
HRESULT GetOutputCurrentType([in] DWORD id, [out] IMFMediaType **type)
Definition: tftpd.h:59
HRESULT ProcessOutput([in] DWORD flags, [in] DWORD count, [in, out, size_is(count)] MFT_OUTPUT_DATA_BUFFER *samples, [out] DWORD *status)
coclass MSXML2::XSLTemplate40 object
struct _MFT_OUTPUT_DATA_BUFFER MFT_OUTPUT_DATA_BUFFER
GLuint GLuint GLsizei count
Definition: gl.h:1545
HRESULT GetOutputStreamInfo([in] DWORD id, [out] MFT_OUTPUT_STREAM_INFO *info)
enum _MFT_MESSAGE_TYPE MFT_MESSAGE_TYPE
HRESULT GetInputStreamInfo([in] DWORD id, [out] MFT_INPUT_STREAM_INFO *info)
uint32_t ULONG_PTR
Definition: typedefs.h:65
GLuint * ids
Definition: glext.h:5907
HRESULT GetInputAvailableType([in] DWORD id, [in] DWORD index, [out] IMFMediaType **type)
_MFT_MESSAGE_TYPE
Definition: mftransform.idl:45
HRESULT GetOutputStatus([out] DWORD *flags)
HRESULT ProcessMessage([in] MFT_MESSAGE_TYPE message, [in] ULONG_PTR param)
GLuint index
Definition: glext.h:6031
int64_t LONGLONG
Definition: typedefs.h:68
HRESULT DeleteInputStream([in] DWORD id)
HRESULT GetInputStreamAttributes([in] DWORD id, [out] IMFAttributes **attributes)
LONG HRESULT
Definition: typedefs.h:79
IMFCollection * pEvents
Definition: mftransform.idl:42
GLfloat param
Definition: glext.h:5796
HRESULT SetOutputType(DWORD id, [in] IMFMediaType *type, [in] DWORD flags)
static FILE * out
Definition: regtests2xml.c:44
unsigned long DWORD
Definition: ntddk_ex.h:95
GLbitfield flags
Definition: glext.h:7161
HRESULT GetStreamCount([out] DWORD *inputs, [out] DWORD *outputs)
HRESULT AddInputStreams([in] DWORD streams, [in] DWORD *ids)
HRESULT GetStreamLimits([out] DWORD *input_minimum, [out] DWORD *input_maximum, [out] DWORD *output_minimum, [out] DWORD *output_maximum)
struct _cl_event * event
Definition: glext.h:7739
HRESULT GetAttributes([out] IMFAttributes **attributes)
HRESULT GetInputCurrentType([in] DWORD id, [out] IMFMediaType **type)
#define local
Definition: zutil.h:30
HRESULT ProcessEvent([in] DWORD id, [in] IMFMediaEvent *event)
GLuint in
Definition: glext.h:9616
struct _MFT_INPUT_STREAM_INFO MFT_INPUT_STREAM_INFO
HRESULT SetOutputBounds([in] LONGLONG lower, [in] LONGLONG upper)
HRESULT GetOutputStreamAttributes([in] DWORD id, [out] IMFAttributes **attributes)
HRESULT GetInputStatus([in] DWORD id, [out] DWORD *flags)
HRESULT ProcessInput([in] DWORD id, [in] IMFSample *sample, [in] DWORD flags)
GLuint GLuint GLsizei GLenum type
Definition: gl.h:1545
HRESULT SetInputType(DWORD id, [in] IMFMediaType *type, [in] DWORD flags)
struct _MFT_OUTPUT_STREAM_INFO MFT_OUTPUT_STREAM_INFO
HRESULT GetOutputAvailableType([in] DWORD id, [in] DWORD index, [out] IMFMediaType **type)
Definition: ps.c:97