AG903ライブラリリファレンス
内容インデックスホーム
Body Source
本文ソース
1: int32_t AG903_PgpMgrSetConfigVRAMInterlaceFrame(AG903_PgpMgrVRAMInputHandle *handle, uint32_t frame_read, _Bool fai) 2: { 3: 4: if ((handle == NULL) || (handle->id != AG903_PGP_MGR_VRAM_INPUT_HANDLE_ID)) { 5: return -AG903_EINVAL; 6: } 7: 8: 9: switch (frame_read) { 10: case AG903_PGP_MGR_VI_FRAME_READ_ODD: 11: case AG903_PGP_MGR_VI_FRAME_READ_EVEN: 12: case AG903_PGP_MGR_VI_FRAME_READ_FIELD: 13: case AG903_PGP_MGR_VI_FRAME_READ_WEAVE: 14: break; 15: default: 16: return -AG903_EINVAL; 17: } 18: 19: 20: handle->md = frame_read; 21: handle->fai_enable = fai; 22: handle->is_config_dirty[AG903_PGP_MGR_CONFIG_VI_CTRL] = true; 23: handle->is_dirty = true; 24: return AG903_ENONE; 25: }
Copyright (c) 2017-2025 Axell Corporation. All rights reserved.