wivrn namespace: client/decoder/shard_accumulator
This commit is contained in:
@@ -46,7 +46,10 @@ DEUGLIFY(AImage)
|
||||
DEUGLIFY(AImageReader)
|
||||
DEUGLIFY(AMediaCodec)
|
||||
|
||||
namespace wivrn
|
||||
{
|
||||
class shard_accumulator;
|
||||
}
|
||||
|
||||
namespace scenes
|
||||
{
|
||||
|
||||
@@ -27,7 +27,10 @@
|
||||
#include <vector>
|
||||
#include <vulkan/vulkan_raii.hpp>
|
||||
|
||||
namespace wivrn
|
||||
{
|
||||
class shard_accumulator;
|
||||
}
|
||||
|
||||
extern "C"
|
||||
{
|
||||
@@ -126,4 +129,4 @@ public:
|
||||
|
||||
static std::vector<wivrn::video_codec> supported_codecs();
|
||||
};
|
||||
} // namespace ffmpeg
|
||||
} // namespace wivrn::ffmpeg
|
||||
|
||||
@@ -22,6 +22,9 @@
|
||||
#include "scenes/stream.h"
|
||||
#include "spdlog/spdlog.h"
|
||||
|
||||
namespace wivrn
|
||||
{
|
||||
|
||||
using namespace wivrn::to_headset;
|
||||
using shard_set = shard_accumulator::shard_set;
|
||||
using data_shard = shard_accumulator::data_shard;
|
||||
@@ -211,3 +214,4 @@ void shard_accumulator::send_feedback(wivrn::from_headset::feedback & feedback)
|
||||
if (scene)
|
||||
scene->send_feedback(feedback);
|
||||
}
|
||||
} // namespace wivrn
|
||||
|
||||
@@ -34,6 +34,9 @@ using decoder_impl = ::wivrn::ffmpeg::decoder;
|
||||
#include <optional>
|
||||
#include <vector>
|
||||
|
||||
namespace wivrn
|
||||
{
|
||||
|
||||
class shard_accumulator
|
||||
{
|
||||
std::shared_ptr<decoder_impl> decoder;
|
||||
@@ -109,3 +112,4 @@ private:
|
||||
void send_feedback(wivrn::from_headset::feedback & feedback);
|
||||
void advance();
|
||||
};
|
||||
} // namespace wivrn
|
||||
|
||||
Reference in New Issue
Block a user