1 | #ifndef _QEDIT_H
|
---|
2 | #define _QEDIT_H
|
---|
3 | #if __GNUC__ >=3
|
---|
4 | #pragma GCC system_header
|
---|
5 | #endif
|
---|
6 |
|
---|
7 | #ifndef _STRMIF_H
|
---|
8 | #include <strmif.h>
|
---|
9 | #endif
|
---|
10 |
|
---|
11 | #ifdef __cplusplus
|
---|
12 | extern "C" {
|
---|
13 | #endif
|
---|
14 |
|
---|
15 | /*--- DirectShow Reference - Constants and GUIDs - Error and Success Codes */
|
---|
16 | #define S_WARN_OUTPUTRESET 0x00009DD4
|
---|
17 | #define E_NOTINTREE 0x80040400
|
---|
18 | #define E_RENDER_ENGINE_IS_BROKEN 0x80040401
|
---|
19 | #define E_MUST_INIT_RENDERER 0x80040402
|
---|
20 | #define E_NOTDETERMINED 0x80040403
|
---|
21 | #define E_NO_TIMELINE 0x80040404
|
---|
22 | /*--- DirectShow Editing Services - C++ Reference - Structures */
|
---|
23 | typedef struct {
|
---|
24 | BSTR Name;
|
---|
25 | DISPID dispID;
|
---|
26 | LONG nValues;
|
---|
27 | } DEXTER_PARAM;
|
---|
28 | typedef struct {
|
---|
29 | VARIANT v;
|
---|
30 | REFERENCE_TIME rt;
|
---|
31 | DWORD dwInterp;
|
---|
32 | } DEXTER_VALUE;
|
---|
33 | typedef struct _SCompFmt0 {
|
---|
34 | long nFormatId;
|
---|
35 | AM_MEDIA_TYPE MediaType;
|
---|
36 | } SCompFmt0;
|
---|
37 | /*--- DirectShow Editing Services - C++ Reference - Enumerated Types */
|
---|
38 | typedef enum {
|
---|
39 | DEXTERF_BOUNDING = -1,
|
---|
40 | DEXTERF_EXACTLY_AT = 0,
|
---|
41 | DEXTERF_FORWARDS = 1
|
---|
42 | } DEXTERF_TRACK_SEARCH_FLAGS;
|
---|
43 | typedef enum {
|
---|
44 | TIMELINE_MAJOR_TYPE_COMPOSITE = 1,
|
---|
45 | TIMELINE_MAJOR_TYPE_TRACK = 2,
|
---|
46 | TIMELINE_MAJOR_TYPE_SOURCE = 4,
|
---|
47 | TIMELINE_MAJOR_TYPE_TRANSITION = 8,
|
---|
48 | TIMELINE_MAJOR_TYPE_EFFECT = 16,
|
---|
49 | TIMELINE_MAJOR_TYPE_GROUP = 128
|
---|
50 | } TIMELINE_MAJOR_TYPE;
|
---|
51 | /*--- DirectShow Editing Services - C++ Reference - Constants */
|
---|
52 | #define CONNECTF_DYNAMIC_NONE 0x00
|
---|
53 | #define CONNECTF_DYNAMIC_SOURCES 0x01
|
---|
54 | #define CONNECTF_DYNAMIC_EFFECTS 0x02
|
---|
55 | #define SFN_VALIDATEF_CHECK 0x01
|
---|
56 | #define SFN_VALIDATEF_POPUP 0x02
|
---|
57 | #define SFN_VALIDATEF_TELLME 0x04
|
---|
58 | #define SFN_VALIDATEF_REPLACE 0x08
|
---|
59 | #define SFN_VALIDATEF_USELOCAL 0x10
|
---|
60 | #define SFN_VALIDATEF_NOFIND 0x20
|
---|
61 | #define SFN_VALIDATEF_IGNOREMUTED 0x40
|
---|
62 | #define RESIZEF_STRETCH 0
|
---|
63 | #define RESIZEF_CROP 1
|
---|
64 | #define RESIZEF_PRESERVEASPECTRATIO 2
|
---|
65 | #define RESIZEF_PRESERVEASPECTRATIO_NOLETTERBOX 3
|
---|
66 |
|
---|
67 | #ifdef __cplusplus
|
---|
68 | }
|
---|
69 | #endif
|
---|
70 | #endif
|
---|