vdr  2.2.0
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 
28 typedef enum HdffVideoMode_t
29 {
35 
37 {
43 
44 typedef struct HdffHdmiConfig_t
45 {
50  char CecDeviceName[14];
52 
53 typedef enum HdffCecCommand_t
54 {
60 
61 
62 int HdffCmdHdmiSetVideoMode(int OsdDevice, HdffVideoMode_t VideoMode);
63 
64 int HdffCmdHdmiConfigure(int OsdDevice, const HdffHdmiConfig_t * Config);
65 
66 int HdffCmdHdmiSendCecCommand(int OsdDevice, HdffCecCommand_t Command);
67 
68 int HdffCmdHdmiSendRawCecCommand(int OsdDevice, uint8_t Destination,
69  uint8_t Opcode, const uint8_t * Operand,
70  uint8_t OperandLength);
71 
72 #endif /* HDFFCMD_HDMI_H */
int HdffCmdHdmiSendRawCecCommand(int OsdDevice, uint8_t Destination, uint8_t Opcode, const uint8_t *Operand, uint8_t OperandLength)
Definition: hdffcmd_hdmi.c:94
int HdffCmdHdmiSendCecCommand(int OsdDevice, HdffCecCommand_t Command)
Definition: hdffcmd_hdmi.c:78
HdffVideoMode_t
Definition: hdffcmd_hdmi.h:28
HdffVideoModeAdaption_t VideoModeAdaption
Definition: hdffcmd_hdmi.h:49
struct HdffHdmiConfig_t HdffHdmiConfig_t
char CecDeviceName[14]
Definition: hdffcmd_hdmi.h:50
int HdffCmdHdmiConfigure(int OsdDevice, const HdffHdmiConfig_t *Config)
Definition: hdffcmd_hdmi.c:49
int HdffCmdHdmiSetVideoMode(int OsdDevice, HdffVideoMode_t VideoMode)
Definition: hdffcmd_hdmi.c:33
HdffVideoModeAdaption_t
Definition: hdffcmd_hdmi.h:36
HdffCecCommand_t
Definition: hdffcmd_hdmi.h:53