MCPcopy Create free account
hub / github.com/WiVRn/WiVRn / reset

Method reset

server/encoder/video_encoder_vulkan.cpp:65–75  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

63 }
64
65 void reset() override
66 {
67 std::unique_lock lock(mutex);
68 for (auto & item: items)
69 {
70 item.frame_index = -1;
71 item.info.pPictureResource = nullptr;
72 item.info.slotIndex = -1;
73 item.acked = false;
74 }
75 }
76
77 bool should_skip(uint64_t frame_id) override
78 {

Callers 1

video_encoder_vulkanMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected