MCPcopy Create free account
hub / github.com/ClassicOldSong/Apollo / init

Method init

src/platform/linux/vaapi.cpp:430–441  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

428 }
429
430 int init(int in_width, int in_height, file_t &&render_device, int offset_x, int offset_y) {
431 if (va_t::init(in_width, in_height, std::move(render_device))) {
432 return -1;
433 }
434
435 sequence = 0;
436
437 this->offset_x = offset_x;
438 this->offset_y = offset_y;
439
440 return 0;
441 }
442
443 std::uint64_t sequence;
444 egl::rgb_t rgb;

Callers

nothing calls this directly

Calls 2

moveFunction · 0.85
initFunction · 0.70

Tested by

no test coverage detected