Home | History | Annotate | Download | only in gpu

Lines Matching defs:method

26         switch (method)
34 enum {BM, BP, CSBP} method;
81 << "\t--method <stereo_match_method> # BM | BP | CSBP\n"
111 method = BM;
124 else if (string(argv[i]) == "--method")
126 if (string(argv[i + 1]) == "BM") p.method = BM;
127 else if (string(argv[i + 1]) == "BP") p.method = BP;
128 else if (string(argv[i + 1]) == "CSBP") p.method = CSBP;
129 else throw runtime_error("unknown stereo match method: " + string(argv[i + 1]));
151 << "\tm - change stereo match method\n"
191 switch (p.method)
227 cout << "method: " << p.method_str() << endl
229 switch (p.method)
259 if (left.channels() == 1 && p.method != Params::BM)
276 switch (p.method)
279 p.method = Params::BP;
282 p.method = Params::CSBP;
285 p.method = Params::BM;
288 cout << "method: " << p.method_str() << endl;
291 if (p.method == Params::BM)
320 if (p.method == Params::BM)
327 if (p.method == Params::BM)
334 if (p.method == Params::BP)
339 else if (p.method == Params::CSBP)
346 if (p.method == Params::BP)
351 else if (p.method == Params::CSBP)
358 if (p.method == Params::BP)
363 else if (p.method == Params::CSBP)
370 if (p.method == Params::BP)
375 else if (p.method == Params::CSBP)