20 mmuxgetoutputsrc, 21 mmuxsetoutputsrc – IEI Integration HDC-3x-Series_SDK_Linux User Manual
Page 41
HDC-3x Series SDK (Linux)
Page 41
Return Value: 0: no signal, 1: signal input
2.4.20 MmuxGetOutputSrc
Description: get the current source set of the video output
Prototype: enum MMUX_OUTPUT_SRC MmuxGetOutputSrc(MmuxHandle hdMmux, int
outputNum)
enum MMUX_OUTPUT_SRC {
MMUX_OUT_NONE = -1,
MMUX_OUT_IN_0
=
0,
MMUX_OUT_IN_1,
MMUX_OUT_IN_2,
MMUX_OUT_IN_3,
MMUX_OUT_CODEC_0,
MMUX_OUT_CODEC_1,
MMUX_OUT_CODEC_2,
MMUX_OUT_CODEC_3,
MMUX_OUT_SRC_MAX,
};
Parameters: Get handle when MmuxInit executes, outputNum: requestthe output Fu
number (currently always 0)
Return Value: enum MMUX_OUTPUT_SRC: the sources of current set
2.4.21 MmuxSetOutputSrc
Description: set the source of the video output
Prototype: int MmuxSetOutputSrc(MmuxHandle hdMmux, int outputNum, enum
MMUX_OUTPUT_SRC outputSrc)
Parameters: hdMmux: Get handle when MmuxInit executes, outputNum: request the
output number (currently always 0), outputSrc: set the image source