libobs,UI: Add P216/P416 pixel formats

Will be useful for ProRes.
This commit is contained in:
jpark37 2022-11-20 19:11:27 -08:00 • committed by Patrick Heyer
commit 463bf0dff5
15 changed files with 466 additions and 18 deletions

View file

@ -4393,6 +4393,10 @@ static inline enum video_format GetVideoFormatFromName(const char *name)
return VIDEO_FORMAT_I010;
else if (astrcmpi(name, "P010") == 0)
return VIDEO_FORMAT_P010;
else if (astrcmpi(name, "P216") == 0)
return VIDEO_FORMAT_P216;
else if (astrcmpi(name, "P416") == 0)
return VIDEO_FORMAT_P416;
#if 0 //currently unsupported
else if (astrcmpi(name, "YVYU") == 0)
return VIDEO_FORMAT_YVYU;