AG903ライブラリリファレンス
内容インデックスホーム
前へ上へ次へ
viamgr.h

VIA Manager Header

VIA Manager Layer.

none

AXELL CORPORATION

2017_02_22 初版 

2017_10_26 Ver2.0 

2019_03_08 [SDK2.2] VIAにビデオ入力の信号が有効であることを検出する関数を追加 (#2454)

1: 10: 11: 15: 16: #ifndef VIAMGR_H 17: #define VIAMGR_H 18: 19: 20: #ifdef __cplusplus 21: extern "C" { 22: #endif 23: 24: #include <stdint.h> 25: #include <stdbool.h> 26: #include "AG903_errno.h" 27: 28: 29: #define AG903_VIA_MGR_MAX_PORTS (4) 30: 31: 32: #define AG903_VIA_MGR_INPUT_HANDLE_ID (0xA1234AAA) 33: 34: 35: #define AG903_VIA_MGR_FORMAT_NTSC_BT (0) 36: 37: #define AG903_VIA_MGR_FORMAT_NTSC_SQ (1) 38: 39: #define AG903_VIA_MGR_FORMAT_NTSC_4F (2) 40: 41: #define AG903_VIA_MGR_FORMAT_PAL_BT (3) 42: 43: #define AG903_VIA_MGR_FORMAT_PAL_SQ (4) 44: 45: #define AG903_VIA_MGR_FORMAT_MAX (5) 46: 47: 48: #define AG903_VIA_MGR_MODE_COLOR (0) 49: 50: #define AG903_VIA_MGR_MODE_MONOCHROME (1) 51: 52: #define AG903_VIA_MGR_MODE_MAX (2) 53: 54: 57: typedef struct _AG903_ViaMgrInputHandle { 58: uint32_t id; 59: uint32_t port_no; 60: } AG903_ViaMgrInputHandle; 61: 62: int32_t AG903_ViaMgrInit(void); 63: int32_t AG903_ViaMgrGetInputHandle(int32_t *ports, int32_t num_ports, AG903_ViaMgrInputHandle **handles); 64: int32_t AG903_ViaMgrReleaseInputHandle(AG903_ViaMgrInputHandle *handle); 65: int32_t AG903_ViaMgrSetInputParameter(AG903_ViaMgrInputHandle *handle, uint32_t format, uint32_t mode); 66: int32_t AG903_ViaMgrIsInputValid(AG903_ViaMgrInputHandle *handle); 67: 68: #ifdef __cplusplus 69: } 70: #endif 71: 72: #endif
名前 
説明 
入力フォーマット数 
入力フォーマット NTSC/3Fsc 
入力フォーマット NTSC/ITU-BT.601 
入力フォーマット NTSC/SquarePixel 
入力フォーマット PAL/ITU-BT.601 
入力フォーマット PAL/SquarePixel 
アナログビデオ入力ハンドルを識別するユニークなID 
アナログビデオ入力ポート数 
カラーモード カラー 
カラーモード数 
カラーモード モノクロ 
 
名前 
説明 
 
アナログビデオ入力ハンドル 
 
アナログビデオ入力ハンドル 
Copyright (c) 2017-2025 Axell Corporation. All rights reserved.