UI: Add YUV 4:4:4 format option

This commit is contained in:
jp9000 2015-04-17 02:46:48 -07:00
parent 94a1dbfc5f
commit 881d1a79d2
2 changed files with 7 additions and 0 deletions

View file

@ -2464,6 +2464,11 @@
<string notr="true">I420</string>
</property>
</item>
<item>
<property name="text">
<string>I444</string>
</property>
</item>
<item>
<property name="text">
<string notr="true">RGB</string>

View file

@ -1514,6 +1514,8 @@ static inline enum video_format GetVideoFormatFromName(const char *name)
return VIDEO_FORMAT_I420;
else if (astrcmpi(name, "NV12") == 0)
return VIDEO_FORMAT_NV12;
else if (astrcmpi(name, "I444") == 0)
return VIDEO_FORMAT_I444;
#if 0 //currently unsupported
else if (astrcmpi(name, "YVYU") == 0)
return VIDEO_FORMAT_YVYU;