The problem comes when I try to blit the output to the primary surface.
Then cpu usage goes to ~99% and except for the first second or so the
output is more or less garbage
The frames created by the library are YV12 format (the only output format the hardware decoder supports). The unichrome primary layer doesn't support YV12 and there is currently no support for hardware conversion from YV12 to any RGB format so your blit will fall back to software (at best) or not work at all (I can't remember if the software fallback in DirectFB is even implemented for YV12; I don't think it used to be).
You need to use the video overlay layer instead as this supports YV12 directly. You currently also need a CLE266 because the newer Unichrome chips don't have the V1 overlay layer and there is currently no support for the V3+HQV combination otherwise required.
Mark
_______________________________________________ directfb-users mailing list [email protected] http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users
