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