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