Commit Graph

40 Commits

Author SHA1 Message Date
Stefan Seyfried
7828eeb103 libtriple: sync cPlayback with libcoolstream changes 2012-04-17 19:33:47 +02:00
Stefan Seyfried
99a5c040a3 libtriple: fix compiler warning in cs_get_revision() 2012-04-17 19:33:47 +02:00
Stefan Seyfried
6719a44dc9 libtriple: convert cDemux to lt_info 2012-04-17 19:33:47 +02:00
Stefan Seyfried
93e90cc4e1 libtriple: add workaround for 'odd filter length' problem in cDemux 2012-04-17 19:33:46 +02:00
Stefan Seyfried
71f1a1e9e3 libtriple: convert cAudio to lt_info, improve debug output 2012-04-17 19:33:46 +02:00
Stefan Seyfried
b24c2c86ee libtriple: add debug flag to disable SCART switching (debug) 2012-04-17 19:33:46 +02:00
Stefan Seyfried
f21ba6a694 libtriple: remove unneeded includes, disable strict aliasing 2012-04-17 19:33:46 +02:00
Stefan Seyfried
a9a771a686 libtriple: convert cVideo to lt_debug/lt_info, don't use zapit debug 2012-04-17 19:33:46 +02:00
Stefan Seyfried
460ccf37ee libtriple: convert cPlayback to lt_debug/lt_info 2012-04-17 19:33:46 +02:00
Stefan Seyfried
4435f30b3c libtriple: improve debug architecture
every libtriple module can have its debug output enabled separately
by exporting the TRIPLE_DEBUG variable
2012-04-17 19:33:46 +02:00
Stefan Seyfried
6eae455676 libtriple: implement PCM playback in cAudio() 2012-04-17 19:33:46 +02:00
Stefan Seyfried
d812673a4e libtriple: add ChangePids() to cRecord
This is pretty much untested for now, handle with care!
2012-04-17 19:33:46 +02:00
Stefan Seyfried
7ff71707c0 libtriple: add getPesPids() and removePid() to cDemux 2012-04-17 19:33:46 +02:00
Stefan Seyfried
bb78f6d4eb libtriple: remember the filedescriptor belonging to each pid in cDemux() 2012-04-17 19:33:45 +02:00
Stefan Seyfried
ec2ad396c0 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
2012-04-17 19:33:45 +02:00
Stefan Seyfried
e786a4ef75 libtriple: fix filedescriptor leak in cVideo::routeVideo() 2012-04-17 19:33:45 +02:00
Stefan Seyfried
65b46d56f2 libtriple: fix up cVideo::setAspectRatio() 2012-04-17 19:33:45 +02:00
Stefan Seyfried
5ae19e4e49 libtriple: add cVideo::VideoParamWatchdog() 2012-04-17 19:33:45 +02:00
Stefan Seyfried
9fc1d89563 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.
2012-04-17 19:33:43 +02:00
Stefan Seyfried
000fbfe74b libtriple: add usable dummy cCA class 2012-04-17 19:33:43 +02:00
Stefan Seyfried
a07e6a3a30 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
2012-04-17 19:33:43 +02:00
Stefan Seyfried
81ae635dcb libtriple: add debug messages to cDemux and cVideo functions 2012-04-17 19:33:43 +02:00
Stefan Seyfried
6aaa97c423 libtriple: reduce some messages to debug, consolidate scart messages 2012-04-17 19:33:43 +02:00
Stefan Seyfried
0249c65167 libtriple: hack different notify sizes for subs and ttx into cDemux 2012-04-17 19:33:43 +02:00
Stefan Seyfried
d95e1bbaf3 libtriple: fix compiler warnings in playback_td 2012-04-17 19:33:43 +02:00
Stefan Seyfried
f50f68677f libtriple: cPlayback: improve get_pts
* add the buffer size to the call to avoid overflows
* extract PTS also from MPEG1 packets
2012-04-17 19:33:43 +02:00
Stefan Seyfried
2698788643 libtriple: implement mpeg/vdr playback 2012-04-17 19:33:43 +02:00
Stefan Seyfried
a3440d19df 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.
2012-04-17 19:33:43 +02:00
Stefan Seyfried
031cf48752 libtriple: make most of libtriple use lt_debug 2012-04-17 19:33:43 +02:00
Stefan Seyfried
2fcba0b70e libtriple: implement pwrmngr cpufreq classes (mostly dummies) 2012-04-17 19:33:42 +02:00
Stefan Seyfried
912b736dee libtriple: implement working cPlayback class
no fast forward, no mpeg playback (yet ;)
2012-04-17 19:33:42 +02:00
Stefan Seyfried
ea818a0953 libtriple: implement cRecord class
TS recording now somewhat works ;)
this version does not need ringbuffer code and only one thread
2012-04-17 19:33:42 +02:00
Stefan Seyfried
14849689e5 libtriple: implement cAudio class 2012-04-17 19:33:42 +02:00
Stefan Seyfried
3a0e21e00c libtriple: implement ShowPicture() in cVideo
this needs the ffmpeg binary with support for mjpeg decoder
and mpeg2video encoder to recode the jpgs to m2v
2012-04-17 19:33:42 +02:00
Stefan Seyfried
8844c96ae8 libtriple: implement working cVideo class 2012-04-17 19:33:42 +02:00
Stefan Seyfried
ca7c6eeba6 libtriple: implement working cDemux class 2012-04-17 19:33:42 +02:00
Stefan Seyfried
34a95c04c0 libtriple: add lt_debug() for controllable debug output 2012-04-17 19:33:42 +02:00
seife
2590adfe15 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: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@962 e54a6e83-5905-42d5-8d5c-058d10e6a962
2010-12-25 17:43:28 +00:00
seife
a6b89367bf 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: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@961 e54a6e83-5905-42d5-8d5c-058d10e6a962
2010-12-25 17:43:14 +00:00
seife
c1039b69f9 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: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@960 e54a6e83-5905-42d5-8d5c-058d10e6a962
2010-12-25 17:43:09 +00:00