#define TDM_NAME_LEN 64
#define TDM_PATH_LEN 1024
+#define TDM_VBLANK_DEFAULT_NAME "Unknown"
/**
* @file tdm_common.h
TDM_ERROR_NOT_IMPLEMENTED = -8, /**< not implemented */
TDM_ERROR_NO_CAPABILITY = -9, /**< no capability */
TDM_ERROR_DPMS_OFF = -10, /**< dpms off */
+ TDM_ERROR_OUTPUT_DISCONNECTED = -11, /**< output disconnected */
+ TDM_ERROR_TIMEOUT = -12, /**< timeout */
} tdm_error;
/**
typedef enum {
TDM_CAPTURE_CAPABILITY_OUTPUT = (1 << 0), /**< The capture device supports to dump a output */
TDM_CAPTURE_CAPABILITY_LAYER = (1 << 1), /**< The capture device supports to dump a layer */
- TDM_CAPTURE_CAPABILITY_SCALE = (1 << 4), /**< The capture device supports scale operation */
- TDM_CAPTURE_CAPABILITY_TRANSFORM = (1 << 5), /**< The capture device supports transform operation */
+ TDM_CAPTURE_CAPABILITY_ONESHOT = (1 << 4), /**< The capture device supports oneshot dump */
+ TDM_CAPTURE_CAPABILITY_STREAM = (1 << 5), /**< The capture device supports streamp sump */
} tdm_capture_capability;
/**
+ * @brief The capture type enumeration
+ */
+typedef enum {
+ TDM_CAPTURE_TYPE_ONESHOT = (1 << 0), /**< The oneshot capture */
+ TDM_CAPTURE_TYPE_STREAM = (1 << 1), /**< The stream capture */
+} tdm_capture_type;
+
+/**
* @brief The output change enumeration of #tdm_output_change_handler
*/
typedef enum {
} tdm_pos;
/**
+ * @brief The tdm value type enumeration
+ */
+typedef enum {
+ TDM_VALUE_TYPE_UNKNOWN,
+ TDM_VALUE_TYPE_PTR,
+ TDM_VALUE_TYPE_INT32,
+ TDM_VALUE_TYPE_UINT32,
+ TDM_VALUE_TYPE_INT64,
+ TDM_VALUE_TYPE_UINT64,
+} tdm_value_type;
+
+/**
* @brief The value union
*/
typedef union {