Home
last modified time | relevance | path

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

/third_party/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()
/third_party/skia/third_party/externals/libwebp/src/dsp/
Dupsampling_neon.c135 #define CONVERT8(FMT, XSTEP, N, src_y, src_uv, out, cur_x) do { \ argument
138 const int off = ((cur_x) + i) * XSTEP; \
139 const uint8x8_t y = vld1_u8((src_y) + (cur_x) + i); \
165 #define CONVERT1(FUNC, XSTEP, N, src_y, src_uv, rgb, cur_x) { \ argument
168 const int off = ((cur_x) + i) * XSTEP; \
169 const int y = src_y[(cur_x) + i]; \
177 top_dst, bottom_dst, cur_x, len) { \ argument
178 CONVERT8(FMT, XSTEP, len, top_y, uv, top_dst, cur_x); \
180 CONVERT8(FMT, XSTEP, len, bottom_y, (uv) + 32, bottom_dst, cur_x); \
185 top_dst, bottom_dst, cur_x, len) { \ argument
[all …]
Dupsampling_sse41.c110 top_dst, bottom_dst, cur_x) do { \ argument
111 FUNC##32_SSE41((top_y) + (cur_x), r_u, r_v, (top_dst) + (cur_x) * (XSTEP)); \
113 FUNC##32_SSE41((bottom_y) + (cur_x), r_u + 64, r_v + 64, \
114 (bottom_dst) + (cur_x) * (XSTEP)); \
Dupsampling_sse2.c108 top_dst, bottom_dst, cur_x) do { \ argument
109 FUNC##32_SSE2((top_y) + (cur_x), r_u, r_v, (top_dst) + (cur_x) * (XSTEP)); \
111 FUNC##32_SSE2((bottom_y) + (cur_x), r_u + 64, r_v + 64, \
112 (bottom_dst) + (cur_x) * (XSTEP)); \
/third_party/ffmpeg/libavcodec/
Dvmnc.c71 int cur_x, cur_y; member
136 if (c->width < c->cur_x + c->cur_w) in put_cursor()
137 w = c->width - c->cur_x; in put_cursor()
141 x = c->cur_x; in put_cursor()
352 if (c->width < c->cur_x + w) in decode_frame()
353 w = c->width - c->cur_x; in decode_frame()
357 dx = c->cur_x; in decode_frame()
437 c->cur_x = dx - c->cur_hx; in decode_frame()
493 if (c->width < c->cur_x + w) in decode_frame()
494 w = c->width - c->cur_x; in decode_frame()
[all …]
Dfic.c215 static void fic_draw_cursor(AVCodecContext *avctx, int cur_x, int cur_y) in fic_draw_cursor() argument
247 (cur_x >> !!i) + !!i; in fic_draw_cursor()
251 int lsize = FFMIN(32, avctx->width - cur_x); in fic_draw_cursor()
278 int cur_x, cur_y; in fic_decode_frame() local
332 cur_x = AV_RL16(src + 33); in fic_decode_frame()
334 if (!skip_cursor && (cur_x > avctx->width || cur_y > avctx->height)) { in fic_decode_frame()
337 cur_x, cur_y); in fic_decode_frame()
433 fic_draw_cursor(avctx, cur_x, cur_y); in fic_decode_frame()
/third_party/gstreamer/gstplugins_bad/gst/jp2kdecimator/
Djp2kcodestream.c206 it->cur_x += it->x_step - (it->cur_x % it->x_step); in packet_iterator_next_rpcl()
207 if (it->cur_x >= it->tx1) { in packet_iterator_next_rpcl()
208 it->cur_x = it->tx0; in packet_iterator_next_rpcl()
230 && ((it->cur_x % (it->xr * it->two_ppx * it->two_nl_r) == 0) in packet_iterator_next_rpcl()
231 || (it->cur_x == it->tx0 in packet_iterator_next_rpcl()
236 k = (((it->cur_x + it->xr * it->two_nl_r - 1) / in packet_iterator_next_rpcl()
281 it->cur_x += it->x_step - (it->cur_x % it->x_step); in packet_iterator_next_pcrl()
282 if (it->cur_x >= it->tx1) { in packet_iterator_next_pcrl()
283 it->cur_x = it->tx0; in packet_iterator_next_pcrl()
300 && ((it->cur_x % (it->xr * it->two_ppx * it->two_nl_r) == 0) in packet_iterator_next_pcrl()
[all …]
Djp2kcodestream.h166 gint cur_x, cur_y; member
/third_party/libdrm/tests/exynos/
Dexynos_fimg2d_test.c331 int cur_x, cur_y; in g2d_move_test() local
390 cur_x = (screen_width - img_w) / 2; in g2d_move_test()
399 g2d_copy(ctx, &tmp_img, &img, 0, 0, cur_x, cur_y, img_w, img_h); in g2d_move_test()
417 if (cur_x + s->x < 0 || cur_y + s->y < 0 || in g2d_move_test()
418 cur_x + img_w + s->x >= screen_width || in g2d_move_test()
425 ret = g2d_move(ctx, &img, cur_x, cur_y, cur_x + s->x, cur_y + s->y, in g2d_move_test()
433 cur_x += s->x; in g2d_move_test()
/third_party/alsa-utils/alsamixer/
Dtextbox.c130 int cur_y, cur_x; in update_text_lines() local
146 getyx(text_widget.window, cur_y, cur_x); in update_text_lines()
148 rest_of_line = text_box_x + 1 - cur_x; in update_text_lines()
Dmixer_display.c69 int cur_y, cur_x; in display_string_in_field() local
86 getyx(mixer_widget.window, cur_y, cur_x); in display_string_in_field()
88 spaces = x + width - cur_x; in display_string_in_field()
/third_party/skia/gm/
Dblurrect.cpp198 int cur_x = 0; variable
226 if (cur_x + bm.width() >= fGMWidth - fMargin) {
227 cur_x = 0;
233 canvas->translate((SkScalar)cur_x, (SkScalar)cur_y);
238 cur_x += bm.width() + fPadding;
/third_party/skia/third_party/externals/freetype/src/pshinter/
Dpshalgo.h167 FT_Pos cur_x; member
Dpshalgo.c1138 point->cur_x = point->cur_u; in psh_glyph_save_points()
/third_party/vk-gl-cts/external/openglcts/modules/glesext/geometry_shader/
DesextcGeometryShaderRendering.cpp3496 int cur_x = start_x + n_pixel * dx; in verify() local
3500 const unsigned char* read_data = data + cur_y * row_width + cur_x * 4 /* components */; in verify()
3514 m_testCtx.getLog() << tcu::TestLog::Message << "Rendered data at (" << cur_x << ", " << cur_y in verify()
3620 int cur_x = start_x + n_point * dx; in verify() local
3631 const unsigned char* read_data = data + cur_y * row_width + cur_x * 4 /* components */; in verify()
3648 m_testCtx.getLog() << tcu::TestLog::Message << "Rendered data at (" << cur_x << ", " << cur_y in verify()
/third_party/astc-encoder/Source/
Dstb_image.h6490 int cur_x, cur_y; member
6581 idx = g->cur_x + g->cur_y; in stbi__out_gif_code()
6592 g->cur_x += 4; in stbi__out_gif_code()
6594 if (g->cur_x >= g->max_x) { in stbi__out_gif_code()
6595 g->cur_x = g->start_x; in stbi__out_gif_code()
6777 g->cur_x = g->start_x; in stbi__gif_load_next()