Enable 3 encoders by default
This commit is contained in:
@@ -33,7 +33,7 @@ Bitrate of the video, in bit/s. Split among decoders based on size and codecs.
|
||||
## `encoders`
|
||||
A list of encoders to use.
|
||||
|
||||
Default value: single encoder.
|
||||
Default value: 3 encoders in order 1/8th, 3/8th and 4/8th of the image.
|
||||
|
||||
WiVRn has the ability to split the video in blocks that are processed independently, this may use resources more effectively and reduce latency.
|
||||
All the provided encoders are put into groups, groups are executed concurrently and items within a group are processed sequentially.
|
||||
|
||||
@@ -42,7 +42,7 @@ namespace wivrn
|
||||
// TODO: size independent bitrate
|
||||
static const uint64_t default_bitrate = 50'000'000;
|
||||
|
||||
// #define WIVRN_SPLIT_ENCODERS 1
|
||||
#define WIVRN_SPLIT_ENCODERS 1
|
||||
|
||||
static bool is_nvidia(vk::PhysicalDevice physical_device)
|
||||
{
|
||||
@@ -240,7 +240,7 @@ static std::vector<configuration::encoder> get_encoder_default_settings(wivrn_vk
|
||||
.codec = base.codec,
|
||||
},
|
||||
{
|
||||
.name = encoder_vaapi,
|
||||
.name = base.name,
|
||||
.width = 0.5,
|
||||
.offset_x = 0.5,
|
||||
.group = 0,
|
||||
|
||||
Reference in New Issue
Block a user