mirror of
https://github.com/WiVRn/WiVRn.git
synced 2026-11-28 12:57:03 -08:00
tweak bitrate window and constraint flags
This commit is contained in:
1 parent
0d958ecf80
commit
78eacccb2c
2 files changed
+3
-3
No files matched your search
@@ -84,8 +84,8 @@ wivrn::video_encoder_vulkan::video_encoder_vulkan(
|
||||
rate_control = vk::VideoEncodeRateControlInfoKHR{
|
||||
.layerCount = 1,
|
||||
.pLayers = &rate_control_layer,
|
||||
.virtualBufferSizeInMs = 5'000,
|
||||
.initialVirtualBufferSizeInMs = 4'000,
|
||||
.virtualBufferSizeInMs = 1'000,
|
||||
.initialVirtualBufferSizeInMs = 500,
|
||||
};
|
||||
|
||||
if (encode_caps.rateControlModes & vk::VideoEncodeRateControlModeFlagBitsKHR::eCbr)
|
||||
|
||||
@@ -79,7 +79,7 @@ wivrn::video_encoder_vulkan_h264::video_encoder_vulkan_h264(
|
||||
sps{
|
||||
.flags =
|
||||
{
|
||||
.constraint_set0_flag = 1,
|
||||
.constraint_set0_flag = 0,
|
||||
.constraint_set1_flag = 1,
|
||||
.constraint_set2_flag = 0,
|
||||
.constraint_set3_flag = 0,
|
||||
|
||||
Reference in new issue
Block a user