tdm_error error;
- error = tdm_hwc_get_supported_formats(NULL, NULL, NULL);
+ error = tdm_hwc_get_video_supported_formats(NULL, NULL, NULL);
ASSERT_NE(TDM_ERROR_NONE, error);
}
for (int o = 0; o < output_count; o++) {
hwc = tdm_output_get_hwc(outputs[o], &error);
if (hwc) {
- error = tdm_hwc_get_supported_formats(hwc, &formats, &count);
+ error = tdm_hwc_get_video_supported_formats(hwc, &formats, &count);
if (error != TDM_ERROR_NOT_IMPLEMENTED) {
ASSERT_EQ(TDM_ERROR_NONE, error);
if (count > 0)
ASSERT_NE(NULL, formats);
}
} else {
- error = tdm_hwc_get_supported_formats(hwc, &formats, &count);
+ error = tdm_hwc_get_video_supported_formats(hwc, &formats, &count);
ASSERT_NE(TDM_ERROR_NONE, error);
}
}