MCPcopy Create free account
hub / github.com/TypesettingTools/Aegisub / get_image

Function get_image

src/command/video.cpp:289–292  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

287};
288
289wxImage get_image(agi::Context *c, bool raw) {
290 auto frame = c->videoController->GetFrameN();
291 return GetImage(*c->project->VideoProvider()->GetFrame(frame, c->project->Timecodes().TimeAtFrame(frame), raw));
292}
293
294struct video_frame_copy final : public validator_video_loaded {
295 CMD_NAME("video/frame/copy")

Callers 2

operator()Function · 0.85
save_snapshotFunction · 0.85

Calls 5

GetImageFunction · 0.85
GetFrameNMethod · 0.80
VideoProviderMethod · 0.80
GetFrameMethod · 0.45
TimeAtFrameMethod · 0.45

Tested by

no test coverage detected