Commit Graph

1517 Commits

Author SHA1 Message Date
Stefan Seyfried
d363d3e95b start libspark y copying libtriple 2012-02-02 07:28:35 +01:00
Stefan Seyfried
11965e5c54 libtriple: improve and shorten cDemux debug messages 2012-01-22 19:20:18 +01:00
Stefan Seyfried
9d7c877b7c libtriple: use AVS mute to avoid audio pop during boot 2012-01-22 13:18:31 +01:00
Stefan Seyfried
2ba4fe17c7 libtriple: improve cPlayback performance
avoid unnecessary memcpy in read_mpeg(), significantly improving performance
2012-01-15 19:55:10 +01:00
Stefan Seyfried
e83b77d0e5 libtriple: add video parameter watchdog
Add the video parameter watchdog to the (already existing) input
thread, so we can remove it from zapit.
Unfortunately, we need an ugly hack in cDemux for making sure we
do not crash on exit... :-(
2012-01-14 14:28:33 +01:00
Stefan Seyfried
5732251e24 make lt_dfbinput a c++ file
this allows to put the videowatchdog into the same thread later
2012-01-14 13:47:56 +01:00
Stefan Seyfried
1e5b353de3 libtriple: load td-dvb-frontend.ko in init_td_api() 2012-01-09 22:42:07 +01:00
Stefan Seyfried
3ef3ac837c libtriple: convert tripledragon remote to uinput
Instead of patching neutrino to read the Tripledragon remote, use a
converter thread in libtriple to convert the TD remote to a real input
device via uinput.
2012-01-09 22:42:06 +01:00
Stefan Seyfried
1df012097f libtriple: add documentation on libtriple options 2012-01-08 00:51:40 +01:00
Stefan Seyfried
9cc59bbd24 libtriple: avoid audio noise when going to standby 2012-01-08 00:51:01 +01:00
Stefan Seyfried
124733ce12 libtriple: add support for alternate sound devices to cAudio
This allows to use different audio devices (USB Audio for example)
with internet radio and audioplayer.
2012-01-08 00:34:52 +01:00
Stefan Seyfried
5a8f5b3b20 libtriple: try to make all filedescriptors O_CLOEXEC 2011-12-04 15:54:49 +01:00
Stefan Seyfried
d6e681faf2 libtriple: fix cDemux::pesFilter for teletext 2011-11-07 19:00:45 +01:00
Stefan Seyfried
15282e5ae1 libtriple: add measure mode to cDemux to fix streaminfo
since the TD drivers apparently only allow each PID to be captured
once, cheat and implement the measure mode for streaminfo with
special ioctls. now streaminfo no longer breaks recordings
2011-11-06 16:13:08 +01:00
Stefan Seyfried
1814291ced libtriple: convert cRecord to lt_debug() 2011-11-06 16:13:08 +01:00
Stefan Seyfried
dc5a44a365 libtriple: improve lt_debug
* add current instance
* shorten lt_debug messages
2011-11-06 16:13:08 +01:00
Stefan Seyfried
eff9a153df libtriple: Tripledragon can only do one TS at a time :-( 2011-11-06 16:13:08 +01:00
Stefan Seyfried
1ba4e043c2 libtriple: add cRecord::AddPid 2011-11-06 16:13:08 +01:00
Stefan Seyfried
776f4ba518 libtriple: bring cRecord::Open in line with CS code 2011-11-06 16:13:08 +01:00
Stefan Seyfried
3d7234d5bb libtriple: bring cDemux::Start in line with CS code 2011-11-06 16:13:08 +01:00
Stefan Seyfried
5619aae1da libtriple: change cDemux::addPid to type bool 2011-11-06 16:13:08 +01:00
Stefan Seyfried
348be2b9db libtriple: add dmx_cs.h to reduce code differences in neutrino 2011-11-06 16:13:08 +01:00
Stefan Seyfried
9222f4d5dc libtriple: improve audio stream handling in cPlayback()
use a c++ map instead of arrays to store audio stream data
Side effect: audio streams as returned by findAllPids() are now
sorted by pid, helping default selection for MPEG and VDR streams
2011-11-06 16:13:07 +01:00
Stefan Seyfried
8d7c705587 libtriple: implement cVideo::SetSyncMode() 2011-11-06 16:13:07 +01:00
Stefan Seyfried
356d4eace6 libtriple: implement cAudio::SetSyncMode() 2011-11-06 16:13:07 +01:00
Stefan Seyfried
2871287681 libtriple: cVideo enabled SCART during record in standby 2011-11-06 16:13:07 +01:00
Stefan Seyfried
56902846da libtriple: fix seeking in cPlayback if there's a PTS overflow 2011-11-06 16:13:07 +01:00
Stefan Seyfried
9803550595 libtriple: sync cPlayback with libcoolstream changes 2011-11-06 16:13:06 +01:00
Stefan Seyfried
556c6afe74 libtriple: fix compiler warning in cs_get_revision() 2011-11-06 16:13:06 +01:00
Stefan Seyfried
e60a5e8d93 libtriple: convert cDemux to lt_info 2011-11-06 16:13:06 +01:00
Stefan Seyfried
bad7975133 libtriple: add workaround for 'odd filter length' problem in cDemux 2011-11-06 16:13:06 +01:00
Stefan Seyfried
900813a405 libtriple: convert cAudio to lt_info, improve debug output 2011-11-06 16:13:06 +01:00
Stefan Seyfried
5310bd00b1 libtriple: add debug flag to disable SCART switching (debug) 2011-11-06 16:13:06 +01:00
Stefan Seyfried
8ad224050a libtriple: remove unneeded includes, disable strict aliasing 2011-11-06 16:13:06 +01:00
Stefan Seyfried
d756b2535a libtriple: convert cVideo to lt_debug/lt_info, don't use zapit debug 2011-11-06 16:13:06 +01:00
Stefan Seyfried
511a57e10e libtriple: convert cPlayback to lt_debug/lt_info 2011-11-06 16:13:06 +01:00
Stefan Seyfried
45e7d0d9fa libtriple: improve debug architecture
every libtriple module can have its debug output enabled separately
by exporting the TRIPLE_DEBUG variable
2011-11-06 16:13:06 +01:00
Stefan Seyfried
ddf592f805 libtriple: implement PCM playback in cAudio() 2011-11-06 16:13:06 +01:00
Stefan Seyfried
b0b348e4d1 libtriple: add ChangePids() to cRecord
This is pretty much untested for now, handle with care!
2011-11-06 16:13:06 +01:00
Stefan Seyfried
ec0cd38962 libtriple: add getPesPids() and removePid() to cDemux 2011-11-06 16:13:06 +01:00
Stefan Seyfried
0b487dfcab libtriple: remember the filedescriptor belonging to each pid in cDemux() 2011-11-06 16:13:06 +01:00
Stefan Seyfried
ec4a615036 libtriple: improve cPlayback()
* avoid race conditions by using a mutex to protect curr_pos, fixing
  artefacts during timeshift playback
* make GetPosition() cheaper by interpolating end_pts and only fetching
  the "real" end_pts after the file has grown by 10MB
2011-11-06 16:13:05 +01:00
Stefan Seyfried
30d49b053d libtriple: fix filedescriptor leak in cVideo::routeVideo() 2011-11-06 16:13:05 +01:00
Stefan Seyfried
f201dd0fcd libtriple: fix up cVideo::setAspectRatio() 2011-11-06 16:13:05 +01:00
Stefan Seyfried
64db04cebd libtriple: add cVideo::VideoParamWatchdog() 2011-11-06 16:13:05 +01:00
Stefan Seyfried
f6bf4d3b9b libtriple/framebuffer: use DirectFB acceleration
Use a hack, almost as ugly as the original Coolstream code ;),
to accelerate drawing of boxes and blitting with DirectFB functions.
2011-11-06 16:13:04 +01:00
Stefan Seyfried
e3301b3205 libtriple: add usable dummy cCA class 2011-11-06 16:13:04 +01:00
Stefan Seyfried
67fdebfb32 libtriple: add support for MPEG1 files to cPlayback
Now we can play the "Warriors of the Net" clip :-)
http://ftp.sunet.se/pub/tv+movies/warriors/warriors-700-VBR.mpg
2011-11-06 16:13:04 +01:00
Stefan Seyfried
06bced653a libtriple: add debug messages to cDemux and cVideo functions 2011-11-06 16:13:04 +01:00
Stefan Seyfried
4e01efc452 libtriple: reduce some messages to debug, consolidate scart messages 2011-11-06 16:13:04 +01:00