mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-27 15:32:52 +02:00
add configure option (--diable-arm-acc) to disable arm hardware acceleration
Origin commit data
------------------
Branch: ni/coolstream
Commit: dc25b6a1b8
Author: TangoCash <eric@loxat.de>
Date: 2020-05-29 (Fri, 29 May 2020)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -228,6 +228,15 @@ if test "$enable_upnp" = "yes"; then
|
|||||||
fi
|
fi
|
||||||
AM_CONDITIONAL(ENABLE_UPNP, test "$enable_upnp" = "yes")
|
AM_CONDITIONAL(ENABLE_UPNP, test "$enable_upnp" = "yes")
|
||||||
|
|
||||||
|
AC_ARG_ENABLE(arm-acc,
|
||||||
|
AS_HELP_STRING(--disable-arm-acc,disable arm hardware acceleration),
|
||||||
|
,[enable_arm_acc=yes])
|
||||||
|
|
||||||
|
AM_CONDITIONAL(ENABLE_ARM_ACC,test "$enable_arm_acc" = "yes")
|
||||||
|
if test "$enable_arm_acc" = "yes"; then
|
||||||
|
AC_DEFINE(ENABLE_ARM_ACC,1,[enable arm hardware acceleration])
|
||||||
|
fi
|
||||||
|
|
||||||
AC_ARG_ENABLE(extupdate,
|
AC_ARG_ENABLE(extupdate,
|
||||||
AS_HELP_STRING([--enable-extupdate], [enable extended update routine @<:@default=no@:>@]),
|
AS_HELP_STRING([--enable-extupdate], [enable extended update routine @<:@default=no@:>@]),
|
||||||
AC_DEFINE(ENABLE_EXTUPDATE, 1, [enable extended update routine]))
|
AC_DEFINE(ENABLE_EXTUPDATE, 1, [enable extended update routine]))
|
||||||
|
@@ -225,9 +225,11 @@ class CFbAccelARM
|
|||||||
int scale2Res(int size);
|
int scale2Res(int size);
|
||||||
bool fullHdAvailable();
|
bool fullHdAvailable();
|
||||||
void setOsdResolutions();
|
void setOsdResolutions();
|
||||||
|
#if ENABLE_ARM_ACC
|
||||||
#if BOXMODEL_HD51 || BOXMODEL_HD60 || BOXMODEL_BRE2ZE4K || BOXMODEL_H7
|
#if BOXMODEL_HD51 || BOXMODEL_HD60 || BOXMODEL_BRE2ZE4K || BOXMODEL_H7
|
||||||
void paintRect(const int x, const int y, const int dx, const int dy, const fb_pixel_t col);
|
void paintRect(const int x, const int y, const int dx, const int dy, const fb_pixel_t col);
|
||||||
#endif
|
#endif
|
||||||
|
#endif
|
||||||
};
|
};
|
||||||
|
|
||||||
class CFbAccelMIPS
|
class CFbAccelMIPS
|
||||||
|
@@ -390,6 +390,7 @@ bool CFbAccelARM::fullHdAvailable()
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if ENABLE_ARM_ACC
|
||||||
#if BOXMODEL_HD51 || BOXMODEL_HD60 || BOXMODEL_BRE2ZE4K || BOXMODEL_H7
|
#if BOXMODEL_HD51 || BOXMODEL_HD60 || BOXMODEL_BRE2ZE4K || BOXMODEL_H7
|
||||||
void CFbAccelARM::paintRect(const int x, const int y, const int dx, const int dy, const fb_pixel_t col)
|
void CFbAccelARM::paintRect(const int x, const int y, const int dx, const int dy, const fb_pixel_t col)
|
||||||
{
|
{
|
||||||
@@ -401,3 +402,4 @@ void CFbAccelARM::paintRect(const int x, const int y, const int dx, const int dy
|
|||||||
blit();
|
blit();
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
#endif
|
||||||
|
@@ -2532,8 +2532,10 @@ void CChannelList::paint_events(CChannelEventList &evtlist)
|
|||||||
ffheight = g_Font[eventFont]->getHeight();
|
ffheight = g_Font[eventFont]->getHeight();
|
||||||
frameBuffer->paintBoxRel(x+ width,y+ theight+pig_height, infozone_width, infozone_height,COL_MENUCONTENT_PLUS_0);
|
frameBuffer->paintBoxRel(x+ width,y+ theight+pig_height, infozone_width, infozone_height,COL_MENUCONTENT_PLUS_0);
|
||||||
|
|
||||||
|
#if ENABLE_ARM_ACC
|
||||||
#if BOXMODEL_HD51 || BOXMODEL_HD60 || BOXMODEL_BRE2ZE4K || BOXMODEL_H7
|
#if BOXMODEL_HD51 || BOXMODEL_HD60 || BOXMODEL_BRE2ZE4K || BOXMODEL_H7
|
||||||
usleep(300); // because of CFbAccelARM::paintRect()
|
usleep(300); // because of CFbAccelARM::paintRect()
|
||||||
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
char startTime[10];
|
char startTime[10];
|
||||||
|
Reference in New Issue
Block a user