Lines Matching defs:res
130 HRESULT res;
133 res = ctx->attr->GetInt(attr_id, &supported_connections);
134 if (res != S_OK) {
142 res = ctx->cfg->SetInt(cfg_id, bmd_input);
143 if (res != S_OK) {
168 HRESULT res;
190 res = manager->GetProfile(bmd_profile_id, &profile);
191 if (res == S_OK) {
192 res = profile->SetActive();
197 res = ctx->cfg->SetInt(bmdDeckLinkConfigDuplexMode, ctx->duplex_mode == 2 ? bmdDuplexModeFull : bmdDuplexModeHalf);
199 if (res != S_OK)
217 res = ctx->cfg->SetInt(bmdDeckLinkConfigReferenceInputTimingOffset, cctx->timing_offset);
218 if (res != S_OK)
223 res = ctx->cfg->SetInt(bmdDeckLinkConfigSDIOutputLinkConfiguration, ctx->link);
224 if (res != S_OK)
229 res = ctx->cfg->SetFlag(bmdDeckLinkConfigQuadLinkSDIVideoOutputSquareDivisionSplit, cctx->sqd);
230 if (res != S_OK)
244 res = ctx->cfg->SetFlag(bmdDeckLinkConfigSMPTELevelAOutput, cctx->level_a);
245 if (res != S_OK)
273 HRESULT res;
279 res = ctx->dli->GetDisplayModeIterator (&itermode);
281 res = ctx->dlo->GetDisplayModeIterator (&itermode);
284 if (res!= S_OK) {
494 HRESULT res;
504 res = ctx->dli->GetDisplayModeIterator (&itermode);
506 res = ctx->dlo->GetDisplayModeIterator (&itermode);
509 if (res!= S_OK) {