Commit Graph

32 Commits

Author SHA1 Message Date
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
Stefan Seyfried
ebf0803f82 libtriple: hack different notify sizes for subs and ttx into cDemux 2011-11-06 16:13:04 +01:00
Stefan Seyfried
9c10719f91 libtriple: fix compiler warnings in playback_td 2011-11-06 16:13:03 +01:00
Stefan Seyfried
c0a18f269a libtriple: cPlayback: improve get_pts
* add the buffer size to the call to avoid overflows
* extract PTS also from MPEG1 packets
2011-11-06 16:13:03 +01:00
Stefan Seyfried
64dc2ae85c libtriple: implement mpeg/vdr playback 2011-11-06 16:13:03 +01:00
Stefan Seyfried
fe6666cda7 libtriple: implement fast forward in cPlayback()
First try at implementing fast forward. Needs more love.
Reverse does not work yet, setting speed to negative values
right now simply resets to "play" mode.
2011-11-06 16:13:03 +01:00
Stefan Seyfried
8542cd14aa libtriple: make most of libtriple use lt_debug 2011-11-06 16:13:03 +01:00
Stefan Seyfried
73b886a702 libtriple: implement pwrmngr cpufreq classes (mostly dummies) 2011-11-06 16:13:03 +01:00
Stefan Seyfried
7076b238ee libtriple: implement working cPlayback class
no fast forward, no mpeg playback (yet ;)
2011-11-06 16:13:03 +01:00
Stefan Seyfried
fa05cb1581 libtriple: implement cRecord class
TS recording now somewhat works ;)
this version does not need ringbuffer code and only one thread
2011-11-06 16:13:03 +01:00
Stefan Seyfried
379b504e34 libtriple: implement cAudio class 2011-11-06 16:13:03 +01:00
Stefan Seyfried
23dfba35f8 libtriple: implement ShowPicture() in cVideo
this needs the ffmpeg binary with support for mjpeg decoder
and mpeg2video encoder to recode the jpgs to m2v
2011-11-06 16:13:03 +01:00
Stefan Seyfried
55f20e068d libtriple: implement working cVideo class 2011-11-06 16:13:03 +01:00
Stefan Seyfried
f7cd27d6aa libtriple: implement working cDemux class 2011-11-06 16:13:03 +01:00
Stefan Seyfried
b5503037f0 libtriple: add lt_debug() for controllable debug output 2011-11-06 16:13:03 +01:00
seife
061225db9b add generic dispatcher headers for frontend etc
add generic audio, video and demux headers in zapit/include (TODO: put them
into a better place, or put wrappers into lib directories) that automatically
dispatch to the hardware specific functions and use them in the code

git-svn-id: http://www.coolstreamtech.de/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@962 e54a6e83-5905-42d5-8d5c-058d10e6a962
2010-12-25 17:43:28 +00:00
seife
d580fcb651 libtriple: implement init_td_api and shutdown_td_api
provide compatibility with cs_api_init() and cs_api_exit()
This contains a DirectFB wrapper, needed to make the framebuffer
transparent. The framebuffer itself is usable without DFB.
Additionally it sets up the system for a changed RC address in "BIOS".

git-svn-id: http://www.coolstreamtech.de/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@961 e54a6e83-5905-42d5-8d5c-058d10e6a962
2010-12-25 17:43:14 +00:00
seife
25e8c83e63 add "libtriple" skeleton
This should provide the same functionality as libcoolstream does,
but for the TripleDragon
Add td-compat directory with includes to convert values from
TD api to DVB api and back.

git-svn-id: http://www.coolstreamtech.de/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@960 e54a6e83-5905-42d5-8d5c-058d10e6a962
2010-12-25 17:43:09 +00:00