MCPcopy Create free account
hub / github.com/OpenShot/libopenshot / read_forward_backward

Function read_forward_backward

tests/Benchmark.cpp:53–59  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

51}
52
53void read_forward_backward(ReaderBase &reader) {
54 int64_t len = reader.info.video_length;
55 for (int64_t i = 1; i <= len; ++i)
56 reader.GetFrame(i);
57 for (int64_t i = len; i >= 1; --i)
58 reader.GetFrame(i);
59}
60
61int main(int argc, char* argv[]) {
62 const string base = TEST_MEDIA_PATH;

Callers 1

mainFunction · 0.85

Calls 1

GetFrameMethod · 0.45

Tested by

no test coverage detected