diff --git a/Makefile.am b/Makefile.am
index 8002172..6a96117 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -24,15 +24,6 @@ libstb_hal_la_LIBADD += \
endif
endif
-if BOXTYPE_DUCKBOX
-#libstb_hal_test_LDADD += -lasound
-SUBDIRS += libduckbox libeplayer3-sh4 libdvbci
-libstb_hal_la_LIBADD += \
- libduckbox/libduckbox.la \
- libeplayer3-sh4/libeplayer3_sh4.la \
- libdvbci/libdvbci.la
-endif
-
if BOXTYPE_ARMBOX
if BOXMODEL_HD60
SUBDIRS += libarmbox
@@ -69,18 +60,17 @@ endif
endif
endif
endif
-if !ENABLE_GSTREAMER
SUBDIRS += libeplayer3
libstb_hal_la_LIBADD += \
libeplayer3/libeplayer3.la
endif
-endif
if BOXTYPE_MIPSBOX
SUBDIRS += libmipsbox libdvbci
libstb_hal_la_LIBADD += \
libmipsbox/libmipsbox.la \
libdvbci/libdvbci.la
+
SUBDIRS += libeplayer3
libstb_hal_la_LIBADD += \
libeplayer3/libeplayer3.la
diff --git a/acinclude.m4 b/acinclude.m4
index a31aa41..b32fd9d 100644
--- a/acinclude.m4
+++ b/acinclude.m4
@@ -75,9 +75,9 @@ AC_SYS_LARGEFILE
AC_DEFUN([TUXBOX_BOXTYPE], [
AC_ARG_WITH(boxtype,
- AS_HELP_STRING([--with-boxtype], [valid values: generic, duckbox, armbox, mipsbox]),
+ AS_HELP_STRING([--with-boxtype], [valid values: generic, armbox, mipsbox]),
[case "${withval}" in
- generic|duckbox|armbox|mipsbox)
+ generic|armbox|mipsbox)
BOXTYPE="$withval"
;;
*)
@@ -88,7 +88,6 @@ AC_ARG_WITH(boxtype,
AC_ARG_WITH(boxmodel,
AS_HELP_STRING([--with-boxmodel], [valid for generic: generic, raspi])
-AS_HELP_STRING([], [valid for duckbox: ufs910, ufs912, ufs913, ufs922, atevio7500, fortis_hdbox, octagon1008, cuberevo, cuberevo_mini, cuberevo_mini2, cuberevo_250hd, cuberevo_2000hd, cuberevo_3000hd, ipbox9900, ipbox99, ipbox55, tf7700])
AS_HELP_STRING([], [valid for armbox: hd60, hd61, multiboxse, hd51, bre2ze4k, h7, osmini4k, osmio4k, osmio4kplus, vusolo4k, vuduo4k, vuduo4kse, vuultimo4k, vuuno4k, vuuno4kse, vuzero4k])
AS_HELP_STRING([], [valid for mipsbox: vuduo, vuduo2, gb800se, osnino, osninoplus, osninopro]),
[case "${withval}" in
@@ -99,13 +98,6 @@ AS_HELP_STRING([], [valid for mipsbox: vuduo, vuduo2, gb800se, osnino, osninoplu
AC_MSG_ERROR([unknown model $withval for boxtype $BOXTYPE])
fi
;;
- ufs910|ufs912|ufs913|ufs922|atevio7500|fortis_hdbox|octagon1008|cuberevo|cuberevo_mini|cuberevo_mini2|cuberevo_250hd|cuberevo_2000hd|cuberevo_3000hd|ipbox9900|ipbox99|ipbox55|tf7700)
- if test "$BOXTYPE" = "duckbox"; then
- BOXMODEL="$withval"
- else
- AC_MSG_ERROR([unknown model $withval for boxtype $BOXTYPE])
- fi
- ;;
hd60|hd61|multiboxse|hd51|bre2ze4k|h7|osmini4k|osmio4k|osmio4kplus|vusolo4k|vuduo4k|vuduo4kse|vuultimo4k|vuuno4k|vuuno4kse|vuzero4k)
if test "$BOXTYPE" = "armbox"; then
BOXMODEL="$withval"
@@ -130,7 +122,6 @@ AC_SUBST(BOXTYPE)
AC_SUBST(BOXMODEL)
AM_CONDITIONAL(BOXTYPE_GENERIC, test "$BOXTYPE" = "generic")
-AM_CONDITIONAL(BOXTYPE_DUCKBOX, test "$BOXTYPE" = "duckbox")
AM_CONDITIONAL(BOXTYPE_ARMBOX, test "$BOXTYPE" = "armbox")
AM_CONDITIONAL(BOXTYPE_MIPSBOX, test "$BOXTYPE" = "mipsbox")
@@ -138,25 +129,6 @@ AM_CONDITIONAL(BOXTYPE_MIPSBOX, test "$BOXTYPE" = "mipsbox")
AM_CONDITIONAL(BOXMODEL_GENERIC, test "$BOXMODEL" = "generic")
AM_CONDITIONAL(BOXMODEL_RASPI, test "$BOXMODEL" = "raspi")
-# duckbox
-AM_CONDITIONAL(BOXMODEL_UFS910, test "$BOXMODEL" = "ufs910")
-AM_CONDITIONAL(BOXMODEL_UFS912, test "$BOXMODEL" = "ufs912")
-AM_CONDITIONAL(BOXMODEL_UFS913, test "$BOXMODEL" = "ufs913")
-AM_CONDITIONAL(BOXMODEL_UFS922, test "$BOXMODEL" = "ufs922")
-AM_CONDITIONAL(BOXMODEL_ATEVIO7500, test "$BOXMODEL" = "atevio7500")
-AM_CONDITIONAL(BOXMODEL_FORTIS_HDBOX, test "$BOXMODEL" = "fortis_hdbox")
-AM_CONDITIONAL(BOXMODEL_OCTAGON1008, test "$BOXMODEL" = "octagon1008")
-AM_CONDITIONAL(BOXMODEL_CUBEREVO, test "$BOXMODEL" = "cuberevo")
-AM_CONDITIONAL(BOXMODEL_CUBEREVO_MINI, test "$BOXMODEL" = "cuberevo_mini")
-AM_CONDITIONAL(BOXMODEL_CUBEREVO_MINI2, test "$BOXMODEL" = "cuberevo_mini2")
-AM_CONDITIONAL(BOXMODEL_CUBEREVO_250HD, test "$BOXMODEL" = "cuberevo_250hd")
-AM_CONDITIONAL(BOXMODEL_CUBEREVO_2000HD, test "$BOXMODEL" = "cuberevo_2000hd")
-AM_CONDITIONAL(BOXMODEL_CUBEREVO_3000HD, test "$BOXMODEL" = "cuberevo_3000hd")
-AM_CONDITIONAL(BOXMODEL_IPBOX9900, test "$BOXMODEL" = "ipbox9900")
-AM_CONDITIONAL(BOXMODEL_IPBOX99, test "$BOXMODEL" = "ipbox99")
-AM_CONDITIONAL(BOXMODEL_IPBOX55, test "$BOXMODEL" = "ipbox55")
-AM_CONDITIONAL(BOXMODEL_TF7700, test "$BOXMODEL" = "tf7700")
-
# armbox
AM_CONDITIONAL(BOXMODEL_HD60, test "$BOXMODEL" = "hd60")
AM_CONDITIONAL(BOXMODEL_HD61, test "$BOXMODEL" = "hd61")
@@ -190,9 +162,6 @@ AM_CONDITIONAL(BOXMODEL_OSNINOPRO, test "$BOXMODEL" = "osninopro")
if test "$BOXTYPE" = "generic"; then
AC_DEFINE(HAVE_GENERIC_HARDWARE, 1, [building for a generic device like a standard PC])
-elif test "$BOXTYPE" = "duckbox"; then
- AC_DEFINE(HAVE_DUCKBOX_HARDWARE, 1, [building for a duckbox])
- AC_DEFINE(HAVE_SH4_HARDWARE, 1, [building for a sh4 box])
elif test "$BOXTYPE" = "armbox"; then
AC_DEFINE(HAVE_ARM_HARDWARE, 1, [building for an armbox])
elif test "$BOXTYPE" = "mipsbox"; then
@@ -205,42 +174,6 @@ if test "$BOXMODEL" = "generic"; then
elif test "$BOXMODEL" = "raspi"; then
AC_DEFINE(BOXMODEL_RASPI, 1, [raspberry pi])
-# duckbox
-elif test "$BOXMODEL" = "ufs910"; then
- AC_DEFINE(BOXMODEL_UFS910, 1, [ufs910])
-elif test "$BOXMODEL" = "ufs912"; then
- AC_DEFINE(BOXMODEL_UFS912, 1, [ufs912])
-elif test "$BOXMODEL" = "ufs913"; then
- AC_DEFINE(BOXMODEL_UFS913, 1, [ufs913])
-elif test "$BOXMODEL" = "ufs922"; then
- AC_DEFINE(BOXMODEL_UFS922, 1, [ufs922])
-elif test "$BOXMODEL" = "atevio7500"; then
- AC_DEFINE(BOXMODEL_ATEVIO7500, 1, [atevio7500])
-elif test "$BOXMODEL" = "fortis_hdbox"; then
- AC_DEFINE(BOXMODEL_FORTIS_HDBOX, 1, [fortis_hdbox])
-elif test "$BOXMODEL" = "octagon1008"; then
- AC_DEFINE(BOXMODEL_OCTAGON1008, 1, [octagon1008])
-elif test "$BOXMODEL" = "cuberevo"; then
- AC_DEFINE(BOXMODEL_CUBEREVO, 1, [cuberevo])
-elif test "$BOXMODEL" = "cuberevo_mini"; then
- AC_DEFINE(BOXMODEL_CUBEREVO_MINI, 1, [cuberevo_mini])
-elif test "$BOXMODEL" = "cuberevo_mini2"; then
- AC_DEFINE(BOXMODEL_CUBEREVO_MINI2, 1, [cuberevo_mini2])
-elif test "$BOXMODEL" = "cuberevo_250hd"; then
- AC_DEFINE(BOXMODEL_CUBEREVO_250HD, 1, [cuberevo_250hd])
-elif test "$BOXMODEL" = "cuberevo_2000hd"; then
- AC_DEFINE(BOXMODEL_CUBEREVO_2000HD, 1, [cuberevo_2000hd])
-elif test "$BOXMODEL" = "cuberevo_3000hd"; then
- AC_DEFINE(BOXMODEL_CUBEREVO_3000HD, 1, [cuberevo_3000hd])
-elif test "$BOXMODEL" = "ipbox9900"; then
- AC_DEFINE(BOXMODEL_IPBOX9900, 1, [ipbox9900])
-elif test "$BOXMODEL" = "ipbox99"; then
- AC_DEFINE(BOXMODEL_IPBOX99, 1, [ipbox99])
-elif test "$BOXMODEL" = "ipbox55"; then
- AC_DEFINE(BOXMODEL_IPBOX55, 1, [ipbox55])
-elif test "$BOXMODEL" = "tf7700"; then
- AC_DEFINE(BOXMODEL_TF7700, 1, [tf7700])
-
# armbox
elif test "$BOXMODEL" = "hd60"; then
AC_DEFINE(BOXMODEL_HD60, 1, [hd60])
diff --git a/common/Makefile.am b/common/Makefile.am
index af1dac9..86d8fff 100644
--- a/common/Makefile.am
+++ b/common/Makefile.am
@@ -7,11 +7,6 @@ AM_CXXFLAGS += \
AM_LDFLAGS = -lpthread
-if BOXTYPE_DUCKBOX
-AM_CXXFLAGS += \
- -I $(top_srcdir)/libdvbci
-endif
-
if BOXTYPE_ARMBOX
AM_CXXFLAGS += \
-I $(top_srcdir)/libdvbci
@@ -26,10 +21,6 @@ if BOXTYPE_MIPSBOX
libcommon_la_SOURCES = \
ca_ci.cpp
else
-if BOXTYPE_DUCKBOX
-libcommon_la_SOURCES = \
- ca_ci.cpp
-else
if BOXTYPE_ARMBOX
if BOXMODEL_HD60
libcommon_la_SOURCES = \
@@ -58,7 +49,6 @@ libcommon_la_SOURCES = \
ca.cpp
endif
endif
-endif
libcommon_la_SOURCES += \
hal_debug.cpp \
diff --git a/common/ca_ci.cpp b/common/ca_ci.cpp
index ade0f03..504b092 100644
--- a/common/ca_ci.cpp
+++ b/common/ca_ci.cpp
@@ -37,10 +37,6 @@
#define hal_debug(args...) _hal_debug(HAL_DEBUG_CA, this, args)
static const char *FILENAME = "[ca_ci]";
-#if HAVE_DUCKBOX_HARDWARE
-const char ci_path[] = "/dev/dvb/adapter0/ci%d";
-ca_slot_info_t info;
-#endif
#if HAVE_ARM_HARDWARE || HAVE_MIPS_HARDWARE
const char ci_path[] = "/dev/ci%d";
static int last_source = -1;
@@ -322,168 +318,6 @@ eData sendData(eDVBCISlot *slot, unsigned char *data, int len)
return eDataReady;
}
-#if HAVE_DUCKBOX_HARDWARE
-
-//send a transport connection create request
-bool sendCreateTC(eDVBCISlot *slot)
-{
- unsigned char data[5];
- data[0] = slot->slot;
- data[1] = slot->slot + 1; /* conid */
- data[2] = T_CREATE_T_C;
- data[3] = 1;
- data[4] = slot->slot + 1 /* conid */;
- printf("Create TC: ");
- for (int i = 0; i < 5; i++)
- printf("%02x ", data[i]);
- printf("\n");
- write(slot->fd, data, 5);
- return true;
-}
-
-static bool sendDataLast(eDVBCISlot *slot)
-{
- unsigned char data[5];
- slot->pollConnection = false;
- slot->DataLast = false;
- data[0] = slot->slot;
- data[1] = slot->connection_id;
- data[2] = T_DATA_LAST;
- data[3] = 1;
- data[4] = slot->connection_id;
-#if tsb_debug
- printf("*** > Data Last: ");
- for (int i = 0; i < 5; i++)
- printf("%02x ", data[i]);
- printf("\n");
-#endif
- write(slot->fd, data, 5);
- return true;
-}
-
-static bool sendRCV(eDVBCISlot *slot)
-{
- unsigned char send_data[5];
- slot->pollConnection = false;
- slot->DataRCV = false;
- send_data[0] = slot->slot;
- send_data[1] = slot->connection_id;
- send_data[2] = T_RCV;
- send_data[3] = 1;
- send_data[4] = slot->connection_id;
-#if tsb_debug
- printf("*** > T_RCV: ");
- for (int i = 0; i < 5; i++)
- printf("%02x ", send_data[i]);
- printf("\n");
-#endif
- write(slot->fd, send_data, 5);
- return true;
-}
-
-void cCA::process_tpdu(eDVBCISlot *slot, unsigned char tpdu_tag, __u8 *data, int asn_data_length, int /*con_id*/)
-{
- switch (tpdu_tag)
- {
- case T_C_T_C_REPLY:
-#if x_debug
- printf("%s -> %s > Got CTC Replay (slot %d, con %d)\n", FILENAME, __FUNCTION__, slot->slot, slot->connection_id);
-#endif
- /*answer with data last (and if we have with data)
- --> DataLast flag will be generated in next loop from received APDU*/
- break;
- case T_DELETE_T_C:
- //FIXME: close sessions etc; slot->reset ?
- //we must answer here with t_c_replay
- printf("%s %s Got \"Delete Transport Connection\" from module ->currently not handled!\n", FILENAME, __FUNCTION__);
- break;
- case T_D_T_C_REPLY:
- printf("%s %s Got \"Delete Transport Connection Replay\" from module!\n", FILENAME, __FUNCTION__);
- break;
- case T_REQUEST_T_C:
- printf("%s %s Got \"Request Transport Connection\" from Module ->currently not handled!\n", FILENAME, __FUNCTION__);
- break;
- case T_DATA_MORE:
- {
- int new_data_length = slot->receivedLen + asn_data_length;
- printf("%s %s Got \"Data More\" from Module\n", FILENAME, __FUNCTION__);
- __u8 *new_data_buffer = (__u8 *) realloc(slot->receivedData, new_data_length);
- slot->receivedData = new_data_buffer;
- memcpy(slot->receivedData + slot->receivedLen, data, asn_data_length);
- slot->receivedLen = new_data_length;
- break;
- }
- case T_DATA_LAST:
- /* single package */
- if (slot->receivedData == NULL)
- {
- printf("%s -> %s > single package\n", FILENAME, __func__);
-#if z_debug
- printf("%s -> calling receiveData with data (len %d)\n", FILENAME, asn_data_length);
- for (int i = 0; i < asn_data_length; i++)
- printf("%02x ", data[i]);
- printf("\n");
-#endif
- /* to avoid illegal session number: only if > 0 */
- if (asn_data_length)
- {
- eDVBCISession::receiveData(slot, data, asn_data_length);
- eDVBCISession::pollAll();
- }
- }
- else
- {
- /* chained package
- ?? DBO: I never have seen one */
- int new_data_length = slot->receivedLen + asn_data_length;
- printf("%s -> chained data\n", FILENAME);
- __u8 *new_data_buffer = (__u8 *) realloc(slot->receivedData, new_data_length);
- slot->receivedData = new_data_buffer;
- memcpy(slot->receivedData + slot->receivedLen, data, asn_data_length);
- slot->receivedLen = new_data_length;
-#if z_debug
- printf("%s -> calling receiveData with data (len %d)\n", FILENAME, asn_data_length);
- for (int i = 0; i < slot->receivedLen; i++)
- printf("%02x ", slot->receivedData[i]);
- printf("\n");
-#endif
- eDVBCISession::receiveData(slot, slot->receivedData, slot->receivedLen);
- eDVBCISession::pollAll();
-
- free(slot->receivedData);
- slot->receivedData = NULL;
- slot->receivedLen = 0;
- }
- break;
- case T_SB:
- {
- if (data[0] & 0x80)
- {
- /* we now wait for an answer so dont poll */
- slot->pollConnection = false;
- /* set the RCV Flag and set DataLast Flag false */
- slot->DataRCV = true;
- slot->DataLast = false;
- }
- else
- {
- /* set DataLast Flag if it is false*/
- if (!slot->DataLast)
- {
- slot->DataLast = true;
-#if tsb_debug
- printf("**** > T_SB\n");
-#endif
- }
- }
- break;
- }
- default:
- printf("%s unhandled tpdu_tag 0x%0x\n", FILENAME, tpdu_tag);
- }
-}
-#endif
-
bool cCA::SendMessage(const CA_MESSAGE *msg)
{
hal_debug("%s\n", __func__);
@@ -1329,13 +1163,7 @@ cCA::cCA(int Slots)
{
printf("failed to open %s ->%m", slot->ci_dev);
}
-#if HAVE_DUCKBOX_HARDWARE
- /* now reset the slot so the poll pri can happen in the thread */
- if (ioctl(slot->fd, CA_RESET, i) < 0)
- printf("IOCTL CA_RESET failed for slot %p\n", slot);
-#else
ioctl(slot->fd, 0);
-#endif
usleep(200000);
/* create a thread for each slot */
if (slot->fd > 0)
@@ -1417,12 +1245,7 @@ void cCA::ModuleReset(enum CA_SLOT_TYPE, uint32_t slot)
(*it)->sendqueue.pop();
}
-#if HAVE_DUCKBOX_HARDWARE
- if (ioctl((*it)->fd, CA_RESET, (*it)->slot) < 0)
- printf("IOCTL CA_RESET failed for slot %d\n", slot);
-#else
ioctl((*it)->fd, 0);
-#endif
usleep(200000);
(*it)->status = eStatusNone;
}
@@ -1440,12 +1263,8 @@ void cCA::ci_inserted(eDVBCISlot *slot)
slot->mmiOpened = false;
slot->init = false;
sprintf(slot->name, "unknown module %d", slot->slot);
-#if HAVE_DUCKBOX_HARDWARE
- slot->status = eStatusNone;
-#else
slot->status = eStatusWait;
slot->connection_id = slot->slot + 1;
-#endif
/* Send a message to Neutrino cam_menu handler */
CA_MESSAGE *pMsg = (CA_MESSAGE *) malloc(sizeof(CA_MESSAGE));
memset(pMsg, 0, sizeof(CA_MESSAGE));
@@ -1638,164 +1457,7 @@ FROM_FIRST:
printf("unknown state %d\n", slot->status);
break;
} /* switch(slot->status) */
-#else /* Duckbox */
- int len = 1024 * 4;
- unsigned char *d;
- eData status;
- switch (slot->status)
- {
- case eStatusReset:
- while (slot->status == eStatusReset)
- {
- usleep(1000);
- }
- break;
- case eStatusNone:
- {
- if (slot->camIsReady)
- {
- if (sendCreateTC(slot))
- {
- slot->status = eStatusWait;
- }
- else
- {
- usleep(100000);
- }
- }
- else
- {
- /* wait for pollpri */
- status = waitData(slot->fd, data, &len);
- if (status == eDataStatusChanged)
- {
- info.num = slot->slot;
-
- if (ioctl(slot->fd, CA_GET_SLOT_INFO, &info) < 0)
- printf("IOCTL CA_GET_SLOT_INFO failed for slot %d\n", slot->slot);
-
- printf("flags %d %d %d ->slot %d\n", info.flags, CA_CI_MODULE_READY, info.flags & CA_CI_MODULE_READY, slot->slot);
-
- if (info.flags & CA_CI_MODULE_READY)
- {
- ci_inserted(slot);
- }
- }
- }
- } /* case statusnone */
- break;
- case eStatusWait:
- {
- status = waitData(slot->fd, data, &len);
- if (status == eDataReady)
- {
- slot->pollConnection = false;
- d = data;
-#if z_debug
- if ((len == 6 && d[4] == 0x80) || len > 6)
- {
- printf("slot: %d con-id: %d tpdu-tag: %02X len: %d\n", d[0], d[1], d[2], len);
- printf("received data: >");
- for (int i = 0; i < len; i++)
- printf("%02x ", data[i]);
- printf("\n");
- }
-#endif
- /* taken from the dvb-apps */
- int data_length = len - 2;
- d += 2; /* remove leading slot and connection id */
- while (data_length > 0)
- {
- unsigned char tpdu_tag = d[0];
- unsigned short asn_data_length;
- int length_field_len;
- if ((length_field_len = asn_1_decode(&asn_data_length, d + 1, data_length - 1)) < 0)
- {
- printf("Received data with invalid asn from module on slot %02x\n", slot->slot);
- break;
- }
-
- if ((asn_data_length < 1) || (asn_data_length > (data_length - (1 + length_field_len))))
- {
- printf("Received data with invalid length from module on slot %02x\n", slot->slot);
- break;
- }
- slot->connection_id = d[1 + length_field_len];
-#if z_debug
- printf("Setting connection_id from received data to %d\n", slot->connection_id);
-#endif
- d += 1 + length_field_len + 1;
- data_length -= (1 + length_field_len + 1);
- asn_data_length--;
-#if z_debug
- printf("****tpdu_tag: 0x%02X\n", tpdu_tag);
-#endif
- process_tpdu(slot, tpdu_tag, d, asn_data_length, slot->connection_id);
- // skip over the consumed data
- d += asn_data_length;
- data_length -= asn_data_length;
- } // while (data_length)
- } /*if data ready */
- else if (status == eDataWrite)
- {
- /* only writing any data here while status = eDataWrite */
- if (!slot->sendqueue.empty())
- {
- const queueData &qe = slot->sendqueue.top();
- int res = write(slot->fd, qe.data, qe.len);
- if (res >= 0 && (unsigned int)res == qe.len)
- {
- delete [] qe.data;
- slot->sendqueue.pop();
- }
- else
- {
- printf("r = %d, %m\n", res);
- }
- }
- /* check for activate the pollConnection */
- if (!checkQueueSize(slot) && (slot->DataRCV || slot->mmiOpened || slot->counter > 5))
- {
- slot->pollConnection = true;
- }
- if (slot->counter < 6)
- slot->counter++;
- else
- slot->counter = 0;
- /* if Flag: send a DataLast */
- if (!checkQueueSize(slot) && slot->pollConnection && slot->DataLast)
- {
- sendDataLast(slot);
- }
- /* if Flag: send a RCV */
- if (!checkQueueSize(slot) && slot->pollConnection && slot->DataRCV)
- {
- sendRCV(slot);
- }
- }
- else if (status == eDataStatusChanged)
- {
- info.num = slot->slot;
-
- if (ioctl(slot->fd, CA_GET_SLOT_INFO, &info) < 0)
- printf("IOCTL CA_GET_SLOT_INFO failed for slot %d\n", slot->slot);
-
- printf("flags %d %d %d ->slot %d\n", info.flags, CA_CI_MODULE_READY, info.flags & CA_CI_MODULE_READY, slot->slot);
-
- if ((slot->camIsReady) && (!(info.flags & CA_CI_MODULE_READY)))
- {
- ci_removed(slot);
- }
- }
- }
- break;
- default:
- printf("unknown state %d\n", slot->status);
- break;
- } /* switch(slot->status) */
-#endif /* end Duckbox */
-#if HAVE_ARM_HARDWARE || HAVE_MIPS_HARDWARE
if (!slot->init && slot->camIsReady && last_source > -1)
{
slot->source = (u8)last_source;
diff --git a/common/pwrmngr.cpp b/common/pwrmngr.cpp
index f0d9205..294269f 100644
--- a/common/pwrmngr.cpp
+++ b/common/pwrmngr.cpp
@@ -14,6 +14,7 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see .
*/
+
#include
#include "pwrmngr.h"
@@ -60,47 +61,15 @@ unsigned long cCpuFreqManager::GetDelta(void)
return 0;
}
-#if HAVE_DUCKBOX_HARDWARE
-unsigned long cCpuFreqManager::GetCpuFreq(void)
-{
- int freq = 0;
- if (FILE *pll0 = fopen("/proc/cpu_frequ/pll0_ndiv_mdiv", "r"))
- {
- char buffer[120];
- while (fgets(buffer, sizeof(buffer), pll0))
- {
- if (1 == sscanf(buffer, "SH4 = %d MHZ", &freq))
- break;
- }
- fclose(pll0);
- return 1000 * 1000 * (unsigned long) freq;
- }
- return 0;
-}
-#else
unsigned long cCpuFreqManager::GetCpuFreq(void)
{
hal_debug("%s\n", __func__);
return 0;
}
-#endif
bool cCpuFreqManager::SetCpuFreq(unsigned long f)
{
hal_info("%s(%lu) => set standby = %s\n", __func__, f, f ? "true" : "false");
-#if HAVE_DUCKBOX_HARDWARE
- if (f)
- {
- FILE *pll0 = fopen("/proc/cpu_frequ/pll0_ndiv_mdiv", "w");
- if (pll0)
- {
- f /= 1000000;
- fprintf(pll0, "%lu\n", (f / 10 << 8) | 3);
- fclose(pll0);
- return false;
- }
- }
-#endif
return true;
}
diff --git a/configure.ac b/configure.ac
index e9bd123..c2652d4 100644
--- a/configure.ac
+++ b/configure.ac
@@ -87,10 +87,8 @@ Makefile
common/Makefile
libmipsbox/Makefile
libarmbox/Makefile
-libduckbox/Makefile
libdvbci/Makefile
libeplayer3/Makefile
-libeplayer3-sh4/Makefile
libgeneric-pc/Makefile
libraspi/Makefile
tools/Makefile
diff --git a/include/audio_hal.h b/include/audio_hal.h
index 3250d17..53b4b86 100644
--- a/include/audio_hal.h
+++ b/include/audio_hal.h
@@ -1,8 +1,5 @@
#include
-#if HAVE_DUCKBOX_HARDWARE
-#include "../libduckbox/audio_lib.h"
-#include "../libduckbox/audio_mixer.h"
-#elif HAVE_ARM_HARDWARE
+#if HAVE_ARM_HARDWARE
#include "../libarmbox/audio_lib.h"
#elif HAVE_MIPS_HARDWARE
#include "../libmipsbox/audio_lib.h"
diff --git a/include/ca_hal.h b/include/ca_hal.h
index a2f124d..70d0fe7 100644
--- a/include/ca_hal.h
+++ b/include/ca_hal.h
@@ -1,5 +1,4 @@
-#if HAVE_DUCKBOX_HARDWARE \
- || HAVE_MIPS_HARDWARE \
+#if HAVE_MIPS_HARDWARE \
|| (HAVE_ARM_HARDWARE \
&& !BOXMODEL_HD60 \
&& !BOXMODEL_MULTIBOXSE \
diff --git a/include/cs_api.h b/include/cs_api.h
index 3c3bf47..cd378a1 100644
--- a/include/cs_api.h
+++ b/include/cs_api.h
@@ -23,8 +23,7 @@ inline void cs_api_exit()
#define cs_free_uncached free
// Callback function helpers
-#if HAVE_DUCKBOX_HARDWARE \
- || HAVE_MIPS_HARDWARE \
+#if HAVE_MIPS_HARDWARE \
|| (HAVE_ARM_HARDWARE \
&& !BOXMODEL_HD60 \
&& !BOXMODEL_MULTIBOXSE \
diff --git a/include/playback_hal.h b/include/playback_hal.h
index 24921bf..e0727f4 100644
--- a/include/playback_hal.h
+++ b/include/playback_hal.h
@@ -1,7 +1,5 @@
#include
-#if HAVE_DUCKBOX_HARDWARE
-#include "../libduckbox/playback_libeplayer3.h"
-#elif HAVE_ARM_HARDWARE
+#if HAVE_ARM_HARDWARE
#include "../libarmbox/playback_libeplayer3.h"
#elif HAVE_MIPS_HARDWARE
#include "../libmipsbox/playback_libeplayer3.h"
diff --git a/include/record_hal.h b/include/record_hal.h
index 2a4974c..c91b223 100644
--- a/include/record_hal.h
+++ b/include/record_hal.h
@@ -1,7 +1,5 @@
#include
-#if HAVE_DUCKBOX_HARDWARE
-#include "../libduckbox/record_lib.h"
-#elif HAVE_ARM_HARDWARE
+#if HAVE_ARM_HARDWARE
#include "../libarmbox/record_lib.h"
#elif HAVE_MIPS_HARDWARE
#include "../libmipsbox/record_lib.h"
diff --git a/include/video_hal.h b/include/video_hal.h
index f1a15ea..215ce7a 100644
--- a/include/video_hal.h
+++ b/include/video_hal.h
@@ -1,7 +1,5 @@
#include
-#if HAVE_DUCKBOX_HARDWARE
-#include "../libduckbox/video_lib.h"
-#elif HAVE_ARM_HARDWARE
+#if HAVE_ARM_HARDWARE
#include "../libarmbox/video_lib.h"
#include "../libarmbox/hdmi_cec.h"
#elif HAVE_MIPS_HARDWARE
diff --git a/libduckbox/Makefile.am b/libduckbox/Makefile.am
deleted file mode 100644
index e3a90d2..0000000
--- a/libduckbox/Makefile.am
+++ /dev/null
@@ -1,27 +0,0 @@
-noinst_LTLIBRARIES = libduckbox.la
-
-AM_CPPFLAGS = \
- -I$(top_srcdir)/common \
- -I$(top_srcdir)/include \
- -I$(top_srcdir)/libeplayer3-sh4/include
-
-AM_CXXFLAGS = -fno-rtti -fno-exceptions -fno-strict-aliasing
-
-AM_LDFLAGS = \
- @AVFORMAT_LIBS@ \
- @AVUTIL_LIBS@ \
- @AVCODEC_LIBS@ \
- @SWRESAMPLE_LIBS@ \
- -lpthread -lasound -lass -lrt
-
-libduckbox_la_SOURCES = \
- hardware_caps.c \
- dmx.cpp \
- video.cpp \
- audio.cpp \
- audio_mixer.cpp \
- init.cpp \
- playback_libeplayer3.cpp \
- record.cpp
-
-AM_CPPFLAGS += -D__STDC_FORMAT_MACROS -D__STDC_CONSTANT_MACROS -D__STDC_LIMIT_MACROS
diff --git a/libduckbox/audio.cpp b/libduckbox/audio.cpp
deleted file mode 120000
index cb92e8e..0000000
--- a/libduckbox/audio.cpp
+++ /dev/null
@@ -1 +0,0 @@
-../libspark/audio.cpp
\ No newline at end of file
diff --git a/libduckbox/audio_lib.h b/libduckbox/audio_lib.h
deleted file mode 120000
index 17da9d9..0000000
--- a/libduckbox/audio_lib.h
+++ /dev/null
@@ -1 +0,0 @@
-../libspark/audio_lib.h
\ No newline at end of file
diff --git a/libduckbox/audio_mixer.cpp b/libduckbox/audio_mixer.cpp
deleted file mode 120000
index 468eb7d..0000000
--- a/libduckbox/audio_mixer.cpp
+++ /dev/null
@@ -1 +0,0 @@
-../libspark/audio_mixer.cpp
\ No newline at end of file
diff --git a/libduckbox/audio_mixer.h b/libduckbox/audio_mixer.h
deleted file mode 120000
index 0701d55..0000000
--- a/libduckbox/audio_mixer.h
+++ /dev/null
@@ -1 +0,0 @@
-../libspark/audio_mixer.h
\ No newline at end of file
diff --git a/libduckbox/dmx.cpp b/libduckbox/dmx.cpp
deleted file mode 120000
index ca94210..0000000
--- a/libduckbox/dmx.cpp
+++ /dev/null
@@ -1 +0,0 @@
-../libspark/dmx.cpp
\ No newline at end of file
diff --git a/libduckbox/hardware_caps.c b/libduckbox/hardware_caps.c
deleted file mode 100644
index 6a2cb1b..0000000
--- a/libduckbox/hardware_caps.c
+++ /dev/null
@@ -1,294 +0,0 @@
-/*
- * determine the capabilities of the hardware.
- * part of libstb-hal
- *
- * (C) 2010-2012 Stefan Seyfried
- *
- * License: GPL v2 or later
- */
-
-#include
-#include
-#include
-#include
-#include
-#include
-#include
-#include
-
-static int initialized = 0;
-static hw_caps_t caps;
-
-hw_caps_t *get_hwcaps(void)
-{
- if (initialized)
- return ∩︀
-
- memset(&caps, 0, sizeof(hw_caps_t));
-
- if (access("/dev/dvb/adapter0/video1", F_OK) != -1)
- caps.can_pip = 1;
-
-#if BOXMODEL_UFS910
- strcpy(caps.boxvendor, "KATHREIN");
- strcpy(caps.boxname, "UFS910");
- strcpy(caps.boxarch, "STX7100");
- caps.can_shutdown = 1;
- caps.has_HDMI = 1;
- caps.has_SCART = 1;
-// caps.has_SCART_input = 1;
- caps.can_cec = 0;
- caps.has_fan = 0;
- caps.has_CI = 2;
- caps.display_can_set_brightness = 1;
- caps.display_can_deepstandby = 0;
- caps.display_has_statusline = 0;
- caps.display_type = HW_DISPLAY_LINE_TEXT;
- caps.display_xres = 16;
-#endif
-#if BOXMODEL_UFS912
- strcpy(caps.boxvendor, "KATHREIN");
- strcpy(caps.boxname, "UFS912");
- strcpy(caps.boxarch, "STX7111");
- caps.can_shutdown = 1;
- caps.has_HDMI = 1;
- caps.has_SCART = 1;
-// caps.has_SCART_input = 1;
- caps.can_cec = 1;
- caps.has_fan = 0;
- caps.has_CI = 2;
- caps.display_can_set_brightness = 1;
- caps.display_can_deepstandby = 0;
- caps.display_has_statusline = 0;
- caps.display_type = HW_DISPLAY_LINE_TEXT;
- caps.display_xres = 16;
-#endif
-#if BOXMODEL_UFS913
- strcpy(caps.boxvendor, "KATHREIN");
- strcpy(caps.boxname, "UFS913");
- strcpy(caps.boxarch, "STX7105");
- caps.can_shutdown = 1;
- caps.has_HDMI = 1;
- caps.has_SCART = 1;
-// caps.has_SCART_input = 1;
- caps.can_cec = 1;
- caps.has_fan = 0;
- caps.has_CI = 2;
- caps.display_can_set_brightness = 1;
- caps.display_can_deepstandby = 0;
- caps.display_has_statusline = 0;
- caps.display_type = HW_DISPLAY_LINE_TEXT;
- caps.display_xres = 16;
-#endif
-#if BOXMODEL_UFS922
- strcpy(caps.boxvendor, "KATHREIN");
- strcpy(caps.boxname, "UFS922");
- strcpy(caps.boxarch, "STX7109");
- caps.can_shutdown = 1;
- caps.has_HDMI = 1;
- caps.has_SCART = 1;
- caps.can_cec = 0;
- caps.has_fan = 1;
- caps.has_CI = 2;
- caps.display_can_set_brightness = 1;
- caps.display_can_deepstandby = 0;
- caps.display_has_statusline = 0;
- caps.display_type = HW_DISPLAY_LINE_TEXT;
- caps.display_xres = 16;
-#endif
-#if BOXMODEL_ATEVIO7500
- strcpy(caps.boxvendor, "DUCKBOX");
- strcpy(caps.boxname, "ATEVIO7500");
- strcpy(caps.boxarch, "STX7105");
- caps.can_shutdown = 1;
- caps.has_HDMI = 1;
- caps.has_SCART = 1;
-// caps.has_SCART_input = 1;
- caps.can_cec = 1;
- caps.has_fan = 0;
- caps.has_CI = 2;
- caps.display_can_set_brightness = 1;
- caps.display_can_deepstandby = 0;
- caps.display_has_statusline = 0;
- caps.display_type = HW_DISPLAY_LINE_TEXT;
- caps.display_xres = 12;
-#endif
-#if BOXMODEL_FORTIS_HDBOX
- strcpy(caps.boxvendor, "DUCKBOX");
- strcpy(caps.boxname, "HDBOX");
- strcpy(caps.boxarch, "STX7109");
- caps.can_shutdown = 1;
- caps.has_HDMI = 1;
- caps.has_SCART = 1;
-// caps.has_SCART_input = 1;
- caps.can_cec = 0;
- caps.has_fan = 0;
- caps.has_CI = 2;
- caps.display_can_set_brightness = 1;
- caps.display_can_deepstandby = 0;
- caps.display_has_statusline = 0;
- caps.display_type = HW_DISPLAY_LINE_TEXT;
- caps.display_xres = 12;
-#endif
-#if BOXMODEL_OCTAGON1008
- strcpy(caps.boxvendor, "DUCKBOX");
- strcpy(caps.boxname, "OCTAGON1008");
- strcpy(caps.boxarch, "STX7109");
- caps.can_shutdown = 1;
- caps.has_HDMI = 1;
- caps.has_SCART = 1;
- caps.can_cec = 0;
- caps.has_fan = 0;
- caps.has_CI = 2;
- caps.display_can_set_brightness = 1;
- caps.display_can_deepstandby = 0;
- caps.display_has_statusline = 0;
- caps.display_type = HW_DISPLAY_LINE_TEXT;
- caps.display_xres = 8;
-#endif
-#if BOXMODEL_CUBEREVO
- strcpy(caps.boxvendor, "DUCKBOX");
- strcpy(caps.boxname, "CUBEREVO");
- strcpy(caps.boxarch, "STX7109");
- caps.can_shutdown = 1;
- caps.display_can_set_brightness = 0;
- caps.display_can_deepstandby = 0;
- caps.display_has_statusline = 0;
- caps.has_HDMI = 1;
- caps.has_SCART = 1;
- caps.can_cec = 0;
- caps.has_fan = 1;
- caps.has_CI = 2;
-#endif
-#if BOXMODEL_CUBEREVO_MINI
- strcpy(caps.boxvendor, "DUCKBOX");
- strcpy(caps.boxname, "CUBEREVO-MINI");
- strcpy(caps.boxarch, "STX7109");
- caps.can_shutdown = 1;
- caps.display_can_set_brightness = 0;
- caps.display_can_deepstandby = 0;
- caps.display_has_statusline = 0;
- caps.has_HDMI = 1;
- caps.has_SCART = 1;
- caps.can_cec = 0;
- caps.has_fan = 0;
- caps.has_CI = 2;
-#endif
-#if BOXMODEL_CUBEREVO_MINI2
- strcpy(caps.boxvendor, "DUCKBOX");
- strcpy(caps.boxname, "CUBEREVO-MINI2");
- strcpy(caps.boxarch, "STX7109");
- caps.can_shutdown = 1;
- caps.has_HDMI = 1;
- caps.has_SCART = 1;
- caps.can_cec = 0;
- caps.has_fan = 1;
- caps.has_CI = 2;
- caps.display_can_set_brightness = 1;
- caps.display_can_deepstandby = 0;
- caps.display_has_statusline = 0;
- caps.display_type = HW_DISPLAY_LINE_TEXT;
- caps.display_xres = 14;
-#endif
-#if BOXMODEL_CUBEREVO_250HD
- strcpy(caps.boxvendor, "DUCKBOX");
- strcpy(caps.boxname, "CUBEREVO-250HD");
- strcpy(caps.boxarch, "STX7109");
- caps.can_shutdown = 1;
- caps.display_can_set_brightness = 0;
- caps.display_can_deepstandby = 0;
- caps.display_has_statusline = 0;
- caps.has_HDMI = 1;
- caps.has_SCART = 1;
- caps.can_cec = 0;
- caps.has_fan = 1;
- caps.has_CI = 0;
-#endif
-#if BOXMODEL_CUBEREVO_2000HD
- strcpy(caps.boxvendor, "DUCKBOX");
- strcpy(caps.boxname, "CUBEREVO-2000HD");
- strcpy(caps.boxarch, "STX7109");
- caps.can_shutdown = 1;
- caps.display_can_set_brightness = 0;
- caps.display_can_deepstandby = 0;
- caps.display_has_statusline = 0;
- caps.has_HDMI = 1;
- caps.has_SCART = 1;
- caps.can_cec = 0;
- caps.has_fan = 0;
- caps.has_CI = 0;
-#endif
-#if BOXMODEL_CUBEREVO_3000HD
- strcpy(caps.boxvendor, "DUCKBOX");
- strcpy(caps.boxname, "CUBEREVO-3000HD");
- strcpy(caps.boxarch, "STX7109");
- caps.can_shutdown = 1;
- caps.display_can_set_brightness = 0;
- caps.display_can_deepstandby = 0;
- caps.display_has_statusline = 0;
- caps.has_HDMI = 1;
- caps.has_SCART = 1;
- caps.can_cec = 0;
- caps.has_fan = 1;
- caps.has_CI = 2;
-#endif
-#if BOXMODEL_IPBOX9900
- strcpy(caps.boxvendor, "DUCKBOX");
- strcpy(caps.boxname, "IPBOX9900");
- strcpy(caps.boxarch, "STX7109");
- caps.can_shutdown = 1;
- caps.display_can_set_brightness = 0;
- caps.display_can_deepstandby = 0;
- caps.display_has_statusline = 0;
- caps.has_HDMI = 1;
- caps.has_SCART = 2;
- caps.can_cec = 0;
- caps.has_fan = 1;
- caps.has_CI = 2;
-#endif
-#if BOXMODEL_IPBOX99
- strcpy(caps.boxvendor, "DUCKBOX");
- strcpy(caps.boxname, "IPBOX99");
- strcpy(caps.boxarch, "STX7109");
- caps.can_shutdown = 1;
- caps.display_can_set_brightness = 0;
- caps.display_can_deepstandby = 0;
- caps.display_has_statusline = 0;
- caps.has_HDMI = 1;
- caps.has_SCART = 1;
- caps.can_cec = 0;
- caps.has_fan = 1;
- caps.has_CI = 0;
-#endif
-#if BOXMODEL_IPBOX55
- strcpy(caps.boxvendor, "DUCKBOX");
- strcpy(caps.boxname, "IPBOX55");
- strcpy(caps.boxarch, "STX7109");
- caps.can_shutdown = 1;
- caps.display_can_set_brightness = 0;
- caps.display_can_deepstandby = 0;
- caps.display_has_statusline = 0;
- caps.has_HDMI = 1;
- caps.has_SCART = 1;
- caps.can_cec = 0;
- caps.has_fan = 0;
- caps.has_CI = 0;
-#endif
-#if BOXMODEL_TF7700
- strcpy(caps.boxvendor, "DUCKBOX");
- strcpy(caps.boxname, "TF7700");
- strcpy(caps.boxarch, "STX7109");
- caps.can_shutdown = 1;
- caps.display_can_set_brightness = 0;
- caps.display_can_deepstandby = 0;
- caps.display_has_statusline = 0;
- caps.has_HDMI = 1;
- caps.has_SCART = 1;
- caps.can_cec = 0;
- caps.has_fan = 0;
- caps.has_CI = 2;
-#endif
-
- initialized = 1;
- return ∩︀
-}
diff --git a/libduckbox/init.cpp b/libduckbox/init.cpp
deleted file mode 100644
index b245f69..0000000
--- a/libduckbox/init.cpp
+++ /dev/null
@@ -1,55 +0,0 @@
-#include
-
-#include
-#include
-#include
-#include
-#include
-#include
-#include
-
-#include
-
-#include "init.h"
-#include "pwrmngr.h"
-
-#include "hal_debug.h"
-#define hal_debug(args...) _hal_debug(HAL_DEBUG_INIT, NULL, args)
-#define hal_info(args...) _hal_info(HAL_DEBUG_INIT, NULL, args)
-
-static bool initialized = false;
-
-void hal_api_init()
-{
- if (!initialized)
- hal_debug_init();
- hal_info("%s begin, initialized=%d, debug=0x%02x\n", __FUNCTION__, (int)initialized, debuglevel);
- if (!initialized)
- {
- /* this is a strange hack: the drivers seem to only work correctly after
- * demux0 has been used once. After that, we can use demux1,2,... */
- struct dmx_pes_filter_params p;
- int dmx = open("/dev/dvb/adapter0/demux0", O_RDWR | O_CLOEXEC);
- if (dmx < 0)
- hal_info("%s: ERROR open /dev/dvb/adapter0/demux0 (%m)\n", __func__);
- else
- {
- memset(&p, 0, sizeof(p));
- p.output = DMX_OUT_DECODER;
- p.input = DMX_IN_FRONTEND;
- p.flags = DMX_IMMEDIATE_START;
- p.pes_type = DMX_PES_VIDEO;
- ioctl(dmx, DMX_SET_PES_FILTER, &p);
- ioctl(dmx, DMX_STOP);
- close(dmx);
- }
- }
- initialized = true;
- hal_info("%s end\n", __FUNCTION__);
-}
-
-void hal_api_exit()
-{
- hal_info("%s, initialized = %d\n", __FUNCTION__, (int)initialized);
- initialized = false;
-}
diff --git a/libduckbox/playback_libeplayer3.cpp b/libduckbox/playback_libeplayer3.cpp
deleted file mode 120000
index 375de84..0000000
--- a/libduckbox/playback_libeplayer3.cpp
+++ /dev/null
@@ -1 +0,0 @@
-../libspark/playback_libeplayer3.cpp
\ No newline at end of file
diff --git a/libduckbox/playback_libeplayer3.h b/libduckbox/playback_libeplayer3.h
deleted file mode 120000
index 449d0a8..0000000
--- a/libduckbox/playback_libeplayer3.h
+++ /dev/null
@@ -1 +0,0 @@
-../libspark/playback_libeplayer3.h
\ No newline at end of file
diff --git a/libduckbox/record.cpp b/libduckbox/record.cpp
deleted file mode 120000
index 4daae8d..0000000
--- a/libduckbox/record.cpp
+++ /dev/null
@@ -1 +0,0 @@
-../libspark/record.cpp
\ No newline at end of file
diff --git a/libduckbox/record_lib.h b/libduckbox/record_lib.h
deleted file mode 120000
index 1ec9332..0000000
--- a/libduckbox/record_lib.h
+++ /dev/null
@@ -1 +0,0 @@
-../libspark/record_lib.h
\ No newline at end of file
diff --git a/libduckbox/video.cpp b/libduckbox/video.cpp
deleted file mode 120000
index c30d002..0000000
--- a/libduckbox/video.cpp
+++ /dev/null
@@ -1 +0,0 @@
-../libspark/video.cpp
\ No newline at end of file
diff --git a/libduckbox/video_lib.h b/libduckbox/video_lib.h
deleted file mode 120000
index 7a57b9c..0000000
--- a/libduckbox/video_lib.h
+++ /dev/null
@@ -1 +0,0 @@
-../libspark/video_lib.h
\ No newline at end of file
diff --git a/libeplayer3-sh4/Makefile.am b/libeplayer3-sh4/Makefile.am
deleted file mode 100644
index d129566..0000000
--- a/libeplayer3-sh4/Makefile.am
+++ /dev/null
@@ -1,23 +0,0 @@
-AUTOMAKE_OPTIONS = subdir-objects
-
-noinst_LTLIBRARIES = libeplayer3_sh4.la
-
-AM_CPPFLAGS = -D__STDC_CONSTANT_MACROS -D__STDC_LIMIT_MACROS
-AM_CPPFLAGS += -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE
-AM_CPPFLAGS += -I$(srcdir)/include
-AM_CXXFLAGS = -fno-rtti -fno-exceptions -fno-strict-aliasing
-
-libeplayer3_sh4_la_SOURCES = \
- input.cpp output.cpp manager.cpp player.cpp \
- writer/writer.cpp \
- writer/pes.cpp \
- writer/misc.cpp
-
-# writer/wmv.cpp writer/ac3.cpp writer/divx.cpp
-# writer/dts.cpp writer/mpeg2.cpp writer/mp3.cpp
-# writer/h264.cpp
-# writer/h263.cpp writer/vc1.cpp writer/pcm.cpp writer/aac.cpp
-
-LIBEPLAYER3_LIBS = libeplayer3_sh4.la
-# -lpthread -lavformat -lavcodec -lavutil -lswresample -lm
-
diff --git a/libeplayer3-sh4/README b/libeplayer3-sh4/README
deleted file mode 100644
index e59e16d..0000000
--- a/libeplayer3-sh4/README
+++ /dev/null
@@ -1,78 +0,0 @@
-This is a revised libeplayer3 version for Neutrino, rewritten in C++, with
-various code parts (e.g. subtitle processing, non-working decoders) removed.
---martii
-
-The original libeplayer3 README follows:
-
-/*
- * SCOPE:
- * -------
- *
- * libeplayer3 was developed to create a cleaner and more stable
- * version of the libeplayer2.
- * Currently the lib supports only one container, which handle all
- * files by using the ffmpeg library.
- *
- * FEATURES:
- * -----------------------
- *
- * - more stable than libeplayer2.
- * - more multimedia files are supported than libeplayer2.
- * - mms stream support.
- * - new videocodec support:
- * - wmv and vc1 (sti7109 & sti7111 & sti7105 only).
- * - flv.
- * - improved http streaming support
- * - subtitle rendering (ssa / ass) by using libass
- *
- * STYLE GUIDELINES:
- * ------------------
- *
- * If you decide to add some lines of code please ensure the following:
- * - do not use a windows editor.
- * - a tab must be emulated by 4 spaces (most editors support this).
- * If you accidental break this rule use astyle to reorganize indentation,
- * and dos2unix to remove windows style.
- *
- * Programming GUIDLINES:
- * -----------------------
- *
- * - the compiler is intentionally set to Wall, it would be nice if all
- * programmer looks for warnings and solve them.
- * - make sanity checks where ever you can.
- * - freeing memory is an act of solidarity, but it also increases uptime
- * of your receiver. ;)
- * - if you detect stuff which may be generic, then make it generic.
- * - commenting code is not a bad idea.
- *
- * KNOWN BUGS / PROBLEMS:
- * ----------------------
- *
- * - reverse playback needs improvement
- * - some formats makes problems ?
- * - getting stream info currently leads to a memory leak in e2. this is
- * not a problem of this implementation its also exists in libeplayer2.
- * e2 delivers a strdupped variable which is overwritten by what the container
- * delivers. this is very hacky ;) -> (see comment in container_ffmpeg_get_info)
- *
- * License:
- * --------
- *
- * Copyright (C) 2010 crow, schischu, hellmaster1024 and konfetti.
- *
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
- *
- */
diff --git a/libeplayer3-sh4/include/input.h b/libeplayer3-sh4/include/input.h
deleted file mode 100644
index 648ebc1..0000000
--- a/libeplayer3-sh4/include/input.h
+++ /dev/null
@@ -1,103 +0,0 @@
-/*
- * input class
- *
- * Copyright (C) 2014 martii
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation; either version 2
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
- */
-
-#ifndef __INPUT_H__
-#define __INPUT_H__
-
-#include
-#include
-#include
-#include