GUIOpts.C File Reference
#include "GUI/GUIOpts.H"
#include "Component/ModelOptionDef.H"
#include "Image/Dims.H"
#include "Image/Rectangle.H"
Go to the source code of this file.
Detailed Description
Definition in file GUIOpts.C.
Variable Documentation
Initial value: {
MOC_SORTPRI_2, "SDLdisplay-Related Options" }
Command-line options for SDLdisplay.
ImageDisplay options
Definition at line 47 of file GUIOpts.C.
Initial value:
Definition at line 72 of file GUIOpts.C.
Initial value:
Definition at line 95 of file GUIOpts.C.
Initial value:
{ MODOPT_ARG(int), "SDLdisplayPriority", &MOC_SDLDISP, OPTEXP_CORE,
"Priority to run at in SCHED_FIFO mode (need to run as root), or 0 for "
"normal process scheduling and normal priority. Note that in priority 0 "
"display timing is in no way guaranteed, and timestamps for display "
"events are unreliable by up to +/- 50ms.",
"sdl-priority", '\0', "<int>", "80" }
Definition at line 78 of file GUIOpts.C.
Initial value:
{ MODOPT_ARG(float), "SDLdisplayRefreshUsec", &MOC_SDLDISP, OPTEXP_CORE,
"Desired refresh delay in microseconds. All screen refresh operations "
"will enforce that at least 90% of this delay has occurred, but it "
"could be more depending on the refresh rate of the video mode used.",
"sdl-refresh", '\0', "<float>", "33333.3333" }
Definition at line 87 of file GUIOpts.C.
Initial value:
{ MODOPT_ARG(Rectangle), "SDLdisplaySyncRect", &MOC_SDLDISP, OPTEXP_CORE,
"Place a small patch of alternating black and white pixels over the "
"video frame. This used for syncing with an external system using a "
"photodiode. Rectangle coordinates define the pixel positions for left, "
"top, right and bottom corners.", "sdl-sync-rect", '\0', "<Rectangle>",
"0,0,0,0"}
Definition at line 121 of file GUIOpts.C.
Initial value:
{ MODOPT_ARG(uint), "SDLdisplayVBlankKludge", &MOC_SDLDISP, OPTEXP_CORE,
"On some hardware, waiting for the vertical retrace by polling the "
"VGA registers just does not work (especially in dual-screen setups). "
"If non-zero, this parameter will enable a workaround, whereby we just "
"hard-wait for the exact desired framerate, and just send images "
"asynchronously to the display at that rate. On nVidia boards this "
"yields good results where movies play at the exact desired framerate "
"with no tearing, just we are not guaranteed that each frame will be "
"exactly synchronized to the vertical refresh. The non-zero value is the "
"number of microseconds that our busy-waiting code takes to run on your "
"machine, and has to be adjusted on a case-by-case basis until you obtain "
"your exact desired framerate. For example, on a 2.26GHz Macbook a "
"value of 37 yields a solid 30.000 frames/s in the psycho-movie "
"application displaying 1280x1024 movies. "
"Larger values will decrease your framerate and vice-versa.",
"sdl-vblank-kludge", '\0', "<uint>", "0" }
Definition at line 101 of file GUIOpts.C.