hwc: add tdm_hwc_get_video_available_properties.
[platform/core/uifw/libtdm.git] / include / tdm_backend.h
index da89269..40390c3 100644 (file)
@@ -803,6 +803,16 @@ typedef struct _tdm_func_hwc {
        tdm_error (*hwc_get_video_supported_formats)(tdm_hwc *hwc, const tbm_format **formats,
                                                                                int *count);
        /**
+        * @brief Get the available video property array  of a hwc object.
+        * @param[in] hwc A hwc object
+        * @param[out] props The available video property array
+        * @param[out] count The count of video properties
+        * @return #TDM_ERROR_NONE if success. Otherwise, error value.
+        */
+       tdm_error (*hwc_get_video_available_properties)(tdm_hwc *hwc, const tdm_prop **props,
+                                                                               int *count);
+
+       /**
         * @brief Get the hwc video capability
         * @param[in] hwc A hwc object
         * @param[out] video_capability A hwc hwc video capability