Package version up to 2.7.1
[platform/core/uifw/libtdm.git] / include / tdm_common.h
index 328f837..70a081c 100644 (file)
@@ -70,6 +70,7 @@ typedef enum {
        TDM_ERROR_OUTPUT_DISCONNECTED   = -11, /**< output disconnected */
        TDM_ERROR_PROTOCOL_ERROR        = -12, /**< protocol error */
        TDM_ERROR_TIMEOUT               = -13, /**< timeout */
+       TDM_ERROR_NO_MODULE             = -14, /**< no backend module */
 } tdm_error;
 
 /**
@@ -258,6 +259,17 @@ typedef enum {
        TDM_OUTPUT_MODE_FLAG_CLKDIV2    = (1 << 13),
 } tdm_output_mode_flag;
 
+/*
+ * @brief The hwc video capability enumeration
+ * @since 2.7.0
+ */
+typedef enum {
+       TDM_HWC_CAPABILITY_VIDEO_STREAM         = (1 << 1), /**< if a hwc has video stream capability  */
+       TDM_HWC_CAPABILITY_VIDEO_SCALE          = (1 << 2), /**< if a hwc allows to scale the video buffer  */
+       TDM_HWC_CAPABILITY_VIDEO_TRANSFORM      = (1 << 3), /**< if a hwc allows video to transform the video buffer  */
+       TDM_HWC_CAPABILITY_VIDEO_SCANOUT        = (1 << 4), /**< if a hwc allows video to accept the scanout buffer only */
+} tdm_hwc_capability;
+
 /**
  * @brief The size structure
  */