* - TBM_FORMAT_YUV420
* - TBM_FORMAT_NV12
* - TBM_FORMAT_NV21
- * - TBM_FORMAT_YUYV
- * - TBM_FORMAT_UYVY
* The filename extension should be "png" for TBM_FORMAT_ARGB8888 and TBM_FORMAT_XRGB8888
* or "yuv" for YUV formats.
* @param[in] buffer A TDM buffer
* - TBM_FORMAT_YUV420
* - TBM_FORMAT_NV12
* - TBM_FORMAT_NV21
- * - TBM_FORMAT_YUYV
- * - TBM_FORMAT_UYVY
* @param[in] buffer A TDM buffer
*/
void
int
tdm_helper_output_commit_per_vblank_enabled(tdm_output *output);
+/**
+ * @brief Get whether the vblank timer is expired or not for the output.
+ * @param[in] output An output the functionality has to be checked for
+ * @return -1 if error occurred, 1 if enabled, 0 if disabled.
+ */
+unsigned int
+tdm_helper_output_vblank_timer_expired(tdm_output *output);
+
#ifdef __cplusplus
}
#endif