Skip to content
Permalink
Browse files

[settings] Add settings option to enable MVC and frame packing support

  • Loading branch information
popcornmix committed Dec 16, 2015
1 parent 32d4619 commit 78699c12e6e1a9a5b16230fa9dfd5184da4b0e34
@@ -18153,3 +18153,23 @@ msgstr ""
msgctxt "#38025"
msgid "Choose information provider"
msgstr ""

#: system/settings/rbp.xml
msgctxt "#38110"
msgid "Support MVC video (full frame 3D)"
msgstr ""

#: system/settings/rbp.xml
msgctxt "#38111"
msgid "This option decodes frames for both eyes of MVC video. Disabling may improve performance if you don't require 3D"
msgstr ""

#: system/settings/rbp.xml
msgctxt "#38112"
msgid "Use Full HD HDMI modes for 3D"
msgstr ""

#: system/settings/rbp.xml
msgctxt "#38113"
msgid "This option uses frame-packing to output full resolution for 3D through HDMI"
msgstr ""
@@ -27,6 +27,13 @@
<control type="edit" format="integer" />
</setting>
</group>
<group id="3">
<setting id="videoplayer.supportmvc" type="boolean" label="38110" help="38111">
<level>2</level>
<default>true</default>
<control type="toggle" />
</setting>
</group>
</category>
<category id="myvideos">
<group id="1">
@@ -70,6 +77,13 @@
<control type="edit" format="integer" />
</setting>
</group>
<group id="5">
<setting id="videoplayer.framepacking" type="boolean" label="38112" help="38113">
<level>2</level>
<default>false</default>
<control type="toggle" />
</setting>
</group>
</category>
<category id="audiooutput">
<group id="1">
@@ -552,6 +552,11 @@ bool CMMALVideo::Open(CDVDStreamInfo &hints, CDVDCodecOptions &options)
// H.264
m_codingType = MMAL_ENCODING_H264;
m_pFormatName = "mmal-h264";
if (CSettings::GetInstance().GetBool("videoplayer.supportmvc"))
{
m_codingType = MMAL_ENCODING_MVC;
m_pFormatName= "mmal-mvc";
}
break;
case AV_CODEC_ID_H263:
case AV_CODEC_ID_MPEG4:
@@ -431,6 +431,11 @@ bool COMXVideo::Open(CDVDStreamInfo &hints, OMXClock *clock, EDEINTERLACEMODE de
break;
}
}
if (CSettings::GetInstance().GetBool("videoplayer.supportmvc"))
{
m_codingType = OMX_VIDEO_CodingMVC;
m_video_codec_name = "omx-mvc";
}
break;
case AV_CODEC_ID_MPEG4:
// (role name) video_decoder.mpeg4

0 comments on commit 78699c1

Please sign in to comment.
You can’t perform that action at this time.