mirror of
https://github.com/eddyem/CCD_Capture.git
synced 2026-03-20 08:40:56 +03:00
change stored size (8/16 bit); allocate img for server in shared memory (TODO: add to client ability of reading from shm)
This commit is contained in:
@@ -30,6 +30,7 @@ static glob_pars G = {
|
||||
.brightness = NAN, .gain = NAN,
|
||||
.setwheel = -1,
|
||||
.fanspeed = -1,
|
||||
.shmkey = 7777777
|
||||
};
|
||||
|
||||
/*
|
||||
@@ -102,6 +103,8 @@ myoption cmdlnopts[] = {
|
||||
{"viewer", NO_ARGS, &G.viewer,1, arg_none, NULL, N_("passive viewer (only get last images)")},
|
||||
{"restart", NO_ARGS, &G.restart,1, arg_none, NULL, N_("restart image server")},
|
||||
|
||||
{"shmkey", NEED_ARG, NULL, 'k', arg_int, APTR(&G.shmkey), N_("shared memory (with image data) key (default: 7777777")},
|
||||
|
||||
#ifdef IMAGEVIEW
|
||||
{"display", NO_ARGS, NULL, 'D', arg_int, APTR(&G.showimage), N_("Display image in OpenGL window")},
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user