Just for the case that some code has not yet added the correct
fb->blit() calls, call it once per second to make sure that
stuff appears on the display.
If you find menus or stuff which is lagging heavily, they are
probably missing those blit() calls.
Of course this has nothing to do with the LED display code,
but putting it there saves us from using yet another thread.
Let everyone render in an offscreen buffer of 1280x720 pixels,
then blit to primary, scaling to target resolution.
This will need some calls to ->blit() sprinkled all over neutrino
which will come in a follow-up commit.
we're going to use the STFB blitter instead of manually
scaling everything if the videomode is not 720p, so more
or less revert all commits regarding FB scaling:
Revert "fontrenderer: scale fonts for nonstandard FB resolutions"
Revert "neutrino: resize framebuffer on videomode change"
Revert "fontrenderer: fix issue with epgwindow font when FB is scaling"
Revert "neutrino: fix artefacts with scaling framebuffer and 1080i"
Revert "spark: draw lines 2px wide instead of 1 in full-HD mode"
Revert "spark: do not scale framebuffer for PAL mode"
Revert "spark: fix framebuffer glitches"
Revert "spark: do not sync blitter after every rectangle (improves performance)"
This reverts commit cdd1cbee29cab90191d34aaba96f37c65aa50a40.
The currently used XML reader implementation is allocating huge
amounts of memory for big files, so using many small files is
more workable right now :-(
* avoid ambiguities in new and delete by always allocating char[]
* get rid of unused next_program_timer
* reduce code differences to original, known good neutrino code
the h264 decoder seems to not like running out of data, so if the
frontend looses lock, the player2 driver might crash
workaround for now is to stop the video decoder if the lock is lost
Scale subtitles to full FB size, disregard OSD setup area. Reason: the
video decoder plane also does not consider OSD setup and subtitles
should align with video. Additionally, subtitles were too narrow.
TODO: what about letterboxed formats? Not handled yet.
Code is experimental, thus the original is #if 0'ed out only.