15 mmuxinit, 16 mmuxrelease, 17 mmuxgetver – IEI Integration HDC-3x-Series_SDK_Linux User Manual

Page 39: 18 mmuxgetcodecsrcresolution

Advertising
background image

HDC-3x Series SDK (Linux)

Page 39

2.4.15 MmuxInit

Description: initialize the CPLD to control handle

Prototype: MmuxHandle MmuxInit(int deviceNum)

Parameters: deviceNum: request to initialize the version of card number and strat from 0

Return Value: MmuxHandle

2.4.16 MmuxRelease

Description: release CPLD and control handle

Prototype: void MmuxRelease(MmuxHandle hdMmux)

Parameters: hdMmux: get handle when MmuxInit executes

Return Value: None

2.4.17 MmuxGetVer

Description: get the current version of CPLD, FPGA and driver

Prototype: int MmuxGetVer(MmuxHandle hdMmux, struct MmuxVer *p_Ver)

struct MmuxVer {

unsigned

long

CPLD;

unsigned

long

FPGA;

char

driver[MMUX_VER_LEN];

};

Parameters: hdMmux: handle obtained when MmuxInit executes, p_Ver: the structure

indicator of stored information

Return Value: 0: get version successfully, the other value failed

2.4.18 MmuxGetCodecSrcResolution

Description: get the current resolution of the codec chip input

Advertising