Changeset 30771


Ignore:
Timestamp:
10/31/14 21:05:42 (8 years ago)
Author:
gost
Message:

[titan] mipsel.. next step for hdmi cec

Location:
titan/titan
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • titan/titan/header.h

    r30713 r30771  
    987987int oledtext(char *value);
    988988
     989#ifdef MIPSEL
     990//cec.h
     991void cecinit();
     992void cecstandby();
     993void cecwakeup();
     994void screencec();
     995void getAddressInfo();
     996int getPhysicalAddress();
     997void hdmiEvent();
     998void reportPhysicalAddress();
     999void sendMessage(unsigned char address, unsigned char cmd, char *data, int length);
     1000void sendMessageReal(struct cec_message message);
     1001void setFixedPhysicalAddress(int address);
    9891002#endif
     1003
     1004#endif
  • titan/titan/struct.h

    r30716 r30771  
    8989#define COPYRIGHT "NIT"
    9090#define CRONTRIBUT "obi, black, dvboxer, oxygen, gost"
    91 #define PLUGINVERSION 0
     91#define PLUGINVERSION 30767
    9292
    9393#define _(x) gettext(x)
     
    15201520        //Workaround da ansonsten DVR4 nicht funktioniert (Treiberproblem)
    15211521        int setdvr0;
     1522#ifdef MIPSEL
     1523        //cec mipsel
     1524        int cec_fixedAddress;
     1525        int hdmiFd;
     1526#endif
    15221527} status;
    15231528
     
    19301935#endif
    19311936
     1937#ifdef MIPSEL
     1938//fuer cec Mipsel
     1939struct cec_message
     1940{
     1941unsigned char address;
     1942unsigned char length;
     1943unsigned char data[256];
     1944}__attribute__((packed));
     1945
     1946unsigned char cec_physicalAddress[2];
     1947unsigned char cec_logicalAddress;
     1948unsigned char cec_deviceType;
    19321949#endif
     1950
     1951#endif
  • titan/titan/titan.c

    r30658 r30771  
    243243#include "settings_mediabutton.h"
    244244#include "oled.h"
     245#ifdef MIPSEL
     246#include "cec.h"
     247#endif
     248
    245249
    246250#define TIMECODE ""
Note: See TracChangeset for help on using the changeset viewer.