AG903ライブラリリファレンス
内容インデックスホーム
Body Source
本文ソース
1: int32_t AG903_PgpMgrSetParamInputScan(AG903_PgpMgrPipelineHandle *handle, uint32_t scan, _Bool epos, _Bool opos) 2: { 3: 4: if ((handle == NULL) || (handle->id != AG903_PGP_MGR_PIPELINE_HANDLE_ID)) { 5: return -AG903_EINVAL; 6: } 7: 8: 9: switch (scan) { 10: case AG903_PGP_MGR_SCAN_PROGRESSIVE: 11: case AG903_PGP_MGR_SCAN_INTERLACE: 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->input_scan = scan; 24: handle->input_epos = epos; 25: handle->input_opos = opos; 26: handle->is_dirty = true; 27: return AG903_ENONE; 28: }
Copyright (c) 2017-2025 Axell Corporation. All rights reserved.