31 #include "dsclientlogger.h"
32 #include <sys/types.h>
45 #include "safec_lib.h"
49 IARM_Result_t rpcRet = IARM_RESULT_SUCCESS;
51 printf(
"<<<<< VDISP is initialized in Multi-App Mode >>>>>>>>\r\n");
54 (
char *)IARM_BUS_DSMGR_API_dsDisplayInit,
58 if (IARM_RESULT_SUCCESS == rpcRet)
68 IARM_Result_t rpcRet = IARM_RESULT_SUCCESS;
79 (
char *)IARM_BUS_DSMGR_API_dsGetDisplay,
83 if (IARM_RESULT_SUCCESS == rpcRet)
85 *handle = param.handle;
95 IARM_Result_t rpcRet = IARM_RESULT_SUCCESS;
100 param.handle = handle;
105 (
char *)IARM_BUS_DSMGR_API_dsGetDisplayAspectRatio,
109 if (IARM_RESULT_SUCCESS == rpcRet)
111 *aspect = param.aspectRatio;
121 IARM_Result_t rpcRet = IARM_RESULT_SUCCESS;
128 param.handle = handle;
132 (
char *)IARM_BUS_DSMGR_API_dsGetEDID,
136 rc = memcpy_s(edid,
sizeof(
dsDisplayEDID_t), ¶m.edid,
sizeof(param.edid));
141 if (IARM_RESULT_SUCCESS == rpcRet)
152 IARM_Result_t rpcRet = IARM_RESULT_SUCCESS;
158 param.handle = handle;
160 printf(
"dsCLI::getEDIDBytes \r\n");
163 (
char *)IARM_BUS_DSMGR_API_dsGetEDIDBytes,
167 if (IARM_RESULT_SUCCESS == rpcRet)
170 printf(
"dsCLI ::getEDIDBytes returns %d bytes\r\n", param.length);
171 *edid = (
unsigned char *)malloc(param.length);
173 rc = memcpy_s(*edid,param.length, param.bytes, param.length);
178 *length = param.length;
198 IARM_Result_t rpcRet = IARM_RESULT_SUCCESS;
201 (
char *)IARM_BUS_DSMGR_API_dsDisplayTerm,
205 if (IARM_RESULT_SUCCESS == rpcRet)