AG903ライブラリリファレンス
Body Source
AG903_VidMgrSetInputFormat 関数
本文ソース
コピコード
1: int32_t AG903_VidMgrSetInputFormat(uint32_t format) 2: { 3:
switch
(format) { 4:
case
AG903_VID_MGR_24BIT_TO_CH0
: 5:
case
AG903_VID_MGR_8BITCH0_TO_CH0
: 6:
case
AG903_VID_MGR_8BITCH1_TO_CH1
: 7:
case
AG903_VID_MGR_8BITCH01_TO_CH01
: 8:
case
AG903_VID_MGR_8BITCH0_TO_CH0123
: 9:
break
; 10:
default
: 11:
return
-
AG903_EINVAL
; 12: } 13: 14:
if
(CheckFormatCompatibility(format) !=
true
) { 15:
return
-
AG903_EINVAL
; 16: } 17: 18: VidContext.vid_format = format; 19: 20:
return
AG903_ENONE
; 21: }
Copyright (c) 2017-2025 Axell Corporation. All rights reserved.
内容
|
インデックス
|
ホーム