52 #include "dsclientlogger.h"
61 IARM_Result_t rpcRet = IARM_RESULT_SUCCESS;
64 (
char *)IARM_BUS_DSMGR_API_dsCompositeInInit,
68 if (IARM_RESULT_SUCCESS == rpcRet)
70 printf(
"%s:%d - dsERR_NONE\n", __PRETTY_FUNCTION__,__LINE__);
74 printf(
"%s:%d - dsERR_GENERAL\n", __PRETTY_FUNCTION__,__LINE__);
83 IARM_Result_t rpcRet = IARM_RESULT_SUCCESS;
85 (
char *)IARM_BUS_DSMGR_API_dsCompositeInTerm,
89 if (IARM_RESULT_SUCCESS == rpcRet)
91 printf(
"%s:%d - dsERR_NONE\n", __PRETTY_FUNCTION__,__LINE__);
95 printf(
"%s:%d - dsERR_GENERAL\n", __PRETTY_FUNCTION__,__LINE__);
107 param.numCompositeInputs = 0;
109 IARM_Result_t rpcRet = IARM_RESULT_SUCCESS;
112 (
char *)IARM_BUS_DSMGR_API_dsCompositeInGetNumberOfInputs,
116 if (IARM_RESULT_SUCCESS == rpcRet)
118 *pNumCompositeInputs = param.numCompositeInputs;
119 printf(
"%s:%d - %d\n", __PRETTY_FUNCTION__,__LINE__, param.result);
123 printf(
"%s:%d - dsERR_GENERAL\n", __PRETTY_FUNCTION__,__LINE__);
134 memset (¶m, 0,
sizeof(param));
136 IARM_Result_t rpcRet = IARM_RESULT_SUCCESS;
139 (
char *)IARM_BUS_DSMGR_API_dsCompositeInGetStatus,
143 if (IARM_RESULT_SUCCESS == rpcRet)
145 *pStatus = param.status;
146 printf(
"%s:%d - %d\n", __PRETTY_FUNCTION__,__LINE__, param.result);
150 printf(
"%s:%d - dsERR_GENERAL\n", __PRETTY_FUNCTION__,__LINE__);
161 IARM_Result_t rpcRet = IARM_RESULT_SUCCESS;
164 (
char *)IARM_BUS_DSMGR_API_dsCompositeInSelectPort,
168 if (IARM_RESULT_SUCCESS == rpcRet)
170 printf(
"%s:%d - %d\n", __PRETTY_FUNCTION__,__LINE__, param.result);
174 printf(
"%s:%d - dsERR_GENERAL\n", __PRETTY_FUNCTION__,__LINE__);
183 param.videoRect.x = x;
184 param.videoRect.y = y;
185 param.videoRect.width = width;
186 param.videoRect.height = height;
187 IARM_Result_t rpcRet = IARM_RESULT_SUCCESS;
190 (
char *)IARM_BUS_DSMGR_API_dsCompositeInScaleVideo,
194 if (IARM_RESULT_SUCCESS == rpcRet)
196 printf(
"%s:%d - %d\n", __PRETTY_FUNCTION__,__LINE__, param.result);
200 printf(
"%s:%d - dsERR_GENERAL\n", __PRETTY_FUNCTION__,__LINE__);