b 31 core/chdk-dir.c #define MIN(a,b) ((a) < (b) ? (a) : (b)) b 32 core/chdk-dir.c #define MAX(a,b) ((a) > (b) ? (a) : (b)) b 132 core/gps_math.c static int min (int a, int b) { b 133 core/gps_math.c return a<b ? a : b; b 121 core/gui_draw.h extern void draw_ellipse(coord xc, coord yc, unsigned int a, unsigned int b, color cl, int flags); b 113 core/gui_menu.c #define MAX(a,b) ((a>=b)?a:b) b 39 core/gui_osd.c int b; //average scene luminance b 86 core/gui_osd.c expo.b=shooting_get_luminance(); b 213 core/gui_osd.c static int b; b 217 core/gui_osd.c twoColors col = user_color(((raw_count > conf.remaining_raw_treshold) || (b <= 6)) ? conf.osd_color : conf.osd_color_warn); b 225 core/gui_osd.c if (++b > 12) b = 0; b 431 core/gui_osd.c if (conf.values_show_luminance) gui_print_osd_misc_string_float("B :%d.%02d", 100, expo.b); b 1093 core/shooting.c int b = (int)(100 * K * pow(2.0,((double)(bv-168)/96.0))); b 1094 core/shooting.c return b; b 255 include/shooting.h extern void change_video_tables(int a, int b); b 92 lib/lang/lang.c char *p, *s, *e, *b; b 136 lib/lang/lang.c b = lang_str(i); b 137 lib/lang/lang.c if (b && b[0]!=0) { b 503 lib/lua/lapi.c LUA_API void lua_pushboolean (lua_State *L, int b) { b 505 lib/lua/lapi.c setbvalue(L->top, (b != 0)); /* ensure that true is 1 */ b 343 lib/lua/lauxlib.c luaL_Buffer b; b 344 lib/lua/lauxlib.c luaL_buffinit(L, &b); b 346 lib/lua/lauxlib.c luaL_addlstring(&b, s, wild - s); /* push prefix */ b 347 lib/lua/lauxlib.c luaL_addstring(&b, r); /* push replacement in place of pattern */ b 350 lib/lua/lauxlib.c luaL_addstring(&b, s); /* push last suffix */ b 351 lib/lua/lauxlib.c luaL_pushresult(&b); b 236 lib/lua/lbaselib.c int b = lua_gc(L, LUA_GCCOUNTB, 0); b 237 lib/lua/lbaselib.c lua_pushnumber(L, res + ((lua_Number)b/1024)); b 264 lib/lua/lcode.c static int boolK (FuncState *fs, int b) { b 266 lib/lua/lcode.c setbvalue(&o, b); b 337 lib/lua/lcode.c static int code_label (FuncState *fs, int A, int b, int jump) { b 339 lib/lua/lcode.c return luaK_codeABC(fs, OP_LOADBOOL, A, b, jump); b 804 lib/lua/lcode.c LUAI_FUNC int luaK_codeABC (FuncState *fs, OpCode o, int a, int b, int c) { b 806 lib/lua/lcode.c lua_assert(getBMode(o) != OpArgN || b == 0); b 808 lib/lua/lcode.c return luaK_code(fs, CREATE_ABC(o, a, b, c), fs->ls->lastline); b 821 lib/lua/lcode.c int b = (tostore == LUA_MULTRET) ? 0 : tostore; b 824 lib/lua/lcode.c luaK_codeABC(fs, OP_SETLIST, base, b, c); b 826 lib/lua/lcode.c luaK_codeABC(fs, OP_SETLIST, base, b, 0); b 326 lib/lua/ldebug.c int b = 0; b 332 lib/lua/ldebug.c b = GETARG_B(i); b 334 lib/lua/ldebug.c check(checkArgMode(pt, b, getBMode(op))); b 339 lib/lua/ldebug.c b = GETARG_Bx(i); b 340 lib/lua/ldebug.c if (getBMode(op) == OpArgK) check(b < pt->sizek); b 344 lib/lua/ldebug.c b = GETARG_sBx(i); b 346 lib/lua/ldebug.c int dest = pc+1+b; b 383 lib/lua/ldebug.c if (a <= reg && reg <= b) b 389 lib/lua/ldebug.c check(b < pt->nups); b 394 lib/lua/ldebug.c check(ttisstring(&pt->k[b])); b 403 lib/lua/ldebug.c check(b < c); /* at least two operands */ b 417 lib/lua/ldebug.c int dest = pc+1+b; b 420 lib/lua/ldebug.c pc += b; /* do the jump */ b 425 lib/lua/ldebug.c if (b != 0) { b 426 lib/lua/ldebug.c checkreg(pt, a+b-1); b 438 lib/lua/ldebug.c b--; /* b = num. returns */ b 439 lib/lua/ldebug.c if (b > 0) checkreg(pt, a+b-1); b 443 lib/lua/ldebug.c if (b > 0) checkreg(pt, a + b); b 452 lib/lua/ldebug.c check(b < pt->sizep); b 453 lib/lua/ldebug.c nup = pt->p[b]->nups; b 466 lib/lua/ldebug.c b--; b 467 lib/lua/ldebug.c if (b == LUA_MULTRET) check(checkopenop(pt, pc)); b 468 lib/lua/ldebug.c checkreg(pt, a+b-1); b 517 lib/lua/ldebug.c int b = GETARG_B(i); /* move from `b' to `a' */ b 518 lib/lua/ldebug.c if (b < a) b 519 lib/lua/ldebug.c return getobjname(L, ci, b, name); /* get name for `b' */ b 46 lib/lua/ldo.c luai_jmpbuf b; b 26 lib/lua/ldump.c #define DumpMem(b,n,size,D) DumpBlock(b,(n)*(size),D) b 29 lib/lua/ldump.c static void DumpBlock(const void* b, size_t size, DumpState* D) b 34 lib/lua/ldump.c D->status=(*D->writer)(D->L,b,size,D->data); b 55 lib/lua/ldump.c static void DumpVector(const void* b, int n, size_t size, DumpState* D) b 58 lib/lua/ldump.c DumpMem(b,n,size,D); b 280 lib/lua/lfmathlib.c double b = arg(L, 2); b 284 lib/lua/lfmathlib.c r = a * b; b 287 lib/lua/lfmathlib.c r = a / b; b 290 lib/lua/lfmathlib.c r = a + b; b 293 lib/lua/lfmathlib.c r = a - b; b 296 lib/lua/lfmathlib.c r = pow(a, b); b 299 lib/lua/lfmathlib.c r = fmod(a, b); b 342 lib/lua/lfmathlib.c double b = arg(L, 2); b 346 lib/lua/lfmathlib.c r = (a == b); b 349 lib/lua/lfmathlib.c r = (a < b); b 352 lib/lua/lfmathlib.c r = (a <= b); b 30 lib/lua/lgc.h #define bitmask(b) (1<<(b)) b 32 lib/lua/lgc.h #define l_setbit(x,b) setbits(x, bitmask(b)) b 33 lib/lua/lgc.h #define resetbit(x,b) resetbits(x, bitmask(b)) b 34 lib/lua/lgc.h #define testbit(x,b) testbits(x, bitmask(b)) b 350 lib/lua/liolib.c luaL_Buffer b; b 351 lib/lua/liolib.c luaL_buffinit(L, &b); b 354 lib/lua/liolib.c char *p = luaL_prepbuffer(&b); b 356 lib/lua/liolib.c luaL_pushresult(&b); /* close buffer */ b 361 lib/lua/liolib.c luaL_addsize(&b, l); b 363 lib/lua/liolib.c luaL_addsize(&b, l - 1); /* do not include `eol' */ b 364 lib/lua/liolib.c luaL_pushresult(&b); /* close buffer */ b 374 lib/lua/liolib.c luaL_Buffer b; b 375 lib/lua/liolib.c luaL_buffinit(L, &b); b 378 lib/lua/liolib.c char *p = luaL_prepbuffer(&b); b 381 lib/lua/liolib.c luaL_addsize(&b, nr); b 384 lib/lua/liolib.c luaL_pushresult(&b); /* close buffer */ b 52 lib/lua/llex.c Mbuffer *b = ls->buff; b 53 lib/lua/llex.c if (b->n + 1 > b->buffsize) { b 55 lib/lua/llex.c if (b->buffsize >= MAX_SIZET/2) b 57 lib/lua/llex.c newsize = b->buffsize * 2; b 58 lib/lua/llex.c luaZ_resizebuffer(ls->L, b, newsize); b 60 lib/lua/llex.c b->buffer[b->n++] = cast(char, c); b 19 lib/lua/lmem.h #define luaM_reallocv(L,b,on,n,e) \ b 21 lib/lua/lmem.h luaM_realloc_(L, (b), (on)*(e), (n)*(e)) : \ b 24 lib/lua/lmem.h #define luaM_freemem(L, b, s) luaM_realloc_(L, (b), (s), 0) b 25 lib/lua/lmem.h #define luaM_free(L, b) luaM_realloc_(L, (b), sizeof(*(b)), 0) b 26 lib/lua/lmem.h #define luaM_freearray(L, b, n, t) luaM_reallocv(L, (b), n, 0, sizeof(t)) b 63 lib/lua/lobject.h int b; b 100 lib/lua/lobject.h #define bvalue(o) check_exp(ttisboolean(o), (o)->value.b) b 126 lib/lua/lobject.h { TValue *i_o=(obj); i_o->value.b=(x); i_o->tt=LUA_TBOOLEAN; } b 59 lib/lua/lopcodes.c #define opmode(t,a,b,c,m) (((t)<<7) | ((a)<<6) | ((b)<<4) | ((c)<<2) | (m)) b 89 lib/lua/lopcodes.h #define SETARG_B(i,b) ((i) = (((i)&MASK0(SIZE_B,POS_B)) | \ b 90 lib/lua/lopcodes.h ((cast(Instruction, b)<<POS_B)&MASK1(SIZE_B,POS_B)))) b 93 lib/lua/lopcodes.h #define SETARG_C(i,b) ((i) = (((i)&MASK0(SIZE_C,POS_C)) | \ b 94 lib/lua/lopcodes.h ((cast(Instruction, b)<<POS_C)&MASK1(SIZE_C,POS_C)))) b 97 lib/lua/lopcodes.h #define SETARG_Bx(i,b) ((i) = (((i)&MASK0(SIZE_Bx,POS_Bx)) | \ b 98 lib/lua/lopcodes.h ((cast(Instruction, b)<<POS_Bx)&MASK1(SIZE_Bx,POS_Bx)))) b 101 lib/lua/lopcodes.h #define SETARG_sBx(i,b) SETARG_Bx((i),cast(unsigned int, (b)+MAXARG_sBx)) b 104 lib/lua/lopcodes.h #define CREATE_ABC(o,a,b,c) ((cast(Instruction, o)<<POS_OP) \ b 106 lib/lua/lopcodes.h | (cast(Instruction, b)<<POS_B) \ b 167 lib/lua/loslib.c luaL_Buffer b; b 169 lib/lua/loslib.c luaL_buffinit(L, &b); b 172 lib/lua/loslib.c luaL_addchar(&b, *s); b 178 lib/lua/loslib.c luaL_addlstring(&b, buff, reslen); b 181 lib/lua/loslib.c luaL_pushresult(&b); b 1166 lib/lua/lparser.c expdesc v, b; b 1172 lib/lua/lparser.c body(ls, &b, 0, ls->linenumber); b 1173 lib/lua/lparser.c luaK_storevar(fs, &v, &b); b 1215 lib/lua/lparser.c expdesc v, b; b 1218 lib/lua/lparser.c body(ls, &b, needself, line); b 1219 lib/lua/lparser.c luaK_storevar(ls->fs, &v, &b); b 59 lib/lua/lstrlib.c luaL_Buffer b; b 61 lib/lua/lstrlib.c luaL_buffinit(L, &b); b 62 lib/lua/lstrlib.c while (l--) luaL_addchar(&b, s[l]); b 63 lib/lua/lstrlib.c luaL_pushresult(&b); b 71 lib/lua/lstrlib.c luaL_Buffer b; b 73 lib/lua/lstrlib.c luaL_buffinit(L, &b); b 75 lib/lua/lstrlib.c luaL_addchar(&b, tolower(uchar(s[i]))); b 76 lib/lua/lstrlib.c luaL_pushresult(&b); b 84 lib/lua/lstrlib.c luaL_Buffer b; b 86 lib/lua/lstrlib.c luaL_buffinit(L, &b); b 88 lib/lua/lstrlib.c luaL_addchar(&b, toupper(uchar(s[i]))); b 89 lib/lua/lstrlib.c luaL_pushresult(&b); b 95 lib/lua/lstrlib.c luaL_Buffer b; b 98 lib/lua/lstrlib.c luaL_buffinit(L, &b); b 100 lib/lua/lstrlib.c luaL_addlstring(&b, s, l); b 101 lib/lua/lstrlib.c luaL_pushresult(&b); b 128 lib/lua/lstrlib.c luaL_Buffer b; b 129 lib/lua/lstrlib.c luaL_buffinit(L, &b); b 133 lib/lua/lstrlib.c luaL_addchar(&b, uchar(c)); b 135 lib/lua/lstrlib.c luaL_pushresult(&b); b 140 lib/lua/lstrlib.c static int writer (lua_State *L, const void* b, size_t size, void* B) { b 142 lib/lua/lstrlib.c luaL_addlstring((luaL_Buffer*) B, (const char *)b, size); b 148 lib/lua/lstrlib.c luaL_Buffer b; b 151 lib/lua/lstrlib.c luaL_buffinit(L,&b); b 152 lib/lua/lstrlib.c if (lua_dump(L, writer, &b) != 0) b 154 lib/lua/lstrlib.c luaL_pushresult(&b); b 287 lib/lua/lstrlib.c int b = *p; b 294 lib/lua/lstrlib.c else if (*s == b) cont++; b 590 lib/lua/lstrlib.c static void add_s (MatchState *ms, luaL_Buffer *b, const char *s, b 596 lib/lua/lstrlib.c luaL_addchar(b, news[i]); b 600 lib/lua/lstrlib.c luaL_addchar(b, news[i]); b 602 lib/lua/lstrlib.c luaL_addlstring(b, s, e - s); b 605 lib/lua/lstrlib.c luaL_addvalue(b); /* add capture to accumulated result */ b 612 lib/lua/lstrlib.c static void add_value (MatchState *ms, luaL_Buffer *b, const char *s, b 618 lib/lua/lstrlib.c add_s(ms, b, s, e); b 640 lib/lua/lstrlib.c luaL_addvalue(b); /* add result to accumulator */ b 653 lib/lua/lstrlib.c luaL_Buffer b; b 657 lib/lua/lstrlib.c luaL_buffinit(L, &b); b 667 lib/lua/lstrlib.c add_value(&ms, &b, src, e); b 672 lib/lua/lstrlib.c luaL_addchar(&b, *src++); b 676 lib/lua/lstrlib.c luaL_addlstring(&b, src, ms.src_end-src); b 677 lib/lua/lstrlib.c luaL_pushresult(&b); b 696 lib/lua/lstrlib.c static void addquoted (lua_State *L, luaL_Buffer *b, int arg) { b 699 lib/lua/lstrlib.c luaL_addchar(b, '"'); b 703 lib/lua/lstrlib.c luaL_addchar(b, '\\'); b 704 lib/lua/lstrlib.c luaL_addchar(b, *s); b 708 lib/lua/lstrlib.c luaL_addlstring(b, "\\r", 2); b 712 lib/lua/lstrlib.c luaL_addlstring(b, "\\000", 4); b 716 lib/lua/lstrlib.c luaL_addchar(b, *s); b 722 lib/lua/lstrlib.c luaL_addchar(b, '"'); b 762 lib/lua/lstrlib.c luaL_Buffer b; b 763 lib/lua/lstrlib.c luaL_buffinit(L, &b); b 766 lib/lua/lstrlib.c luaL_addchar(&b, *strfrmt++); b 768 lib/lua/lstrlib.c luaL_addchar(&b, *strfrmt++); /* %% */ b 796 lib/lua/lstrlib.c addquoted(L, &b, arg); b 806 lib/lua/lstrlib.c luaL_addvalue(&b); b 819 lib/lua/lstrlib.c luaL_addlstring(&b, buff, strlen(buff)); b 822 lib/lua/lstrlib.c luaL_pushresult(&b); b 135 lib/lua/ltablib.c static void addfield (lua_State *L, luaL_Buffer *b, int i) { b 140 lib/lua/ltablib.c luaL_addvalue(b); b 145 lib/lua/ltablib.c luaL_Buffer b; b 152 lib/lua/ltablib.c luaL_buffinit(L, &b); b 154 lib/lua/ltablib.c addfield(L, &b, i); b 155 lib/lua/ltablib.c luaL_addlstring(&b, sep, lsep); b 158 lib/lua/ltablib.c addfield(L, &b, i); b 159 lib/lua/ltablib.c luaL_pushresult(&b); b 178 lib/lua/ltablib.c static int sort_comp (lua_State *L, int a, int b) { b 183 lib/lua/ltablib.c lua_pushvalue(L, b-2); /* -2 to compensate function and `a' */ b 190 lib/lua/ltablib.c return lua_lessthan(L, a, b); b 179 lib/lua/lua.c char *b = buffer; b 182 lib/lua/lua.c if (lua_readline(L, b, prmt) == 0) b 184 lib/lua/lua.c l = strlen(b); b 185 lib/lua/lua.c if (l > 0 && b[l-1] == '\n') /* line ends with newline? */ b 186 lib/lua/lua.c b[l-1] = '\0'; /* remove it */ b 187 lib/lua/lua.c if (firstline && b[0] == '=') /* first line starts with `=' ? */ b 188 lib/lua/lua.c lua_pushfstring(L, "return %s", b+1); /* change it to `return' */ b 190 lib/lua/lua.c lua_pushstring(L, b); b 191 lib/lua/lua.c lua_freeline(L, b); b 169 lib/lua/lua.h LUA_API void (lua_pushboolean) (lua_State *L, int b); b 301 lib/lua/luaconf.h #define lua_readline(L,b,p) ((void)L, ((b)=readline(p)) != NULL) b 305 lib/lua/luaconf.h #define lua_freeline(L,b) ((void)L, free(b)) b 307 lib/lua/luaconf.h #define lua_readline(L,b,p) \ b 309 lib/lua/luaconf.h fgets(b, LUA_MAXINPUT, stdin) != NULL) /* get line */ b 311 lib/lua/luaconf.h #define lua_freeline(L,b) { (void)L; (void)b; } b 556 lib/lua/luaconf.h #define luai_numadd(a,b) ((a)+(b)) b 557 lib/lua/luaconf.h #define luai_numsub(a,b) ((a)-(b)) b 558 lib/lua/luaconf.h #define luai_nummul(a,b) ((a)*(b)) b 562 lib/lua/luaconf.h #define luai_numdiv(a,b) (chdk_luai_numdiv((a),(b))) b 563 lib/lua/luaconf.h #define luai_nummod(a,b) (chdk_luai_nummod((a),(b))) b 565 lib/lua/luaconf.h #define luai_numdiv(a,b) ((a)/(b)) b 566 lib/lua/luaconf.h #define luai_nummod(a,b) ((a)%(b)) b 569 lib/lua/luaconf.h #define luai_numpow(a,b) (luai_ipow(a,b)) b 571 lib/lua/luaconf.h #define luai_numeq(a,b) ((a)==(b)) b 572 lib/lua/luaconf.h #define luai_numlt(a,b) ((a)<(b)) b 573 lib/lua/luaconf.h #define luai_numle(a,b) ((a)<=(b)) b 650 lib/lua/luaconf.h #define LUAI_THROW(L,c) _longjmp((c)->b, 1) b 651 lib/lua/luaconf.h #define LUAI_TRY(L,c,a) if (_setjmp((c)->b) == 0) { a } b 656 lib/lua/luaconf.h #define LUAI_THROW(L,c) longjmp((c)->b, 1) b 657 lib/lua/luaconf.h #define LUAI_TRY(L,c,a) if (setjmp((c)->b) == 0) { a } b 684 lib/lua/luaconf.h #define lua_tmpnam(b,e) { \ b 685 lib/lua/luaconf.h strcpy(b, "/tmp/lua_XXXXXX"); \ b 686 lib/lua/luaconf.h e = mkstemp(b); \ b 692 lib/lua/luaconf.h #define lua_tmpnam(b,e) { e = (tmpnam(b) == NULL); } b 802 lib/lua/luaconf.h int chdk_luai_numdiv(int a, int b); b 803 lib/lua/luaconf.h int chdk_luai_nummod(int a, int b); b 26 lib/lua/lundump.c Mbuffer* b; b 43 lib/lua/lundump.c #define LoadMem(S,b,n,size) LoadBlock(S,b,(n)*(size)) b 46 lib/lua/lundump.c #define LoadVector(S,b,n,size) LoadMem(S,b,n,size) b 48 lib/lua/lundump.c static void LoadBlock(LoadState* S, void* b, size_t size) b 50 lib/lua/lundump.c size_t r=luaZ_read(S->Z,b,size); b 84 lib/lua/lundump.c char* s=luaZ_openspace(S->L,S->b,size); b 206 lib/lua/lundump.c S.b=buff; b 29 lib/lua/lvm.c LUA_NUMBER luai_ipow(LUA_NUMBER a, LUA_NUMBER b) { b 30 lib/lua/lvm.c if (b < 0) b 32 lib/lua/lvm.c else if (b == 0) b 37 lib/lua/lvm.c if (b & 1) b 39 lib/lua/lvm.c b = b >> 1; b 40 lib/lua/lvm.c if (b == 0) b 336 lib/lua/lvm.c const TValue *b, *c; b 337 lib/lua/lvm.c if ((b = luaV_tonumber(rb, &tempb)) != NULL && b 339 lib/lua/lvm.c lua_Number nb = nvalue(b), nc = nvalue(c); b 444 lib/lua/lvm.c int b = GETARG_B(i); b 445 lib/lua/lvm.c setobj2s(L, ra, cl->upvals[b]->v); b 478 lib/lua/lvm.c int b = GETARG_B(i); b 480 lib/lua/lvm.c sethvalue(L, ra, luaH_new(L, luaO_fb2int(b), luaO_fb2int(c))); b 551 lib/lua/lvm.c int b = GETARG_B(i); b 553 lib/lua/lvm.c Protect(luaV_concat(L, c-b+1, c); luaC_checkGC(L)); b 554 lib/lua/lvm.c setobjs2s(L, RA(i), base+b); b 603 lib/lua/lvm.c int b = GETARG_B(i); b 605 lib/lua/lvm.c if (b != 0) L->top = ra+b; /* else previous instruction set top */ b 624 lib/lua/lvm.c int b = GETARG_B(i); b 625 lib/lua/lvm.c if (b != 0) L->top = ra+b; /* else previous instruction set top */ b 656 lib/lua/lvm.c int b = GETARG_B(i); b 657 lib/lua/lvm.c if (b != 0) L->top = ra+b-1; b 660 lib/lua/lvm.c b = luaD_poscall(L, ra); b 664 lib/lua/lvm.c if (b) L->top = L->ci->top; b 760 lib/lua/lvm.c int b = GETARG_B(i) - 1; b 764 lib/lua/lvm.c if (b == LUA_MULTRET) { b 767 lib/lua/lvm.c b = n; b 770 lib/lua/lvm.c for (j = 0; j < b; j++) { b 63 lib/lua/lzio.c LUAI_FUNC size_t luaZ_read (ZIO *z, void *b, size_t n) { b 69 lib/lua/lzio.c memcpy(b, z->p, m); b 72 lib/lua/lzio.c b = (char *)b + m; b 49 lib/lua/lzio.h LUAI_FUNC size_t luaZ_read (ZIO* z, void* b, size_t n); /* read next n bytes */ b 83 lib/lua/print.c int b=GETARG_B(i); b 95 lib/lua/print.c if (getBMode(o)!=OpArgN) printf(" %d",ISK(b) ? (-1-INDEXK(b)) : b); b 112 lib/lua/print.c printf("\t; %s", (f->sizeupvalues>0) ? getstr(f->upvalues[b]) : "-"); b 131 lib/lua/print.c if (ISK(b) || ISK(c)) b 134 lib/lua/print.c if (ISK(b)) PrintConstant(f,INDEXK(b)); else printf("-"); b 58 modules/cordic_math.c LUALIB_API fixed muldivScaled(fixed a, fixed b, fixed c) { b 61 modules/cordic_math.c int sign = cordic_sign(a) * cordic_sign(b) / cordic_sign(c); b 62 modules/cordic_math.c res = FLOAT(cordic_abs(a)) * FLOAT(cordic_abs(b)) / FLOAT(cordic_abs(c)); b 74 modules/cordic_math.c static fixed mulScaled(fixed a, fixed b) { b 75 modules/cordic_math.c return muldivScaled(a, b, CORDIC_SCALE); b 78 modules/cordic_math.c static fixed divScaled(fixed a, fixed b) { b 79 modules/cordic_math.c return muldivScaled(CORDIC_SCALE, a, b); b 73 modules/cordic_math.h LUALIB_API fixed muldivScaled(fixed a, fixed b, fixed c); b 41 modules/curves.c #define CURVE0( a, b ) (((a) * curve0[b]) >> 12) b 42 modules/curves.c #define CURVE1( a, b ) (((a) * curve1[b]) >> 12) b 43 modules/curves.c #define CURVE2( a, b ) (((a) * curve2[b]) >> 12) b 44 modules/curves.c #define CURVE3( a, b ) (((a) * curve3[b]) >> 12) b 117 modules/firmware_crc.c unsigned b; b 119 modules/firmware_crc.c for(b=0; b < desc->block_count; b++) { b 120 modules/firmware_crc.c gui_browser_progress_show("ROM CRC",100*(b+1)/desc->block_count); b 122 modules/firmware_crc.c if(blocks[b].size != 0) { b 124 modules/firmware_crc.c crc32(blocks[b].start,blocks[b].size,&fw_crc); b 125 modules/firmware_crc.c if(fw_crc != blocks[b].crc) { b 126 modules/firmware_crc.c s += sprintf(s,"%8x ",blocks[b].start); b 75 modules/gui_hexbox.c register unsigned int a,b; b 77 modules/gui_hexbox.c b=0xffffffff^(0xf<<((7-digsel)*4)); b 97 modules/gui_hexbox.c *addr=(a<<((7-digsel)*4))|( *addr&b ); b 55 modules/luascript.c int chdk_luai_numdiv(int a, int b) { b 59 modules/luascript.c if(b) { b 60 modules/luascript.c return a/b; b 68 modules/luascript.c int chdk_luai_nummod(int a, int b) { b 69 modules/luascript.c if(!b) { b 72 modules/luascript.c return a%b; b 1331 modules/luascript.c coord b=luaL_checknumber(L,4); b 1333 modules/luascript.c draw_ellipse(x1,y1,a,b,cl,0); b 1341 modules/luascript.c coord b=luaL_checknumber(L,4); b 1343 modules/luascript.c draw_ellipse(x1,y1,a,b,cl,DRAW_FILLED); b 312 modules/md5.c register u32 a, b, c, d; b 315 modules/md5.c b = buf[1]; b 319 modules/md5.c MD5STEP(F1, a, b, c, d, in[0] + 0xd76aa478, 7); b 320 modules/md5.c MD5STEP(F1, d, a, b, c, in[1] + 0xe8c7b756, 12); b 321 modules/md5.c MD5STEP(F1, c, d, a, b, in[2] + 0x242070db, 17); b 322 modules/md5.c MD5STEP(F1, b, c, d, a, in[3] + 0xc1bdceee, 22); b 323 modules/md5.c MD5STEP(F1, a, b, c, d, in[4] + 0xf57c0faf, 7); b 324 modules/md5.c MD5STEP(F1, d, a, b, c, in[5] + 0x4787c62a, 12); b 325 modules/md5.c MD5STEP(F1, c, d, a, b, in[6] + 0xa8304613, 17); b 326 modules/md5.c MD5STEP(F1, b, c, d, a, in[7] + 0xfd469501, 22); b 327 modules/md5.c MD5STEP(F1, a, b, c, d, in[8] + 0x698098d8, 7); b 328 modules/md5.c MD5STEP(F1, d, a, b, c, in[9] + 0x8b44f7af, 12); b 329 modules/md5.c MD5STEP(F1, c, d, a, b, in[10] + 0xffff5bb1, 17); b 330 modules/md5.c MD5STEP(F1, b, c, d, a, in[11] + 0x895cd7be, 22); b 331 modules/md5.c MD5STEP(F1, a, b, c, d, in[12] + 0x6b901122, 7); b 332 modules/md5.c MD5STEP(F1, d, a, b, c, in[13] + 0xfd987193, 12); b 333 modules/md5.c MD5STEP(F1, c, d, a, b, in[14] + 0xa679438e, 17); b 334 modules/md5.c MD5STEP(F1, b, c, d, a, in[15] + 0x49b40821, 22); b 336 modules/md5.c MD5STEP(F2, a, b, c, d, in[1] + 0xf61e2562, 5); b 337 modules/md5.c MD5STEP(F2, d, a, b, c, in[6] + 0xc040b340, 9); b 338 modules/md5.c MD5STEP(F2, c, d, a, b, in[11] + 0x265e5a51, 14); b 339 modules/md5.c MD5STEP(F2, b, c, d, a, in[0] + 0xe9b6c7aa, 20); b 340 modules/md5.c MD5STEP(F2, a, b, c, d, in[5] + 0xd62f105d, 5); b 341 modules/md5.c MD5STEP(F2, d, a, b, c, in[10] + 0x02441453, 9); b 342 modules/md5.c MD5STEP(F2, c, d, a, b, in[15] + 0xd8a1e681, 14); b 343 modules/md5.c MD5STEP(F2, b, c, d, a, in[4] + 0xe7d3fbc8, 20); b 344 modules/md5.c MD5STEP(F2, a, b, c, d, in[9] + 0x21e1cde6, 5); b 345 modules/md5.c MD5STEP(F2, d, a, b, c, in[14] + 0xc33707d6, 9); b 346 modules/md5.c MD5STEP(F2, c, d, a, b, in[3] + 0xf4d50d87, 14); b 347 modules/md5.c MD5STEP(F2, b, c, d, a, in[8] + 0x455a14ed, 20); b 348 modules/md5.c MD5STEP(F2, a, b, c, d, in[13] + 0xa9e3e905, 5); b 349 modules/md5.c MD5STEP(F2, d, a, b, c, in[2] + 0xfcefa3f8, 9); b 350 modules/md5.c MD5STEP(F2, c, d, a, b, in[7] + 0x676f02d9, 14); b 351 modules/md5.c MD5STEP(F2, b, c, d, a, in[12] + 0x8d2a4c8a, 20); b 353 modules/md5.c MD5STEP(F3, a, b, c, d, in[5] + 0xfffa3942, 4); b 354 modules/md5.c MD5STEP(F3, d, a, b, c, in[8] + 0x8771f681, 11); b 355 modules/md5.c MD5STEP(F3, c, d, a, b, in[11] + 0x6d9d6122, 16); b 356 modules/md5.c MD5STEP(F3, b, c, d, a, in[14] + 0xfde5380c, 23); b 357 modules/md5.c MD5STEP(F3, a, b, c, d, in[1] + 0xa4beea44, 4); b 358 modules/md5.c MD5STEP(F3, d, a, b, c, in[4] + 0x4bdecfa9, 11); b 359 modules/md5.c MD5STEP(F3, c, d, a, b, in[7] + 0xf6bb4b60, 16); b 360 modules/md5.c MD5STEP(F3, b, c, d, a, in[10] + 0xbebfbc70, 23); b 361 modules/md5.c MD5STEP(F3, a, b, c, d, in[13] + 0x289b7ec6, 4); b 362 modules/md5.c MD5STEP(F3, d, a, b, c, in[0] + 0xeaa127fa, 11); b 363 modules/md5.c MD5STEP(F3, c, d, a, b, in[3] + 0xd4ef3085, 16); b 364 modules/md5.c MD5STEP(F3, b, c, d, a, in[6] + 0x04881d05, 23); b 365 modules/md5.c MD5STEP(F3, a, b, c, d, in[9] + 0xd9d4d039, 4); b 366 modules/md5.c MD5STEP(F3, d, a, b, c, in[12] + 0xe6db99e5, 11); b 367 modules/md5.c MD5STEP(F3, c, d, a, b, in[15] + 0x1fa27cf8, 16); b 368 modules/md5.c MD5STEP(F3, b, c, d, a, in[2] + 0xc4ac5665, 23); b 370 modules/md5.c MD5STEP(F4, a, b, c, d, in[0] + 0xf4292244, 6); b 371 modules/md5.c MD5STEP(F4, d, a, b, c, in[7] + 0x432aff97, 10); b 372 modules/md5.c MD5STEP(F4, c, d, a, b, in[14] + 0xab9423a7, 15); b 373 modules/md5.c MD5STEP(F4, b, c, d, a, in[5] + 0xfc93a039, 21); b 374 modules/md5.c MD5STEP(F4, a, b, c, d, in[12] + 0x655b59c3, 6); b 375 modules/md5.c MD5STEP(F4, d, a, b, c, in[3] + 0x8f0ccc92, 10); b 376 modules/md5.c MD5STEP(F4, c, d, a, b, in[10] + 0xffeff47d, 15); b 377 modules/md5.c MD5STEP(F4, b, c, d, a, in[1] + 0x85845dd1, 21); b 378 modules/md5.c MD5STEP(F4, a, b, c, d, in[8] + 0x6fa87e4f, 6); b 379 modules/md5.c MD5STEP(F4, d, a, b, c, in[15] + 0xfe2ce6e0, 10); b 380 modules/md5.c MD5STEP(F4, c, d, a, b, in[6] + 0xa3014314, 15); b 381 modules/md5.c MD5STEP(F4, b, c, d, a, in[13] + 0x4e0811a1, 21); b 382 modules/md5.c MD5STEP(F4, a, b, c, d, in[4] + 0xf7537e82, 6); b 383 modules/md5.c MD5STEP(F4, d, a, b, c, in[11] + 0xbd3af235, 10); b 384 modules/md5.c MD5STEP(F4, c, d, a, b, in[2] + 0x2ad7d2bb, 15); b 385 modules/md5.c MD5STEP(F4, b, c, d, a, in[9] + 0xeb86d391, 21); b 388 modules/md5.c buf[1] += b; b 329 modules/rawhookops.c unsigned short b=luaL_checknumber(L,5); b 340 modules/rawhookops.c set_raw_pixel(x+cfa_offsets[CFA_B][0],y+cfa_offsets[CFA_B][1],b); b 591 modules/sha1.c u32 a, b, c, d, e; b 606 modules/sha1.c b = state[1]; b 611 modules/sha1.c R0(a,b,c,d,e, 0); R0(e,a,b,c,d, 1); R0(d,e,a,b,c, 2); R0(c,d,e,a,b, 3); b 612 modules/sha1.c R0(b,c,d,e,a, 4); R0(a,b,c,d,e, 5); R0(e,a,b,c,d, 6); R0(d,e,a,b,c, 7); b 613 modules/sha1.c R0(c,d,e,a,b, 8); R0(b,c,d,e,a, 9); R0(a,b,c,d,e,10); R0(e,a,b,c,d,11); b 614 modules/sha1.c R0(d,e,a,b,c,12); R0(c,d,e,a,b,13); R0(b,c,d,e,a,14); R0(a,b,c,d,e,15); b 615 modules/sha1.c R1(e,a,b,c,d,16); R1(d,e,a,b,c,17); R1(c,d,e,a,b,18); R1(b,c,d,e,a,19); b 616 modules/sha1.c R2(a,b,c,d,e,20); R2(e,a,b,c,d,21); R2(d,e,a,b,c,22); R2(c,d,e,a,b,23); b 617 modules/sha1.c R2(b,c,d,e,a,24); R2(a,b,c,d,e,25); R2(e,a,b,c,d,26); R2(d,e,a,b,c,27); b 618 modules/sha1.c R2(c,d,e,a,b,28); R2(b,c,d,e,a,29); R2(a,b,c,d,e,30); R2(e,a,b,c,d,31); b 619 modules/sha1.c R2(d,e,a,b,c,32); R2(c,d,e,a,b,33); R2(b,c,d,e,a,34); R2(a,b,c,d,e,35); b 620 modules/sha1.c R2(e,a,b,c,d,36); R2(d,e,a,b,c,37); R2(c,d,e,a,b,38); R2(b,c,d,e,a,39); b 621 modules/sha1.c R3(a,b,c,d,e,40); R3(e,a,b,c,d,41); R3(d,e,a,b,c,42); R3(c,d,e,a,b,43); b 622 modules/sha1.c R3(b,c,d,e,a,44); R3(a,b,c,d,e,45); R3(e,a,b,c,d,46); R3(d,e,a,b,c,47); b 623 modules/sha1.c R3(c,d,e,a,b,48); R3(b,c,d,e,a,49); R3(a,b,c,d,e,50); R3(e,a,b,c,d,51); b 624 modules/sha1.c R3(d,e,a,b,c,52); R3(c,d,e,a,b,53); R3(b,c,d,e,a,54); R3(a,b,c,d,e,55); b 625 modules/sha1.c R3(e,a,b,c,d,56); R3(d,e,a,b,c,57); R3(c,d,e,a,b,58); R3(b,c,d,e,a,59); b 626 modules/sha1.c R4(a,b,c,d,e,60); R4(e,a,b,c,d,61); R4(d,e,a,b,c,62); R4(c,d,e,a,b,63); b 627 modules/sha1.c R4(b,c,d,e,a,64); R4(a,b,c,d,e,65); R4(e,a,b,c,d,66); R4(d,e,a,b,c,67); b 628 modules/sha1.c R4(c,d,e,a,b,68); R4(b,c,d,e,a,69); R4(a,b,c,d,e,70); R4(e,a,b,c,d,71); b 629 modules/sha1.c R4(d,e,a,b,c,72); R4(c,d,e,a,b,73); R4(b,c,d,e,a,74); R4(a,b,c,d,e,75); b 630 modules/sha1.c R4(e,a,b,c,d,76); R4(d,e,a,b,c,77); R4(c,d,e,a,b,78); R4(b,c,d,e,a,79); b 633 modules/sha1.c state[1] += b; b 638 modules/sha1.c a = b = c = d = e = 0; b 14 platform/a1000/sub/100a/movie_rec.c void change_video_tables(int a, int b){ b 16 platform/a1000/sub/100a/movie_rec.c for (i=0;i<24;i++) table[i]=(def_table[i]*a)/b; b 14 platform/a1000/sub/100b/movie_rec.c void change_video_tables(int a, int b){ b 16 platform/a1000/sub/100b/movie_rec.c for (i=0;i<24;i++) table[i]=(def_table[i]*a)/b; b 11 platform/a1000/sub/movie_rec_hdr.c void change_video_tables(int a, int b){ b 13 platform/a1000/sub/movie_rec_hdr.c for (i=0;i<24;i++) table[i]=(def_table[i]*a)/b; b 14 platform/a1100/sub/100c/movie_rec.c void change_video_tables(int a, int b){ b 16 platform/a1100/sub/100c/movie_rec.c for (i=0;i<24;i++) table[i]=(def_table[i]*a)/b; b 11 platform/a1100/sub/movie_rec_hdr.c void change_video_tables(int a, int b){ b 13 platform/a1100/sub/movie_rec_hdr.c for (i=0;i<24;i++) table[i]=(def_table[i]*a)/b; b 3 platform/a1200/sub/100b/movie_rec.c void change_video_tables(__attribute__ ((unused))int a, __attribute__ ((unused))int b) {} b 3 platform/a1200/sub/100c/movie_rec.c void change_video_tables(__attribute__ ((unused))int a, __attribute__ ((unused))int b) {} b 123 platform/a1300/lib.c void _MakeAFScan(__attribute__ ((unused))int *a, __attribute__ ((unused))int b) { b 3 platform/a1300/sub/100b/movie_rec.c void change_video_tables(__attribute__ ((unused))int a, __attribute__ ((unused))int b){} b 3 platform/a1300/sub/100d/movie_rec.c void change_video_tables(__attribute__ ((unused))int a, __attribute__ ((unused))int b){} b 3 platform/a1300/sub/100e/movie_rec.c void change_video_tables(__attribute__ ((unused))int a, __attribute__ ((unused))int b){} b 6 platform/a1400/sub/100b/movie_rec.c void change_video_tables(__attribute__ ((unused))int a, __attribute__ ((unused))int b) {} b 3 platform/a1400/sub/movie_rec_hdr.c void change_video_tables(__attribute__ ((unused))int a, __attribute__ ((unused))int b) {} b 14 platform/a2000/sub/100c/movie_rec.c void change_video_tables(int a, int b){ b 16 platform/a2000/sub/100c/movie_rec.c for (i=0;i<24;i++) table[i]=(def_table[i]*a)/b; b 14 platform/a2100/sub/100a/movie_rec.c void change_video_tables(int a, int b){ b 16 platform/a2100/sub/100a/movie_rec.c for (i=0;i<24;i++) table[i]=(def_table[i]*a)/b; b 11 platform/a2100/sub/movie_rec_hdr.c void change_video_tables(int a, int b){ b 13 platform/a2100/sub/movie_rec_hdr.c for (i=0;i<24;i++) table[i]=(def_table[i]*a)/b; b 6 platform/a2200/sub/100b/movie_rec.c void change_video_tables(__attribute__ ((unused))int a, __attribute__ ((unused))int b) {} b 6 platform/a2200/sub/100d/movie_rec.c void change_video_tables(__attribute__ ((unused))int a, __attribute__ ((unused))int b) {} b 3 platform/a2200/sub/movie_rec_hdr.c void change_video_tables(__attribute__ ((unused))int a, __attribute__ ((unused))int b) {} b 3 platform/a2300/sub/100c/movie_rec.c void change_video_tables(__attribute__ ((unused))int a, __attribute__ ((unused))int b){} b 3 platform/a2300/sub/100e/movie_rec.c void change_video_tables(__attribute__ ((unused))int a, __attribute__ ((unused))int b){} b 3 platform/a2300/sub/100f/movie_rec.c void change_video_tables(__attribute__ ((unused))int a, __attribute__ ((unused))int b){} b 3 platform/a2400/sub/100c/movie_rec.c void change_video_tables(__attribute__ ((unused))int a, __attribute__ ((unused))int b){} b 3 platform/a2400/sub/100d/movie_rec.c void change_video_tables(__attribute__ ((unused))int a, __attribute__ ((unused))int b){} b 3 platform/a2400/sub/100e/movie_rec.c void change_video_tables(__attribute__ ((unused))int a, __attribute__ ((unused))int b){} b 6 platform/a2500/sub/100a/movie_rec.c void change_video_tables(__attribute__ ((unused))int a, __attribute__ ((unused))int b) {} b 3 platform/a2500/sub/movie_rec_hdr.c void change_video_tables(__attribute__ ((unused))int a, __attribute__ ((unused))int b) {} b 6 platform/a2600/sub/100c/movie_rec.c void change_video_tables(__attribute__ ((unused))int a, __attribute__ ((unused))int b) {} b 3 platform/a2600/sub/movie_rec_hdr.c void change_video_tables(__attribute__ ((unused))int a, __attribute__ ((unused))int b) {} b 253 platform/a3000/sub/100b/movie_rec.c void change_video_tables(__attribute__ ((unused))int a, __attribute__ ((unused))int b) {} b 255 platform/a3000/sub/100c/movie_rec.c void change_video_tables(__attribute__ ((unused))int a, __attribute__ ((unused))int b) {} b 254 platform/a3000/sub/100d/movie_rec.c void change_video_tables(__attribute__ ((unused))int a, __attribute__ ((unused))int b) {} b 14 platform/a3100/sub/100a/movie_rec.c void change_video_tables(int a, int b){ b 16 platform/a3100/sub/100a/movie_rec.c for (i=0;i<24;i++) table[i]=(def_table[i]*a)/b; b 14 platform/a3100/sub/100b/movie_rec.c void change_video_tables(int a, int b){ b 16 platform/a3100/sub/100b/movie_rec.c for (i=0;i<24;i++) table[i]=(def_table[i]*a)/b; b 14 platform/a3100/sub/100d/movie_rec.c void change_video_tables(int a, int b){ b 16 platform/a3100/sub/100d/movie_rec.c for (i=0;i<24;i++) table[i]=(def_table[i]*a)/b; b 11 platform/a3100/sub/movie_rec_hdr.c void change_video_tables(int a, int b){ b 13 platform/a3100/sub/movie_rec_hdr.c for (i=0;i<24;i++) table[i]=(def_table[i]*a)/b; b 6 platform/a3200/sub/100a/movie_rec.c void change_video_tables(__attribute__ ((unused))int a, __attribute__ ((unused))int b) {} b 6 platform/a3200/sub/100d/movie_rec.c void change_video_tables(__attribute__ ((unused))int a, __attribute__ ((unused))int b) {} b 3 platform/a3200/sub/movie_rec_hdr.c void change_video_tables(__attribute__ ((unused))int a, __attribute__ ((unused))int b) {} b 3 platform/a3300/sub/100a/movie_rec.c void change_video_tables(__attribute__ ((unused))int a, __attribute__ ((unused))int b) {} b 3 platform/a3300/sub/100d/movie_rec.c void change_video_tables(__attribute__ ((unused))int a, __attribute__ ((unused))int b) {} b 136 platform/a3400/lib.c void _MakeAFScan(__attribute__ ((unused))int *a, __attribute__ ((unused))int b) { b 3 platform/a3400/sub/100f/movie_rec.c void change_video_tables(__attribute__ ((unused))int a, __attribute__ ((unused))int b){} b 3 platform/a3400/sub/101a/movie_rec.c void change_video_tables(__attribute__ ((unused))int a, __attribute__ ((unused))int b){} b 3 platform/a3400/sub/101b/movie_rec.c void change_video_tables(__attribute__ ((unused))int a, __attribute__ ((unused))int b){} b 3 platform/a4000/sub/100c/movie_rec.c void change_video_tables(__attribute__ ((unused))int a, __attribute__ ((unused))int b){} b 3 platform/a4000/sub/101a/movie_rec.c void change_video_tables(__attribute__ ((unused))int a, __attribute__ ((unused))int b){} b 3 platform/a4000/sub/101b/movie_rec.c void change_video_tables(__attribute__ ((unused))int a, __attribute__ ((unused))int b){} b 11 platform/a410/sub/100f/movie_rec.c void change_video_tables(int a, int b){ b 13 platform/a410/sub/100f/movie_rec.c for (i=0;i<9;i++) {table1[i]=(def_table1[i]*a)/b; table2[i]=(def_table2[i]*a)/b;} b 20 platform/a420/sub/100b/movie_rec.c void change_video_tables(int a, int b){ b 22 platform/a420/sub/100b/movie_rec.c for (i=0;i<9;i++) {table1[i]=(def_table1[i]*a)/b; table2[i]=(def_table2[i]*a)/b;} b 11 platform/a430/sub/100b/movie_rec.c void change_video_tables(int a, int b){ b 13 platform/a430/sub/100b/movie_rec.c for (i=0;i<9;i++) {table1[i]=(def_table1[i]*a)/b; table2[i]=(def_table2[i]*a)/b;} b 11 platform/a450/sub/100d/movie_rec.c void change_video_tables(int a, int b){ b 13 platform/a450/sub/100d/movie_rec.c for (i=0;i<9;i++) {table1[i]=(def_table1[i]*a)/b; table2[i]=(def_table2[i]*a)/b;} b 11 platform/a460/sub/100d/movie_rec.c void change_video_tables(int a, int b){ b 13 platform/a460/sub/100d/movie_rec.c for (i=0;i<9;i++) {table1[i]=(def_table1[i]*a)/b; table2[i]=(def_table2[i]*a)/b;} b 14 platform/a470/sub/100e/movie_rec.c void change_video_tables(int a, int b){ b 16 platform/a470/sub/100e/movie_rec.c for (i=0;i<24;i++) table[i]=(def_table[i]*a)/b; b 14 platform/a470/sub/101b/movie_rec.c void change_video_tables(int a, int b){ b 16 platform/a470/sub/101b/movie_rec.c for (i=0;i<24;i++) table[i]=(def_table[i]*a)/b; b 14 platform/a470/sub/102c/movie_rec.c void change_video_tables(int a, int b){ b 16 platform/a470/sub/102c/movie_rec.c for (i=0;i<24;i++) table[i]=(def_table[i]*a)/b; b 11 platform/a470/sub/movie_rec_hdr.c void change_video_tables(int a, int b){ b 13 platform/a470/sub/movie_rec_hdr.c for (i=0;i<24;i++) table[i]=(def_table[i]*a)/b; b 11 platform/a480/sub/100b/movie_rec.c void change_video_tables(int a, int b){ b 13 platform/a480/sub/100b/movie_rec.c for (i=0;i<24;i++) table[i]=(def_table[i]*a)/b; b 14 platform/a490/sub/100d/movie_rec.c void change_video_tables(int a, int b){ b 16 platform/a490/sub/100d/movie_rec.c for (i=0;i<24;i++) table[i]=(def_table[i]*a)/b; b 14 platform/a490/sub/100e/movie_rec.c void change_video_tables(int a, int b){ b 16 platform/a490/sub/100e/movie_rec.c for (i=0;i<24;i++) table[i]=(def_table[i]*a)/b; b 14 platform/a490/sub/100f/movie_rec.c void change_video_tables(int a, int b){ b 16 platform/a490/sub/100f/movie_rec.c for (i=0;i<24;i++) table[i]=(def_table[i]*a)/b; b 11 platform/a490/sub/movie_rec_hdr.c void change_video_tables(int a, int b){ b 13 platform/a490/sub/movie_rec_hdr.c for (i=0;i<24;i++) table[i]=(def_table[i]*a)/b; b 14 platform/a495/sub/100d/movie_rec.c void change_video_tables(int a, int b){ b 16 platform/a495/sub/100d/movie_rec.c for (i=0;i<24;i++) table[i]=(def_table[i]*a)/b; b 14 platform/a495/sub/100e/movie_rec.c void change_video_tables(int a, int b){ b 16 platform/a495/sub/100e/movie_rec.c for (i=0;i<24;i++) table[i]=(def_table[i]*a)/b; b 14 platform/a495/sub/100f/movie_rec.c void change_video_tables(int a, int b){ b 16 platform/a495/sub/100f/movie_rec.c for (i=0;i<24;i++) table[i]=(def_table[i]*a)/b; b 11 platform/a495/sub/movie_rec_hdr.c void change_video_tables(int a, int b){ b 13 platform/a495/sub/movie_rec_hdr.c for (i=0;i<24;i++) table[i]=(def_table[i]*a)/b; b 11 platform/a530/sub/100a/movie_rec.c void change_video_tables(int a, int b){ b 13 platform/a530/sub/100a/movie_rec.c for (i=0;i<9;i++) {table1[i]=(def_table1[i]*a)/b; table2[i]=(def_table2[i]*a)/b;} b 11 platform/a540/sub/100b/movie_rec.c void change_video_tables(int a, int b){ b 13 platform/a540/sub/100b/movie_rec.c for (i=0;i<9;i++) {table1[i]=(def_table1[i]*a)/b; table2[i]=(def_table2[i]*a)/b;} b 11 platform/a550/sub/100c/movie_rec.c void change_video_tables(int a, int b){ b 13 platform/a550/sub/100c/movie_rec.c for (i=0;i<9;i++) {table1[i]=(def_table1[i]*a)/b; table2[i]=(def_table2[i]*a)/b;} b 11 platform/a560/sub/100a/movie_rec.c void change_video_tables(int a, int b){ b 13 platform/a560/sub/100a/movie_rec.c for (i=0;i<9;i++) {table1[i]=(def_table1[i]*a)/b; table2[i]=(def_table2[i]*a)/b;} b 11 platform/a570/sub/100e/movie_rec.c void change_video_tables(int a, int b){ b 13 platform/a570/sub/100e/movie_rec.c for (i=0;i<9;i++) {table1[i]=(def_table1[i]*a)/b; table2[i]=(def_table2[i]*a)/b;} b 11 platform/a570/sub/101a/movie_rec.c void change_video_tables(int a, int b){ b 13 platform/a570/sub/101a/movie_rec.c for (i=0;i<9;i++) {table1[i]=(def_table1[i]*a)/b; table2[i]=(def_table2[i]*a)/b;} b 333 platform/a580/sub/100c/movie_rec.c void change_video_tables(int a, int b){ b 335 platform/a580/sub/100c/movie_rec.c for (i=0;i<24;i++) table[i]=(def_table[i]*a)/b; b 1881 platform/a580/sub/101b/movie_rec.c void change_video_tables(int a, int b){ b 1883 platform/a580/sub/101b/movie_rec.c for (i=0;i<24;i++) table[i]=(def_table[i]*a)/b; b 14 platform/a590/sub/100e/movie_rec.c void change_video_tables(int a, int b){ b 16 platform/a590/sub/100e/movie_rec.c for (i=0;i<24;i++) table[i]=(def_table[i]*a)/b; b 14 platform/a590/sub/101b/movie_rec.c void change_video_tables(int a, int b){ b 16 platform/a590/sub/101b/movie_rec.c for (i=0;i<24;i++) table[i]=(def_table[i]*a)/b; b 11 platform/a590/sub/movie_rec_hdr.c void change_video_tables(int a, int b){ b 13 platform/a590/sub/movie_rec_hdr.c for (i=0;i<24;i++) table[i]=(def_table[i]*a)/b; b 11 platform/a610/sub/100e/movie_rec.c void change_video_tables(int a, int b){ b 13 platform/a610/sub/100e/movie_rec.c for (i=0;i<15;i++) {table1[i]=(def_table1[i]*a)/b; table2[i]=(def_table2[i]*a)/b;} b 11 platform/a610/sub/100f/movie_rec.c void change_video_tables(int a, int b){ b 13 platform/a610/sub/100f/movie_rec.c for (i=0;i<15;i++) {table1[i]=(def_table1[i]*a)/b; table2[i]=(def_table2[i]*a)/b;} b 11 platform/a620/sub/100f/movie_rec.c void change_video_tables(int a, int b){ b 13 platform/a620/sub/100f/movie_rec.c for (i=0;i<15;i++) {table1[i]=(def_table1[i]*a)/b; table2[i]=(def_table2[i]*a)/b;} b 11 platform/a630/sub/100c/movie_rec.c void change_video_tables(int a, int b){ b 13 platform/a630/sub/100c/movie_rec.c for (i=0;i<9;i++) {table1[i]=(def_table1[i]*a)/b; table2[i]=(def_table2[i]*a)/b;} b 11 platform/a640/sub/100b/movie_rec.c void change_video_tables(int a, int b){ b 13 platform/a640/sub/100b/movie_rec.c for (i=0;i<9;i++) {table1[i]=(def_table1[i]*a)/b; table2[i]=(def_table2[i]*a)/b;} b 14 platform/a650/sub/100d/movie_rec.c void change_video_tables(int a, int b){ b 16 platform/a650/sub/100d/movie_rec.c for (i=0;i<24;i++) table[i]=(def_table[i]*a)/b; b 11 platform/a650/sub/movie_rec_hdr.c void change_video_tables(int a, int b){ b 13 platform/a650/sub/movie_rec_hdr.c for (i=0;i<24;i++) table[i]=(def_table[i]*a)/b; b 11 platform/a700/sub/100b/movie_rec.c void change_video_tables(int a, int b){ b 13 platform/a700/sub/100b/movie_rec.c for (i=0;i<9;i++) {table1[i]=(def_table1[i]*a)/b; table2[i]=(def_table2[i]*a)/b;} b 11 platform/a710/sub/100a/movie_rec.c void change_video_tables(int a, int b){ b 13 platform/a710/sub/100a/movie_rec.c for (i=0;i<9;i++) {table1[i]=(def_table1[i]*a)/b; table2[i]=(def_table2[i]*a)/b;} b 14 platform/a720/sub/100c/movie_rec.c void change_video_tables(int a, int b){ b 16 platform/a720/sub/100c/movie_rec.c for (i=0;i<24;i++) table[i]=(def_table[i]*a)/b; b 11 platform/a720/sub/movie_rec_hdr.c void change_video_tables(int a, int b){ b 13 platform/a720/sub/movie_rec_hdr.c for (i=0;i<24;i++) table[i]=(def_table[i]*a)/b; b 14 platform/a800/sub/100b/movie_rec.c void change_video_tables(int a, int b){ b 16 platform/a800/sub/100b/movie_rec.c for (i=0;i<24;i++) table[i]=(def_table[i]*a)/b; b 14 platform/a800/sub/100c/movie_rec.c void change_video_tables(int a, int b){ b 16 platform/a800/sub/100c/movie_rec.c for (i=0;i<24;i++) table[i]=(def_table[i]*a)/b; b 11 platform/a800/sub/movie_rec_hdr.c void change_video_tables(int a, int b){ b 13 platform/a800/sub/movie_rec_hdr.c for (i=0;i<24;i++) table[i]=(def_table[i]*a)/b; b 123 platform/a810/lib.c void _MakeAFScan(__attribute__ ((unused))int *a, __attribute__ ((unused))int b) { b 3 platform/a810/sub/100b/movie_rec.c void change_video_tables(__attribute__ ((unused))int a, __attribute__ ((unused))int b){} b 3 platform/a810/sub/100d/movie_rec.c void change_video_tables(__attribute__ ((unused))int a, __attribute__ ((unused))int b){} b 3 platform/a810/sub/100e/movie_rec.c void change_video_tables(__attribute__ ((unused))int a, __attribute__ ((unused))int b){} b 4 platform/d10/sub/100a/movie_rec.c void change_video_tables(__attribute__ ((unused))int a, __attribute__ ((unused))int b) {} b 3 platform/d20/sub/100b/movie_rec.c void change_video_tables(__attribute__ ((unused))int a, __attribute__ ((unused))int b) {} b 6 platform/d30/sub/100a/movie_rec.c void change_video_tables(__attribute__ ((unused))int a, __attribute__ ((unused))int b) {} b 3 platform/d30/sub/movie_rec_hdr.c void change_video_tables(__attribute__ ((unused))int a, __attribute__ ((unused))int b) {} b 6 platform/g10/sub/102a/movie_rec.c void change_video_tables(__attribute__ ((unused))int a, __attribute__ ((unused))int b) {} b 6 platform/g10/sub/103b/movie_rec.c void change_video_tables(__attribute__ ((unused))int a, __attribute__ ((unused))int b) {} b 6 platform/g10/sub/104a/movie_rec.c void change_video_tables(__attribute__ ((unused))int a, __attribute__ ((unused))int b) {} b 3 platform/g10/sub/movie_rec_hdr.c void change_video_tables(__attribute__ ((unused))int a, __attribute__ ((unused))int b) {} b 382 platform/g11/sub/100f/movie_rec.c void change_video_tables(__attribute__ ((unused))int a, __attribute__ ((unused))int b){ b 385 platform/g11/sub/100j/movie_rec.c void change_video_tables(__attribute__ ((unused))int a, __attribute__ ((unused))int b){ b 385 platform/g11/sub/100l/movie_rec.c void change_video_tables(__attribute__ ((unused))int a, __attribute__ ((unused))int b){ b 102 platform/g12/lib.c int b = (active_viewport_buffer-1)&3; b 103 platform/g12/lib.c if ((b == 3) && camera_info.state.mode_video) b 104 platform/g12/lib.c b = 2; // Video only seems to use the first 3 viewport buffers. b 107 platform/g12/lib.c return viewport_buffers[b]; b 6 platform/g12/sub/100c/movie_rec.c void change_video_tables(__attribute__ ((unused))int a, __attribute__ ((unused))int b) {} b 6 platform/g12/sub/100e/movie_rec.c void change_video_tables(__attribute__ ((unused))int a, __attribute__ ((unused))int b) {} b 6 platform/g12/sub/100f/movie_rec.c void change_video_tables(__attribute__ ((unused))int a, __attribute__ ((unused))int b) {} b 6 platform/g12/sub/100g/movie_rec.c void change_video_tables(__attribute__ ((unused))int a, __attribute__ ((unused))int b) {} b 3 platform/g12/sub/movie_rec_hdr.c void change_video_tables(__attribute__ ((unused))int a, __attribute__ ((unused))int b) {} b 6 platform/g15/sub/100b/movie_rec.c void change_video_tables(__attribute__ ((unused))int a, __attribute__ ((unused))int b) {} b 6 platform/g15/sub/100e/movie_rec.c void change_video_tables(__attribute__ ((unused))int a, __attribute__ ((unused))int b) {} b 3 platform/g15/sub/movie_rec_hdr.c void change_video_tables(__attribute__ ((unused))int a, __attribute__ ((unused))int b) {} b 101 platform/g1x/lib.c int b = (active_viewport_buffer-1)&3; b 102 platform/g1x/lib.c if ((b == 3) && (camera_info.state.mode_video || ((camera_info.state.mode & MODE_SHOOTING_MASK) == MODE_VIDEO_MOVIE_DIGEST) || is_video_recording())) b 103 platform/g1x/lib.c b = 2; // Video only seems to use the first 3 viewport buffers. b 106 platform/g1x/lib.c return viewport_buffers[b]; b 6 platform/g1x/sub/100e/movie_rec.c void change_video_tables(__attribute__ ((unused))int a, __attribute__ ((unused))int b) {} b 6 platform/g1x/sub/100f/movie_rec.c void change_video_tables(__attribute__ ((unused))int a, __attribute__ ((unused))int b) {} b 6 platform/g1x/sub/100g/movie_rec.c void change_video_tables(__attribute__ ((unused))int a, __attribute__ ((unused))int b) {} b 6 platform/g1x/sub/101a/movie_rec.c void change_video_tables(__attribute__ ((unused))int a, __attribute__ ((unused))int b) {} b 3 platform/g1x/sub/movie_rec_hdr.c void change_video_tables(__attribute__ ((unused))int a, __attribute__ ((unused))int b) {} b 6 platform/g5x/sub/100c/movie_rec.c void change_video_tables(__attribute__ ((unused))int a, __attribute__ ((unused))int b) {} b 6 platform/g5x/sub/101a/movie_rec.c void change_video_tables(__attribute__ ((unused))int a, __attribute__ ((unused))int b) {} b 6 platform/g5x/sub/101b/movie_rec.c void change_video_tables(__attribute__ ((unused))int a, __attribute__ ((unused))int b) {} b 6 platform/g5x/sub/101d/movie_rec.c void change_video_tables(__attribute__ ((unused))int a, __attribute__ ((unused))int b) {} b 12 platform/g7/sub/100e/movie_rec.c void change_video_tables(int a, int b){ b 14 platform/g7/sub/100e/movie_rec.c for (i=0;i<12;i++) {table1[i]=(def_table1[i]*a)/b; table2[i]=(def_table2[i]*a)/b;} b 12 platform/g7/sub/100g/movie_rec.c void change_video_tables(int a, int b){ b 14 platform/g7/sub/100g/movie_rec.c for (i=0;i<12;i++) {table1[i]=(def_table1[i]*a)/b; table2[i]=(def_table2[i]*a)/b;} b 12 platform/g7/sub/100i/movie_rec.c void change_video_tables(int a, int b){ b 14 platform/g7/sub/100i/movie_rec.c for (i=0;i<12;i++) {table1[i]=(def_table1[i]*a)/b; table2[i]=(def_table2[i]*a)/b;} b 12 platform/g7/sub/100j/movie_rec.c void change_video_tables(int a, int b){ b 14 platform/g7/sub/100j/movie_rec.c for (i=0;i<12;i++) {table1[i]=(def_table1[i]*a)/b; table2[i]=(def_table2[i]*a)/b;} b 6 platform/g7x2/sub/101a/movie_rec.c void change_video_tables(__attribute__ ((unused))int a, __attribute__ ((unused))int b) {} b 6 platform/g7x2/sub/110b/movie_rec.c void change_video_tables(__attribute__ ((unused))int a, __attribute__ ((unused))int b) {} b 17 platform/g9/sub/100d/movie_rec.c void change_video_tables(int a, int b){ b 19 platform/g9/sub/100d/movie_rec.c for (i=0;i<48;i++) table[i]=(def_table[i]*a)/b; b 17 platform/g9/sub/100g/movie_rec.c void change_video_tables(int a, int b){ b 19 platform/g9/sub/100g/movie_rec.c for (i=0;i<48;i++) table[i]=(def_table[i]*a)/b; b 17 platform/g9/sub/100i/movie_rec.c void change_video_tables(int a, int b){ b 19 platform/g9/sub/100i/movie_rec.c for (i=0;i<48;i++) table[i]=(def_table[i]*a)/b; b 14 platform/g9/sub/movie_rec_hdr.c void change_video_tables(int a, int b){ b 16 platform/g9/sub/movie_rec_hdr.c for (i=0;i<48;i++) table[i]=(def_table[i]*a)/b; b 16 platform/generic/movie_rec.c void change_video_tables(int a, int b) { b 18 platform/generic/movie_rec.c bitrate_multi_b = b; b 20 platform/generic/movie_rec.c void change_video_minbitrate(int a, int b) { b 22 platform/generic/movie_rec.c mbitrate_multi_b = b; b 1425 platform/generic/wrappers.c int b = mbr_buf[0x01C7+(i)*16]; b 1428 platform/generic/wrappers.c partition_start[i] = (((((d<<8) +c)<<8) +b)<<8) +a; b 7 platform/ixus1000_sd4500/sub/100d/movie_rec.c void change_video_tables(__attribute__ ((unused))int a, __attribute__ ((unused))int b) {} b 7 platform/ixus1000_sd4500/sub/100f/movie_rec.c void change_video_tables(__attribute__ ((unused))int a, __attribute__ ((unused))int b) {} b 6 platform/ixus1000_sd4500/sub/101a/movie_rec.c void change_video_tables(__attribute__ ((unused))int a, __attribute__ ((unused))int b) {} b 11 platform/ixus1000_sd4500/sub/102b/movie_rec.c void change_video_tables(__attribute__ ((unused))int a, __attribute__ ((unused))int b) {} b 6 platform/ixus1000_sd4500/sub/102c/movie_rec.c void change_video_tables(__attribute__ ((unused))int a, __attribute__ ((unused))int b) {} b 6 platform/ixus1000_sd4500/sub/102d/movie_rec.c void change_video_tables(__attribute__ ((unused))int a, __attribute__ ((unused))int b) {} b 6 platform/ixus1000_sd4500/sub/102e/movie_rec.c void change_video_tables(__attribute__ ((unused))int a, __attribute__ ((unused))int b) {} b 3 platform/ixus1000_sd4500/sub/movie_rec_hdr.c void change_video_tables(__attribute__ ((unused))int a, __attribute__ ((unused))int b) {} b 6 platform/ixus100_sd780/sub/100b/movie_rec.c void change_video_tables(__attribute__ ((unused))int a, __attribute__ ((unused))int b) {} b 6 platform/ixus100_sd780/sub/100c/movie_rec.c void change_video_tables(__attribute__ ((unused))int a, __attribute__ ((unused))int b) {} b 3 platform/ixus100_sd780/sub/movie_rec_hdr.c void change_video_tables(__attribute__ ((unused))int a, __attribute__ ((unused))int b) {} b 11 platform/ixus105_sd1300/sub/100b/movie_rec.c void change_video_tables(int a, int b){ b 13 platform/ixus105_sd1300/sub/100b/movie_rec.c for (i=0;i<24;i++) table[i]=(def_table[i]*a)/b; b 11 platform/ixus105_sd1300/sub/100c/movie_rec.c void change_video_tables(int a, int b){ b 13 platform/ixus105_sd1300/sub/100c/movie_rec.c for (i=0;i<24;i++) table[i]=(def_table[i]*a)/b; b 11 platform/ixus105_sd1300/sub/100d/movie_rec.c void change_video_tables(int a, int b){ b 13 platform/ixus105_sd1300/sub/100d/movie_rec.c for (i=0;i<24;i++) table[i]=(def_table[i]*a)/b; b 4 platform/ixus110_sd960/sub/100b/movie_rec.c void change_video_tables(__attribute__ ((unused))int a, __attribute__ ((unused))int b) {} b 4 platform/ixus110_sd960/sub/101d/movie_rec.c void change_video_tables(__attribute__ ((unused))int a, __attribute__ ((unused))int b) {} b 4 platform/ixus110_sd960/sub/101f/movie_rec.c void change_video_tables(__attribute__ ((unused))int a, __attribute__ ((unused))int b) {} b 112 platform/ixus115_elph100hs/lib.c int b = (active_viewport_buffer-1)&3; b 113 platform/ixus115_elph100hs/lib.c if ((b == 3) && (camera_info.state.mode_video || is_video_recording())) b 114 platform/ixus115_elph100hs/lib.c b = 2; // Video only seems to use the first 3 viewport buffers. b 117 platform/ixus115_elph100hs/lib.c return viewport_buffers[b]; b 171 platform/ixus115_elph100hs/lib.c void _MakeAFScan(__attribute__ ((unused))int *a, __attribute__ ((unused))int b) { b 6 platform/ixus115_elph100hs/sub/100c/movie_rec.c void change_video_tables(__attribute__ ((unused))int a, __attribute__ ((unused))int b) {} b 6 platform/ixus115_elph100hs/sub/101a/movie_rec.c void change_video_tables(__attribute__ ((unused))int a, __attribute__ ((unused))int b) {} b 6 platform/ixus115_elph100hs/sub/101b/movie_rec.c void change_video_tables(__attribute__ ((unused))int a, __attribute__ ((unused))int b) {} b 3 platform/ixus115_elph100hs/sub/movie_rec_hdr.c void change_video_tables(__attribute__ ((unused))int a, __attribute__ ((unused))int b) {} b 8 platform/ixus120_sd940/sub/100e/movie_rec.c void change_video_tables(__attribute__ ((unused))int a, __attribute__ ((unused))int b) {} b 8 platform/ixus120_sd940/sub/101a/movie_rec.c void change_video_tables(__attribute__ ((unused))int a, __attribute__ ((unused))int b) {} b 7 platform/ixus120_sd940/sub/102c/movie_rec.c void change_video_tables(__attribute__ ((unused))int a, __attribute__ ((unused))int b) {} b 8 platform/ixus120_sd940/sub/103b/movie_rec.c void change_video_tables(__attribute__ ((unused))int a, __attribute__ ((unused))int b) {} b 7 platform/ixus120_sd940/sub/103c/movie_rec.c void change_video_tables(__attribute__ ((unused))int a, __attribute__ ((unused))int b) {} b 6 platform/ixus125_elph110hs/sub/100d/movie_rec.c void change_video_tables(__attribute__ ((unused))int a, __attribute__ ((unused))int b) {} b 6 platform/ixus125_elph110hs/sub/100e/movie_rec.c void change_video_tables(__attribute__ ((unused))int a, __attribute__ ((unused))int b) {} b 6 platform/ixus125_elph110hs/sub/101a/movie_rec.c void change_video_tables(__attribute__ ((unused))int a, __attribute__ ((unused))int b) {} b 3 platform/ixus125_elph110hs/sub/movie_rec_hdr.c void change_video_tables(__attribute__ ((unused))int a, __attribute__ ((unused))int b) {} b 6 platform/ixus130_sd1400/sub/100a/movie_rec.c void change_video_tables(__attribute__ ((unused))int a, __attribute__ ((unused))int b) { b 6 platform/ixus130_sd1400/sub/100c/movie_rec.c void change_video_tables(__attribute__ ((unused))int a, __attribute__ ((unused))int b) { b 3 platform/ixus132_elph115/sub/movie_rec_hdr.c void change_video_tables(__attribute__ ((unused))int a, __attribute__ ((unused))int b) {} b 3 platform/ixus135_elph120/sub/movie_rec_hdr.c void change_video_tables(__attribute__ ((unused))int a, __attribute__ ((unused))int b) {} b 3 platform/ixus140_elph130/sub/movie_rec_hdr.c void change_video_tables(__attribute__ ((unused))int a, __attribute__ ((unused))int b) {} b 6 platform/ixus145_elph135/sub/100c/movie_rec.c void change_video_tables(__attribute__ ((unused))int a, __attribute__ ((unused))int b) {} b 3 platform/ixus145_elph135/sub/movie_rec_hdr.c void change_video_tables(__attribute__ ((unused))int a, __attribute__ ((unused))int b) {} b 14 platform/ixus150_elph140/sub/100c/movie_rec.c void change_video_tables(int a, int b) { b 15 platform/ixus150_elph140/sub/100c/movie_rec.c bitrate_multiplier = (a<<2)/b; b 11 platform/ixus150_elph140/sub/movie_rec_hdr.c void change_video_tables(int a, int b) { b 12 platform/ixus150_elph140/sub/movie_rec_hdr.c bitrate_multiplier = (a<<2)/b; b 9 platform/ixus155_elph150/sub/100b/movie_rec.c void change_video_tables(__attribute__ ((unused))int a, __attribute__ ((unused))int b) {} b 6 platform/ixus155_elph150/sub/movie_rec_hdr.c void change_video_tables(__attribute__ ((unused))int a, __attribute__ ((unused))int b) {} b 6 platform/ixus160_elph160/sub/100a/movie_rec.c void change_video_tables(__attribute__ ((unused))int a, __attribute__ ((unused))int b) {} b 3 platform/ixus160_elph160/sub/movie_rec_hdr.c void change_video_tables(__attribute__ ((unused))int a, __attribute__ ((unused))int b) {} b 6 platform/ixus170_elph170/sub/100a/movie_rec.c void change_video_tables(__attribute__ ((unused))int a, __attribute__ ((unused))int b) {} b 3 platform/ixus170_elph170/sub/movie_rec_hdr.c void change_video_tables(__attribute__ ((unused))int a, __attribute__ ((unused))int b) {} b 14 platform/ixus175_elph180/sub/100c/movie_rec.c void change_video_tables(int a, int b) { b 15 platform/ixus175_elph180/sub/100c/movie_rec.c bitrate_multiplier = (a<<2)/b; b 11 platform/ixus175_elph180/sub/movie_rec_hdr.c void change_video_tables(int a, int b) { b 12 platform/ixus175_elph180/sub/movie_rec_hdr.c bitrate_multiplier = (a<<2)/b; b 3 platform/ixus200_sd980/sub/100c/movie_rec.c void change_video_tables(__attribute__ ((unused))int a, __attribute__ ((unused))int b) {} b 3 platform/ixus200_sd980/sub/101c/movie_rec.c void change_video_tables(__attribute__ ((unused))int a, __attribute__ ((unused))int b) {} b 3 platform/ixus200_sd980/sub/101d/movie_rec.c void change_video_tables(__attribute__ ((unused))int a, __attribute__ ((unused))int b) {} b 6 platform/ixus220_elph300hs/sub/100c/movie_rec.c void change_video_tables(__attribute__ ((unused))int a, __attribute__ ((unused))int b) {} b 6 platform/ixus220_elph300hs/sub/101a/movie_rec.c void change_video_tables(__attribute__ ((unused))int a, __attribute__ ((unused))int b) {} b 6 platform/ixus220_elph300hs/sub/101c/movie_rec.c void change_video_tables(__attribute__ ((unused))int a, __attribute__ ((unused))int b) {} b 6 platform/ixus220_elph300hs/sub/101g/movie_rec.c void change_video_tables(__attribute__ ((unused))int a, __attribute__ ((unused))int b) {} b 3 platform/ixus220_elph300hs/sub/movie_rec_hdr.c void change_video_tables(__attribute__ ((unused))int a, __attribute__ ((unused))int b) {} b 3 platform/ixus230_elph310hs/sub/100a/movie_rec.c void change_video_tables(__attribute__ ((unused))int a, __attribute__ ((unused))int b) {} b 3 platform/ixus230_elph310hs/sub/100b/movie_rec.c void change_video_tables(__attribute__ ((unused))int a, __attribute__ ((unused))int b) {} b 3 platform/ixus230_elph310hs/sub/100e/movie_rec.c void change_video_tables(__attribute__ ((unused))int a, __attribute__ ((unused))int b) {} b 352 platform/ixus240_elph320hs/kbd.c static int is_button_displayed(int b, int guiMode, int camMode) b 355 platform/ixus240_elph320hs/kbd.c (keymap[b].grp == 3) && b 356 platform/ixus240_elph320hs/kbd.c (guiMode >= keymap[b].min_gui_mode) && b 357 platform/ixus240_elph320hs/kbd.c (guiMode <= keymap[b].max_gui_mode) && b 358 platform/ixus240_elph320hs/kbd.c (camMode & keymap[b].cam_mode_mask) && b 359 platform/ixus240_elph320hs/kbd.c ((keymap[b].conf_disable == 0) || (*keymap[b].conf_disable == 0)) b 363 platform/ixus240_elph320hs/kbd.c static int is_button_active(int b, int guiMode, int camMode) b 365 platform/ixus240_elph320hs/kbd.c return (is_button_displayed(b, guiMode, camMode) && keymap[b].canonkey); b 6 platform/ixus240_elph320hs/sub/101a/movie_rec.c void change_video_tables(__attribute__ ((unused))int a, __attribute__ ((unused))int b) {} b 6 platform/ixus240_elph320hs/sub/102a/movie_rec.c void change_video_tables(__attribute__ ((unused))int a, __attribute__ ((unused))int b) {} b 3 platform/ixus240_elph320hs/sub/movie_rec_hdr.c void change_video_tables(__attribute__ ((unused))int a, __attribute__ ((unused))int b) {} b 3 platform/ixus255_elph330hs/sub/movie_rec_hdr.c void change_video_tables(__attribute__ ((unused))int a, __attribute__ ((unused))int b) {} b 6 platform/ixus300_sd4000/sub/100d/movie_rec.c void change_video_tables(__attribute__ ((unused))int a, __attribute__ ((unused))int b) { b 19 platform/ixus30_sd200/sub/100k/movie_rec.c void change_video_tables(__attribute__ ((unused))int a, __attribute__ ((unused))int b) { b 128 platform/ixus310_elph500hs/kbd.c static int is_button_displayed(int b, int guiMode, int camMode) b 131 platform/ixus310_elph500hs/kbd.c (keymap[b].grp == 3) && b 132 platform/ixus310_elph500hs/kbd.c (guiMode >= keymap[b].min_gui_mode) && b 133 platform/ixus310_elph500hs/kbd.c (guiMode <= keymap[b].max_gui_mode) && b 134 platform/ixus310_elph500hs/kbd.c (camMode & keymap[b].cam_mode_mask) && b 135 platform/ixus310_elph500hs/kbd.c ((keymap[b].conf_disable == 0) || (*keymap[b].conf_disable == 0)) b 139 platform/ixus310_elph500hs/kbd.c static int is_button_active(int b, int guiMode, int camMode) b 141 platform/ixus310_elph500hs/kbd.c return (is_button_displayed(b, guiMode, camMode) && keymap[b].canonkey); b 89 platform/ixus310_elph500hs/lib.c int b = (active_viewport_buffer-1)&3; b 90 platform/ixus310_elph500hs/lib.c if ((b == 3) && (camera_info.state.mode_video || ((camera_info.state.mode & MODE_SHOOTING_MASK) == MODE_VIDEO_MOVIE_DIGEST) || (get_movie_status()==VIDEO_RECORD_IN_PROGRESS))) b 91 platform/ixus310_elph500hs/lib.c b = 2; // Video only seems to use the first 3 viewport buffers. b 94 platform/ixus310_elph500hs/lib.c return viewport_buffers[b]; b 6 platform/ixus310_elph500hs/sub/100a/movie_rec.c void change_video_tables(__attribute__ ((unused))int a, __attribute__ ((unused))int b) {} b 6 platform/ixus310_elph500hs/sub/101a/movie_rec.c void change_video_tables(__attribute__ ((unused))int a, __attribute__ ((unused))int b) {} b 6 platform/ixus310_elph500hs/sub/101c/movie_rec.c void change_video_tables(__attribute__ ((unused))int a, __attribute__ ((unused))int b) {} b 3 platform/ixus310_elph500hs/sub/movie_rec_hdr.c void change_video_tables(__attribute__ ((unused))int a, __attribute__ ((unused))int b) {} b 25 platform/ixus40_sd300/sub/100j/movie_rec.c void change_video_tables(int a, int b){ b 27 platform/ixus40_sd300/sub/100j/movie_rec.c for (i=0;i<56;i++) table1[i]=(def_table1[i]*a)/b; b 28 platform/ixus40_sd300/sub/100j/movie_rec.c for (i=0;i<12;i++) table2[i]=(def_table2[i]*a)/b; b 22 platform/ixus40_sd300/sub/100k/movie_rec.c void change_video_tables(int a, int b){ b 24 platform/ixus40_sd300/sub/100k/movie_rec.c for (i=0;i<56;i++) table1[i]=(def_table1[i]*a)/b; b 25 platform/ixus40_sd300/sub/100k/movie_rec.c for (i=0;i<12;i++) table2[i]=(def_table2[i]*a)/b; b 17 platform/ixus50_sd400/sub/101a/movie_rec.c void change_video_tables(int a, int b){ b 19 platform/ixus50_sd400/sub/101a/movie_rec.c for (i=0;i<56;i++) table1[i]=(def_table1[i]*a)/b; b 20 platform/ixus50_sd400/sub/101a/movie_rec.c for (i=0;i<12;i++) table2[i]=(def_table2[i]*a)/b; b 17 platform/ixus50_sd400/sub/101b/movie_rec.c void change_video_tables(int a, int b){ b 19 platform/ixus50_sd400/sub/101b/movie_rec.c for (i=0;i<56;i++) table1[i]=(def_table1[i]*a)/b; b 20 platform/ixus50_sd400/sub/101b/movie_rec.c for (i=0;i<12;i++) table2[i]=(def_table2[i]*a)/b; b 17 platform/ixus55_sd450/sub/100b/movie_rec.c void change_video_tables(int a, int b){ b 19 platform/ixus55_sd450/sub/100b/movie_rec.c for (i=0;i<56;i++) table1[i]=(def_table1[i]*a)/b; b 20 platform/ixus55_sd450/sub/100b/movie_rec.c for (i=0;i<12;i++) table2[i]=(def_table2[i]*a)/b; b 17 platform/ixus55_sd450/sub/100c/movie_rec.c void change_video_tables(int a, int b){ b 19 platform/ixus55_sd450/sub/100c/movie_rec.c for (i=0;i<56;i++) table1[i]=(def_table1[i]*a)/b; b 20 platform/ixus55_sd450/sub/100c/movie_rec.c for (i=0;i<12;i++) table2[i]=(def_table2[i]*a)/b; b 17 platform/ixus55_sd450/sub/100d/movie_rec.c void change_video_tables(int a, int b){ b 19 platform/ixus55_sd450/sub/100d/movie_rec.c for (i=0;i<56;i++) table1[i]=(def_table1[i]*a)/b; b 20 platform/ixus55_sd450/sub/100d/movie_rec.c for (i=0;i<12;i++) table2[i]=(def_table2[i]*a)/b; b 141 platform/ixus60_sd600/shooting.c void change_video_tables(__attribute__ ((unused))int a, __attribute__ ((unused))int b) {} b 147 platform/ixus65_sd630/shooting.c void change_video_tables(__attribute__ ((unused))int a, __attribute__ ((unused))int b) {} b 17 platform/ixus700_sd500/sub/101a/movie_rec.c void change_video_tables(int a, int b){ b 19 platform/ixus700_sd500/sub/101a/movie_rec.c for (i=0;i<56;i++) table1[i]=(def_table1[i]*a)/b; b 20 platform/ixus700_sd500/sub/101a/movie_rec.c for (i=0;i<12;i++) table2[i]=(def_table2[i]*a)/b; b 17 platform/ixus700_sd500/sub/101b/movie_rec.c void change_video_tables(int a, int b){ b 19 platform/ixus700_sd500/sub/101b/movie_rec.c for (i=0;i<56;i++) table1[i]=(def_table1[i]*a)/b; b 20 platform/ixus700_sd500/sub/101b/movie_rec.c for (i=0;i<12;i++) table2[i]=(def_table2[i]*a)/b; b 11 platform/ixus70_sd1000/sub/100c/movie_rec.c void change_video_tables(int a, int b){ b 13 platform/ixus70_sd1000/sub/100c/movie_rec.c for (i=0;i<9;i++) {table1[i]=(def_table1[i]*a)/b; table2[i]=(def_table2[i]*a)/b;} b 11 platform/ixus70_sd1000/sub/101b/movie_rec.c void change_video_tables(int a, int b){ b 13 platform/ixus70_sd1000/sub/101b/movie_rec.c for (i=0;i<9;i++) {table1[i]=(def_table1[i]*a)/b; table2[i]=(def_table2[i]*a)/b;} b 11 platform/ixus70_sd1000/sub/102a/movie_rec.c void change_video_tables(int a, int b){ b 13 platform/ixus70_sd1000/sub/102a/movie_rec.c for (i=0;i<9;i++) {table1[i]=(def_table1[i]*a)/b; table2[i]=(def_table2[i]*a)/b;} b 17 platform/ixus750_sd550/sub/100f/movie_rec.c void change_video_tables(int a, int b){ b 19 platform/ixus750_sd550/sub/100f/movie_rec.c for (i=0;i<56;i++) table1[i]=(def_table1[i]*a)/b; b 20 platform/ixus750_sd550/sub/100f/movie_rec.c for (i=0;i<12;i++) table2[i]=(def_table2[i]*a)/b; b 17 platform/ixus750_sd550/sub/100g/movie_rec.c void change_video_tables(int a, int b){ b 19 platform/ixus750_sd550/sub/100g/movie_rec.c for (i=0;i<56;i++) table1[i]=(def_table1[i]*a)/b; b 20 platform/ixus750_sd550/sub/100g/movie_rec.c for (i=0;i<12;i++) table2[i]=(def_table2[i]*a)/b; b 17 platform/ixus750_sd550/sub/100h/movie_rec.c void change_video_tables(int a, int b){ b 19 platform/ixus750_sd550/sub/100h/movie_rec.c for (i=0;i<56;i++) table1[i]=(def_table1[i]*a)/b; b 20 platform/ixus750_sd550/sub/100h/movie_rec.c for (i=0;i<12;i++) table2[i]=(def_table2[i]*a)/b; b 11 platform/ixus75_sd750/sub/100b/movie_rec.c void change_video_tables(int a, int b){ b 13 platform/ixus75_sd750/sub/100b/movie_rec.c for (i=0;i<9;i++) {table1[i]=(def_table1[i]*a)/b; table2[i]=(def_table2[i]*a)/b;} b 11 platform/ixus75_sd750/sub/101a/movie_rec.c void change_video_tables(int a, int b){ b 13 platform/ixus75_sd750/sub/101a/movie_rec.c for (i=0;i<9;i++) {table1[i]=(def_table1[i]*a)/b; table2[i]=(def_table2[i]*a)/b;} b 11 platform/ixus75_sd750/sub/102a/movie_rec.c void change_video_tables(int a, int b){ b 13 platform/ixus75_sd750/sub/102a/movie_rec.c for (i=0;i<9;i++) {table1[i]=(def_table1[i]*a)/b; table2[i]=(def_table2[i]*a)/b;} b 11 platform/ixus800_sd700/sub/100b/movie_rec.c void change_video_tables(int a, int b){ b 13 platform/ixus800_sd700/sub/100b/movie_rec.c for (i=0;i<9;i++) {table1[i]=(def_table1[i]*a)/b; table2[i]=(def_table2[i]*a)/b;} b 11 platform/ixus800_sd700/sub/101b/movie_rec.c void change_video_tables(int a, int b){ b 13 platform/ixus800_sd700/sub/101b/movie_rec.c for (i=0;i<9;i++) {table1[i]=(def_table1[i]*a)/b; table2[i]=(def_table2[i]*a)/b;} b 14 platform/ixus80_sd1100/sub/100c/movie_rec.c void change_video_tables(int a, int b){ b 16 platform/ixus80_sd1100/sub/100c/movie_rec.c for (i=0;i<24;i++) table[i]=(def_table[i]*a)/b; b 14 platform/ixus80_sd1100/sub/101a/movie_rec.c void change_video_tables(int a, int b){ b 16 platform/ixus80_sd1100/sub/101a/movie_rec.c for (i=0;i<24;i++) table[i]=(def_table[i]*a)/b; b 11 platform/ixus80_sd1100/sub/movie_rec_hdr.c void change_video_tables(int a, int b){ b 13 platform/ixus80_sd1100/sub/movie_rec_hdr.c for (i=0;i<24;i++) table[i]=(def_table[i]*a)/b; b 11 platform/ixus850_sd800/sub/100e/movie_rec.c void change_video_tables(int a, int b){ b 13 platform/ixus850_sd800/sub/100e/movie_rec.c for (i=0;i<9;i++) {table1[i]=(def_table1[i]*a)/b; table2[i]=(def_table2[i]*a)/b;} b 16 platform/ixus85_sd770/sub/100a/movie_rec.c void change_video_tables(int a, int b) { b 20 platform/ixus85_sd770/sub/100a/movie_rec.c table[i]=(def_table[i]*a)/b; b 14 platform/ixus860_sd870/sub/100c/movie_rec.c void change_video_tables(int a, int b){ b 16 platform/ixus860_sd870/sub/100c/movie_rec.c for (i=0;i<24;i++) table[i]=(def_table[i]*a)/b; b 11 platform/ixus860_sd870/sub/movie_rec_hdr.c void change_video_tables(int a, int b){ b 13 platform/ixus860_sd870/sub/movie_rec_hdr.c for (i=0;i<24;i++) table[i]=(def_table[i]*a)/b; b 3 platform/ixus870_sd880/sub/100e/movie_rec.c void change_video_tables(__attribute__ ((unused))int a, __attribute__ ((unused))int b) {} b 3 platform/ixus870_sd880/sub/101a/movie_rec.c void change_video_tables(__attribute__ ((unused))int a, __attribute__ ((unused))int b) {} b 3 platform/ixus870_sd880/sub/102b/movie_rec.c void change_video_tables(__attribute__ ((unused))int a, __attribute__ ((unused))int b) {} b 11 platform/ixus900_sd900/sub/100c/movie_rec.c void change_video_tables(int a, int b) { b 14 platform/ixus900_sd900/sub/100c/movie_rec.c table1[i]=(def_table1[i]*a)/b; b 15 platform/ixus900_sd900/sub/100c/movie_rec.c table2[i]=(def_table2[i]*a)/b; b 16 platform/ixus90_sd790/sub/100c/movie_rec.c void change_video_tables(int a, int b) { b 20 platform/ixus90_sd790/sub/100c/movie_rec.c table[i]=(def_table[i]*a)/b; b 16 platform/ixus90_sd790/sub/100d/movie_rec.c void change_video_tables(int a, int b) { b 20 platform/ixus90_sd790/sub/100d/movie_rec.c table[i]=(def_table[i]*a)/b; b 11 platform/ixus950_sd850/sub/100c/movie_rec.c void change_video_tables(int a, int b){ b 13 platform/ixus950_sd850/sub/100c/movie_rec.c for (i=0;i<9;i++) {table1[i]=(def_table1[i]*a)/b; table2[i]=(def_table2[i]*a)/b;} b 14 platform/ixus95_sd1200/sub/100b/movie_rec.c void change_video_tables(int a, int b){ b 16 platform/ixus95_sd1200/sub/100b/movie_rec.c for (i=0;i<24;i++) table[i]=(def_table[i]*a)/b; b 14 platform/ixus95_sd1200/sub/100c/movie_rec.c void change_video_tables(int a, int b){ b 16 platform/ixus95_sd1200/sub/100c/movie_rec.c for (i=0;i<24;i++) table[i]=(def_table[i]*a)/b; b 11 platform/ixus95_sd1200/sub/movie_rec_hdr.c void change_video_tables(int a, int b){ b 13 platform/ixus95_sd1200/sub/movie_rec_hdr.c for (i=0;i<24;i++) table[i]=(def_table[i]*a)/b; b 14 platform/ixus960_sd950/sub/100d/movie_rec.c void change_video_tables(int a, int b){ b 16 platform/ixus960_sd950/sub/100d/movie_rec.c for (i=0;i<24;i++) table[i]=(def_table[i]*a)/b; b 11 platform/ixus960_sd950/sub/movie_rec_hdr.c void change_video_tables(int a, int b){ b 13 platform/ixus960_sd950/sub/movie_rec_hdr.c for (i=0;i<24;i++) table[i]=(def_table[i]*a)/b; b 16 platform/ixus970_sd890/sub/100b/movie_rec.c void change_video_tables(int a, int b) { b 20 platform/ixus970_sd890/sub/100b/movie_rec.c table[i]=(def_table[i]*a)/b; b 16 platform/ixus970_sd890/sub/100c/movie_rec.c void change_video_tables(int a, int b) { b 20 platform/ixus970_sd890/sub/100c/movie_rec.c table[i]=(def_table[i]*a)/b; b 16 platform/ixus970_sd890/sub/100f/movie_rec.c void change_video_tables(int a, int b) { b 20 platform/ixus970_sd890/sub/100f/movie_rec.c table[i]=(def_table[i]*a)/b; b 4 platform/ixus980_sd990/sub/100e/movie_rec.c void change_video_tables(__attribute__ ((unused))int a, __attribute__ ((unused))int b) {} b 4 platform/ixus980_sd990/sub/101b/movie_rec.c void change_video_tables(__attribute__ ((unused))int a, __attribute__ ((unused))int b) {} b 6 platform/ixus990_sd970/sub/100a/movie_rec.c void change_video_tables(__attribute__ ((unused))int a, __attribute__ ((unused))int b) {} b 3 platform/ixus990_sd970/sub/movie_rec_hdr.c void change_video_tables(__attribute__ ((unused))int a, __attribute__ ((unused))int b) {} b 20 platform/ixusizoom_sd30/sub/100g/movie_rec.c void change_video_tables(int a, int b){ b 22 platform/ixusizoom_sd30/sub/100g/movie_rec.c for (i=0;i<56;i++) table1[i]=(def_table1[i]*a)/b; b 23 platform/ixusizoom_sd30/sub/100g/movie_rec.c for (i=0;i<12;i++) table2[i]=(def_table2[i]*a)/b; b 20 platform/ixusizoom_sd30/sub/100h/movie_rec.c void change_video_tables(int a, int b){ b 22 platform/ixusizoom_sd30/sub/100h/movie_rec.c for (i=0;i<56;i++) table1[i]=(def_table1[i]*a)/b; b 23 platform/ixusizoom_sd30/sub/100h/movie_rec.c for (i=0;i<12;i++) table2[i]=(def_table2[i]*a)/b; b 20 platform/ixusw_sd430/sub/110a/movie_rec.c void change_video_tables(int a, int b){ b 22 platform/ixusw_sd430/sub/110a/movie_rec.c for (i=0;i<56;i++) table1[i]=(def_table1[i]*a)/b; b 23 platform/ixusw_sd430/sub/110a/movie_rec.c for (i=0;i<12;i++) table2[i]=(def_table2[i]*a)/b; b 17 platform/ixusw_sd430/sub/movie_rec_hdr.c void change_video_tables(int a, int b){ b 19 platform/ixusw_sd430/sub/movie_rec_hdr.c for (i=0;i<56;i++) table1[i]=(def_table1[i]*a)/b; b 20 platform/ixusw_sd430/sub/movie_rec_hdr.c for (i=0;i<12;i++) table2[i]=(def_table2[i]*a)/b; b 148 platform/n/kbd.c static int is_button_displayed(int b, int guiMode, int camMode) b 151 platform/n/kbd.c (keymap[b].grp == 3) && b 152 platform/n/kbd.c (guiMode >= keymap[b].min_gui_mode) && b 153 platform/n/kbd.c (guiMode <= keymap[b].max_gui_mode) && b 154 platform/n/kbd.c (camMode & keymap[b].cam_mode_mask) && b 155 platform/n/kbd.c ((keymap[b].conf_disable == 0) || (*keymap[b].conf_disable == 0)) b 159 platform/n/kbd.c static int is_button_active(int b, int guiMode, int camMode) b 161 platform/n/kbd.c return is_button_displayed(b, guiMode, camMode); b 7 platform/n/sub/100a/movie_rec.c void change_video_tables(int a, int b){ } b 5 platform/n/sub/movie_rec_hdr.c void change_video_tables(int a, int b){ } b 148 platform/n_facebook/kbd.c static int is_button_displayed(int b, int guiMode, int camMode) b 151 platform/n_facebook/kbd.c (keymap[b].grp == 3) && b 152 platform/n_facebook/kbd.c (guiMode >= keymap[b].min_gui_mode) && b 153 platform/n_facebook/kbd.c (guiMode <= keymap[b].max_gui_mode) && b 154 platform/n_facebook/kbd.c (camMode & keymap[b].cam_mode_mask) && b 155 platform/n_facebook/kbd.c ((keymap[b].conf_disable == 0) || (*keymap[b].conf_disable == 0)) b 159 platform/n_facebook/kbd.c static int is_button_active(int b, int guiMode, int camMode) b 161 platform/n_facebook/kbd.c return is_button_displayed(b, guiMode, camMode); b 7 platform/n_facebook/sub/100a/movie_rec.c void change_video_tables(int a, int b){ } b 5 platform/n_facebook/sub/movie_rec_hdr.c void change_video_tables(int a, int b){ } b 3 platform/s100/sub/100d/movie_rec.c void change_video_tables(__attribute__ ((unused))int a, __attribute__ ((unused))int b) {} b 3 platform/s100/sub/100e/movie_rec.c void change_video_tables(__attribute__ ((unused))int a, __attribute__ ((unused))int b) {} b 3 platform/s100/sub/101a/movie_rec.c void change_video_tables(__attribute__ ((unused))int a, __attribute__ ((unused))int b) {} b 3 platform/s100/sub/101b/movie_rec.c void change_video_tables(__attribute__ ((unused))int a, __attribute__ ((unused))int b) {} b 3 platform/s100/sub/102a/movie_rec.c void change_video_tables(__attribute__ ((unused))int a, __attribute__ ((unused))int b) {} b 6 platform/s110/sub/101b/movie_rec.c void change_video_tables(__attribute__ ((unused))int a, __attribute__ ((unused))int b) {} b 6 platform/s110/sub/102b/movie_rec.c void change_video_tables(__attribute__ ((unused))int a, __attribute__ ((unused))int b) {} b 6 platform/s110/sub/103a/movie_rec.c void change_video_tables(__attribute__ ((unused))int a, __attribute__ ((unused))int b) {} b 3 platform/s110/sub/movie_rec_hdr.c void change_video_tables(__attribute__ ((unused))int a, __attribute__ ((unused))int b) {} b 17 platform/s2is/sub/100e/movie_rec.c void change_video_tables(int a, int b){ b 19 platform/s2is/sub/100e/movie_rec.c for (i=0;i<56;i++) table1[i]=(def_table1[i]*a)/b; b 20 platform/s2is/sub/100e/movie_rec.c for (i=0;i<12;i++) table2[i]=(def_table2[i]*a)/b; b 17 platform/s2is/sub/100f/movie_rec.c void change_video_tables(int a, int b){ b 19 platform/s2is/sub/100f/movie_rec.c for (i=0;i<56;i++) table1[i]=(def_table1[i]*a)/b; b 20 platform/s2is/sub/100f/movie_rec.c for (i=0;i<12;i++) table2[i]=(def_table2[i]*a)/b; b 17 platform/s2is/sub/100g/movie_rec.c void change_video_tables(int a, int b){ b 19 platform/s2is/sub/100g/movie_rec.c for (i=0;i<56;i++) table1[i]=(def_table1[i]*a)/b; b 20 platform/s2is/sub/100g/movie_rec.c for (i=0;i<12;i++) table2[i]=(def_table2[i]*a)/b; b 16 platform/s3is/sub/100a/movie_rec.c void change_video_tables(int a, int b){ b 18 platform/s3is/sub/100a/movie_rec.c for (i=0;i<42;i++) table1[i]=(def_table1[i]*a)/b; b 19 platform/s3is/sub/100a/movie_rec.c for (i=0;i<9; i++) table2[i]=(def_table2[i]*a)/b; b 19 platform/s5is/sub/101a/movie_rec.c void change_video_tables(int a, int b){ b 21 platform/s5is/sub/101a/movie_rec.c for (i=0;i<68;i++) table[i]=(def_table[i]*a)/b; b 19 platform/s5is/sub/101b/movie_rec.c void change_video_tables(int a, int b){ b 21 platform/s5is/sub/101b/movie_rec.c for (i=0;i<68;i++) table[i]=(def_table[i]*a)/b; b 16 platform/s5is/sub/movie_rec_hdr.c void change_video_tables(int a, int b){ b 18 platform/s5is/sub/movie_rec_hdr.c for (i=0;i<68;i++) table[i]=(def_table[i]*a)/b; b 11 platform/s80/sub/100g/movie_rec.c void change_video_tables(int a, int b){ b 13 platform/s80/sub/100g/movie_rec.c for (i=0;i<9;i++) {table1[i]=(def_table1[i]*a)/b; table2[i]=(def_table2[i]*a)/b;} b 11 platform/s80/sub/101b/movie_rec.c void change_video_tables(int a, int b){ b 13 platform/s80/sub/101b/movie_rec.c for (i=0;i<9;i++) {table1[i]=(def_table1[i]*a)/b; table2[i]=(def_table2[i]*a)/b;} b 372 platform/s90/sub/100c/movie_rec.c void change_video_tables(__attribute__ ((unused))int a, __attribute__ ((unused))int b){ b 372 platform/s90/sub/101a/movie_rec.c void change_video_tables(__attribute__ ((unused))int a, __attribute__ ((unused))int b){ b 370 platform/s90/sub/101c/movie_rec.c void change_video_tables(__attribute__ ((unused))int a, __attribute__ ((unused))int b){ b 101 platform/s95/lib.c int b = (active_viewport_buffer-1)&3; b 102 platform/s95/lib.c if ((b == 3) && camera_info.state.mode_video) b 103 platform/s95/lib.c b = 2; // Video only seems to use the first 3 viewport buffers. b 106 platform/s95/lib.c return viewport_buffers[b]; b 21 platform/s95/sub/100e/movie_rec.c void change_video_tables(__attribute__ ((unused))int a, __attribute__ ((unused))int b) {} b 20 platform/s95/sub/100h/movie_rec.c void change_video_tables(__attribute__ ((unused))int a, __attribute__ ((unused))int b) {} b 20 platform/s95/sub/100i/movie_rec.c void change_video_tables(__attribute__ ((unused))int a, __attribute__ ((unused))int b) {} b 20 platform/s95/sub/100k/movie_rec.c void change_video_tables(__attribute__ ((unused))int a, __attribute__ ((unused))int b) {} b 3 platform/sx1/sub/200h/movie_rec.c void change_video_tables(__attribute__ ((unused))int a, __attribute__ ((unused))int b) {} b 3 platform/sx1/sub/201a/movie_rec.c void change_video_tables(__attribute__ ((unused))int a, __attribute__ ((unused))int b) {} b 3 platform/sx10/sub/100c/movie_rec.c void change_video_tables(__attribute__ ((unused))int a, __attribute__ ((unused))int b) {} b 3 platform/sx10/sub/101a/movie_rec.c void change_video_tables(__attribute__ ((unused))int a, __attribute__ ((unused))int b) {} b 3 platform/sx10/sub/101b/movie_rec.c void change_video_tables(__attribute__ ((unused))int a, __attribute__ ((unused))int b) {} b 3 platform/sx10/sub/102b/movie_rec.c void change_video_tables(__attribute__ ((unused))int a, __attribute__ ((unused))int b) {} b 3 platform/sx10/sub/103a/movie_rec.c void change_video_tables(__attribute__ ((unused))int a, __attribute__ ((unused))int b) {} b 14 platform/sx100is/sub/100b/movie_rec.c void change_video_tables(int a, int b){ b 16 platform/sx100is/sub/100b/movie_rec.c for (i=0;i<24;i++) table[i]=(def_table[i]*a)/b; b 14 platform/sx100is/sub/100c/movie_rec.c void change_video_tables(int a, int b){ b 16 platform/sx100is/sub/100c/movie_rec.c for (i=0;i<24;i++) table[i]=(def_table[i]*a)/b; b 11 platform/sx100is/sub/movie_rec_hdr.c void change_video_tables(int a, int b){ b 13 platform/sx100is/sub/movie_rec_hdr.c for (i=0;i<24;i++) table[i]=(def_table[i]*a)/b; b 22 platform/sx110is/sub/100b/movie_rec.c void change_video_tables(int a, int b){ b 24 platform/sx110is/sub/100b/movie_rec.c for (i=0;i<24;i++) table[i]=(def_table[i]*a)/b; b 18 platform/sx120is/sub/100b/movie_rec.c void change_video_tables(int a, int b){ b 20 platform/sx120is/sub/100b/movie_rec.c for (i=0;i<24;i++) table[i]=(def_table[i]*a)/b; b 21 platform/sx130is/sub/101c/movie_rec.c void change_video_tables(__attribute__ ((unused))int a, __attribute__ ((unused))int b) {} b 21 platform/sx130is/sub/101d/movie_rec.c void change_video_tables(__attribute__ ((unused))int a, __attribute__ ((unused))int b) {} b 21 platform/sx130is/sub/101f/movie_rec.c void change_video_tables(__attribute__ ((unused))int a, __attribute__ ((unused))int b) {} b 21 platform/sx150is/sub/100a/movie_rec.c void change_video_tables(__attribute__ ((unused))int a, __attribute__ ((unused))int b) {} b 6 platform/sx160is/sub/100a/movie_rec.c void change_video_tables(__attribute__ ((unused))int a, __attribute__ ((unused))int b) {} b 3 platform/sx160is/sub/movie_rec_hdr.c void change_video_tables(__attribute__ ((unused))int a, __attribute__ ((unused))int b) {} b 3 platform/sx170is/sub/movie_rec_hdr.c void change_video_tables(__attribute__ ((unused))int a, __attribute__ ((unused))int b) {} b 3 platform/sx20/sub/100f/movie_rec.c void change_video_tables(__attribute__ ((unused))int a, __attribute__ ((unused))int b) {} b 3 platform/sx20/sub/102b/movie_rec.c void change_video_tables(__attribute__ ((unused))int a, __attribute__ ((unused))int b) {} b 3 platform/sx20/sub/102d/movie_rec.c void change_video_tables(__attribute__ ((unused))int a, __attribute__ ((unused))int b) {} b 6 platform/sx200is/sub/100c/movie_rec.c void change_video_tables(__attribute__ ((unused))int a, __attribute__ ((unused))int b) {} b 3 platform/sx200is/sub/movie_rec_hdr.c void change_video_tables(__attribute__ ((unused))int a, __attribute__ ((unused))int b) {} b 3 platform/sx210is/sub/100c/movie_rec.c void change_video_tables(__attribute__ ((unused))int a, __attribute__ ((unused))int b) {} b 6 platform/sx220hs/sub/100a/movie_rec.c void change_video_tables(__attribute__ ((unused))int a, __attribute__ ((unused))int b) {} b 6 platform/sx220hs/sub/101a/movie_rec.c void change_video_tables(__attribute__ ((unused))int a, __attribute__ ((unused))int b) {} b 6 platform/sx220hs/sub/101b/movie_rec.c void change_video_tables(__attribute__ ((unused))int a, __attribute__ ((unused))int b) {} b 3 platform/sx220hs/sub/movie_rec_hdr.c void change_video_tables(__attribute__ ((unused))int a, __attribute__ ((unused))int b) {} b 6 platform/sx230hs/sub/100c/movie_rec.c void change_video_tables(__attribute__ ((unused))int a, __attribute__ ((unused))int b) {} b 6 platform/sx230hs/sub/101a/movie_rec.c void change_video_tables(__attribute__ ((unused))int a, __attribute__ ((unused))int b) {} b 6 platform/sx230hs/sub/101b/movie_rec.c void change_video_tables(__attribute__ ((unused))int a, __attribute__ ((unused))int b) {} b 3 platform/sx230hs/sub/movie_rec_hdr.c void change_video_tables(__attribute__ ((unused))int a, __attribute__ ((unused))int b) {} b 6 platform/sx240hs/sub/100a/movie_rec.c void change_video_tables(__attribute__ ((unused))int a, __attribute__ ((unused))int b) {} b 6 platform/sx240hs/sub/100c/movie_rec.c void change_video_tables(__attribute__ ((unused))int a, __attribute__ ((unused))int b) {} b 6 platform/sx240hs/sub/101a/movie_rec.c void change_video_tables(__attribute__ ((unused))int a, __attribute__ ((unused))int b) {} b 3 platform/sx240hs/sub/movie_rec_hdr.c void change_video_tables(__attribute__ ((unused))int a, __attribute__ ((unused))int b) {} b 6 platform/sx260hs/sub/100b/movie_rec.c void change_video_tables(__attribute__ ((unused))int a, __attribute__ ((unused))int b) {} b 6 platform/sx260hs/sub/100c/movie_rec.c void change_video_tables(__attribute__ ((unused))int a, __attribute__ ((unused))int b) {} b 6 platform/sx260hs/sub/101a/movie_rec.c void change_video_tables(__attribute__ ((unused))int a, __attribute__ ((unused))int b) {} b 3 platform/sx260hs/sub/movie_rec_hdr.c void change_video_tables(__attribute__ ((unused))int a, __attribute__ ((unused))int b) {} b 6 platform/sx30/sub/100e/movie_rec.c void change_video_tables(__attribute__ ((unused))int a, __attribute__ ((unused))int b) {} b 6 platform/sx30/sub/100h/movie_rec.c void change_video_tables(__attribute__ ((unused))int a, __attribute__ ((unused))int b) {} b 6 platform/sx30/sub/100l/movie_rec.c void change_video_tables(__attribute__ ((unused))int a, __attribute__ ((unused))int b) {} b 6 platform/sx30/sub/100n/movie_rec.c void change_video_tables(__attribute__ ((unused))int a, __attribute__ ((unused))int b) {} b 6 platform/sx30/sub/100p/movie_rec.c void change_video_tables(__attribute__ ((unused))int a, __attribute__ ((unused))int b) {} b 3 platform/sx30/sub/movie_rec_hdr.c void change_video_tables(__attribute__ ((unused))int a, __attribute__ ((unused))int b) {} b 192 platform/sx400is/lib.c void _MakeAFScan(__attribute__ ((unused))int *a, __attribute__ ((unused))int b) { b 14 platform/sx400is/sub/100b/movie_rec.c void change_video_tables(int a, int b) { b 15 platform/sx400is/sub/100b/movie_rec.c bitrate_multiplier = (a<<2)/b; b 11 platform/sx400is/sub/movie_rec_hdr.c void change_video_tables(int a, int b) { b 12 platform/sx400is/sub/movie_rec_hdr.c bitrate_multiplier = (a<<2)/b; b 99 platform/sx40hs/lib.c int b = (active_viewport_buffer-1)&3; b 100 platform/sx40hs/lib.c if ((b == 3) && (camera_info.state.mode_video || ((camera_info.state.mode & MODE_SHOOTING_MASK) == MODE_VIDEO_MOVIE_DIGEST) || (get_movie_status()==VIDEO_RECORD_IN_PROGRESS))) b 101 platform/sx40hs/lib.c b = 2; // Video only seems to use the first 3 viewport buffers. b 104 platform/sx40hs/lib.c return viewport_buffers[b]; b 6 platform/sx40hs/sub/100d/movie_rec.c void change_video_tables(__attribute__ ((unused))int a, __attribute__ ((unused))int b) {} b 6 platform/sx40hs/sub/100f/movie_rec.c void change_video_tables(__attribute__ ((unused))int a, __attribute__ ((unused))int b) {} b 6 platform/sx40hs/sub/100g/movie_rec.c void change_video_tables(__attribute__ ((unused))int a, __attribute__ ((unused))int b) {} b 6 platform/sx40hs/sub/100i/movie_rec.c void change_video_tables(__attribute__ ((unused))int a, __attribute__ ((unused))int b) {} b 3 platform/sx40hs/sub/movie_rec_hdr.c void change_video_tables(__attribute__ ((unused))int a, __attribute__ ((unused))int b) {} b 137 platform/sx410is/lib.c void _MakeAFScan(__attribute__ ((unused))int *a, __attribute__ ((unused))int b) { b 14 platform/sx410is/sub/100c/movie_rec.c void change_video_tables(int a, int b) { b 15 platform/sx410is/sub/100c/movie_rec.c bitrate_multiplier = (a<<2)/b; b 11 platform/sx410is/sub/movie_rec_hdr.c void change_video_tables(int a, int b) { b 12 platform/sx410is/sub/movie_rec_hdr.c bitrate_multiplier = (a<<2)/b; b 6 platform/sx500is/sub/100c/movie_rec.c void change_video_tables(__attribute__ ((unused))int a, __attribute__ ((unused))int b) {} b 3 platform/sx500is/sub/movie_rec_hdr.c void change_video_tables(__attribute__ ((unused))int a, __attribute__ ((unused))int b) {} b 6 platform/sx50hs/sub/100b/movie_rec.c void change_video_tables(__attribute__ ((unused))int a, __attribute__ ((unused))int b) {} b 6 platform/sx50hs/sub/100c/movie_rec.c void change_video_tables(__attribute__ ((unused))int a, __attribute__ ((unused))int b) {} b 3 platform/sx50hs/sub/movie_rec_hdr.c void change_video_tables(__attribute__ ((unused))int a, __attribute__ ((unused))int b) {} b 3 platform/sx510hs/sub/movie_rec_hdr.c void change_video_tables(__attribute__ ((unused))int a, __attribute__ ((unused))int b) {} b 14 platform/sx520hs/sub/100b/movie_rec.c void change_video_tables(int a, int b) { b 15 platform/sx520hs/sub/100b/movie_rec.c bitrate_multiplier = (a<<2)/b; b 14 platform/sx520hs/sub/100c/movie_rec.c void change_video_tables(int a, int b) { b 15 platform/sx520hs/sub/100c/movie_rec.c bitrate_multiplier = (a<<2)/b; b 11 platform/sx520hs/sub/movie_rec_hdr.c void change_video_tables(int a, int b) { b 12 platform/sx520hs/sub/movie_rec_hdr.c bitrate_multiplier = (a<<2)/b; b 14 platform/sx530hs/sub/100a/movie_rec.c void change_video_tables(int a, int b) { b 15 platform/sx530hs/sub/100a/movie_rec.c bitrate_multiplier = (a<<2)/b; b 14 platform/sx530hs/sub/100c/movie_rec.c void change_video_tables(int a, int b) { b 15 platform/sx530hs/sub/100c/movie_rec.c bitrate_multiplier = (a<<2)/b; b 11 platform/sx530hs/sub/movie_rec_hdr.c void change_video_tables(int a, int b) { b 12 platform/sx530hs/sub/movie_rec_hdr.c bitrate_multiplier = (a<<2)/b; b 6 platform/sx60hs/sub/100b/movie_rec.c void change_video_tables(__attribute__ ((unused))int a, __attribute__ ((unused))int b) {} b 6 platform/sx60hs/sub/100c/movie_rec.c void change_video_tables(__attribute__ ((unused))int a, __attribute__ ((unused))int b) {} b 6 platform/sx60hs/sub/100f/movie_rec.c void change_video_tables(__attribute__ ((unused))int a, __attribute__ ((unused))int b) {} b 6 platform/sx60hs/sub/100h/movie_rec.c void change_video_tables(__attribute__ ((unused))int a, __attribute__ ((unused))int b) {} b 24 platform/tx1/sub/100g/movie_rec.c void change_video_tables(int a, int b){ b 26 platform/tx1/sub/100g/movie_rec.c for (i=0;i<112;i++) table1[i]=(def_table1[i]*a)/b; b 27 platform/tx1/sub/100g/movie_rec.c for (i=0;i<24;i++) table2[i]=(def_table2[i]*a)/b; b 24 platform/tx1/sub/101b/movie_rec.c void change_video_tables(int a, int b){ b 26 platform/tx1/sub/101b/movie_rec.c for (i=0;i<112;i++) table1[i]=(def_table1[i]*a)/b; b 27 platform/tx1/sub/101b/movie_rec.c for (i=0;i<24;i++) table2[i]=(def_table2[i]*a)/b; b 128 tools/chdk_dasm.c #define BitsDiffer(a,b) ((instr^(instr>>(b-a)))&(1<<a)) b 4683 tools/finsig_dryos.c int b = 0; b 4685 tools/finsig_dryos.c b = 1; b 4687 tools/finsig_dryos.c b = 7; b 4688 tools/finsig_dryos.c if (b != 0) b 4691 tools/finsig_dryos.c fadr = followBranch2(fw,idx2adr(fw,k2+b),0x01000001); b 7245 tools/finsig_dryos.c uint32_t b = (1 << (kval & 0x1F)); b 7248 tools/finsig_dryos.c bprintf("//#define %-20s0x%08x // Found @0x%08x, levent 0x%x%s\n",fn,b,tadr,ev,i?" (non-inverted logic)":""); b 7270 tools/finsig_dryos.c uint32_t b = (1 << (kval & 0x1F)); b 7273 tools/finsig_dryos.c fprintf(out_fp, "levent 0x%08x, 0x%08x, index %d%s\n", ev, b, r, i?" (non-inverted logic)":""); b 7293 tools/finsig_dryos.c void add_kinfo(int r, uint32_t b, const char *nm, uint32_t adr, uint32_t ev, int inv) b 7296 tools/finsig_dryos.c key_info[kcount].bits = b; b 7302 tools/finsig_dryos.c kmask[r] |= b; b 7303 tools/finsig_dryos.c if ((ev <= 1) && (b < kshutter_min_bits)) kshutter_min_bits = b; b 7310 tools/finsig_dryos.c uint32_t b = 0; b 7324 tools/finsig_dryos.c b = (1 << (kval & 0x1F)); b 7327 tools/finsig_dryos.c add_kinfo(r,b|xtra,name,tadr,ev,inv); b 7330 tools/finsig_dryos.c return b; b 6682 tools/finsig_thumb2.c void add_kinfo(int r, uint32_t b, const char *nm, uint32_t adr, uint32_t ev, int inv) b 6685 tools/finsig_thumb2.c key_info[kcount].bits = b; b 6691 tools/finsig_thumb2.c kmask[r] |= b; b 6692 tools/finsig_thumb2.c if ((ev <= 1) && (b < kshutter_min_bits)) kshutter_min_bits = b; b 5472 tools/finsig_vxworks.c uint32_t b = (1 << (kval & 0x1F)); b 5474 tools/finsig_vxworks.c bprintf("//#define %-20s0x%08x // Found @0x%08x, levent 0x%x\n",fn,b,tadr,ev); b 5493 tools/finsig_vxworks.c void add_kinfo(int r, uint32_t b, const char *nm, uint32_t adr, uint32_t ev, int inv) b 5496 tools/finsig_vxworks.c key_info[kcount].bits = b; b 5502 tools/finsig_vxworks.c kmask[r] |= b; b 5503 tools/finsig_vxworks.c if ((ev <= 1) && (b < kshutter_min_bits)) kshutter_min_bits = b; b 5510 tools/finsig_vxworks.c uint32_t b = 0; b 5524 tools/finsig_vxworks.c b = (1 << (kval & 0x1F)); b 5527 tools/finsig_vxworks.c add_kinfo(r,b|xtra,name,tadr,ev,inv); b 5530 tools/finsig_vxworks.c return b; b 19 tools/firmware_load.h #define MIN(a,b) ((a) < (b) ? (a) : (b)) b 20 tools/firmware_load.h #define MAX(a,b) ((a) > (b) ? (a) : (b)) b 4 tools/firmware_load_ng.h #define MIN(a,b) ((a) < (b) ? (a) : (b)) b 5 tools/firmware_load_ng.h #define MAX(a,b) ((a) > (b) ? (a) : (b)) b 45 tools/makeexport.c int cmp_hash(const void *a, const void *b) b 48 tools/makeexport.c hash_val *hb = (hash_val*)b; b 83 tools/packfi2/deflate.c local void putShortMSB OF((deflate_state *s, uInt b)); b 518 tools/packfi2/deflate.c local void putShortMSB (s, b) b 520 tools/packfi2/deflate.c uInt b; b 522 tools/packfi2/deflate.c put_byte(s, (Byte)(b >> 8)); b 523 tools/packfi2/deflate.c put_byte(s, (Byte)(b & 0xff)); b 53 tools/packfi2/fi2enc.c unsigned char *b = (unsigned char *)src_buffer; b 54 tools/packfi2/fi2enc.c return (b[0]<<24) | (b[1] << 16) | (b[2] << 8) | b[3]; b 59 tools/packfi2/fi2enc.c unsigned char *b = (unsigned char *)dst_buffer; b 60 tools/packfi2/fi2enc.c b[0] = ( value >> 24 ) & 0xFF; b 61 tools/packfi2/fi2enc.c b[1] = ( value >> 16 ) & 0xFF; b 62 tools/packfi2/fi2enc.c b[2] = ( value >> 8 ) & 0xFF; b 63 tools/packfi2/fi2enc.c b[3] = ( value >> 0 ) & 0xFF;