v 1399 core/gui.c int *v = (int*)arg; v 1401 core/gui.c *v += change; v 1402 core/gui.c if (*v < 0) *v = 0; v 1403 core/gui.c if (*v > 999999) *v = 999999; v 1405 core/gui.c sprintf(buf, "%01d.%05d", (int)(*v / 100000), (int)(*v % 100000)); v 1414 core/gui.c int *v = (int*)arg; v 1417 core/gui.c h = *v / 3600; v 1418 core/gui.c m = (*v % 3600) / 60; v 1419 core/gui.c s = *v % 60; v 1441 core/gui.c *v = (h * 3600) + (m * 60) + s; v 28 core/gui_batt.c long v; v 30 core/gui_batt.c v = get_batt_average(); v 31 core/gui_batt.c if (v>conf.batt_volts_max) v=conf.batt_volts_max; v 32 core/gui_batt.c if (v<conf.batt_volts_min) v=conf.batt_volts_min; v 33 core/gui_batt.c return (v-conf.batt_volts_min)*100/(conf.batt_volts_max-conf.batt_volts_min); v 80 core/gui_batt.c unsigned long v; v 82 core/gui_batt.c v = get_batt_average(); v 83 core/gui_batt.c sprintf(osd_buf, "%ld.%03ld", v/1000, v%1000); v 20 core/gui_draw.c #define CALC_YUV_CHROMA_FOR_COLOR(color,u,v) \ v 22 core/gui_draw.c v = color; \ v 23 core/gui_draw.c u = (v+1); \ v 27 core/gui_draw.c v = 128; \ v 32 core/gui_draw.c v <<= 3; \ v 77 core/gui_draw.c unsigned int v; v 78 core/gui_draw.c CALC_YUV_CHROMA_FOR_COLOR(cl,u,v); v 95 core/gui_draw.c bbu[offs2+2] = v; // V? v 112 core/gui_draw.c (bitmap_buffer[0])[offs2+2] = v; // V? v 113 core/gui_draw.c (bitmap_buffer[1])[offs2+2] = v; // V? v 168 core/gui_draw.c unsigned int y,u,v,o; v 169 core/gui_draw.c CALC_YUV_CHROMA_FOR_COLOR(cl,u,v); v 173 core/gui_draw.c return (u&255)+((y&255)<<8)+((v&255)<<16)+(y<<24); v 625 core/gui_draw.c unsigned int v; v 626 core/gui_draw.c CALC_YUV_CHROMA_FOR_COLOR(cl,u,v); v 645 core/gui_draw.c bbu[offs2+2] = v; // V? v 661 core/gui_draw.c (bitmap_buffer[0])[offs2+2] = v; // V? v 662 core/gui_draw.c (bitmap_buffer[1])[offs2+2] = v; // V? v 66 core/gui_osd.c short v=((dist<0)?-dist:dist); v 67 core/gui_osd.c sprintf(buf, "%s%d.%02d", ((dist<0)?"-":""), v/96, v%96); v 25 core/raw.h extern void set_raw_pixel(unsigned int x,unsigned int y, unsigned short v); v 116 core/shooting.c void shooting_set_prop(int id, int v) v 118 core/shooting.c short vv = v; v 168 core/shooting.c int v; v 171 core/shooting.c v = 0; v 174 core/shooting.c v = 2; v 177 core/shooting.c v = 1; v 182 core/shooting.c shooting_set_prop(PROPCASE_IMAGE_FORMAT,v); v 235 core/shooting.c int v=shooting_get_prop(PROPCASE_LANGUAGE); v 237 core/shooting.c v = (v&1) + 1; v 238 core/shooting.c return v; v 499 core/shooting.c void shooting_set_iso_mode(int v) v 502 core/shooting.c if (v < 50) // CHDK ID v 506 core/shooting.c if (iso_table[i].id == v) v 515 core/shooting.c if (v <= iso_table[0].prop_id) // In case no AUTO (0) entry v 522 core/shooting.c if ((v > iso_table[i].prop_id) && (v <= iso_table[i+1].prop_id)) v 524 core/shooting.c if ((v - iso_table[i].prop_id) < (iso_table[i+1].prop_id - v)) v 717 core/shooting.c void shooting_set_user_tv_by_id(int v) v 725 core/shooting.c if (shutter_speeds_table[i].id == v) v 734 core/shooting.c (void)v; v 738 core/shooting.c void shooting_set_user_tv_by_id_rel(int v) v 744 core/shooting.c shooting_set_user_tv_by_id(cv+v); v 747 core/shooting.c (void)v; v 906 core/shooting.c void shooting_set_user_av_by_id(int v) v 914 core/shooting.c if (aperture_sizes_table[i].id == v) v 923 core/shooting.c (void)v; v 927 core/shooting.c void shooting_set_user_av_by_id_rel(int v) v 933 core/shooting.c shooting_set_user_av_by_id(cv+v); v 936 core/shooting.c (void)v; v 962 core/shooting.c void shooting_set_nd_filter_state(short v, short is_now) v 972 core/shooting.c if(v==1) { v 980 core/shooting.c if (v==1) { v 983 core/shooting.c else if (v==2) v 986 core/shooting.c int n = (v==1) ? 1 : 0; v 991 core/shooting.c photo_param_put_off.nd_filter = v; v 994 core/shooting.c (void)v; (void)is_now; v 1055 core/shooting.c long v = get_file_counter(); v 1056 core/shooting.c v = ((v>>4)&0x3FFF); v 1057 core/shooting.c return v; v 1064 core/shooting.c long v = 0; v 1065 core/shooting.c get_parameter_data(param_file_counter, &v, 4); v 1066 core/shooting.c return v; v 1071 core/shooting.c long v = 0; v 1072 core/shooting.c get_parameter_data(param_file_counter, &v, 4); v 1073 core/shooting.c v = ((v>>4)&0x3FFF); v 1074 core/shooting.c return v; v 1165 core/shooting.c int v = ((h_1e3 - 2*fl + 1000*s)+500)/1000; v 1166 core/shooting.c if ((m>0) && (v>0)) return (int)((2*m/v+1)/2); v 1175 core/shooting.c int v = ((h_1e3 - 1000*s)+500)/1000; v 1176 core/shooting.c if ((m>0) && (v>0)) return (int)((2*m/v+1)/2); v 1203 core/shooting.c int hyp, hyp_1e3, av_1e3, v; v 1250 core/shooting.c v = ((hyp_1e3 - fl)/250 + 2 + 1)/2; v 1251 core/shooting.c if (v>0) { v 1252 core/shooting.c int m = ((fl*((fl - hyp_1e3)/1000 - 1)/500)/v + 1)/2; v 1253 core/shooting.c int m2 = (int)((((double)hyp*(2*fl - hyp_1e3)/1000))/v + 0.5); v 1271 core/shooting.c int v = ((((hyp_1e3 - 2*fl + 1000*dist)/500) + 1)/2); v 1272 core/shooting.c if (v>0) camera_info.dof_values.near_limit = (int)(m/v); v 1274 core/shooting.c int v = ((((hyp_1e3 - 1000*dist)/500) + 1)/2); v 1275 core/shooting.c if (v>0) camera_info.dof_values.far_limit = (int)(m/v); v 1368 core/shooting.c void shooting_set_zoom(__attribute__ ((unused))int v) {} v 1369 core/shooting.c void shooting_set_zoom_rel(__attribute__ ((unused))int v) {} v 1370 core/shooting.c void shooting_set_zoom_speed(__attribute__ ((unused))int v) {} v 1372 core/shooting.c void shooting_set_zoom(int v) v 1378 core/shooting.c lens_set_zoom_point(v); v 1384 core/shooting.c lens_set_zoom_point(v); v 1389 core/shooting.c void shooting_set_zoom_rel(int v) v 1394 core/shooting.c shooting_set_zoom(cv+v); v 1398 core/shooting.c void shooting_set_zoom_speed(int v) { v 1401 core/shooting.c lens_set_zoom_speed(v); v 1411 core/shooting.c void shooting_set_focus(int v, short is_now) v 1413 core/shooting.c int s=v; v 1420 core/shooting.c s=shooting_get_near_limit_f(v,shooting_get_min_real_aperture(),get_focal_length(lens_get_zoom_point())); v 1427 core/shooting.c photo_param_put_off.subj_dist=v; v 1431 core/shooting.c void shooting_video_bitrate_change(int v) v 1435 core/shooting.c if (v>=(int)((sizeof(m)/sizeof(m[0])))) v 1436 core/shooting.c v=(sizeof(m)/sizeof(m[0]))-1; v 1437 core/shooting.c change_video_tables(m[v],4); v 1439 core/shooting.c (void)v; v 1443 core/shooting.c void shooting_video_minbitrate_change(int v) v 1446 core/shooting.c if (v>=(int)(sizeof(m)/sizeof(m[0]))) v 1447 core/shooting.c v=(sizeof(m)/sizeof(m[0]))-1; v 1448 core/shooting.c change_video_minbitrate(m[v],10); v 9 core/versions.c static const char* get_val(const char *s, short *v) v 13 core/versions.c *v = strtol(s, (char**)&s, 0); v 32 include/debug.h #define DLOG_INT(s,v) debug_print_int(s,v) v 33 include/debug.h #define DLOG_FLOAT(s,v) debug_print_float(s,v) v 39 include/debug.h #define DLOG_INT(s,v) v 40 include/debug.h #define DLOG_FLOAT(s,v) v 50 include/properties.h extern void shooting_set_prop(int id, int v); v 80 include/shooting.h extern void shooting_set_user_tv_by_id(int v); v 81 include/shooting.h extern void shooting_set_user_tv_by_id_rel(int v); v 89 include/shooting.h extern void shooting_set_user_av_by_id(int v); v 97 include/shooting.h extern void shooting_set_user_av_by_id_rel(int v); v 100 include/shooting.h extern void shooting_set_nd_filter_state(short v, short is_now); v 117 include/shooting.h extern void shooting_set_zoom(int v); v 118 include/shooting.h extern void shooting_set_zoom_rel(int v); v 119 include/shooting.h extern void shooting_set_zoom_speed(int v); v 128 include/shooting.h extern void shooting_set_focus(int v, short is_now); v 149 include/shooting.h extern void shooting_set_iso_mode(int v); v 256 include/shooting.h extern void shooting_video_bitrate_change(int v); v 34 include/std/stdlib.h extern int abs( int v ); v 1051 lib/lua/lapi.c *val = f->l.upvals[n-1]->v; v 229 lib/lua/lcode.c static int addk (FuncState *fs, TValue *k, TValue *v) { v 235 lib/lua/lcode.c lua_assert(luaO_rawequalObj(&fs->f->k[cast_int(nvalue(idx))], v)); v 243 lib/lua/lcode.c setobj(L, &f->k[fs->nk], v); v 244 lib/lua/lcode.c luaC_barrier(L, f, v); v 272 lib/lua/lcode.c TValue k, v; v 273 lib/lua/lcode.c setnilvalue(&v); v 276 lib/lua/lcode.c return addk(fs, &k, &v); v 710 lib/lua/lcode.c LUAI_FUNC void luaK_infix (FuncState *fs, BinOpr op, expdesc *v) { v 713 lib/lua/lcode.c luaK_goiftrue(fs, v); v 717 lib/lua/lcode.c luaK_goiffalse(fs, v); v 721 lib/lua/lcode.c luaK_exp2nextreg(fs, v); /* operand must be on the `stack' */ v 726 lib/lua/lcode.c if (!isnumeral(v)) luaK_exp2RK(fs, v); v 730 lib/lua/lcode.c luaK_exp2RK(fs, v); v 70 lib/lua/lcode.h LUAI_FUNC void luaK_prefix (FuncState *fs, UnOpr op, expdesc *v); v 71 lib/lua/lcode.h LUAI_FUNC void luaK_infix (FuncState *fs, BinOpr op, expdesc *v); v 64 lib/lua/ldblib.c static void settabss (lua_State *L, const char *i, const char *v) { v 65 lib/lua/ldblib.c lua_pushstring(L, v); v 70 lib/lua/ldblib.c static void settabsi (lua_State *L, const char *i, int v) { v 71 lib/lua/ldblib.c lua_pushinteger(L, v); v 131 lib/lua/ldo.c gco2uv(up)->v = (gco2uv(up)->v - oldstack) + L->stack; v 73 lib/lua/lfmathlib.c double* v = (double*)lua_touserdata(L, n); v 74 lib/lua/lfmathlib.c if (v == 0) { v 78 lib/lua/lfmathlib.c return *v; v 82 lib/lua/lfmathlib.c static double* newval(lua_State *L, double v) { v 86 lib/lua/lfmathlib.c *r = v; v 47 lib/lua/lfunc.c uv->v = &uv->u.value; v 48 lib/lua/lfunc.c setnilvalue(uv->v); v 58 lib/lua/lfunc.c while (*pp != NULL && (p = ngcotouv(*pp))->v >= level) { v 59 lib/lua/lfunc.c lua_assert(p->v != &p->u.value); v 60 lib/lua/lfunc.c if (p->v == level) { /* found a corresponding upvalue? */ v 70 lib/lua/lfunc.c uv->v = level; /* current value lives in the stack */ v 90 lib/lua/lfunc.c if (uv->v != &uv->u.value) /* is it open? */ v 99 lib/lua/lfunc.c while (L->openupval != NULL && (uv = ngcotouv(L->openupval))->v >= level) { v 101 lib/lua/lfunc.c lua_assert(!isblack(o) && uv->v != &uv->u.value); v 107 lib/lua/lfunc.c setobj(L, &uv->u.value, uv->v); v 108 lib/lua/lfunc.c uv->v = &uv->u.value; /* now current value lives here */ v 85 lib/lua/lgc.c markvalue(g, uv->v); v 86 lib/lua/lgc.c if (uv->v == &uv->u.value) /* closed? */ v 520 lib/lua/lgc.c markvalue(g, uv->v); v 661 lib/lua/lgc.c LUAI_FUNC void luaC_barrierf (lua_State *L, GCObject *o, GCObject *v) { v 663 lib/lua/lgc.c lua_assert(isblack(o) && iswhite(v) && !isdead(g, v) && !isdead(g, o)); v 668 lib/lua/lgc.c reallymarkobject(g, v); /* restore invariant */ v 702 lib/lua/lgc.c luaC_barrier(L, uv, uv->v); v 70 lib/lua/lgc.h #define isdead(g,v) ((v)->gch.marked & otherwhite(g) & WHITEBITS) v 86 lib/lua/lgc.h #define luaC_barrier(L,p,v) { if (valiswhite(v) && isblack(obj2gco(p))) \ v 87 lib/lua/lgc.h luaC_barrierf(L,obj2gco(p),gcvalue(v)); } v 89 lib/lua/lgc.h #define luaC_barriert(L,t,v) { if (valiswhite(v) && isblack(obj2gco(t))) \ v 106 lib/lua/lgc.h LUAI_FUNC void luaC_barrierf (lua_State *L, GCObject *o, GCObject *v); v 33 lib/lua/lmem.h #define luaM_growvector(L,v,nelems,size,t,limit,e) \ v 35 lib/lua/lmem.h ((v)=cast(t *, luaM_growaux_(L,v,&(size),sizeof(t),limit,e))) v 37 lib/lua/lmem.h #define luaM_reallocvector(L, v,oldn,n,t) \ v 38 lib/lua/lmem.h ((v)=cast(t *, luaM_reallocv(L, v, oldn, n, sizeof(t)))) v 276 lib/lua/lobject.h TValue *v; /* points to stack or to its own value */ v 34 lib/lua/lparser.c #define luaY_checklimit(fs,v,l,m) if ((v)>(l)) errorlimit(fs,l,m) v 54 lib/lua/lparser.c static void expr (LexState *ls, expdesc *v); v 156 lib/lua/lparser.c #define new_localvarliteral(ls,v,n) \ v 157 lib/lua/lparser.c new_localvar(ls, luaX_newstring(ls, "" v, (sizeof(v)/sizeof(char))-1), n) v 183 lib/lua/lparser.c static int indexupvalue (FuncState *fs, TString *name, expdesc *v) { v 188 lib/lua/lparser.c if (fs->upvalues[i].k == v->k && fs->upvalues[i].info == v->u.s.info) { v 200 lib/lua/lparser.c lua_assert(v->k == VLOCAL || v->k == VUPVAL); v 201 lib/lua/lparser.c fs->upvalues[f->nups].k = cast_byte(v->k); v 202 lib/lua/lparser.c fs->upvalues[f->nups].info = cast_byte(v->u.s.info); v 230 lib/lua/lparser.c int v = searchvar(fs, n); /* look up at current level */ v 231 lib/lua/lparser.c if (v >= 0) { v 232 lib/lua/lparser.c init_exp(var, VLOCAL, v); v 234 lib/lua/lparser.c markupval(fs, v); /* local will be used as an upval */ v 310 lib/lua/lparser.c static void pushclosure (LexState *ls, FuncState *func, expdesc *v) { v 320 lib/lua/lparser.c init_exp(v, VRELOCABLE, luaK_codeABx(fs, OP_CLOSURE, 0, fs->np-1)); v 407 lib/lua/lparser.c static void field (LexState *ls, expdesc *v) { v 411 lib/lua/lparser.c luaK_exp2anyreg(fs, v); v 414 lib/lua/lparser.c luaK_indexed(fs, v, &key); v 418 lib/lua/lparser.c static void yindex (LexState *ls, expdesc *v) { v 421 lib/lua/lparser.c expr(ls, v); v 422 lib/lua/lparser.c luaK_exp2val(ls->fs, v); v 435 lib/lua/lparser.c expdesc v; /* last list item read */ v 465 lib/lua/lparser.c if (cc->v.k == VVOID) return; /* there is no list item */ v 466 lib/lua/lparser.c luaK_exp2nextreg(fs, &cc->v); v 467 lib/lua/lparser.c cc->v.k = VVOID; v 477 lib/lua/lparser.c if (hasmultret(cc->v.k)) { v 478 lib/lua/lparser.c luaK_setmultret(fs, &cc->v); v 483 lib/lua/lparser.c if (cc->v.k != VVOID) v 484 lib/lua/lparser.c luaK_exp2nextreg(fs, &cc->v); v 491 lib/lua/lparser.c expr(ls, &cc->v); v 507 lib/lua/lparser.c init_exp(&cc.v, VVOID, 0); /* no value (yet) */ v 511 lib/lua/lparser.c lua_assert(cc.v.k == VVOID || cc.tostore > 0); v 596 lib/lua/lparser.c static int explist1 (LexState *ls, expdesc *v) { v 599 lib/lua/lparser.c expr(ls, v); v 601 lib/lua/lparser.c luaK_exp2nextreg(ls->fs, v); v 602 lib/lua/lparser.c expr(ls, v); v 667 lib/lua/lparser.c static void prefixexp (LexState *ls, expdesc *v) { v 673 lib/lua/lparser.c expr(ls, v); v 675 lib/lua/lparser.c luaK_dischargevars(ls->fs, v); v 679 lib/lua/lparser.c singlevar(ls, v); v 690 lib/lua/lparser.c static void primaryexp (LexState *ls, expdesc *v) { v 694 lib/lua/lparser.c prefixexp(ls, v); v 698 lib/lua/lparser.c field(ls, v); v 703 lib/lua/lparser.c luaK_exp2anyreg(fs, v); v 705 lib/lua/lparser.c luaK_indexed(fs, v, &key); v 712 lib/lua/lparser.c luaK_self(fs, v, &key); v 713 lib/lua/lparser.c funcargs(ls, v); v 717 lib/lua/lparser.c luaK_exp2nextreg(fs, v); v 718 lib/lua/lparser.c funcargs(ls, v); v 727 lib/lua/lparser.c static void simpleexp (LexState *ls, expdesc *v) { v 732 lib/lua/lparser.c init_exp(v, VKNUM, 0); v 733 lib/lua/lparser.c v->u.nval = ls->t.seminfo.r; v 737 lib/lua/lparser.c codestring(ls, v, ls->t.seminfo.ts); v 741 lib/lua/lparser.c init_exp(v, VNIL, 0); v 745 lib/lua/lparser.c init_exp(v, VTRUE, 0); v 749 lib/lua/lparser.c init_exp(v, VFALSE, 0); v 757 lib/lua/lparser.c init_exp(v, VVARARG, luaK_codeABC(fs, OP_VARARG, 0, 1, 0)); v 761 lib/lua/lparser.c constructor(ls, v); v 766 lib/lua/lparser.c body(ls, v, 0, ls->linenumber); v 770 lib/lua/lparser.c primaryexp(ls, v); v 828 lib/lua/lparser.c static BinOpr subexpr (LexState *ls, expdesc *v, unsigned int limit) { v 835 lib/lua/lparser.c subexpr(ls, v, UNARY_PRIORITY); v 836 lib/lua/lparser.c luaK_prefix(ls->fs, uop, v); v 838 lib/lua/lparser.c else simpleexp(ls, v); v 845 lib/lua/lparser.c luaK_infix(ls->fs, op, v); v 848 lib/lua/lparser.c luaK_posfix(ls->fs, op, v, &v2); v 856 lib/lua/lparser.c static void expr (LexState *ls, expdesc *v) { v 857 lib/lua/lparser.c subexpr(ls, v, 0); v 898 lib/lua/lparser.c expdesc v; /* variable (global, local, upvalue, or indexed) */ v 908 lib/lua/lparser.c static void check_conflict (LexState *ls, struct LHS_assign *lh, expdesc *v) { v 913 lib/lua/lparser.c if (lh->v.k == VINDEXED) { v 914 lib/lua/lparser.c if (lh->v.u.s.info == v->u.s.info) { /* conflict? */ v 916 lib/lua/lparser.c lh->v.u.s.info = extra; /* previous assignment will use safe copy */ v 918 lib/lua/lparser.c if (lh->v.u.s.aux == v->u.s.info) { /* conflict? */ v 920 lib/lua/lparser.c lh->v.u.s.aux = extra; /* previous assignment will use safe copy */ v 925 lib/lua/lparser.c luaK_codeABC(fs, OP_MOVE, fs->freereg, v->u.s.info, 0); /* make copy */ v 933 lib/lua/lparser.c check_condition(ls, VLOCAL <= lh->v.k && lh->v.k <= VINDEXED, v 938 lib/lua/lparser.c primaryexp(ls, &nv.v); v 939 lib/lua/lparser.c if (nv.v.k == VLOCAL) v 940 lib/lua/lparser.c check_conflict(ls, lh, &nv.v); v 956 lib/lua/lparser.c luaK_storevar(ls->fs, &lh->v, &e); v 961 lib/lua/lparser.c luaK_storevar(ls->fs, &lh->v, &e); v 967 lib/lua/lparser.c expdesc v; v 968 lib/lua/lparser.c expr(ls, &v); /* read condition */ v 969 lib/lua/lparser.c if (v.k == VNIL) v.k = VFALSE; /* `falses' are all equal here */ v 970 lib/lua/lparser.c luaK_goiftrue(ls->fs, &v); v 971 lib/lua/lparser.c return v.f; v 1166 lib/lua/lparser.c expdesc v, b; v 1169 lib/lua/lparser.c init_exp(&v, VLOCAL, fs->freereg); v 1173 lib/lua/lparser.c luaK_storevar(fs, &v, &b); v 1198 lib/lua/lparser.c static int funcname (LexState *ls, expdesc *v) { v 1201 lib/lua/lparser.c singlevar(ls, v); v 1203 lib/lua/lparser.c field(ls, v); v 1206 lib/lua/lparser.c field(ls, v); v 1215 lib/lua/lparser.c expdesc v, b; v 1217 lib/lua/lparser.c needself = funcname(ls, &v); v 1219 lib/lua/lparser.c luaK_storevar(ls->fs, &v, &b); v 1227 lib/lua/lparser.c struct LHS_assign v; v 1228 lib/lua/lparser.c primaryexp(ls, &v.v); v 1229 lib/lua/lparser.c if (v.v.k == VCALL) /* stat -> func */ v 1230 lib/lua/lparser.c SETARG_C(getcode(fs, &v.v), 1); /* call statement uses no results */ v 1232 lib/lua/lparser.c v.prev = NULL; v 1233 lib/lua/lparser.c assignment(ls, &v, 1); v 162 lib/lua/lstate.h #define obj2gco(v) (cast(GCObject *, (v))) v 63 lib/lua/ltablib.c lua_Number v = lua_tonumber(L, -1); v 64 lib/lua/ltablib.c if (v > max) max = v; v 445 lib/lua/lvm.c setobj2s(L, ra, cl->upvals[b]->v); v 469 lib/lua/lvm.c setobj(L, uv->v, ra); v 1454 modules/cpuinfo_v7.c unsigned m, v; v 1455 modules/cpuinfo_v7.c v = *e; v 1457 modules/cpuinfo_v7.c if (v != *(e+m)) { v 100 modules/dng.c #define BE(v) ((v&0x000000FF)<<24)|((v&0x0000FF00)<<8)|((v&0x00FF0000)>>8)|((v&0xFF000000)>>24) // Convert to big_endian v 314 modules/gui_bench.c unsigned int v = *(unsigned int*)0xc0242014; v 315 modules/gui_bench.c if (v<t) v 316 modules/gui_bench.c return 0x100000+v-t; v 317 modules/gui_bench.c return v-t; v 52 modules/gui_osd_edit.c #define SCL(v,s) ((scalemul[s]*(v))>>1) v 69 modules/histogram.c static int clip(int v) v 71 modules/histogram.c if (v<0) v=0; v 72 modules/histogram.c else if (v>255) v=255; v 73 modules/histogram.c return v; v 120 modules/histogram.c int y, v, u, hi; v 124 modules/histogram.c v = (signed char)p[2]; v 127 modules/histogram.c v = (int)p[2] - 128; v 132 modules/histogram.c hi = clip(((y<<12) + v*5743 + 2048)>>12); // R v 134 modules/histogram.c hi = clip(((y<<12) - u*1411 - v*2925 + 2048)>>12); // G v 328 modules/histogram.c register int i, v, threshold; v 355 modules/histogram.c for (v=1; v<h-1; ++v) v 356 modules/histogram.c draw_pixel(x+1+i, y+h-v, (v<=threshold)?cl:cl_bg); v 358 modules/histogram.c for (; v<h; ++v) v 359 modules/histogram.c draw_pixel(x+1+i, y+h-v, (v<=threshold)?cl_over:cl_bg); v 365 modules/histogram.c for (v=1; v<h-3; ++v) v 366 modules/histogram.c draw_pixel(x+1+i, y+h-v, (v<=threshold)?cl:cl_bg); v 368 modules/histogram.c for (; v<h; ++v) v 369 modules/histogram.c draw_pixel(x+1+i, y+h-v, (v<=threshold)?cl_over:cl_bg); v 384 modules/histogram.c register unsigned int i, v, red, grn, blu, sel; v 401 modules/histogram.c for (v=1; v<HISTO_HEIGHT; ++v) { v 404 modules/histogram.c if (v < red) sel = 4; v 405 modules/histogram.c if (v < grn) sel |= 2; v 406 modules/histogram.c if (v < blu) sel |= 1; v 408 modules/histogram.c draw_pixel(x+1+i, y+HISTO_HEIGHT-v, cls[sel]); v 200 modules/motion_detector.c static int clip(int v) v 202 modules/motion_detector.c if (v<0) return 0; v 203 modules/motion_detector.c if (v>255) return 255; v 204 modules/motion_detector.c return v; v 34 modules/rawhookops.c static int round_d2i(double v) { v 35 modules/rawhookops.c if(v<0.0) { v 36 modules/rawhookops.c return (int)(v - 0.5); v 38 modules/rawhookops.c return (int)(v + 0.5); v 273 modules/rawhookops.c unsigned short v=luaL_checknumber(L,3); v 280 modules/rawhookops.c set_raw_pixel(x,y,v); v 462 modules/rawhookops.c int v=luaL_checknumber(L,1); v 465 modules/rawhookops.c if( v <= camera_sensor.black_level) { v 466 modules/rawhookops.c v = camera_sensor.black_level+1; v 468 modules/rawhookops.c int r=round_d2i((double)scale*(log2(v - camera_sensor.black_level) - log2_raw_neutral_count)); v 485 modules/rawhookops.c int v=luaL_checknumber(L,1); v 488 modules/rawhookops.c lua_pushnumber(L,round_d2i(pow(2,(double)v/(double)scale+log2_raw_neutral_count)+camera_sensor.black_level)); v 557 modules/sha1.c #define R0(v,w,x,y,z,i) \ v 558 modules/sha1.c z += ((w & (x ^ y)) ^ y) + blk0(i) + 0x5A827999 + rol(v, 5); \ v 560 modules/sha1.c #define R1(v,w,x,y,z,i) \ v 561 modules/sha1.c z += ((w & (x ^ y)) ^ y) + blk(i) + 0x5A827999 + rol(v, 5); \ v 563 modules/sha1.c #define R2(v,w,x,y,z,i) \ v 564 modules/sha1.c z += (w ^ x ^ y) + blk(i) + 0x6ED9EBA1 + rol(v, 5); w = rol(w, 30); v 565 modules/sha1.c #define R3(v,w,x,y,z,i) \ v 566 modules/sha1.c z += (((w | x) & y) | (w & x)) + blk(i) + 0x8F1BBCDC + rol(v, 5); \ v 568 modules/sha1.c #define R4(v,w,x,y,z,i) \ v 569 modules/sha1.c z += (w ^ x ^ y) + blk(i) + 0xCA62C1D6 + rol(v, 5); \ v 675 modules/user_menu_edit.c _version_t v = ANY_VERSION; v 676 modules/user_menu_edit.c flat_hdr* mod = module_preload(fn, fn, v); // Pass fn as both path and name (file browser sends us full path to module) v 243 modules/zebra.c int v, s, x, y, over; v 269 modules/zebra.c for (y=viewport_yoffset, v=viewport_image_offset; y<viewport_yoffset+viewport_height; ++y) { v 276 modules/zebra.c for (x=viewport_xoffset; x<viewport_xoffset+viewport_width; x+=step_x, sx+=step_x, v+=step_v) { v 278 modules/zebra.c yy = img_buf[v+1]; v 284 modules/zebra.c uu = (signed char)img_buf[v]; v 285 modules/zebra.c vv = (signed char)img_buf[v+2]; v 304 modules/zebra.c v += viewport_row_offset; v 351 modules/zebra.c int v, s, x, y, over; v 377 modules/zebra.c for (y=1, v=0; y<=viewport_height; ++y) { v 378 modules/zebra.c for (x=0; x<camera_screen.width; x+=step_x, s+=step_x, v+=step_v) { v 384 modules/zebra.c yy = img_buf[v+1]; v 386 modules/zebra.c uu = (signed char)img_buf[v]; v 387 modules/zebra.c vv = (signed char)img_buf[v+2]; v 612 modules/zebra.c unsigned int v, bitmap_byte; v 648 modules/zebra.c v = y*(viewport_byte_width) + x + x ; //v is the byte number in img-buf 0...480,480+320...960, v 655 modules/zebra.c unsigned int ibuf = *(unsigned int*)(&img_buf[v&0xfffffffc]); v 140 platform/a540/shooting.c char v; v 141 platform/a540/shooting.c _GetPropertyCase(229,&v,sizeof(v)); v 142 platform/a540/shooting.c return v; v 406 platform/generic/wrappers.c int MoveIrisWithAv(short *v) { return _MoveIrisWithAv(v); } v 8 platform/ixus50_sd400/wrappers.c static long v=CAMERA_MAX_DIST; v 9 platform/ixus50_sd400/wrappers.c return (kbd_is_key_pressed(KEY_SHOOT_HALF) || camera_info.state.state_kbd_script_run || shooting_get_common_focus_mode())?v=_GetFocusLensSubjectDistance():v; v 15 platform/ixus50_sd400/wrappers.c static long v=CAMERA_MAX_DIST; v 16 platform/ixus50_sd400/wrappers.c return (kbd_is_key_pressed(KEY_SHOOT_HALF) || camera_info.state.state_kbd_script_run || shooting_get_common_focus_mode())?v=_GetFocusLensSubjectDistanceFromLens():v; v 21 platform/ixus50_sd400/wrappers.c static long v=CAMERA_MAX_DIST; v 22 platform/ixus50_sd400/wrappers.c return (kbd_is_key_pressed(KEY_SHOOT_HALF) || camera_info.state.state_kbd_script_run || shooting_get_common_focus_mode())?v=_GetCurrentTargetDistance():v; v 8 platform/ixus700_sd500/wrappers.c static long v=CAMERA_MAX_DIST; v 9 platform/ixus700_sd500/wrappers.c return (kbd_is_key_pressed(KEY_SHOOT_HALF) || camera_info.state.state_kbd_script_run || shooting_get_common_focus_mode())?v=_GetFocusLensSubjectDistance():v; v 15 platform/ixus700_sd500/wrappers.c static long v=CAMERA_MAX_DIST; v 16 platform/ixus700_sd500/wrappers.c return (kbd_is_key_pressed(KEY_SHOOT_HALF) || camera_info.state.state_kbd_script_run || shooting_get_common_focus_mode())?v=_GetFocusLensSubjectDistanceFromLens():v; v 21 platform/ixus700_sd500/wrappers.c static long v=CAMERA_MAX_DIST; v 22 platform/ixus700_sd500/wrappers.c return (kbd_is_key_pressed(KEY_SHOOT_HALF) || camera_info.state.state_kbd_script_run || shooting_get_common_focus_mode())?v=_GetCurrentTargetDistance():v; v 8 platform/s2is/wrappers.c static long v=CAMERA_MAX_DIST; v 9 platform/s2is/wrappers.c return (kbd_is_key_pressed(KEY_SHOOT_HALF) || camera_info.state.state_kbd_script_run || shooting_get_focus_mode())?v=_GetFocusLensSubjectDistance():v; v 14 platform/s2is/wrappers.c static long v=CAMERA_MAX_DIST; v 15 platform/s2is/wrappers.c return (kbd_is_key_pressed(KEY_SHOOT_HALF) || camera_info.state.state_kbd_script_run || shooting_get_focus_mode())?v=_GetFocusLensSubjectDistanceFromLens():v; v 20 platform/s2is/wrappers.c static long v=CAMERA_MAX_DIST; v 21 platform/s2is/wrappers.c return (kbd_is_key_pressed(KEY_SHOOT_HALF) || camera_info.state.state_kbd_script_run || shooting_get_focus_mode())?v=_GetCurrentTargetDistance():v; v 8 platform/s3is/wrappers.c static long v=CAMERA_MAX_DIST; v 9 platform/s3is/wrappers.c return (!camera_info.state.mode_play && (kbd_is_key_pressed(KEY_SHOOT_HALF) || camera_info.state.state_kbd_script_run || shooting_get_focus_mode()))?v=_GetFocusLensSubjectDistance():v; v 14 platform/s3is/wrappers.c static long v=CAMERA_MAX_DIST; v 15 platform/s3is/wrappers.c return (!camera_info.state.mode_play && (kbd_is_key_pressed(KEY_SHOOT_HALF) || camera_info.state.state_kbd_script_run || shooting_get_focus_mode()))?v=_GetFocusLensSubjectDistanceFromLens():v; v 20 platform/s3is/wrappers.c static long v=CAMERA_MAX_DIST; v 21 platform/s3is/wrappers.c return (!camera_info.state.mode_play && (kbd_is_key_pressed(KEY_SHOOT_HALF) || camera_info.state.state_kbd_script_run || shooting_get_focus_mode()))?v=_GetCurrentTargetDistance():v; v 5 platform/s5is/wrappers.c static long v=CAMERA_MAX_DIST; v 6 platform/s5is/wrappers.c return (kbd_is_key_pressed(KEY_SHOOT_HALF) || camera_info.state.state_kbd_script_run || shooting_get_focus_mode())?v=_GetFocusLensSubjectDistance():v; v 12 platform/s5is/wrappers.c static long v=CAMERA_MAX_DIST; v 13 platform/s5is/wrappers.c return (kbd_is_key_pressed(KEY_SHOOT_HALF) || camera_info.state.state_kbd_script_run || shooting_get_focus_mode())?v=_GetFocusLensSubjectDistanceFromLens():v; v 19 platform/s5is/wrappers.c static long v=CAMERA_MAX_DIST; v 20 platform/s5is/wrappers.c return (kbd_is_key_pressed(KEY_SHOOT_HALF) || camera_info.state.state_kbd_script_run || shooting_get_focus_mode())?v=_GetCurrentTargetDistance():v; v 47 platform/sx700hs/sub/100d/boot.c unsigned v=*(volatile unsigned *)(0x9808); v 49 platform/sx700hs/sub/100d/boot.c if(v & 0x80000){ v 52 platform/sx700hs/sub/100d/boot.c if(v & 0x100000){ v 55 platform/sx700hs/sub/100d/boot.c if(v & 0x200000){ v 58 platform/sx700hs/sub/100d/boot.c if(v & 0x400000){ v 61 platform/sx700hs/sub/100d/boot.c if(v & 0x800000){ v 47 platform/sx700hs/sub/100e/boot.c unsigned v=*(volatile unsigned *)(0x9808); v 49 platform/sx700hs/sub/100e/boot.c if(v & 0x80000){ v 52 platform/sx700hs/sub/100e/boot.c if(v & 0x100000){ v 55 platform/sx700hs/sub/100e/boot.c if(v & 0x200000){ v 58 platform/sx700hs/sub/100e/boot.c if(v & 0x400000){ v 61 platform/sx700hs/sub/100e/boot.c if(v & 0x800000){ v 426 tools/chdk_dasm.c t_value v = fwval(fw,adr2idx(fw,w)); v 427 tools/chdk_dasm.c if (v == 0xE12FFF1E) // BX LR? v 640 tools/finsig_dryos.c int search_saved_sig(firmware *fw, char *sig, int (*func)(firmware*, int, int), int v, int ofst, int len) v 648 tools/finsig_dryos.c int rv = func(fw, k, v); v 2285 tools/finsig_dryos.c uint32_t v = LDR2val(fw,k1); v 2286 tools/finsig_dryos.c if (v>fw->uncached_adr && v<fw->uncached_adr+fw->maxram && (v&3)==0) v 2288 tools/finsig_dryos.c frsp_buf = v; v 4369 tools/finsig_dryos.c char* mode_name(uint16_t v) v 4374 tools/finsig_dryos.c if (mmnames[i].mode == v) v 4489 tools/finsig_dryos.c int match_CAM_UNCACHED_BIT(firmware *fw, int k, __attribute__ ((unused))int v) v 4786 tools/finsig_dryos.c int match_vid_get_bitmap_fb(firmware *fw, int k, __attribute__ ((unused))int v) v 4807 tools/finsig_dryos.c int match_get_flash_params_count(firmware *fw, int k, __attribute__ ((unused))int v) v 4823 tools/finsig_dryos.c int match_uiprop_count(firmware *fw, int k, __attribute__ ((unused))int v) v 4857 tools/finsig_dryos.c int match_imager_active(firmware *fw, int k, __attribute__ ((unused))int v) v 4939 tools/finsig_dryos.c uint32_t v = find_viewport_address(fw,&k); v 4942 tools/finsig_dryos.c bprintf("//void *vid_get_viewport_fb() { return (void*)0x%08x; } // Found @0x%08x\n",v,idx2adr(fw,k)); v 5546 tools/finsig_dryos.c int match_physw_status(firmware *fw, int k, __attribute__ ((unused))int v) v 5556 tools/finsig_dryos.c int match_physw_run(firmware *fw, int k, __attribute__ ((unused))int v) v 5572 tools/finsig_dryos.c int match_canon_menu_active(firmware *fw, int k, __attribute__ ((unused))int v) v 5591 tools/finsig_dryos.c int match_zoom_busy(firmware *fw, int k, __attribute__ ((unused))int v) v 5640 tools/finsig_dryos.c int match_focus_busy(firmware *fw, int k, __attribute__ ((unused))int v) v 5668 tools/finsig_dryos.c int match_bitmap_buffer2(firmware *fw, int k, int v) v 5671 tools/finsig_dryos.c if (isBL(fw,v) && (followBranch(fw,idx2adr(fw,v),0x01000001) == screen_lock) && isBL(fw,v+2) && isBL(fw,v+3)) v 5673 tools/finsig_dryos.c uint32_t fadr = followBranch2(fw,idx2adr(fw,v+3),0x01000001); v 5699 tools/finsig_dryos.c int match_bitmap_buffer(firmware *fw, int k, __attribute__ ((unused))int v) v 5748 tools/finsig_dryos.c int v = LDR2val(fw,j); v 5749 tools/finsig_dryos.c print_stubs_min(fw,"fileio_semaphore",v,idx2adr(fw,j)); v 5758 tools/finsig_dryos.c int match_cameracon_state(firmware *fw, int k, __attribute__ ((unused))int v) v 5832 tools/finsig_dryos.c uint32_t v = LDR2val(fw,k1) - ALUop2(fw,f); v 5833 tools/finsig_dryos.c print_stubs_min(fw,"video_compression_rate",v,idx2adr(fw,k1)); v 6015 tools/finsig_dryos.c uint32_t v = find_viewport_address(fw,&k); v 6018 tools/finsig_dryos.c search_fw(fw, match_viewport_address, v, 0, 1); v 6226 tools/finsig_dryos.c int match_nrflag(firmware *fw, int idx, __attribute__ ((unused))int v) v 6268 tools/finsig_dryos.c int match_nrflag2(firmware *fw, int k, __attribute__ ((unused))int v) v 6778 tools/finsig_dryos.c uint32_t u, v; v 6791 tools/finsig_dryos.c v = LDR2val(fw, i+3); v 6792 tools/finsig_dryos.c bprintf("// ISR flag: 0x%x, pointer to current task's control block: 0x%x\n",u, v); v 6857 tools/finsig_dryos.c v = idx2adr(fw, n); v 6858 tools/finsig_dryos.c bprintf("// pointer to TCB area: 0x%x, found @ 0x%x\n",u,v); v 7404 tools/finsig_dryos.c int match_GetSDProtect(firmware *fw, int k, __attribute__ ((unused))int v) v 3922 tools/finsig_thumb2.c uint32_t v; v 3926 tools/finsig_thumb2.c v=1; v 3929 tools/finsig_thumb2.c v=(ref)?1:0; v 3931 tools/finsig_thumb2.c save_misc_val(rule->name,v,0,ref); v 6623 tools/finsig_thumb2.c physw_table_entry_t v; v 6624 tools/finsig_thumb2.c get_physw_table_entry(fw,tadr,&v); v 6625 tools/finsig_thumb2.c if(v.raw_info == 0 || v.raw_info == 0xFFFFFFFF || v.reg > 2) { v 6641 tools/finsig_thumb2.c physw_table_entry_t v; v 6644 tools/finsig_thumb2.c get_physw_table_entry(fw,tadr,&v); v 6645 tools/finsig_thumb2.c fprintf(f,"0x%08x 0x%08x 0x%08x %-5d 0x%08x %d\n",tadr,v.raw_info,v.ev,v.reg,v.bit,v.no_invert); v 6655 tools/finsig_thumb2.c physw_table_entry_t v; v 6656 tools/finsig_thumb2.c get_physw_table_entry(fw,adr,&v); v 6662 tools/finsig_thumb2.c bprintf("//#define %-20s0x%08x // Found @0x%08x, levent 0x%x%s\n",fn,v.bit,adr,v.ev,v.no_invert?" (non-inverted logic)":""); v 6663 tools/finsig_thumb2.c bprintf("//#define %-20s%d\n",rn,v.reg); v 6701 tools/finsig_thumb2.c physw_table_entry_t v; v 6702 tools/finsig_thumb2.c get_physw_table_entry(fw,adr,&v); v 6704 tools/finsig_thumb2.c add_kinfo(v.reg,v.bit|xtra,name,adr,v.ev,(v.no_invert)?0:1); v 6705 tools/finsig_thumb2.c return v.bit; v 602 tools/finsig_vxworks.c int search_saved_sig(firmware *fw, char *sig, int (*func)(firmware*, int, int), int v, int ofst, int len) v 610 tools/finsig_vxworks.c int rv = func(fw, k, v); v 3351 tools/finsig_vxworks.c char* mode_name(uint16_t v) v 3356 tools/finsig_vxworks.c if (mmnames[i].mode == v) v 3805 tools/finsig_vxworks.c int match_vid_get_bitmap_fb(firmware *fw, int k, __attribute__ ((unused))int v) v 3826 tools/finsig_vxworks.c int match_get_flash_params_count(firmware *fw, int k, __attribute__ ((unused))int v) v 3847 tools/finsig_vxworks.c int match_uiprop_count(firmware *fw, int k, __attribute__ ((unused))int v) v 3903 tools/finsig_vxworks.c int match_imager_active(firmware *fw, int k, __attribute__ ((unused))int v) v 4575 tools/finsig_vxworks.c int match_physw_status(firmware *fw, int k, __attribute__ ((unused))int v) v 4585 tools/finsig_vxworks.c int match_physw_run(firmware *fw, int k, __attribute__ ((unused))int v) v 4601 tools/finsig_vxworks.c int match_canon_menu_active(firmware *fw, int k, __attribute__ ((unused))int v) v 4620 tools/finsig_vxworks.c int match_zoom_busy(firmware *fw, int k, __attribute__ ((unused))int v) v 4669 tools/finsig_vxworks.c int match_focus_busy(firmware *fw, int k, __attribute__ ((unused))int v) v 4697 tools/finsig_vxworks.c int match_bitmap_buffer2(firmware *fw, int k, int v) v 4700 tools/finsig_vxworks.c if (isBL(fw,v) && (followBranch(fw,idx2adr(fw,v),0x01000001) == screen_lock) && isBL(fw,v+2) && isBL(fw,v+3)) v 4702 tools/finsig_vxworks.c uint32_t fadr = followBranch2(fw,idx2adr(fw,v+3),0x01000001); v 4728 tools/finsig_vxworks.c int match_bitmap_buffer(firmware *fw, int k, __attribute__ ((unused))int v) v 4764 tools/finsig_vxworks.c int match_cameracon_state(firmware *fw, int k, __attribute__ ((unused))int v) v 4820 tools/finsig_vxworks.c uint32_t v = LDR2val(fw,k1); v 4821 tools/finsig_vxworks.c if (v>uncached_adr && v<uncached_adr+fw->maxram && (v&3)==0) v 4823 tools/finsig_vxworks.c frsp_buf = v; v 4852 tools/finsig_vxworks.c uint32_t v = LDR2val(fw,ka); v 4853 tools/finsig_vxworks.c if (v>uncached_adr && v<uncached_adr+fw->maxram && (v&3)==0) v 4855 tools/finsig_vxworks.c frsp_buf = v; v 5291 tools/finsig_vxworks.c int match_nrflag(firmware *fw, int idx, __attribute__ ((unused))int v) v 5333 tools/finsig_vxworks.c int match_nrflag2(firmware *fw, int k, __attribute__ ((unused))int v) v 5604 tools/finsig_vxworks.c int match_GetSDProtect(firmware *fw, int k, __attribute__ ((unused))int v) v 1394 tools/firmware_load_ng.c uint32_t v=ADRx2adr(fw,fw->is->insn); // assumes ADR doesn't generate 0, probably safe v 1395 tools/firmware_load_ng.c if(v) { v 1396 tools/firmware_load_ng.c res[rd_i] += v; v 269 tools/gensig_dryos.c int bits (uint32_t v) { v 273 tools/gensig_dryos.c res+=(v>>i)&1; v 263 tools/gensig_vxworks.c int bits (uint32_t v) { v 267 tools/gensig_vxworks.c res+=(v>>i)&1; v 372 tools/ghidra_scripts/datatypes/fw_functions.h __stdcall int CreateBinarySemaphore(char *name, int v); v 396 tools/ghidra_scripts/datatypes/fw_functions.h __stdcall int CreateEventFlag(const char *name/*?*/, int v); v 397 tools/ghidra_scripts/datatypes/fw_functions.h __stdcall int CreateEventFlagStrictly(const char *name/*?*/, int v); v 398 tools/ghidra_scripts/datatypes/fw_functions.h __stdcall int CreateBinarySemaphoreStrictly(const char *name, int v); v 399 tools/ghidra_scripts/datatypes/fw_functions.h __stdcall int CreateCountingSemaphore(const char *name, int v); v 400 tools/ghidra_scripts/datatypes/fw_functions.h __stdcall int CreateCountingSemaphoreStrictly(const char *name, int v); v 401 tools/ghidra_scripts/datatypes/fw_functions.h __stdcall int createsemaphore_low(int v,int type, const char *name); v 405 tools/ghidra_scripts/datatypes/fw_functions.h __stdcall void memset32(void *p, int n, int v); v 460 tools/packfi2/trees.c int v = s->heap[k]; v 469 tools/packfi2/trees.c if (smaller(tree, v, s->heap[j], s->depth)) break; v 477 tools/packfi2/trees.c s->heap[k] = v; v 86 tools/stubs_load.c uint32_t v = 0, n = 0; v 92 tools/stubs_load.c v += n; v 99 tools/stubs_load.c sscanf(val,"%d",&v); v 102 tools/stubs_load.c p->val = v; v 288 tools/stubs_load.c int v, d; v 302 tools/stubs_load.c v = atoi(val); v 304 tools/stubs_load.c sv->min_focus_len = (v * 1000) / d; v 307 tools/stubs_load.c v = atoi(val); v 309 tools/stubs_load.c sv->max_focus_len = (v * 1000) / d; v 320 tools/stubs_load.c v = atoi(val); v 321 tools/stubs_load.c sv->propset = v; v 36 tools/ubasic_test/camera_functions.c void action_push_delay(int v) v 38 tools/ubasic_test/camera_functions.c printf("*** sleep %d ***\n",v); v 65 tools/ubasic_test/camera_functions.c void shooting_set_tv(int v) v 67 tools/ubasic_test/camera_functions.c tv = v; v 68 tools/ubasic_test/camera_functions.c printf("*** set tv %d ***\n",v); v 71 tools/ubasic_test/camera_functions.c void shooting_set_tv_rel(int v) v 73 tools/ubasic_test/camera_functions.c tv += v; v 74 tools/ubasic_test/camera_functions.c printf("*** set tv rel %d ***\n",v); v 82 tools/ubasic_test/camera_functions.c void shooting_set_av(int v) v 84 tools/ubasic_test/camera_functions.c av = v; v 85 tools/ubasic_test/camera_functions.c printf("*** set av %d ***\n",v); v 88 tools/ubasic_test/camera_functions.c void shooting_set_av_rel(int v) v 90 tools/ubasic_test/camera_functions.c av += v; v 91 tools/ubasic_test/camera_functions.c printf("*** set av rel %d ***\n",v); v 99 tools/ubasic_test/camera_functions.c void shooting_set_zoom(int v) v 101 tools/ubasic_test/camera_functions.c zoom = v; v 102 tools/ubasic_test/camera_functions.c printf("*** set zoom %d ***\n",v); v 105 tools/ubasic_test/camera_functions.c void shooting_set_zoom_rel(int v) v 107 tools/ubasic_test/camera_functions.c zoom += v; v 108 tools/ubasic_test/camera_functions.c printf("*** set zoom rel %d ***\n",v); v 111 tools/ubasic_test/camera_functions.c void shooting_set_zoom_speed(int v) v 113 tools/ubasic_test/camera_functions.c printf("*** set zoom speed %d ***\n",v); v 121 tools/ubasic_test/camera_functions.c void shooting_set_focus(int v) v 123 tools/ubasic_test/camera_functions.c focus = v; v 124 tools/ubasic_test/camera_functions.c printf("*** set focus %d ***\n",v); v 132 tools/ubasic_test/camera_functions.c void shooting_set_iso(int v) v 134 tools/ubasic_test/camera_functions.c iso = v; v 135 tools/ubasic_test/camera_functions.c printf("*** set iso %d ***\n",v); v 204 tools/ubasic_test/camera_functions.c void shooting_set_prop(int id, int v) v 206 tools/ubasic_test/camera_functions.c printf("*** set prop %d %d ***\n",id, v); v 261 tools/ubasic_test/camera_functions.c void shooting_set_user_tv_by_id(int v) v 263 tools/ubasic_test/camera_functions.c printf("*** shooting_set_user_tv_by_id %d ***\n", v); v 266 tools/ubasic_test/camera_functions.c void shooting_set_user_tv_by_id_rel(int v) v 268 tools/ubasic_test/camera_functions.c printf("*** shooting_set_user_tv_by_id_rel %d ***\n", v); v 294 tools/ubasic_test/camera_functions.c void shooting_set_av96(short v,short is_now) v 296 tools/ubasic_test/camera_functions.c printf("*** shooting_set_av96 %d %d ***\n", v, is_now); v 299 tools/ubasic_test/camera_functions.c void shooting_set_av96_direct(short v, short is_now) v 301 tools/ubasic_test/camera_functions.c printf("*** shooting_set_av96_direct %d %d ***\n", v, is_now); v 304 tools/ubasic_test/camera_functions.c void shooting_set_user_av96(short v) v 306 tools/ubasic_test/camera_functions.c printf("*** shooting_set_user_av96 %d ***\n", v); v 309 tools/ubasic_test/camera_functions.c void shooting_set_user_av_by_id(int v) v 311 tools/ubasic_test/camera_functions.c printf("*** shooting_set_user_av_by_id %d ***\n", v); v 314 tools/ubasic_test/camera_functions.c void shooting_set_user_av_by_id_rel(int v) v 316 tools/ubasic_test/camera_functions.c printf("*** shooting_set_user_av_by_id_rel %d ***\n", v); v 384 tools/ubasic_test/camera_functions.c void shooting_set_iso_mode(int v) v 386 tools/ubasic_test/camera_functions.c printf("*** shooting_set_iso_mode %d ***\n", v); v 389 tools/ubasic_test/camera_functions.c void shooting_set_nd_filter_state(short v, short is_now) v 391 tools/ubasic_test/camera_functions.c printf("*** shooting_set_nd_filter_state %d %d ***\n", v, is_now); v 417 tools/ubasic_test/camera_functions.c void shooting_set_tv96(short v, short is_now) v 419 tools/ubasic_test/camera_functions.c printf("*** shooting_set_tv96 %d %d ***\n", v, is_now); v 422 tools/ubasic_test/camera_functions.c void shooting_set_tv96_direct(short v, short is_now) v 424 tools/ubasic_test/camera_functions.c printf("*** shooting_set_tv96_direct %d %d ***\n", v, is_now); v 427 tools/ubasic_test/camera_functions.c void shooting_set_user_tv96(short v) v 429 tools/ubasic_test/camera_functions.c printf("*** shooting_set_user_tv96 %d ***\n", v); v 450 tools/ubasic_test/camera_functions.c void script_print_screen_statement(int v) v 452 tools/ubasic_test/camera_functions.c printf("*** script_print_screensatement %d ***\n", v); v 12 tools/ubasic_test/camera_functions.h void camera_sleep(long v); v 22 tools/ubasic_test/camera_functions.h void shooting_set_prop(int id, int v); v 35 tools/yuvconvert.c static uint8_t clip(int v) { v 36 tools/yuvconvert.c if (v<0) return 0; v 37 tools/yuvconvert.c if (v>255) return 255; v 38 tools/yuvconvert.c return v; v 41 tools/yuvconvert.c void yuv_to_rgb(uint8_t **dest, uint8_t y, int8_t u, int8_t v) v 43 tools/yuvconvert.c *((*dest)++) = clip(((y<<12) + v*5743 + 2048)>>12); v 44 tools/yuvconvert.c *((*dest)++) = clip(((y<<12) - u*1411 - v*2925 + 2048)>>12);