MCPcopy Create free account
hub / github.com/FFMS/ffms2 / ToOpt

Method ToOpt

src/core/utils.h:107–107  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

105 public:
106 OptionMapperImpl(T(FFMS_Struct::*ptr), const char *name) : ptr(ptr), name(name) {}
107 void ToOpt(FFMS_Struct const& src, void *dst) const { optdetail::set_av_opt(dst, name, src.*ptr); }
108 void FromOpt(FFMS_Struct &dst, void *src) const { dst.*ptr = optdetail::get_av_opt<T>(src, name); }
109 };
110

Callers

nothing calls this directly

Calls 1

set_av_optFunction · 0.85

Tested by

no test coverage detected