Home
last modified time | relevance | path

Searched refs:cur_x (Results 1 – 21 of 21) sorted by relevance

/external/toybox/kconfig/lxdialog/
Dtextbox.c39 int cur_y, int cur_x) in refresh_text_box() argument
43 wmove(dialog, cur_y, cur_x); /* Restore cursor position */ in refresh_text_box()
54 int i, x, y, cur_x, cur_y, key = 0; in dialog_textbox() local
119 getyx(dialog, cur_y, cur_x); /* Save cursor position */ in dialog_textbox()
123 refresh_text_box(dialog, box, boxh, boxw, cur_y, cur_x); in dialog_textbox()
141 cur_y, cur_x); in dialog_textbox()
152 cur_y, cur_x); in dialog_textbox()
187 wmove(dialog, cur_y, cur_x); /* Restore cursor position */ in dialog_textbox()
198 cur_y, cur_x); in dialog_textbox()
211 wmove(dialog, cur_y, cur_x); /* Restore cursor position */ in dialog_textbox()
[all …]
Dutil.c316 int newl, cur_x, cur_y; in print_autowrap() local
336 cur_x = x; in print_autowrap()
348 room = width - cur_x; in print_autowrap()
356 cur_x = x; in print_autowrap()
358 wmove(win, cur_y, cur_x); in print_autowrap()
360 getyx(win, cur_y, cur_x); in print_autowrap()
361 cur_x++; in print_autowrap()
363 cur_x++; /* double space */ in print_autowrap()
Dmenubox.c114 int cur_y, cur_x; in print_arrows() local
116 getyx(win, cur_y, cur_x); in print_arrows()
148 wmove(win, cur_y, cur_x); in print_arrows()
/external/opencv3/3rdparty/libwebp/dsp/
Dupsampling_neon.c96 #define CONVERT8(FMT, XSTEP, N, src_y, src_uv, out, cur_x) { \ argument
99 int off = ((cur_x) + i) * XSTEP; \
100 uint8x8_t y = vld1_u8(src_y + (cur_x) + i); \
179 #define CONVERT1(FMT, XSTEP, N, src_y, src_uv, rgb, cur_x) { \ argument
182 int off = ((cur_x) + i) * XSTEP; \
183 int y = src_y[(cur_x) + i]; \
191 top_dst, bottom_dst, cur_x, len) { \ argument
193 CONVERT8(FMT, XSTEP, len, top_y, uv, top_dst, cur_x) \
196 CONVERT8(FMT, XSTEP, len, bottom_y, (uv) + 32, bottom_dst, cur_x) \
201 top_dst, bottom_dst, cur_x, len) { \ argument
[all …]
Dupsampling_sse2.c112 top_dst, bottom_dst, cur_x, num_pixels) { \ argument
116 FUNC(top_y[(cur_x) + n], (uv)[n], (uv)[32 + n], \
117 top_dst + ((cur_x) + n) * XSTEP); \
122 FUNC(bottom_y[(cur_x) + n], (uv)[64 + n], (uv)[64 + 32 + n], \
123 bottom_dst + ((cur_x) + n) * XSTEP); \
/external/webp/src/dsp/
Dupsampling_sse2.c108 top_dst, bottom_dst, cur_x, num_pixels) { \ argument
111 FUNC(top_y[(cur_x) + n], r_u[n], r_v[n], \
112 top_dst + ((cur_x) + n) * XSTEP); \
116 FUNC(bottom_y[(cur_x) + n], r_u[64 + n], r_v[64 + n], \
117 bottom_dst + ((cur_x) + n) * XSTEP); \
123 top_dst, bottom_dst, cur_x) do { \ argument
124 FUNC##32(top_y + (cur_x), r_u, r_v, top_dst + (cur_x) * XSTEP); \
126 FUNC##32(bottom_y + (cur_x), r_u + 64, r_v + 64, \
127 bottom_dst + (cur_x) * XSTEP); \
Dupsampling_neon.c154 #define CONVERT8(FMT, XSTEP, N, src_y, src_uv, out, cur_x) do { \ argument
157 const int off = ((cur_x) + i) * XSTEP; \
158 const uint8x8_t y = vld1_u8((src_y) + (cur_x) + i); \
184 #define CONVERT1(FUNC, XSTEP, N, src_y, src_uv, rgb, cur_x) { \ argument
187 const int off = ((cur_x) + i) * XSTEP; \
188 const int y = src_y[(cur_x) + i]; \
196 top_dst, bottom_dst, cur_x, len) { \ argument
197 CONVERT8(FMT, XSTEP, len, top_y, uv, top_dst, cur_x); \
199 CONVERT8(FMT, XSTEP, len, bottom_y, (uv) + 32, bottom_dst, cur_x); \
204 top_dst, bottom_dst, cur_x, len) { \ argument
[all …]
/external/skia/gm/
Dblurrect.cpp184 int cur_x = 0; variable
212 if (cur_x + bm.width() >= fGMWidth - fMargin) {
213 cur_x = 0;
219 canvas->translate((SkScalar)cur_x, (SkScalar)cur_y);
224 cur_x += bm.width() + fPadding;
/external/opencv/cv/src/
Dcvemd.cpp754 CvNode2D head, *cur_x, *next_x, *leave_x = 0; in icvNewSolution() local
802 cur_x = &head; in icvNewSolution()
803 while( (next_x = cur_x->next[0]) != leave_x ) in icvNewSolution()
805 cur_x = next_x; in icvNewSolution()
806 assert( cur_x ); in icvNewSolution()
808 cur_x->next[0] = next_x->next[0]; in icvNewSolution()
812 cur_x = &head; in icvNewSolution()
813 while( (next_x = cur_x->next[1]) != leave_x ) in icvNewSolution()
815 cur_x = next_x; in icvNewSolution()
816 assert( cur_x ); in icvNewSolution()
[all …]
/external/opencv3/modules/imgproc/src/
Demd.cpp731 CvNode2D head, *cur_x, *next_x, *leave_x = 0; in icvNewSolution() local
779 cur_x = &head; in icvNewSolution()
780 while( (next_x = cur_x->next[0]) != leave_x ) in icvNewSolution()
782 cur_x = next_x; in icvNewSolution()
783 assert( cur_x ); in icvNewSolution()
785 cur_x->next[0] = next_x->next[0]; in icvNewSolution()
789 cur_x = &head; in icvNewSolution()
790 while( (next_x = cur_x->next[1]) != leave_x ) in icvNewSolution()
792 cur_x = next_x; in icvNewSolution()
793 assert( cur_x ); in icvNewSolution()
[all …]
/external/libdrm/tests/exynos/
Dexynos_fimg2d_test.c324 int cur_x, cur_y; in g2d_move_test() local
383 cur_x = (screen_width - img_w) / 2; in g2d_move_test()
392 g2d_copy(ctx, &tmp_img, &img, 0, 0, cur_x, cur_y, img_w, img_h); in g2d_move_test()
410 if (cur_x + s->x < 0 || cur_y + s->y < 0 || in g2d_move_test()
411 cur_x + img_w + s->x >= screen_width || in g2d_move_test()
418 ret = g2d_move(ctx, &img, cur_x, cur_y, cur_x + s->x, cur_y + s->y, in g2d_move_test()
426 cur_x += s->x; in g2d_move_test()
/external/libhevc/decoder/
Dihevcd_iquant_itrans_recon_ctb.c358 WORD32 cur_x, cur_y; in ihevcd_get_intra_nbr_flag() local
363 cur_x = ps_tu->b4_pos_x; in ihevcd_get_intra_nbr_flag()
367 >> (31 - (1 + cur_x - 1))) & 1; in ihevcd_get_intra_nbr_flag()
368 u1_left_avail = (pu4_intra_nbr_avail[1 + cur_y] >> (31 - (1 + cur_x - 1))) in ihevcd_get_intra_nbr_flag()
370 u1_top_avail = (pu4_intra_nbr_avail[1 + cur_y - 1] >> (31 - (1 + cur_x))) in ihevcd_get_intra_nbr_flag()
373 >> (31 - (1 + cur_x + trans_size / MIN_TU_SIZE))) & 1; in ihevcd_get_intra_nbr_flag()
375 >> (31 - (1 + cur_x - 1))) & 1; in ihevcd_get_intra_nbr_flag()
377 x_cur = ps_proc->i4_ctb_x * ctb_size + cur_x * MIN_TU_SIZE; in ihevcd_get_intra_nbr_flag()
/external/vboot_reference/firmware/lib/
Dvboot_display.c104 uint32_t cur_x = x, cur_y = y; in VbRenderTextAtPos() local
118 cur_x = x; in VbRenderTextAtPos()
127 cur_x -= image_info->width; in VbRenderTextAtPos()
129 if (VBERROR_SUCCESS != VbExDisplayImage(cur_x, cur_y, buffer, in VbRenderTextAtPos()
136 cur_x += image_info->width; in VbRenderTextAtPos()
/external/opencv3/modules/imgproc/src/opencl/
Dmorph.cl128 int cur_x = start_x + tl_x, cur_y = start_y + tl_y;
130 int start_addr = mad24(cur_y, src_step, cur_x * TSIZE);
144 temp0 = ELEM(cur_x, 0, src_whole_cols, (T)(VAL), temp0);
/external/libgdx/extensions/gdx-freetype/jni/freetype-2.6.2/src/pshinter/
Dpshalgo.h171 FT_Pos cur_x; member
Dpshalgo.c1138 point->cur_x = point->cur_u; in psh_glyph_save_points()
/external/freetype/src/pshinter/
Dpshalgo.h171 FT_Pos cur_x; member
Dpshalgo.c1232 point->cur_x = point->cur_u; in psh_glyph_save_points()
/external/pdfium/third_party/freetype/src/pshinter/
Dpshalgo.h171 FT_Pos cur_x; member
Dpshalgo.c1138 point->cur_x = point->cur_u; in psh_glyph_save_points()
/external/libgdx/gdx/jni/gdx2d/
Dstb_image.h5488 int cur_x, cur_y; member
5571 p = &g->out[g->cur_x + g->cur_y]; in stbi__out_gif_code()
5580 g->cur_x += 4; in stbi__out_gif_code()
5582 if (g->cur_x >= g->max_x) { in stbi__out_gif_code()
5583 g->cur_x = g->start_x; in stbi__out_gif_code()
5742 g->cur_x = g->start_x; in stbi__gif_load_next()