1 /** 2 * @file qedit.h 3 * Copyright 2012, 2013 MinGW.org project 4 * 5 * Permission is hereby granted, free of charge, to any person obtaining a 6 * copy of this software and associated documentation files (the "Software"), 7 * to deal in the Software without restriction, including without limitation 8 * the rights to use, copy, modify, merge, publish, distribute, sublicense, 9 * and/or sell copies of the Software, and to permit persons to whom the 10 * Software is furnished to do so, subject to the following conditions: 11 * 12 * The above copyright notice and this permission notice (including the next 13 * paragraph) shall be included in all copies or substantial portions of the 14 * Software. 15 * 16 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 17 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 18 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 19 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 20 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 21 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 22 * DEALINGS IN THE SOFTWARE. 23 */ 24 #ifndef _QEDIT_H 25 #define _QEDIT_H 26 #pragma GCC system_header 27 #include <_mingw.h> 28 29 #include <strmif.h> 30 31 #ifdef __cplusplus 32 extern "C" { 33 #endif 34 35 /*--- DirectShow Reference - Constants and GUIDs - Error and Success Codes */ 36 #define S_WARN_OUTPUTRESET 0x00009DD4 37 #define E_NOTINTREE 0x80040400 38 #define E_RENDER_ENGINE_IS_BROKEN 0x80040401 39 #define E_MUST_INIT_RENDERER 0x80040402 40 #define E_NOTDETERMINED 0x80040403 41 #define E_NO_TIMELINE 0x80040404 42 /*--- DirectShow Editing Services - C++ Reference - Structures */ 43 typedef struct { 44 BSTR Name; 45 DISPID dispID; 46 LONG nValues; 47 } DEXTER_PARAM; 48 typedef struct { 49 VARIANT v; 50 REFERENCE_TIME rt; 51 DWORD dwInterp; 52 } DEXTER_VALUE; 53 typedef struct _SCompFmt0 { 54 long nFormatId; 55 AM_MEDIA_TYPE MediaType; 56 } SCompFmt0; 57 /*--- DirectShow Editing Services - C++ Reference - Enumerated Types */ 58 typedef enum { 59 DEXTERF_BOUNDING = -1, 60 DEXTERF_EXACTLY_AT = 0, 61 DEXTERF_FORWARDS = 1 62 } DEXTERF_TRACK_SEARCH_FLAGS; 63 typedef enum { 64 TIMELINE_MAJOR_TYPE_COMPOSITE = 1, 65 TIMELINE_MAJOR_TYPE_TRACK = 2, 66 TIMELINE_MAJOR_TYPE_SOURCE = 4, 67 TIMELINE_MAJOR_TYPE_TRANSITION = 8, 68 TIMELINE_MAJOR_TYPE_EFFECT = 16, 69 TIMELINE_MAJOR_TYPE_GROUP = 128 70 } TIMELINE_MAJOR_TYPE; 71 /*--- DirectShow Editing Services - C++ Reference - Constants */ 72 #define CONNECTF_DYNAMIC_NONE 0x00 73 #define CONNECTF_DYNAMIC_SOURCES 0x01 74 #define CONNECTF_DYNAMIC_EFFECTS 0x02 75 #define SFN_VALIDATEF_CHECK 0x01 76 #define SFN_VALIDATEF_POPUP 0x02 77 #define SFN_VALIDATEF_TELLME 0x04 78 #define SFN_VALIDATEF_REPLACE 0x08 79 #define SFN_VALIDATEF_USELOCAL 0x10 80 #define SFN_VALIDATEF_NOFIND 0x20 81 #define SFN_VALIDATEF_IGNOREMUTED 0x40 82 #define RESIZEF_STRETCH 0 83 #define RESIZEF_CROP 1 84 #define RESIZEF_PRESERVEASPECTRATIO 2 85 #define RESIZEF_PRESERVEASPECTRATIO_NOLETTERBOX 3 86 87 #ifdef __cplusplus 88 } 89 #endif 90 91 #endif 92