Home
last modified time | relevance | path

Searched refs:vopts (Results 1 – 25 of 139) sorted by relevance

123456

/dports/devel/notcurses/notcurses-3.0.1/src/tests/
H A Dbitmap.cpp31 vopts.n = n_;
52 vopts.n = nn;
82 vopts.n = n;
105 vopts.n = n;
130 vopts.n = n_;
148 vopts.n = n_;
232 CHECK(vopts.n == ncvisual_blit(nc_, ncv, &vopts));
237 vopts.y = 1;
238 vopts.x = 6;
561 for(int yy = vopts.y ; yy < vopts.y + dimy ; ++yy){
[all …]
H A Dblit.cpp39 vopts.n = ncp;
40 vopts.leny = 2;
41 vopts.lenx = 4;
42 vopts.blitter = NCBLIT_1x1;
81 vopts.n = ncp;
82 vopts.leny = 2;
83 vopts.lenx = 4;
134 vopts.n = n_;
162 vopts.n = n_;
190 vopts.n = n_;
[all …]
H A Dvisual.cpp120 vopts.blitter = NCBLIT_1x1;
142 vopts.blitter = NCBLIT_1x1;
230 vopts.x = NCALIGN_CENTER;
231 vopts.y = NCALIGN_CENTER;
232 vopts.n = n_;
255 ncvisual_options vopts = { variable
313 vopts.n = n_;
486 vopts.n = n_;
527 vopts.n = n_;
586 vopts.n = n_;
[all …]
H A Dstacking.cpp98 struct ncvisual_options vopts = { variable
110 vopts.n = n_;
111 vopts.flags |= NCVISUAL_OPTION_CHILDPLANE;
112 auto newn = ncvisual_blit(nc_, ncv, &vopts);
139 struct ncvisual_options vopts = { variable
151 vopts.n = n_;
152 vopts.flags |= NCVISUAL_OPTION_CHILDPLANE;
181 struct ncvisual_options vopts = { variable
193 vopts.n = n_;
226 struct ncvisual_options vopts = { variable
[all …]
H A Ddirect.cpp116 struct ncvisual_options vopts{}; struct
117 vopts.blitter = NCBLIT_PIXEL;
119 CHECK(0 == ncdirectf_geom(nc_, dirf, &vopts, &geom));
125 auto ncdv = ncdirectf_render(nc_, dirf, &vopts);
136 struct ncvisual_options vopts{}; struct
137 vopts.blitter = NCBLIT_1x1;
138 auto ncdv = ncdirectf_render(nc_, dirf, &vopts);
157 struct ncvisual_options vopts{}; struct
158 vopts.blitter = NCBLIT_PIXEL;
159 vopts.flags = NCVISUAL_OPTION_NODEGRADE;
[all …]
H A Dsixel.cpp164 struct ncvisual_options vopts{}; struct
165 vopts.n = n_;
166 vopts.blitter = NCBLIT_PIXEL;
167 vopts.flags = NCVISUAL_OPTION_NODEGRADE | NCVISUAL_OPTION_CHILDPLANE;
168 vopts.scaling = NCSCALE_STRETCH;
169 auto newn = ncvisual_blit(nc_, ncv, &vopts);
188 struct ncvisual_options vopts{}; struct
189 vopts.n = n_;
190 vopts.blitter = NCBLIT_PIXEL;
191 vopts.flags = NCVISUAL_OPTION_NODEGRADE | NCVISUAL_OPTION_CHILDPLANE;
[all …]
/dports/devel/notcurses/notcurses-3.0.1/src/lib/
H A Dvisual.c131 *begy = vopts ? vopts->begy : 0; in ncvisual_origin()
132 *begx = vopts ? vopts->begx : 0; in ncvisual_origin()
224 if((vopts->flags & NCVISUAL_OPTION_CHILDPLANE) && !vopts->n){ in ncvisual_geom_inner()
229 if(vopts->x < NCALIGN_UNALIGNED || vopts->x > NCALIGN_RIGHT){ in ncvisual_geom_inner()
235 if(vopts->y < NCALIGN_UNALIGNED || vopts->y > NCALIGN_RIGHT){ in ncvisual_geom_inner()
269 ncscale_e scaling = vopts ? vopts->scaling : NCSCALE_NONE; in ncvisual_geom_inner()
300 if(vopts->n){ in ncvisual_geom_inner()
347 vopts->pxoffy, vopts->pxoffx); in ncvisual_geom_inner()
390 if(vopts->pxoffx || vopts->pxoffy){ in ncvisual_geom_inner()
1105 vopts->leny, vopts->lenx, vopts->begy, vopts->begx, vopts->n); in ncvisual_blit()
[all …]
/dports/science/afni/afni-AFNI_21.3.16/src/python_scripts/scripts/
H A Duber_align_test.py83 vopts = OPT.OptionList('uber_subject.py options')
84 vopts.add_opt('-help', 0, [], helpstr='show this help')
85 vopts.add_opt('-help_gui', 0, [], helpstr='show help for GUI')
86 vopts.add_opt('-help_todo', 0, [], helpstr='show todo list')
88 vopts.add_opt('-hist', 0, [], helpstr='show revision history')
91 vopts.add_opt('-ver', 0, [], helpstr='show module version')
93 vopts.add_opt('-verb', 1, [], helpstr='set verbose level')
100 vopts.add_opt('-cvar', -2, [], helpstr='set control variable')
101 vopts.add_opt('-uvar', -2, [], helpstr='set user variable to value')
103 vopts.trailers = 0 # do not allow unknown options
[all …]
H A Duber_skel.py91 vopts = OPT.OptionList('uber_subject.py options')
92 vopts.add_opt('-help', 0, [], helpstr='show this help')
93 vopts.add_opt('-help_gui', 0, [], helpstr='show help for GUI')
94 vopts.add_opt('-help_todo', 0, [], helpstr='show todo list')
96 vopts.add_opt('-hist', 0, [], helpstr='show revision history')
99 vopts.add_opt('-ver', 0, [], helpstr='show module version')
101 vopts.add_opt('-verb', 1, [], helpstr='set verbose level')
108 vopts.add_opt('-cvar', -2, [], helpstr='set control variable')
109 vopts.add_opt('-uvar', -2, [], helpstr='set user variable to value')
111 vopts.trailers = 0 # do not allow unknown options
[all …]
H A Duber_subject.py118 vopts = OPT.OptionList('uber_subject.py options')
119 vopts.add_opt('-help', 0, [], helpstr='show this help')
120 vopts.add_opt('-help_gui', 0, [], helpstr='show help for GUI')
122 vopts.add_opt('-help_install', 0, [], helpstr='show install notes')
124 vopts.add_opt('-hist', 0, [], helpstr='show revision history')
128 vopts.add_opt('-ver', 0, [], helpstr='show module version')
130 vopts.add_opt('-verb', 1, [], helpstr='set verbose level')
137 vopts.add_opt('-exec_proc_script',0,[],helpstr='run proc script')
145 vopts.add_opt('-'+name, -1, [], helpstr=USUBJ.g_svar_dict[name])
147 vopts.trailers = 0 # do not allow unknown options
[all …]
H A Duber_ttest.py98 vopts = OPT.OptionList('uber_subject.py options')
99 vopts.add_opt('-help', 0, [], helpstr='show this help')
100 vopts.add_opt('-help_gui', 0, [], helpstr='show help for GUI')
101 vopts.add_opt('-help_todo', 0, [], helpstr='show todo list')
102 vopts.add_opt('-hist', 0, [], helpstr='show revision history')
107 vopts.add_opt('-ver', 0, [], helpstr='show module version')
109 vopts.add_opt('-verb', 1, [], helpstr='set verbose level')
116 vopts.add_opt('-cvar', -2, [], helpstr='set control variable')
119 vopts.trailers = 0 # do not allow unknown options
127 vopts.add_opt('-'+name, -1, [], helpstr=dict[name])
[all …]
H A Dslow_surf_clustsim.py158 vopts = OPT.OptionList('valid opts')
161 vopts.add_opt('-help', 0, [], helpstr='display program help')
162 vopts.add_opt('-hist', 0, [], helpstr='display the modification history')
163 vopts.add_opt('-show_default_cvars',0,[],helpstr='show default cvars')
164 vopts.add_opt('-show_default_uvars',0,[],helpstr='show default uvars')
168 vopts.add_opt('-cvar', -2, [], helpstr='set control variable')
169 vopts.add_opt('-uvar', -2, [], helpstr='set user variable to value')
172 vopts.add_opt('-on_surface', 1, [],
175 vopts.add_opt('-print_script', 0, [],
177 vopts.add_opt('-save_script', 1, [],
[all …]
H A Dparse_fs_lt_log.py156 vopts = OL.OptionList('valid opts')
159 vopts.add_opt('-help', 0, [], helpstr='display program help')
161 vopts.add_opt('-hist', 0, [], helpstr='display the modification history')
165 vopts.add_opt('-labels', -1, [],
167 vopts.add_opt('-logfile', 1, [],
169 vopts.add_opt('-show_all_orig', 0, [],
171 vopts.add_opt('-show_orig', 0, [],
173 vopts.add_opt('-show_rank', 0, [],
175 vopts.add_opt('-verb', 1, [], helpstr='set the verbose level (def=1)')
177 vopts.sort()
[all …]
H A Dafni_skeleton.py75 vopts = OL.OptionList('valid opts')
78 vopts.add_opt('-help', 0, [], helpstr='display program help')
79 vopts.add_opt('-hist', 0, [], helpstr='display the modification history')
80 vopts.add_opt('-ver', 0, [], helpstr='display the current version number')
83 vopts.add_opt('-infiles', -1, [],
85 vopts.add_opt('-verb', 1, [], helpstr='set the verbose level (def=1)')
87 vopts.sort()
89 return vopts
H A Dread_matlab_files.py98 vopts = OL.OptionList('valid opts')
101 vopts.add_opt('-help', 0, [], helpstr='display program help')
102 vopts.add_opt('-hist', 0, [], helpstr='display the modification history')
103 vopts.add_opt('-ver', 0, [], helpstr='display the current version number')
106 vopts.add_opt('-infiles', -1, [],
108 vopts.add_opt('-overwrite', 0, [],
110 vopts.add_opt('-prefix', 1, [],
112 vopts.add_opt('-verb', 1, [], helpstr='set the verbose level (def=1)')
114 vopts.sort()
116 return vopts
/dports/devel/py-paver/Paver-1.2.4/paver/
H A Dvirtual.py151 vopts = options.virtualenv
152 _create_bootstrap(vopts.get("script_name", "bootstrap.py"),
153 vopts.get("packages_to_install", []),
154 vopts.get("paver_command_line", None),
155 dest_dir=vopts.get("dest_dir", '.'),
156 no_site_packages=vopts.get("no_site_packages", None),
160 distribute=vopts.get("distribute", None),
161 index_url=vopts.get("index_url", None),
162 no_index=vopts.get("no_index", False),
163 find_links=vopts.get("find_links", []),
[all …]
/dports/devel/notcurses/notcurses-3.0.1/src/poc/
H A Dinterp.c21 struct ncvisual_options vopts = { in interp() local
40 vopts.y = 0; in interp()
41 vopts.n = scalep; in interp()
42 vopts.scaling = NCSCALE_STRETCH; in interp()
44 if(ncvisual_blit(nc, ncv, &vopts) == NULL){ in interp()
53 vopts.n = scalepni; in interp()
55 if(ncvisual_blit(nc, ncv, &vopts) == NULL){ in interp()
82 vopts.flags = 0; in interp()
83 vopts.n = resizep; in interp()
84 vopts.scaling = NCSCALE_NONE; in interp()
[all …]
H A Drotate.c38 struct ncvisual_options vopts = {}; in main() local
44 vopts.n = n; in main()
45 if((ncvisual_blit(nc, ncv, &vopts)) == NULL){ in main()
55 ncvisual_geom(nc, ncv, &vopts, &geom); in main()
59 if(ncvisual_blit(nc, ncv, &vopts) == NULL){ in main()
67 vopts.x = NCALIGN_CENTER; in main()
68 vopts.y = NCALIGN_CENTER; in main()
69 vopts.flags |= NCVISUAL_OPTION_HORALIGNED in main()
72 vopts.n = notcurses_stdplane(nc); in main()
80 if((newn = ncvisual_blit(nc, ncv, &vopts)) == NULL){ in main()
/dports/devel/notcurses/notcurses-3.0.1/src/player/
H A Dplay.cpp68 marsh->blitter = vopts->blitter; in perframe()
299 (void)vopts; in perframe_direct()
338 vopts.blitter = blitter; in direct_mode_player()
339 vopts.scaling = scalemode; in direct_mode_player()
340 vopts.x = static_cast<int>(a); in direct_mode_player()
395 vopts.y = NCALIGN_CENTER; in rendered_mode_player_inner()
396 vopts.x = NCALIGN_CENTER; in rendered_mode_player_inner()
397 vopts.n = n; in rendered_mode_player_inner()
398 vopts.scaling = scalemode; in rendered_mode_player_inner()
399 vopts.blitter = blitter; in rendered_mode_player_inner()
[all …]
/dports/devel/notcurses/notcurses-3.0.1/src/demo/
H A Dyield.c36 ncplane_reparent(m->vopts.n, m->label); in display()
45 ncplane_reparent(m->vopts.n, m->vopts.n); in display()
210 .vopts = { in yield_demo()
216 if(m1.vopts.n == NULL){ in yield_demo()
234 .vopts = { in yield_demo()
240 if(m2.vopts.n == NULL){ in yield_demo()
244 ncplane_destroy(m1.vopts.n); in yield_demo()
264 ncplane_destroy(m2.vopts.n); in yield_demo()
265 ncplane_destroy(m1.vopts.n); in yield_demo()
285 ncplane_destroy(m1.vopts.n); in yield_demo()
[all …]
H A Doutro.c8 struct ncvisual_options vopts; variable
76 if(ncplane_fadeout(vopts.n, &fade, changes_fadeout, samoactx) < 0){ in videothread()
78 ncplane_destroy(vopts.n); in videothread()
83 ncplane_destroy(vopts.n); in videothread()
93 ncplane_destroy(vopts.n); in videothread()
193 memset(&vopts, 0, sizeof(vopts)); in outro_demo()
201 vopts.scaling = NCSCALE_STRETCH; in outro_demo()
202 vopts.flags = NCVISUAL_OPTION_BLEND | NCVISUAL_OPTION_CHILDPLANE; in outro_demo()
203 vopts.n = notcurses_stdplane(nc); in outro_demo()
204 if((vopts.n = ncvisual_blit(nc, chncv, &vopts)) == NULL){ in outro_demo()
[all …]
H A Dxray.c122 ncplane_destroy(vopts->n); in get_next_frame()
123 vopts->n = NULL; in get_next_frame()
124 }else if(ncvisual_blit(m->nc, m->ncv, vopts) == NULL){ in get_next_frame()
136 struct ncvisual_options vopts = { in xray_thread() local
146 if(make_plane(m->nc, &vopts.n)){ in xray_thread()
152 if((frame = get_next_frame(m, &vopts)) < 0){ in xray_thread()
153 ncplane_destroy(vopts.n); in xray_thread()
166 if(vopts.n){ in xray_thread()
168 ncplane_move_top(vopts.n); in xray_thread()
170 *m->lplane = vopts.n; in xray_thread()
[all …]
H A Dview.c9 streamer(struct ncvisual* ncv, struct ncvisual_options* vopts, in streamer() argument
21 marsh.pipopts.n = ncplane_create(vopts->n, &nopts); in streamer()
30 ncplane_move_above(marsh.pipopts.n, vopts->n); in streamer()
33 return demo_simple_streamer(ncv, vopts, tspec, NULL); in streamer()
47 struct ncvisual_options vopts = { in view_video_demo() local
57 streamer, &vopts, pip); in view_video_demo()
128 struct ncvisual_options vopts = { in view_images() local
133 if(ncvisual_blit(nc, ncv2, &vopts) == NULL){ in view_images()
155 vopts.n = notcurses_stdplane(nc); in view_images()
156 if(ncvisual_blit(nc, ncv, &vopts) == NULL){ in view_images()
/dports/devel/notcurses/notcurses-3.0.1/include/ncpp/
H A DVisual.hh69 ncplane* blit (const ncvisual_options* vopts) const NOEXCEPT_MAYBE in blit()
71 … return error_guard<ncplane*, ncplane*> (ncvisual_blit (get_notcurses (), visual, vopts), nullptr); in blit()
74 …int stream (const ncvisual_options* vopts, float timescale, ncstreamcb streamer, void *curry = nul… in stream() argument
76 …return error_guard<int> (ncvisual_stream (get_notcurses (), visual, timescale, streamer, vopts, cu… in stream()
89 …bool simple_streamer (ncvisual_options* vopts, const timespec* tspec, void* curry = nullptr) const… in simple_streamer() argument
91 return error_guard (ncvisual_simple_streamer (visual, vopts, tspec, curry), -1); in simple_streamer()
99 bool geom (const struct ncvisual_options *vopts, ncvgeom* geom) const NOEXCEPT_MAYBE in geom() argument
101 return error_guard (ncvisual_geom (get_notcurses (), visual, vopts, geom), -1); in geom()
/dports/devel/notcurses/notcurses-3.0.1/src/media/
H A Doiio-indep.c17 ncstreamcb streamer, const struct ncvisual_options* vopts, in oiio_stream() argument
25 memcpy(&activevopts, vopts, sizeof(*vopts)); in oiio_stream()
35 if(activevopts.n != vopts->n){ in oiio_stream()
42 if(activevopts.n != vopts->n){ in oiio_stream()
61 if(activevopts.n != vopts->n){ in oiio_stream()
68 if(activevopts.n != vopts->n){ in oiio_stream()

123456