AG903ライブラリリファレンス
Body Source
viamgr.h
本文ソース
コピコード
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
Copyright (c) 2017-2025 Axell Corporation. All rights reserved.
内容
|
インデックス
|
ホーム