Drop xrt::drivers namespace
This commit is contained in:
@@ -48,9 +48,9 @@ class decoder
|
||||
public:
|
||||
struct blit_handle
|
||||
{
|
||||
xrt::drivers::wivrn::from_headset::feedback feedback;
|
||||
xrt::drivers::wivrn::to_headset::video_stream_data_shard::timing_info_t timing_info;
|
||||
xrt::drivers::wivrn::to_headset::video_stream_data_shard::view_info_t view_info;
|
||||
wivrn::from_headset::feedback feedback;
|
||||
wivrn::to_headset::video_stream_data_shard::timing_info_t timing_info;
|
||||
wivrn::to_headset::video_stream_data_shard::view_info_t view_info;
|
||||
vk::raii::ImageView & image_view;
|
||||
vk::Image image = nullptr;
|
||||
vk::ImageLayout * current_layout = nullptr;
|
||||
@@ -79,7 +79,7 @@ private:
|
||||
vk::Extent2D extent{};
|
||||
std::vector<int> free_images;
|
||||
|
||||
xrt::drivers::wivrn::to_headset::video_stream_description::item description;
|
||||
wivrn::to_headset::video_stream_description::item description;
|
||||
|
||||
std::unique_ptr<AVCodecContext, void (*)(AVCodecContext *)> codec;
|
||||
std::unique_ptr<SwsContext, void (*)(SwsContext *)> sws;
|
||||
@@ -93,7 +93,7 @@ private:
|
||||
public:
|
||||
decoder(vk::raii::Device & device,
|
||||
vk::raii::PhysicalDevice & physical_device,
|
||||
const xrt::drivers::wivrn::to_headset::video_stream_description::item & description,
|
||||
const wivrn::to_headset::video_stream_description::item & description,
|
||||
float fps,
|
||||
uint8_t stream_index,
|
||||
std::weak_ptr<scenes::stream> scene,
|
||||
@@ -105,9 +105,9 @@ public:
|
||||
void push_data(std::span<std::span<const uint8_t>> data, uint64_t frame_index, bool partial);
|
||||
|
||||
void frame_completed(
|
||||
const xrt::drivers::wivrn::from_headset::feedback & feedback,
|
||||
const xrt::drivers::wivrn::to_headset::video_stream_data_shard::timing_info_t & timing_info,
|
||||
const xrt::drivers::wivrn::to_headset::video_stream_data_shard::view_info_t & view_info);
|
||||
const wivrn::from_headset::feedback & feedback,
|
||||
const wivrn::to_headset::video_stream_data_shard::timing_info_t & timing_info,
|
||||
const wivrn::to_headset::video_stream_data_shard::view_info_t & view_info);
|
||||
|
||||
const auto & desc() const
|
||||
{
|
||||
@@ -124,6 +124,6 @@ public:
|
||||
return extent;
|
||||
}
|
||||
|
||||
static std::vector<xrt::drivers::wivrn::video_codec> supported_codecs();
|
||||
static std::vector<wivrn::video_codec> supported_codecs();
|
||||
};
|
||||
} // namespace ffmpeg
|
||||
|
||||
Reference in New Issue
Block a user