* Taeheon Kim <th908.kim@samsung.com>,
* YoungJun Cho <yj44.cho@samsung.com>,
* SooChan Lim <sc1.lim@samsung.com>,
- * Boram Park <sc1.lim@samsung.com>
+ * Boram Park <boram1288.park@samsung.com>
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the
TDM_ERROR_NO_CAPABILITY = -9, /**< no capability */
TDM_ERROR_DPMS_OFF = -10, /**< dpms off */
TDM_ERROR_OUTPUT_DISCONNECTED = -11, /**< output disconnected */
+ TDM_ERROR_PROTOCOL_ERROR = -12, /**< protocol error */
+ TDM_ERROR_TIMEOUT = -13, /**< timeout */
} tdm_error;
/**
/**
* @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
+ * what a backend doesn't support like TDM_PP_CAPABILITY_NO_CSC.
*/
typedef enum {
TDM_PP_CAPABILITY_SYNC = (1 << 0), /**< The pp device supports synchronous operation */
TDM_PP_CAPABILITY_ASYNC = (1 << 1), /**< The pp device supports asynchronous operation */
- TDM_PP_CAPABILITY_SCALE = (1 << 4), /**< The pp device supports scale operation */
- TDM_PP_CAPABILITY_TRANSFORM = (1 << 5), /**< The pp device supports transform operation */
+ TDM_PP_CAPABILITY_SCANOUT = (1 << 4), /**< The pp device supports only scanout buffer */
+ TDM_PP_CAPABILITY_NO_CSC = (1 << 5), /**< The pp device doesn't supports Color Space Conversion */
} tdm_pp_capability;
/**
* @brief The capture capability enumeration
+ * @details The scale, transform and CSC functionalities seem the default functions of capture.
+ * If hardware device doesn't support one of them, we'd better let a developer know
+ * what a backend doesn't support like TDM_PP_CAPABILITY_NO_CSC.
*/
typedef enum {
TDM_CAPTURE_CAPABILITY_OUTPUT = (1 << 0), /**< The capture device supports to dump a output */
TDM_OUTPUT_DPMS_STANDBY, /**< StandBy, Vsync On */
TDM_OUTPUT_DPMS_SUSPEND, /**< Suspend, Vsync Off */
TDM_OUTPUT_DPMS_OFF, /**< Off, Vsync Off */
+ TDM_OUTPUT_DPMS_AOD = 0x10, /**< AOD, Vsync On, extended DPMS mode */
} tdm_output_dpms;
/**
unsigned int h;
} tdm_pos;
-typedef struct _tdm_hwc_region {
- unsigned int num_rects;
- tdm_pos const *rects;
-} tdm_hwc_region;
-
/**
* @brief The tdm value type enumeration
*/
uint64_t u64;
} tdm_value;
-/**
- * @brief The hwc window flag enumeration
- * @since 2.0.0
- */
-typedef enum {
- TDM_HWC_WINDOW_FLAG_NONE = 0,
-} tdm_hwc_window_flag;
-
#ifdef __cplusplus
}
#endif