Home
last modified time | relevance | path

Searched refs:hres (Results 1 – 17 of 17) sorted by relevance

/oneTBB/examples/common/gui/
H A Dd2dvideo.cpp42 bool DisplayError(LPSTR lpstrErr, HRESULT hres) { in DisplayError() argument
43 if (hres != S_OK) { in DisplayError()
48 const char *message = hres ? DXGetErrorString(hres) : 0; in DisplayError()
50 MessageBoxA(g_hAppWnd, lpstrErr, hres ? message : "Error!", MB_OK | MB_ICONERROR); in DisplayError()
H A Dgdivideo.cpp33 bool DisplayError(LPSTR lpstrErr, HRESULT hres) { in DisplayError() argument
39 if (!hres) in DisplayError()
40 hres = GetLastError(); in DisplayError()
44 hres, in DisplayError()
H A Dwinvideo.hpp60 bool DisplayError(LPSTR lpstrErr, HRESULT hres = 0); // always returns false
/oneTBB/examples/parallel_for/tachyon/src/
H A Dapi.cpp158 void rt_resolution(SceneHandle voidscene, int hres, int vres) { in rt_resolution() argument
160 scene->hres = hres; in rt_resolution()
204 void rt_scenesetup(SceneHandle voidscene, char *outname, int hres, int vres, int verbose) { in rt_scenesetup() argument
206 rt_resolution(voidscene, hres, vres); in rt_scenesetup()
H A Dmain.cpp121 scene->hres = global_xwinsize = global_xsize; in CreateScene()
191 scene->hres = global_xwinsize = global_xsize; in CreateScene()
333 global_xsize = scene->hres; in CreateScene()
H A Drender.cpp85 trace_region(scene, nullptr /*outfile*/, 0, 0, scene.hres, scene.vres); in renderscene()
H A Dcamera.cpp63 sx = (flt)scene->hres; in camray()
H A Dapi.hpp117 void rt_resolution(SceneHandle, int hres, int vres);
H A Dtypes.hpp185 int hres; /* horizontal output image resolution */ member
H A Dtrace.simple.cpp172 jitterscale = 40.0 * (scene.hres + scene.vres); in thread_trace()
H A Dtrace.serial.cpp178 jitterscale = 40.0 * (scene.hres + scene.vres); in thread_trace()
H A Dtrace.omp.cpp179 jitterscale = 40.0 * (scene.hres + scene.vres); in thread_trace()
H A Dtrace.tbb1d.cpp198 jitterscale = 40.0 * (scene.hres + scene.vres); in thread_trace()
H A Dtrace.threads.cpp251 jitterscale = 40.0 * (scene.hres + scene.vres); in thread_trace()
H A Dtrace.taskq.cpp218 jitterscale = 40.0 * (scene.hres + scene.vres); in thread_trace()
H A Dtrace.threads2d.cpp303 jitterscale = 40.0 * (scene.hres + scene.vres); in thread_trace()
H A Dtrace.tbb.cpp267 jitterscale = 40.0 * (scene.hres + scene.vres); in thread_trace()