aboutsummaryrefslogtreecommitdiff
path: root/system
diff options
context:
space:
mode:
authorpopcornmix <popcornmix@gmail.com>2014-09-10 21:35:12 +0100
committerpopcornmix <popcornmix@gmail.com>2014-10-02 15:52:18 +0100
commit3a9e558d0ca886838b2c358e43ac53d9192bdc08 (patch)
treef655580362d42c320aa709c87437afbebddbae26 /system
parent9a71c809465bb27d7f823f6a4242861adc9f8250 (diff)
[mmal] Add MMAL decoder and MMAL renderer for Raspberry Pi
While omxplayer is the best performing player on the Pi (and the only option for raw Blu-Rays) there are some reasons to use dvdplayer on a Pi: DVDs with menus do not work well with omxplayer support of software decode for SD codecs like divx3, msmpeg, sorenson spark etc omxplayer doesn't support alsa, so can't be used with USB and I2S sound cards dvdplayer may behave better with dodgy timestamps and packet loss, e.g. with live TV So this PR adds hardware acceleration to dvdplayer using the MMAL api. There is also a MMAL based video renderer. Compared to using GL, this: saves the processing cost of YUV->RGB conversion saves the memory cost of the RGB textures for video frames (1080p = 3MB for YUV and 8MB for RGB) allows high quality (cubic) scaling
Diffstat (limited to 'system')
-rw-r--r--system/settings/rbp.xml10
1 files changed, 10 insertions, 0 deletions
diff --git a/system/settings/rbp.xml b/system/settings/rbp.xml
index 21f06ede1b..570798bf0b 100644
--- a/system/settings/rbp.xml
+++ b/system/settings/rbp.xml
@@ -12,6 +12,16 @@
<group id="1">
<visible>false</visible>
</group>
+ <group id="3">
+ <setting id="videoplayer.usemmal" type="boolean" label="36434" help="36435">
+ <dependencies>
+ <dependency type="enable" setting="videoplayer.decodingmethod" operator="is">1</dependency>
+ </dependencies>
+ <level>2</level>
+ <default>true</default>
+ <control type="toggle" />
+ </setting>
+ </group>
</category>
</section>