Change-Id: I4395553909638d77b870288938f6436deafbd1f9
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
if (tc_tdm_output_is_hwc_enable(output)) {
pp_formats = (tbm_format *)calloc(1, sizeof(tbm_format) * 2);
if (tc_tdm_output_is_hwc_enable(output)) {
pp_formats = (tbm_format *)calloc(1, sizeof(tbm_format) * 2);
+ TDM_UT_RETURN_FALSE_IF_FAIL(pp_formats != NULL);
pp_formats[0] = TBM_FORMAT_NV12;
pp_formats[1] = TBM_FORMAT_YUV420;
dst_formats = pp_formats;
pp_formats[0] = TBM_FORMAT_NV12;
pp_formats[1] = TBM_FORMAT_YUV420;
dst_formats = pp_formats;
if (tc_tdm_output_is_hwc_enable(output)) {
pp_formats = (tbm_format *)calloc(1, sizeof(tbm_format) * 2);
if (tc_tdm_output_is_hwc_enable(output)) {
pp_formats = (tbm_format *)calloc(1, sizeof(tbm_format) * 2);
+ TDM_UT_RETURN_FALSE_IF_FAIL(pp_formats != NULL);
pp_formats[0] = TBM_FORMAT_ARGB8888;
pp_formats[1] = TBM_FORMAT_XRGB8888;
dst_formats = formats;
pp_formats[0] = TBM_FORMAT_ARGB8888;
pp_formats[1] = TBM_FORMAT_XRGB8888;
dst_formats = formats;
Values(TDM_DEFAULT_MODULE));
#endif
Values(TDM_DEFAULT_MODULE));
#endif
-/* LCOV_EXCL_END */
\ No newline at end of file