martii
18b798bee2
libspark/video: ShowPicture: use VIDEO_STILLPICTURE
2013-05-25 08:42:06 +02:00
martii
f88d47b0f2
libspark/video: ShowPicture: add flag to indicate that input file is already m2v and doesn't need to be converted
2013-05-18 15:29:19 +02:00
martii
46754e01b1
adapt Pig() to blitter-based OSD border
2013-03-22 21:54:55 +01:00
martii
94b05dbdc0
sync with seife
2013-02-24 20:13:12 +01:00
Stefan Seyfried
4b9d9271b6
spark: fix compiler warning in cVideo
2013-02-24 16:31:37 +01:00
martii
5d64ecf5fb
sync with seife
2013-01-30 19:13:45 +01:00
graugans
6b97269926
fixed the debug output to match the correct device
2013-01-25 10:25:47 +01:00
martii
aca3da1f29
get rid of most compiler warnings
2012-10-27 18:08:29 +02:00
martii
260a6fcc2f
cast sizeof to signed to avoid compiler warning
2012-08-16 22:10:55 +02:00
martii
c2a9c1a6df
libspark/video.cpp: I tend to believe that comparing signed and unsigned would break for st.st_size < 4
2012-08-12 10:04:35 +02:00
martii
2ca16aedac
Merge remote-tracking branch 'seife/master'
2012-07-15 20:13:18 +02:00
martii
6e8bdf5c34
spark video: implement SetControl
2012-07-13 16:26:22 +02:00
Stefan Seyfried
2d52b68c2d
spark: implement cVideo::getBlank()
...
this is a hack: the "mailbox" irq count does not increase if the
decoders are not decoding, so we use this to determine if the
video is in really playing.
2012-07-05 20:24:40 +02:00
Stefan Seyfried
ee3436d292
spark: fix framerate from cVideo::getPictureInfo()
2012-06-08 22:31:01 +02:00
Stefan Seyfried
9e075bf190
spark: implement cVideo::SetSyncMode()
...
inspired by evolux, but much simpler
2012-06-08 22:30:11 +02:00
Stefan Seyfried
f0f295efa1
spark: fix invalid initialization order in cVideo
...
(how could this ever work? no idea). Found in evolux patches.
2012-06-08 22:20:35 +02:00
Stefan Seyfried
75a4d2843b
spark: add 1080p50 videomode (needs neutrino fix)
2012-04-14 10:56:36 +02:00
Stefan Seyfried
56874d9721
spark: temporary (for testing) map "auto" video mode to 1080p50
2012-04-05 11:58:05 +02:00
Stefan Seyfried
72089fe88d
spark: set new videomode only if it differs from current
2012-04-01 17:38:11 +02:00
Stefan Seyfried
93bc0eec06
spark: fix getAspectRatio and getPictureInfo in MP mode
2012-04-01 17:37:17 +02:00
Stefan Seyfried
6bc5518847
spark: more workaround for driver bugs in cVideo
2012-02-25 22:19:59 +01:00
Stefan Seyfried
cd90a23b46
spark: use ioctls instead of procfs in cVideo::getPictureInfo
2012-02-25 22:18:42 +01:00
Stefan Seyfried
86a5316bd7
spark: improve cVideo::Pig()
2012-02-25 22:17:53 +01:00
Stefan Seyfried
55d0d90b5b
spark: improve cVideo::ShowPicture()
...
* don't clear stillpicture on radio channel change
* don't show stillpicture in standby
2012-02-25 22:15:37 +01:00
Stefan Seyfried
7bf0a98909
spark: make cVideo::openDevice() more robust
...
we sometimes seem to get EBUSY when opening the video device
directly after close() - retry for half a second to get it opened
2012-02-25 21:18:07 +01:00
Stefan Seyfried
ee1a408f9b
spark: fix TODO in cVideo::ShowPicture()
...
rebuild the MPEG stillpicture if the source jpeg has changed
additionally check for zero sized m2v from broken ffmpeg versions
2012-02-25 14:54:45 +01:00
Stefan Seyfried
fd5d65b07d
spark: make cVideo::Standby more robust
...
There are a few glitches in the framebuffer driver we need to work
around. For now, let's:
* close and reopen the video device when going in / out of standby
* only enable HDMI when coming out of standby
Additionally, don't call Standby() when shutting down neutrino.
2012-02-25 14:27:59 +01:00
Stefan Seyfried
5cd42eb204
spark: make cVideo::SetVideoSystem more robust
...
in order to not run into driver locking issues, stop video decoding
before setting the video system and restart afterwards
2012-02-25 13:24:22 +01:00
Stefan Seyfried
6c5a60e128
spark: cVideo::SetVideoMode ignore irrelevant modes
2012-02-25 13:23:19 +01:00
Stefan Seyfried
26d7f46280
spark: make cVideo::openDevice ignorem ultiple calls
2012-02-25 13:13:07 +01:00
Stefan Seyfried
703c416e83
spark: fix invalid debug calls
2012-02-25 13:10:10 +01:00
Stefan Seyfried
31e2bd5c45
spark: partly implement cVideo::Standby()
2012-02-23 23:33:00 +01:00
Stefan Seyfried
eb8439be3e
spark: implement cVideo::SetVideoMode
...
this should add rudimentary support to get SCART output working
2012-02-23 23:31:49 +01:00
Stefan Seyfried
3e37ee54a6
spark: use ioctl instead of /proc to get video format
2012-02-23 23:27:53 +01:00
Stefan Seyfried
63eb51a028
spark: disable HDMI before switching mode in cVideo::SetVideoSystem
...
this seems to greatly improve reliability - it looks like there is
a locking problem somewhere in the framebuffer driver :-(
2012-02-23 23:25:11 +01:00
Stefan Seyfried
027308e310
spark: remove unused cVideo() functions
2012-02-23 23:11:13 +01:00
Stefan Seyfried
32fabdb53d
spark: implement cVideo::SetVideoSystem()
2012-02-22 23:31:59 +01:00
Stefan Seyfried
920f3d1863
spark: add cVideo::ShowPicture()
2012-02-18 00:15:18 +01:00
Stefan Seyfried
16caec5a44
spark: remove unused blank and zoom code from cVideo
2012-02-14 22:52:36 +01:00
Stefan Seyfried
deeea70d0c
spark: add {open,close}Device() to cVideo
2012-02-14 22:38:26 +01:00
Stefan Seyfried
2a162d9e0d
spark: cVideo::Pig()
2012-02-12 10:43:27 +01:00
Stefan Seyfried
7c84ddbc0f
spark: cVideo::setAspectRatio()
2012-02-12 10:43:27 +01:00
Stefan Seyfried
994a0f52bf
spark: cVideo::getPictureInfo/getAspectRatio
...
simplify both function by using proc_{get,put}
2012-02-12 10:43:27 +01:00
Stefan Seyfried
96c3ba2bb0
spark cVideo: add proc_{get,put} helper functions
2012-02-12 10:43:27 +01:00
Stefan Seyfried
afc27ebd11
libspark: add cVideo::getPTS for cDemux::getSTC
2012-02-12 10:43:26 +01:00
Stefan Seyfried
7d80781154
libspark: make cVideo build
...
Again, make it build -- not work. Lots of stuff simply stubbed out.
2012-02-12 10:43:26 +01:00
Stefan Seyfried
00fe1f2ed4
libspark: rename files to common names
2012-02-02 16:13:08 +01:00