AG903ライブラリリファレンス
内容インデックスホーム
前へ上へ次へ
AG903_DSPMgrSetPortSel 関数

画面出力ポート設定

Syntax
C++
int32_t AG903_DSPMgrSetPortSel(AG903_DSPMgrHandle * handle, uint8_t sel);
引数 
説明 
AG903_DSPMgrHandle * handle 
[in] DSPハンドル 
uint8_t sel 
[in] 画面出力先 

エラーコード

返値の詳細 
説明 
正常終了 

画面出力ポートの設定を変更します.

1: int32_t AG903_DSPMgrSetPortSel(AG903_DSPMgrHandle *handle, uint8_t sel) 2: { 3: int32_t rc = AG903_ENONE; 4: uint8_t ch; 5: 6: if (handle == NULL) 7: return -AG903_EINVAL; 8: 9: rc = DSPMgrCheckHandle(handle, &ch); 10: 11: if (ch == 0) { 12: if (sel > AG903_VOD0_PORTSEL_LVDS_SINGLE) 13: rc = -AG903_EINVAL; 14: } else { 15: if (sel > AG903_VOD1_PORTSEL_LVDS_SINGLE) 16: rc = -AG903_EINVAL; 17: } 18: 19: if (rc == AG903_ENONE) { 20: AG903_VODPrmSetPORTSEL(ch, sel); 21: } 22: 23: return rc; 24: }
Copyright (c) 2017-2025 Axell Corporation. All rights reserved.