Select compatible codec for vaapi when no config is given
This commit is contained in:
@@ -23,7 +23,9 @@
|
||||
|
||||
#include <map>
|
||||
#include <string>
|
||||
#include <vulkan/vulkan.hpp>
|
||||
#include <vector>
|
||||
|
||||
struct wivrn_vk_bundle;
|
||||
|
||||
namespace xrt::drivers::wivrn
|
||||
{
|
||||
@@ -39,7 +41,7 @@ struct encoder_settings : public to_headset::video_stream_description::item
|
||||
std::optional<std::string> device;
|
||||
};
|
||||
|
||||
std::vector<encoder_settings> get_encoder_settings(vk::PhysicalDevice physical_device, uint32_t & width, uint32_t & height);
|
||||
std::vector<encoder_settings> get_encoder_settings(wivrn_vk_bundle &, uint32_t & width, uint32_t & height, const std::vector<xrt::drivers::wivrn::video_codec> & headset_codecs);
|
||||
|
||||
} // namespace xrt::drivers::wivrn
|
||||
|
||||
|
||||
Reference in New Issue
Block a user