Stefan Seyfried
38eb03547b
neutrino: various fixes and ports from the original
...
* 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
2012-04-17 19:33:56 +02:00
Stefan Seyfried
3189f7fdc4
misc variable init fixes
2012-04-17 19:33:56 +02:00
Stefan Seyfried
40532a9d67
dvbsub: use the FB backbuffer on spark
2012-04-17 19:33:56 +02:00
Stefan Seyfried
04ba38f14f
neutrino: add support for the SPARK frontpanel buttons
2012-04-17 19:33:56 +02:00
Stefan Seyfried
9221807a7c
neutrino: set input device repeat on spark/tripledragon
2012-04-17 19:33:56 +02:00
Stefan Seyfried
49ee83b1de
neutrino: better default for initial rcdelay value
2012-04-17 19:33:56 +02:00
Stefan Seyfried
33a24a25f0
dvbsub: ratelimit 'bad start code' messages
2012-04-17 19:33:56 +02:00
Stefan Seyfried
0db2f30f3d
zapit: add workaround for SPARK driver problems
...
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
2012-04-17 19:33:56 +02:00
Stefan Seyfried
1c86d5b334
streaminfo2: poll more often to avoid demux overflows
...
additionally a tiny loop optimization
2012-04-17 19:33:56 +02:00
Stefan Seyfried
9509da25a7
dvbsub: use blitter to scale subtitles on spark
2012-04-17 19:33:56 +02:00
Stefan Seyfried
b6eb045c9b
dvbsub: fix scaling
...
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.
2012-04-17 19:33:55 +02:00
Stefan Seyfried
7f10c6673e
dvbsub: do not clear subtitles more than once
2012-04-17 19:33:55 +02:00
Stefan Seyfried
99952cb9d7
tuxtxt: fix display with scaling FB, use hw accel if available
...
* Use a separate framebuffer and backbuffer on SPARK (the framebuffer
is not big enough to have both buffers in it).
* make tuxtxt work correctly with scaling FB (1080 full-HD modes)
* improve performance by using the blitter to copy from back- to frame
buffer if available (spark)
2012-04-17 19:33:55 +02:00
Stefan Seyfried
47f09004d8
framebuffer: make blit2FB usable for tuxtxt
2012-04-17 19:33:55 +02:00
Stefan Seyfried
26f85435a8
framebuffer,loadSetup: fix TD build
2012-04-17 19:33:55 +02:00
Stefan Seyfried
4856816f5a
neutrino: change 'create hd bouquet' default to 'no'
2012-04-17 19:33:55 +02:00
Stefan Seyfried
8d03db67ba
neutrino: different videomode defaults depending on platform
...
On Tripledragon, or if NEUTRINO_DEFAULT_SCART variable is set,
default to PAL mode. Otherwise default to 720p.
NEUTRINO_DEFAULT_SCART is set by start_neutrino if no HDMI is present.
2012-04-17 19:33:55 +02:00
Stefan Seyfried
62d546f7c5
spark: do not sync blitter after every rectangle (improves performance)
2012-04-17 19:33:55 +02:00
Stefan Seyfried
ef03e351ab
spark: fix framebuffer glitches
...
* explicitly flush the blitter after every operation
* msync() only the needed range for blitting
This fixes e.g. 2x green button in osd range setup
2012-04-17 19:33:55 +02:00
Stefan Seyfried
3ac9bb5388
neutrino: simplify streaminfo and make it scaling-aware
...
fb->paintLine() is aware of scaling, but fb->paintPixel() is not.
Use paintLine() in streaminfo to fix it for scaling FB mode.
Simplify the code while we are at it.
2012-04-17 19:33:54 +02:00
Stefan Seyfried
7977665931
neutrino: use correct screen preset for PAL on spark
2012-04-17 19:33:54 +02:00
Stefan Seyfried
448131d0e9
spark: do not scale framebuffer for PAL mode
...
Downscaling potentially looks bad and leads to ugly artifacts.
So for PAL mode, do not scale at all, just use the old-fashioned
big font look of dbox2 or tripledragon.
Only scale for modes bigger than 720p.
2012-04-17 19:33:54 +02:00
Stefan Seyfried
8a127f08c2
spark: draw lines 2px wide instead of 1 in full-HD mode
2012-04-17 19:33:54 +02:00
Stefan Seyfried
1182430ac3
neutrino: fix artefacts with scaling framebuffer and 1080i
2012-04-17 19:33:54 +02:00
Stefan Seyfried
d0e13f3036
progressbar: do not do stupid things if passed invalid values
2012-04-17 19:33:54 +02:00
Stefan Seyfried
2e06c23b99
neutrino: do not build in incompatibly licensed code
2012-04-17 19:33:54 +02:00
Stefan Seyfried
0574f15c49
neutrino: adapt framebuffer_spark to recent changes
2012-04-17 19:33:54 +02:00
Stefan Seyfried
56b9b9bcc5
neutrino: enable 'standby after inactivity' for Tripledragon
2012-04-17 19:33:54 +02:00
Stefan Seyfried
8d9a65ad35
zapit: make setStandby(false) block
...
this avoids many nasty race conditions when leaving standby
2012-04-17 19:33:54 +02:00
Stefan Seyfried
8ee066d515
neutrino: wake up video decoder before zapping
2012-04-17 19:33:54 +02:00
Stefan Seyfried
dd025e6622
fontrenderer: fix issue with epgwindow font when FB is scaling
2012-04-17 19:33:54 +02:00
Stefan Seyfried
98e8e0f856
channellist: always start video if parental lock is disabled
...
this fixes an obscure wakeup-from-standby bug if parental locking is
disabled but a bouquet is marked as "locked" anyway
2012-04-17 19:33:54 +02:00
Stefan Seyfried
ed8d08d25a
neutrino: show hintbox if reloading channels on standby
2012-04-17 19:33:53 +02:00
Stefan Seyfried
6317064504
epgview: add event ID and table as last line to epg window
2012-04-17 19:33:53 +02:00
Stefan Seyfried
b34e7205b9
neutrino: resize framebuffer on videomode change
...
this is needed on spark because the framebuffer has the same resolution
as the video plane...
2012-04-17 19:33:53 +02:00
Stefan Seyfried
a96dca1547
framebuffer_spark: fix glitch with non-rounded corners
2012-04-17 19:33:53 +02:00
Stefan Seyfried
1a61b68644
remove branding
2012-04-17 19:33:53 +02:00
Stefan Seyfried
2efb97d16b
sectionsd: make commandPauseScanning really stop demuxers
2012-04-17 19:33:53 +02:00
Stefan Seyfried
be21433d7b
neutrino: build against libass on spark (needed by eplayer2)
2012-04-17 19:33:53 +02:00
Stefan Seyfried
1b12cda250
spark: fix framebuffer paintLine() functions
2012-04-17 19:33:53 +02:00
Stefan Seyfried
ef4d9e95df
streamts: speed up shutdown
2012-04-17 19:33:53 +02:00
Stefan Seyfried
7e6a49e8b8
fontrenderer: scale fonts for nonstandard FB resolutions
2012-04-17 19:33:53 +02:00
Stefan Seyfried
3eb307d296
add a CFrameBuffer implementation for SPARK
...
instead of clobbering up the code with lots of #ifdefs, create a
separate file for SPARK
2012-04-17 19:33:53 +02:00
Stefan Seyfried
f9219c7eea
do not wait for timeset in cnThread
...
This speeds up start significantly on fast machines which
do not need long to initialize their drivers.
2012-04-17 19:33:53 +02:00
Stefan Seyfried
eabeec110c
spark: build stubbed out lcddisplay code to fix build
2012-04-17 19:33:53 +02:00
Stefan Seyfried
c3f8a7f530
spark: fix build by using correct includes
2012-04-17 19:33:52 +02:00
Stefan Seyfried
6f5e4238cc
libneutrino-hal is now libstb-hal
2012-04-17 19:33:52 +02:00
Stefan Seyfried
27315a43cc
add USE_NEUTRINO_HAL define for libneutrino-hal
2012-04-17 19:33:52 +02:00
Stefan Seyfried
dbc40c4a80
add boxtype 'spark'
2012-04-17 19:33:52 +02:00
Stefan Seyfried
c8a561244e
enable usage of a separately built replacement of libtriple
...
In order to improve portability, libtriple will be split off and
built separately as "libneutrino-hal" (for hardware abstraction layer)
Enable the makefiles to deal with that.
2012-04-17 19:33:52 +02:00