AG903ライブラリリファレンス
Body Source
AG903_PgpMgrSetParamOutputBMU 関数
本文ソース
コピコード
1: int32_t AG903_PgpMgrSetParamOutputBMU(
AG903_PgpMgrPipelineHandle
*handle, uint32_t bmu) 2: { 3: 4:
if
((handle == NULL) || (handle->id !=
AG903_PGP_MGR_PIPELINE_HANDLE_ID
)) { 5:
return
-
AG903_EINVAL
; 6: } 7: 8: 9:
switch
(bmu) { 10:
case
AG903_PGP_MGR_OUTPUT_BMU_NONE
: 11:
case
AG903_PGP_MGR_OUTPUT_BMU_ENABLE
: 12:
case
AG903_PGP_MGR_OUTPUT_BMU_ENABLE_EVEN
: 13:
break
; 14:
default
: 15:
return
-
AG903_EINVAL
; 16: } 17: 18: 19:
if
(handle->is_assign ==
true
) { 20:
return
-
AG903_EBUSY
; 21: } 22: 23: 24: handle->output_bmu = bmu; 25: handle->is_dirty =
true
; 26:
return
AG903_ENONE
; 27: }
Copyright (c) 2017-2025 Axell Corporation. All rights reserved.
内容
|
インデックス
|
ホーム