X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=include%2Ftdm_common.h;h=70a081ca53b25ca15a6bb4ddc5ae07a4f4355561;hb=refs%2Fheads%2Ftizen_5.0;hp=ef5ee15822e2679f2a1772e8382ff01d6b5bf1f0;hpb=2adc0c96b4af5f88b3560e8ebd0b595a3f483578;p=platform%2Fcore%2Fuifw%2Flibtdm.git diff --git a/include/tdm_common.h b/include/tdm_common.h index ef5ee15..70a081c 100644 --- a/include/tdm_common.h +++ b/include/tdm_common.h @@ -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; /** @@ -137,16 +138,6 @@ typedef enum { } tdm_layer_capability; /** - * @brief The hwc window capability enumeration - * @since 2.0.0 - */ -typedef enum { - TDM_HWC_WINDOW_VIDEO_CAPABILITY_SCALE = (1 << 1), /**< if a hwc window video has scale capability */ - TDM_HWC_WINDOW_VIDEO_CAPABILITY_TRANSFORM = (1 << 2), /**< if a hwc window video has transform capability */ - TDM_HWC_WINDOW_VIDEO_CAPABILITY_SCANOUT = (1 << 3), /**< if a hwc_window video allows a scanout buffer only */ -} tdm_hwc_window_video_capability; - -/** * @brief The pp capability enumeration * @details The scale, transform and CSC functionalities seem the default functions of PP. * If hardware device doesn't support one of them, we'd better let a developer know @@ -268,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 */