vdr 2.7.5
hdffcmd_hdmi.h
Go to the documentation of this file.
1/**********************************************************************
2 *
3 * HDFF firmware command interface library
4 *
5 * Copyright (C) 2011 Andreas Regel
6 *
7 * This program is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU General Public License
9 * as published by the Free Software Foundation; either version 2
10 * of the License, or (at your option) any later version.
11
12 * This program is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 * GNU General Public License for more details.
16
17 * You should have received a copy of the GNU General Public License
18 * along with this program; if not, write to the
19 * Free Software Foundation, Inc.,
20 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
21 *
22 *********************************************************************/
23
24#ifndef HDFFCMD_HDMI_H
25#define HDFFCMD_HDMI_H
26
27
35
43
52
60
61
62int HdffCmdHdmiSetVideoMode(int OsdDevice, HdffVideoMode_t VideoMode);
63
64int HdffCmdHdmiConfigure(int OsdDevice, const HdffHdmiConfig_t * Config);
65
66int HdffCmdHdmiSendCecCommand(int OsdDevice, HdffCecCommand_t Command);
67
68int HdffCmdHdmiSendRawCecCommand(int OsdDevice, uint8_t Destination,
69 uint8_t Opcode, const uint8_t * Operand,
70 uint8_t OperandLength);
71
72#endif /* HDFFCMD_HDMI_H */
HdffCecCommand_t
@ HDFF_CEC_COMMAND_ACTIVE_SOURCE
@ HDFF_CEC_COMMAND_TV_OFF
@ HDFF_CEC_COMMAND_INACTIVE_SOURCE
@ HDFF_CEC_COMMAND_TV_ON
HdffVideoModeAdaption_t
@ HDFF_VIDEO_MODE_ADAPT_FRAME_RATE
@ HDFF_VIDEO_MODE_ADAPT_ONLY_FOR_HD
@ HDFF_VIDEO_MODE_ADAPT_OFF
@ HDFF_VIDEO_MODE_ADAPT_ALWAYS
int HdffCmdHdmiSetVideoMode(int OsdDevice, HdffVideoMode_t VideoMode)
int HdffCmdHdmiSendCecCommand(int OsdDevice, HdffCecCommand_t Command)
int HdffCmdHdmiSendRawCecCommand(int OsdDevice, uint8_t Destination, uint8_t Opcode, const uint8_t *Operand, uint8_t OperandLength)
int HdffCmdHdmiConfigure(int OsdDevice, const HdffHdmiConfig_t *Config)
HdffVideoMode_t
@ HDFF_VIDEO_MODE_1080I50
@ HDFF_VIDEO_MODE_576P50
@ HDFF_VIDEO_MODE_720P50
@ HDFF_VIDEO_MODE_576I50
char CecDeviceName[14]
HdffVideoModeAdaption_t VideoModeAdaption