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

RGB分離出力によるパイプライン出力時のカラーマスク設定

Syntax
C++
int32_t AG903_PgpMgrEnableConfigOutputColorMask(AG903_PgpMgrPipelineHandle * handle, _Bool red, _Bool green, _Bool blue);
引数 
説明 
AG903_PgpMgrPipelineHandle * handle 
[in] パイプラインハンドルを指定します。 
_Bool red 
[in] Red要素の有効/無効フラグを指定します。(1:出力する、0:出力しない) 
_Bool green 
[in] Green要素の有効/無効フラグを指定します。(1:出力する、0:出力しない) 
_Bool blue 
[in] Blue要素の有効/無効フラグを指定します。(1:出力する、0:出力しない) 

設定結果

返値の詳細 
説明 
正常終了 
-AG903_EINVAL 
handleに不正な値が指定された場合
red,green,blueの全ての要素で無効が指定された場合 

パイプライン出力時のカラーマスクを設定します。 

Red,Green,Blue全ての要素の無効は禁止です。

1: int32_t AG903_PgpMgrEnableConfigOutputColorMask(AG903_PgpMgrPipelineHandle *handle, _Bool red, _Bool green, _Bool blue) 2: { 3: 4: if ((handle == NULL) || (handle->id != AG903_PGP_MGR_PIPELINE_HANDLE_ID) || ((red == false) && (green == false) && (blue == false))) { 5: return -AG903_EINVAL; 6: } 7: 8: 9: handle->output_red_enable = red; 10: handle->output_green_enable = green; 11: handle->output_blue_enable = blue; 12: handle->is_config_dirty[AG903_PGP_MGR_CONFIG_OUTPUT_COLOR_MASK] = true; 13: handle->is_dirty = true; 14: return AG903_ENONE; 15: }
Copyright (c) 2017-2025 Axell Corporation. All rights reserved.