* include/qedit.h (DEXTER_*,SCompFmt0): Add structures.

(DEXTERF_TRACK_SEARCH_FLAGS,TIMELINE_MAJOR_TYPE): Add enums.
	(CONNECTF_DYNAMIC_*,SFN_VALIDATEF_*,RESIZEF_*): Define.
This commit is contained in:
Dimitri Papadopoulos 2006-05-10 09:35:26 +00:00
parent 8a002cefb3
commit d7046e80d7
2 changed files with 61 additions and 0 deletions

View File

@ -1,3 +1,9 @@
2006-05-10 Dimitri Papadopoulos <papadopo@users.sourceforge.net>
* include/qedit.h (DEXTER_*,SCompFmt0): Add structures.
(DEXTERF_TRACK_SEARCH_FLAGS,TIMELINE_MAJOR_TYPE): Add enums.
(CONNECTF_DYNAMIC_*,SFN_VALIDATEF_*,RESIZEF_*): Define.
2006-05-10 Dimitri Papadopoulos <papadopo@users.sourceforge.net> 2006-05-10 Dimitri Papadopoulos <papadopo@users.sourceforge.net>
* include/qedit.h: New file. * include/qedit.h: New file.

View File

@ -4,6 +4,14 @@
#pragma GCC system_header #pragma GCC system_header
#endif #endif
#ifndef _STRMIF_H
#include <strmif.h>
#endif
#ifdef __cplusplus
extern "C" {
#endif
/*--- DirectShow Reference - Constants and GUIDs - Error and Success Codes */ /*--- DirectShow Reference - Constants and GUIDs - Error and Success Codes */
#define S_WARN_OUTPUTRESET 0x00009DD4 #define S_WARN_OUTPUTRESET 0x00009DD4
#define E_NOTINTREE 0x80040400 #define E_NOTINTREE 0x80040400
@ -11,5 +19,52 @@
#define E_MUST_INIT_RENDERER 0x80040402 #define E_MUST_INIT_RENDERER 0x80040402
#define E_NOTDETERMINED 0x80040403 #define E_NOTDETERMINED 0x80040403
#define E_NO_TIMELINE 0x80040404 #define E_NO_TIMELINE 0x80040404
/*--- DirectShow Editing Services - C++ Reference - Structures */
typedef struct {
BSTR Name;
DISPID dispID;
LONG nValues;
} DEXTER_PARAM;
typedef struct {
VARIANT v;
REFERENCE_TIME rt;
DWORD dwInterp;
} DEXTER_VALUE;
typedef struct _SCompFmt0 {
long nFormatId;
AM_MEDIA_TYPE MediaType;
} SCompFmt0;
/*--- DirectShow Editing Services - C++ Reference - Enumerated Types */
typedef enum {
DEXTERF_BOUNDING = -1,
DEXTERF_EXACTLY_AT = 0,
DEXTERF_FORWARDS = 1
} DEXTERF_TRACK_SEARCH_FLAGS;
typedef enum {
TIMELINE_MAJOR_TYPE_COMPOSITE = 1,
TIMELINE_MAJOR_TYPE_TRACK = 2,
TIMELINE_MAJOR_TYPE_SOURCE = 4,
TIMELINE_MAJOR_TYPE_TRANSITION = 8,
TIMELINE_MAJOR_TYPE_EFFECT = 16,
TIMELINE_MAJOR_TYPE_GROUP = 128
} TIMELINE_MAJOR_TYPE;
/*--- DirectShow Editing Services - C++ Reference - Constants */
#define CONNECTF_DYNAMIC_NONE 0x00
#define CONNECTF_DYNAMIC_SOURCES 0x01
#define CONNECTF_DYNAMIC_EFFECTS 0x02
#define SFN_VALIDATEF_CHECK 0x01
#define SFN_VALIDATEF_POPUP 0x02
#define SFN_VALIDATEF_TELLME 0x04
#define SFN_VALIDATEF_REPLACE 0x08
#define SFN_VALIDATEF_USELOCAL 0x10
#define SFN_VALIDATEF_NOFIND 0x20
#define SFN_VALIDATEF_IGNOREMUTED 0x40
#define RESIZEF_STRETCH 0
#define RESIZEF_CROP 1
#define RESIZEF_PRESERVEASPECTRATIO 2
#define RESIZEF_PRESERVEASPECTRATIO_NOLETTERBOX 3
#ifdef __cplusplus
}
#endif
#endif #endif