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;
/**
TDM_OUTPUT_CAPABILITY_ASYNC_DPMS = (1 << 0), /**< if a outupt supports asynchronous DPMS operation */
TDM_OUTPUT_CAPABILITY_HWC = (1 << 1), /**< if a outupt supports hwc operation @since 2.0.0*/
TDM_OUTPUT_CAPABILITY_EXTENDED_DPMS = (1 << 2), /**< if a outupt supports extended DPMS operation @since 2.0.0 */
+ TDM_OUTPUT_CAPABILITY_MIRROR = (1 << 3), /**< if a outupt supports the displying mirror image of the src_output @since 2.9.0 */
} tdm_output_capability;
/**
/*
* @brief The hwc video capability enumeration
- * @since 2.0.0
+ * @since 2.7.0
*/
typedef enum {
- TDM_HWC_VIDEO_CAPABILITY_SCALE = (1 << 1), /**< if a hwc video has scale capability */
- TDM_HWC_VIDEO_CAPABILITY_TRANSFORM = (1 << 2), /**< if a hwc video has transform capability */
- TDM_HWC_VIDEO_CAPABILITY_SCANOUT = (1 << 3), /**< if a video allows a scanout buffer only */
-} tdm_hwc_video_capability;
+ 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