📄 board.h
字号:
/* * * Copyright (c) 2001-2007 Sigma Designs, Inc. * All Rights Reserved. Proprietary and Confidential. * *//** @file play_capture_common.h @brief header file holing various macros and defines for all play_capture_... files @author Christian Wolff Sean.Sekwon.Choi*/#ifndef __BOARD_H__#define __BOARD_H__// Map entry of board's video inputsstruct cap_video_input_map { enum cap_video_input input; // input type RMuint32 input_num; // input number of that type RMuint32 index; // index into board's chip list, to select chip this input is connected to RMuint32 audio_map_index; // cross-reference to audio input map array, specify primary audio input for this video input};// Map entry of board's audio inputsstruct cap_audio_input_map { enum cap_audio_input input; // input type RMuint32 input_num; // input number of that type RMuint32 index; // index into board's chip list, to select chip this input is connected to};// Chip type and how to access itstruct cap_chip_info { enum cap_chip chip; // chip type RMuint32 I2CModule; // Index of the I2C hwlib module used to access this chip struct EMhwlibI2CDeviceParameter I2CDevice; // access parameter for this chip};// Definition of all properties for a specific boardstruct cap_board_info { enum cap_board board; RMuint32 clock; struct cap_video_input_map* p_video_input_map; // List of video inputs struct cap_audio_input_map* p_audio_input_map; // List of audio inputs struct cap_chip_info* p_chip_info; // List of external chips};RMstatus cap_board_specific_setup( struct rmcapture_instance *pCapture, struct RUA* pRUA, struct cap_board_info* p_board_info, enum cap_video_input current_video_input, RMuint32 current_video_input_num);struct cap_board_info* cap_get_board_info( enum cap_board board);#endif // __BOARD_H__
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -