mirror of
https://github.com/WiVRn/WiVRn.git
synced 2026-11-24 11:01:43 -08:00
Add support for raw video
This commit is contained in:
1 parent
7861d508c7
commit
6932f9461d
20 files changed
+726
-25
No files matched your search
@@ -70,6 +70,7 @@ static void split_bitrate(std::vector<wivrn::encoder_settings> & encoders, uint6
|
||||
break;
|
||||
case wivrn::h265:
|
||||
case wivrn::av1:
|
||||
case wivrn::raw:
|
||||
break;
|
||||
}
|
||||
encoder.bitrate = w;
|
||||
@@ -296,6 +297,9 @@ static void fill_defaults(wivrn_vk_bundle & bundle, const std::vector<wivrn::vid
|
||||
config.codec = h264; // this will fail if 10-bit is enabled
|
||||
#endif
|
||||
|
||||
if (config.name == encoder_raw)
|
||||
config.codec = raw;
|
||||
|
||||
if (not config.codec)
|
||||
config.codec = bit_depth == 10 ? h265 : h264;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user