Allwinner A10 : Is XBMC ported to MALI-400MP ?
hola,

about the speed of the b¡playback, be shure you use hw accelerated decoding
and rendering ( check the logs for A10 messages ),
maybe you did not compile with -DALLWINNERA10 ?

about the blueishness, i think i fixed it by setting hue and saturation
of the GL Layer in LinuxRendererA10.cpp :

#define NEUTRAL_HUE 20
#define NEUTRAL_SATURATION 32

args[0] = g_screenid;
args[1] = g_hlayer;
args[2] = 0;
args[3] = 0;
int hue=0;
hue = ioctl(g_hdisp, DISP_CMD_LAYER_GET_HUE, args);
// CLog::Log(LOGDEBUG, "A10: layer hue is %d.\n", hue );

// setting hue and saturation for this layer
// to prevent blue tainted screen
if ( hue != NEUTRAL_HUE )
{
args[0] = g_screenid;
args[1] = g_hlayer;
args[2] = NEUTRAL_HUE;
args[3] = 0;
if ( ioctl(g_hdisp, DISP_CMD_LAYER_SET_HUE, args) < 0 )
{
CLog::Log(LOGERROR, "A10: DISP_CMD_LAYER_SET_HUE failed.\n");
}
else
{
CLog::Log(LOGDEBUG, "A10: set hue to : %d\n", NEUTRAL_HUE);
}
}

args[0] = g_screenid;
args[1] = g_hlayer;
args[2] = 0;
args[3] = 0;
int sat = 0;
sat = ioctl(g_hdisp, DISP_CMD_LAYER_GET_SATURATION, args);
// CLog::Log(LOGDEBUG, "A10: layer saturation is %d.\n", sat );

if ( sat != NEUTRAL_SATURATION )
{
args[0] = g_screenid;
args[1] = g_hlayer;
args[2] = NEUTRAL_SATURATION;
args[3] = 0;
if ( ioctl(g_hdisp, DISP_CMD_LAYER_SET_SATURATION, args) < 0 )
{
CLog::Log(LOGERROR, "A10: DISP_CMD_LAYER_SET_SATURATION failed.\n");
}
else
{
CLog::Log(LOGDEBUG, "A10: set saturation to : %d\n", NEUTRAL_SATURATION);
}
}

strangely neutral values here are not 50, but it's working here on my tablet.

ahoj,
sevy
Reply
 
Thread Rating:
  • 15 Vote(s) - 4.13 Average


Messages In This Thread
RE: Allwinner A10 : Is XBMC ported to MALI-400MP ? - by chevil - 2013-02-19, 06:56


Logout Mark Read Team Forum Stats Members Help
Allwinner A10 : Is XBMC ported to MALI-400MP ?4.1315