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