Lines Matching refs:opt
33 void CommandParse::ParseCodingType(const MyOptIndex index, CommandOpt &opt) in ParseCodingType() argument
38 opt.codec = CodecMime::HEVC; in ParseCodingType()
41 opt.codec = CodecMime::VP9; in ParseCodingType()
44 opt.codec = CodecMime::MPEG4; in ParseCodingType()
51 bool CommandParse::Parse(int argc, char *argv[], CommandOpt &opt) in Parse() argument
62 opt.useBuffer = true; in Parse()
68 opt.fileInput = optarg; in Parse()
71 opt.fileOutput = optarg; in Parse()
74 opt.width = std::stoi(optarg); in Parse()
77 opt.height = std::stoi(optarg); in Parse()
81 opt.colorForamt = static_cast<ColorFormat>(std::stoi(optarg)); in Parse()
85 ParseCodingType(index, opt); in Parse()
89 if (opt.fileInput.empty() || opt.fileOutput.empty() || opt.width == 0 || opt.height == 0) { in Parse()