y1 144 core/console.c void console_set_layout(int x1, int y1, int x2, int y2) //untere linke Ecke(x1,y1), obere reche Ecke(x2,y2) - lower left corner (x1,y1), upper right corner(x2,y2) y1 150 core/console.c if (y1 > y2) { i = y1; y1 = y2; y2 = i; } y1 158 core/console.c if (y1 < 0) y1 = 0; y1 159 core/console.c if (y1 > MAX_CONSOLE_LINES) y1 = MAX_CONSOLE_LINES; y1 165 core/console.c console_max_lines = y2 - y1; y1 344 core/gui_draw.c unsigned int y1, y2; y1 353 core/gui_draw.c y1 = px&1?4:0; y1 359 core/gui_draw.c y1 = px&2?4:0; y1 367 core/gui_draw.c co = yuvclr[y1+3]+(yuvclr[y1+3]<<8); y1 368 core/gui_draw.c yuv = (*(unsigned int*)(&yuvclr[y1]) & 0xffffff) + (yuvclr[y2]<<24); y1 699 core/gui_draw.c void draw_line(coord x1, coord y1, coord x2, coord y2, color cl) y1 701 core/gui_draw.c unsigned char steep = abs(y2 - y1) > abs(x2 - x1); y1 704 core/gui_draw.c swap(x1, y1); y1 710 core/gui_draw.c swap(y1, y2); y1 713 core/gui_draw.c int deltay = abs(y2 - y1); y1 715 core/gui_draw.c int y = y1; y1 716 core/gui_draw.c int ystep = (y1 < y2)?1:-1; y1 733 core/gui_draw.c void draw_line_x2(coord x1, coord y1, coord x2, coord y2, color cl) y1 735 core/gui_draw.c unsigned char steep = abs(y2 - y1) > abs(x2 - x1); y1 738 core/gui_draw.c swap(x1, y1); y1 744 core/gui_draw.c swap(y1, y2); y1 747 core/gui_draw.c int deltay = abs(y2 - y1); y1 749 core/gui_draw.c int y = y1; y1 750 core/gui_draw.c int ystep = (y1 < y2)?2:-2; y1 809 core/gui_draw.c void draw_rectangle(coord x1, coord y1, coord x2, coord y2, twoColors cl, int flags) y1 814 core/gui_draw.c if (y1 > y2) y1 815 core/gui_draw.c swap(y1, y2); y1 818 core/gui_draw.c if ((x2 < 0) || (y2 < 0) || (x1 >= camera_screen.width) || (y1 >= camera_screen.height)) y1 831 core/gui_draw.c draw_vline(x2+i, y1+1, y2 - y1, COLOR_BLACK); y1 841 core/gui_draw.c draw_vline(x1, y1 + round * 2, y2 - y1 - round * 4 + 1, FG_COLOR(cl)); y1 842 core/gui_draw.c draw_vline(x2, y1 + round * 2, y2 - y1 - round * 4 + 1, FG_COLOR(cl)); y1 843 core/gui_draw.c draw_hline(x1 + 1 + round, y1, x2 - x1 - round * 2 - 1, FG_COLOR(cl)); y1 847 core/gui_draw.c y1++; y2--; y1 857 core/gui_draw.c if (y1 < 0) y1 = 0; y1 862 core/gui_draw.c for (y = y1; y <= y2; ++y) y1 1568 core/gui_draw.c int x1, y1, x2, y2; y1 1578 core/gui_draw.c y1 = cmds->y1<<1; y1 1583 core/gui_draw.c y1 = cmds->y1; y1 1595 core/gui_draw.c draw_hline(x+x1, y+y1, x2, cb); y1 1597 core/gui_draw.c draw_hline(x+x1, y+y1+1, x2, cb); y1 1601 core/gui_draw.c draw_vline(x+x1, y+y1, y2, cb); y1 1603 core/gui_draw.c draw_vline(x+x1+1, y+y1, y2, cb); y1 1608 core/gui_draw.c draw_line_x2(x+x1, y+y1, x+x2, y+y2, cb); y1 1610 core/gui_draw.c draw_line(x+x1, y+y1, x+x2, y+y2, cb); y1 1615 core/gui_draw.c draw_rectangle(x+x1, y+y1, x+x2+1, y+y2+1, MAKE_COLOR(cb,cf), thickness); y1 1617 core/gui_draw.c draw_rectangle(x+x1, y+y1, x+x2, y+y2, MAKE_COLOR(cb,cf), thickness); y1 1622 core/gui_draw.c draw_rectangle(x+x1, y+y1, x+x2+1, y+y2+1, MAKE_COLOR(cb,cf), thickness|DRAW_FILLED); y1 1624 core/gui_draw.c draw_rectangle(x+x1, y+y1, x+x2, y+y2, MAKE_COLOR(cb,cf), thickness|DRAW_FILLED); y1 1629 core/gui_draw.c draw_rectangle(x+x1, y+y1, x+x2+1, y+y2+1, MAKE_COLOR(cb,cf), thickness|RECT_ROUND_CORNERS); y1 1631 core/gui_draw.c draw_rectangle(x+x1, y+y1, x+x2, y+y2, MAKE_COLOR(cb,cf), thickness|RECT_ROUND_CORNERS); y1 1636 core/gui_draw.c draw_rectangle(x+x1, y+y1, x+x2+1, y+y2+1, MAKE_COLOR(cb,cf), thickness|DRAW_FILLED|RECT_ROUND_CORNERS); y1 1638 core/gui_draw.c draw_rectangle(x+x1, y+y1, x+x2, y+y2, MAKE_COLOR(cb,cf), thickness|DRAW_FILLED|RECT_ROUND_CORNERS); y1 115 core/gui_draw.h extern void draw_line(coord x1, coord y1, coord x2, coord y2, color cl); y1 120 core/gui_draw.h extern void draw_rectangle(coord x1, coord y1, coord x2, coord y2, twoColors cl, int flags); y1 165 core/gui_draw.h unsigned char x1, y1; y1 69 include/camera_info.h int y1, x1, y2, x2; y1 13 include/console.h extern void console_set_layout(int x1, int y1, int x2, int y2); y1 17 include/kbd_common.h short x1, y1, x2, y2; y1 1721 lib/ubasic/ubasic.c int x1,y1,x2,y2; y1 1724 lib/ubasic/ubasic.c y1 = expr(); y1 1727 lib/ubasic/ubasic.c console_set_layout(x1,y1,x2,y2); y1 534 modules/dng.c crop_size[1] = camera_sensor.active_area.y2 - camera_sensor.active_area.y1; y1 545 modules/dng.c active_area[0] = (camera_sensor.active_area.y1 & 1); // In case active area top is an odd value, otherwise CFA pattern will be wrong y1 908 modules/dng.c int y_end = camera_sensor.active_area.y1 + camera_sensor.jpeg.y + DNG_TH_HEIGHT*y_inc; y1 922 modules/dng.c for (y_off=camera_sensor.active_area.y1 + camera_sensor.jpeg.y; y_off<y_end; y_off += y_inc) y1 971 modules/dng.c for (y=camera_sensor.active_area.y1; y<camera_sensor.active_area.y2; y++) y1 91 modules/games/gui_reversi.c int I, J, x1, y1; y1 102 modules/games/gui_reversi.c y1 = y + J; y1 103 modules/games/gui_reversi.c while (((x1>=0) && (x1<8) && (y1>=0) && (y1<8)) && (Field[x1][y1]!=FIELD_EMPTY) && (Field[x1][y1]!=Player)) { y1 106 modules/games/gui_reversi.c y1 = y1 + J; y1 108 modules/games/gui_reversi.c if ((Placed) && ((x1>=0) && (x1<8) && (y1>=0) && (y1<8)) && (Field[x1][y1]!=FIELD_EMPTY) && (E>0)) { y1 112 modules/games/gui_reversi.c y1 = y + J; y1 113 modules/games/gui_reversi.c while (((x1>=0) && (x1<8) && (y1>=0) && (y1<8)) && (Field[x1][y1]!=FIELD_EMPTY) && (Field[x1][y1]!=Player)) { y1 114 modules/games/gui_reversi.c Field[x1][y1] = Player; y1 115 modules/games/gui_reversi.c DrawCell(x1, y1); y1 117 modules/games/gui_reversi.c y1 = y1 + J; y1 120 modules/games/gui_reversi.c if (((x1>=0) && (x1<8) && (y1>=0) && (y1<8)) && (Field[x1][y1]!=FIELD_EMPTY)) y1 26 modules/gui_grid.c coord x0,y0,x1,y1; y1 162 modules/gui_grid.c gptr->x1=nums[2]; gptr->y1=nums[3]; y1 248 modules/gui_grid.c int y1 = ptr->y1; y1 253 modules/gui_grid.c y1 = ((y1 * ys + 8192) >> 14); y1 257 modules/gui_grid.c draw_line(x0, y0, x1+xo, y1+yo, col); y1 260 modules/gui_grid.c draw_rectangle(x0, y0, x1+xo, y1+yo, col, RECT_BORDER1); y1 263 modules/gui_grid.c draw_rectangle(x0, y0, x1+xo, y1+yo, col, RECT_BORDER1|DRAW_FILLED); y1 266 modules/gui_grid.c draw_ellipse(x0, y0, (unsigned int)x1, (unsigned int)y1, col, 0); y1 269 modules/gui_grid.c draw_ellipse(x0, y0, (unsigned int)x1, (unsigned int)y1, col, DRAW_FILLED); y1 1288 modules/luascript.c coord y1=luaL_checknumber(L,2); y1 1290 modules/luascript.c draw_pixel(x1,y1,cl); y1 1296 modules/luascript.c coord y1=luaL_checknumber(L,2); y1 1300 modules/luascript.c draw_line(x1,y1,x2,y2,cl); y1 1306 modules/luascript.c coord y1=luaL_checknumber(L,2); y1 1311 modules/luascript.c draw_rectangle(x1,y1,x2,y2,MAKE_COLOR(cl,cl),th); y1 1317 modules/luascript.c coord y1 =luaL_checknumber(L,2); y1 1323 modules/luascript.c draw_rectangle(x1,y1,x2,y2,MAKE_COLOR(clb,clf),th|DRAW_FILLED); y1 1329 modules/luascript.c coord y1=luaL_checknumber(L,2); y1 1333 modules/luascript.c draw_ellipse(x1,y1,a,b,cl,0); y1 1339 modules/luascript.c coord y1=luaL_checknumber(L,2); y1 1343 modules/luascript.c draw_ellipse(x1,y1,a,b,cl,DRAW_FILLED); y1 1350 modules/luascript.c coord y1 = luaL_checknumber(L,2); y1 1358 modules/luascript.c draw_string(x1, y1, t, MAKE_COLOR(clb,clf)); y1 1360 modules/luascript.c draw_string_scaled(x1, y1, t, MAKE_COLOR(clb,clf), xsize, ysize); y1 160 modules/rawhookops.c lua_pushnumber(L,camera_sensor.active_area.y1); y1 178 modules/rawhookops.c lua_pushnumber(L,camera_sensor.active_area.y2 - camera_sensor.active_area.y1); y1 212 modules/rawhookops.c lua_pushnumber(L,camera_sensor.active_area.y1 + camera_sensor.jpeg.y); y1 409 modules/rawhookops.c unsigned y1=luaL_checknumber(L,2); y1 421 modules/rawhookops.c unsigned y_max = y1 + y_step * y_count; y1 436 modules/rawhookops.c for(y = y1; y < y_max; y += y_step) { y1 39 modules/shot_histogram.c int x, y, x0, x1, y0, y1; y1 46 modules/shot_histogram.c int height = camera_sensor.active_area.y2 - camera_sensor.active_area.y1; y1 51 modules/shot_histogram.c y0 = camera_sensor.active_area.y1 + ((shot_margin_top * height) / 10); y1 52 modules/shot_histogram.c y1 = camera_sensor.active_area.y2 - ((shot_margin_bottom * height) / 10); y1 57 modules/shot_histogram.c for (y = y0; y < y1; y += SHOT_HISTOGRAM_STEP) y1 68 modules/shot_histogram.c for (y = y0; y < y1; y += SHOT_HISTOGRAM_STEP ) y1 654 modules/zebra.c register int y1, uu, vv; y1 659 modules/zebra.c y1 = (unsigned char)((ibuf>>8)&0xff); y1 663 modules/zebra.c if (clip8(((y1<<12) + vv*5743 + 2048)>>12)>over) sel = 4; // R y1 664 modules/zebra.c if (clip8(((y1<<12) - uu*1411 - vv*2925 + 2048)>>12)>over) sel |= 2; // G y1 665 modules/zebra.c if (clip8(((y1<<12) + uu*7258 + 2048)>>12)>over) sel |= 1; // B y1 671 modules/zebra.c sel = (y1>over) ? 8 : (y1<conf.zebra_under) ? 9 : 0; y1 17 platform/ixus240_elph320hs/kbd.c short x1, y1, x2, y2; y1 417 platform/ixus240_elph320hs/kbd.c if ((tx >= keymap[i].x1) && (tx < keymap[i].x2) && (ty >= keymap[i].y1) && (ty < keymap[i].y2) && is_button_active(i,guiMode,camMode)) y1 462 platform/ixus240_elph320hs/kbd.c int i, x1, y1, x2, y2, ofst; y1 476 platform/ixus240_elph320hs/kbd.c y1 = keymap[i].y1; y1 483 platform/ixus240_elph320hs/kbd.c draw_rectangle(x1, y1, x2, y2, cl, RECT_BORDER3|DRAW_FILLED|RECT_ROUND_CORNERS); y1 491 platform/ixus240_elph320hs/kbd.c draw_string(x1+4, y1+ofst, "UD!", cl); y1 500 platform/ixus240_elph320hs/kbd.c draw_string(x1+4, y1+25, buf, cl); y1 505 platform/ixus240_elph320hs/kbd.c draw_string(x1+4, y1+25, keymap[i].nm2, cl); y1 507 platform/ixus240_elph320hs/kbd.c draw_string(x1+4, y1+ofst, keymap[i].nm, cl); y1 177 platform/ixus310_elph500hs/kbd.c if ((sx >= keymap[i].x1) && (sx < keymap[i].x2) && (sy >= keymap[i].y1) && (sy < keymap[i].y2) && is_button_active(i,camera_info.state.gui_mode,camMode)) y1 227 platform/ixus310_elph500hs/kbd.c int i, x1, y1, x2, y2, sc, xo, yo; y1 239 platform/ixus310_elph500hs/kbd.c y1 = keymap[i].y1; y1 248 platform/ixus310_elph500hs/kbd.c draw_rectangle(x1, y1, x2, y2, cl, RECT_BORDER3|DRAW_FILLED|RECT_ROUND_CORNERS); y1 256 platform/ixus310_elph500hs/kbd.c draw_string(x1+xo, y1+yo+18, buf, cl); y1 262 platform/ixus310_elph500hs/kbd.c draw_string(x1+xo, y1+yo+18, keymap[i].nm2, cl); y1 265 platform/ixus310_elph500hs/kbd.c draw_string_scaled(x1+xo, y1+yo, keymap[i].nm, cl, sc, sc); y1 189 platform/n/kbd.c if ((tx >= keymap[i].x1) && (tx < keymap[i].x2) && (ty >= keymap[i].y1) && (ty < keymap[i].y2) && is_button_active(i,guiMode,camMode)) y1 261 platform/n/kbd.c int i, x1, y1, x2, y2, ofst; y1 275 platform/n/kbd.c y1 = keymap[i].y1; y1 290 platform/n/kbd.c draw_rectangle(x1, y1, x2, y2, clr, RECT_BORDER1|DRAW_FILLED|RECT_ROUND_CORNERS); y1 294 platform/n/kbd.c rbf_draw_symbol(x1+12, y1+15, 0x53, clr); y1 298 platform/n/kbd.c rbf_draw_symbol(x1+12, y1+15, 0x52, clr); y1 302 platform/n/kbd.c rbf_draw_symbol(x1+12, y1+15, 0x51, clr); y1 306 platform/n/kbd.c rbf_draw_symbol(x1+12, y1+15, 0x54, clr); y1 315 platform/n/kbd.c draw_string(x1+4, y1+25, buf, c3); y1 320 platform/n/kbd.c draw_string(x1+4, y1+25, keymap[i].nm2, clr); y1 322 platform/n/kbd.c draw_string(x1+4, y1+ofst, keymap[i].nm, clr); y1 189 platform/n_facebook/kbd.c if ((tx >= keymap[i].x1) && (tx < keymap[i].x2) && (ty >= keymap[i].y1) && (ty < keymap[i].y2) && is_button_active(i,guiMode,camMode)) y1 261 platform/n_facebook/kbd.c int i, x1, y1, x2, y2, ofst; y1 275 platform/n_facebook/kbd.c y1 = keymap[i].y1; y1 290 platform/n_facebook/kbd.c draw_rectangle(x1, y1, x2, y2, clr, RECT_BORDER1|DRAW_FILLED|RECT_ROUND_CORNERS); y1 294 platform/n_facebook/kbd.c rbf_draw_symbol(x1+12, y1+15, 0x53, clr); y1 298 platform/n_facebook/kbd.c rbf_draw_symbol(x1+12, y1+15, 0x52, clr); y1 302 platform/n_facebook/kbd.c rbf_draw_symbol(x1+12, y1+15, 0x51, clr); y1 306 platform/n_facebook/kbd.c rbf_draw_symbol(x1+12, y1+15, 0x54, clr); y1 315 platform/n_facebook/kbd.c draw_string(x1+4, y1+25, buf, c3); y1 320 platform/n_facebook/kbd.c draw_string(x1+4, y1+25, keymap[i].nm2, clr); y1 322 platform/n_facebook/kbd.c draw_string(x1+4, y1+ofst, keymap[i].nm, clr); y1 147 tools/ubasic_test/camera_functions.c void console_set_layout(int x1, int y1, int x2, int y2) { y1 148 tools/ubasic_test/camera_functions.c printf(">>> set console layout to %d %d %d %d\n", x1,y1,x2,y2);