Home
last modified time | relevance | path

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

/external/libvpx/tools/3D-Reconstruction/MotionEST/
DExhaust.py42 cur_x = cur_c * self.blk_sz
44 ref_x = cur_x
48 for x in xrange(cur_x - self.wnd_sz, cur_x + self.wnd_sz):
50 loss = self.block_dist(cur_r, cur_c, [y - cur_y, x - cur_x],
116 cur_x = cur_c * self.blk_sz
118 ref_x = cur_x
123 for x in xrange(cur_x - self.wnd_sz, cur_x + self.wnd_sz):
125 dist_loss = self.block_dist(cur_r, cur_c, [y - cur_y, x - cur_x],
127 nb_loss = self.neighborLoss(cur_r, cur_c, [y - cur_y, x - cur_x])
212 cur_x = cur_c * self.blk_sz
[all …]
DMotionEST.py56 cur_x = cur_c * self.blk_sz
59 w = min(self.blk_sz, self.width - cur_x)
60 cur_blk = self.cur_yuv[cur_y:cur_y + h, cur_x:cur_x + w, :]
61 ref_x = int(cur_x + mv[1])
/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/webp/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)); \
/external/libdrm/tests/exynos/
Dexynos_fimg2d_test.c332 int cur_x, cur_y; in g2d_move_test() local
391 cur_x = (screen_width - img_w) / 2; in g2d_move_test()
400 g2d_copy(ctx, &tmp_img, &img, 0, 0, cur_x, cur_y, img_w, img_h); in g2d_move_test()
418 if (cur_x + s->x < 0 || cur_y + s->y < 0 || in g2d_move_test()
419 cur_x + img_w + s->x >= screen_width || in g2d_move_test()
426 ret = g2d_move(ctx, &img, cur_x, cur_y, cur_x + s->x, cur_y + s->y, in g2d_move_test()
434 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/harfbuzz_ng/src/OT/glyf/
DSimpleGlyph.hh287 int cur_x = roundf (all_points.arrayZ[i].x); in compile_bytes_with_deltas() local
289 encode_coord (cur_x - prev_x, flag, FLAG_X_SHORT, FLAG_X_SAME, x_coords); in compile_bytes_with_deltas()
293 prev_x = cur_x; in compile_bytes_with_deltas()
/external/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;
/external/freetype/src/pshinter/
Dpshalgo.h167 FT_Pos cur_x; member
Dpshalgo.c1138 point->cur_x = point->cur_u; in psh_glyph_save_points()
/external/deqp/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()
/external/armnn/third-party/stb/
Dstb_image.h6056 int cur_x, cur_y; member
6141 p = &g->out[g->cur_x + g->cur_y]; in stbi__out_gif_code()
6150 g->cur_x += 4; in stbi__out_gif_code()
6152 if (g->cur_x >= g->max_x) { in stbi__out_gif_code()
6153 g->cur_x = g->start_x; in stbi__out_gif_code()
6315 g->cur_x = g->start_x; in stbi__gif_load_next()
/external/ComputeLibrary/include/stb/
Dstb_image.h6140 int cur_x, cur_y; member
6227 idx = g->cur_x + g->cur_y; in stbi__out_gif_code()
6238 g->cur_x += 4; in stbi__out_gif_code()
6240 if (g->cur_x >= g->max_x) { in stbi__out_gif_code()
6241 g->cur_x = g->start_x; in stbi__out_gif_code()
6418 g->cur_x = g->start_x; in stbi__gif_load_next()
/external/virglrenderer/src/
Dvrend_renderer.c594 GLint cur_x, cur_y; member
3131 if (ctx->sub->vps[idx].cur_x != x || in vrend_set_viewport_states()
3138 ctx->sub->vps[idx].cur_x = x; in vrend_set_viewport_states()
4644 …glViewportIndexedf(idx, sub_ctx->vps[idx].cur_x, cy, sub_ctx->vps[idx].width, sub_ctx->vps[idx].he… in vrend_update_viewport_state()
4646 glViewport(sub_ctx->vps[idx].cur_x, cy, sub_ctx->vps[idx].width, sub_ctx->vps[idx].height); in vrend_update_viewport_state()