Home
last modified time | relevance | path

Searched refs:ypos (Results 1 – 25 of 95) sorted by relevance

1234

/third_party/gstreamer/gstplugins_good/gst/videomixer/
Dblend.c46 method##_ ##name (GstVideoFrame * srcframe, gint xpos, gint ypos, \
76 if (ypos < 0) { \
77 src += -ypos * src_stride; \
78 src_height -= -ypos; \
79 ypos = 0; \
85 if (ypos + src_height > dest_height) { \
86 src_height = dest_height - ypos; \
90 dest = dest + 4 * xpos + (ypos * dest_stride); \
235 blend_##format_name (GstVideoFrame * srcframe, gint xpos, gint ypos, \
261 ypos = y_round (ypos); \
[all …]
/third_party/ffmpeg/libavfilter/
Df_graphmonitor.c173 int xpos, int ypos, in draw_items() argument
188 drawtext(out, xpos, ypos, buffer, s->white); in draw_items()
197 drawtext(out, xpos, ypos, buffer, s->white); in draw_items()
206 drawtext(out, xpos, ypos, buffer, s->white); in draw_items()
211 drawtext(out, xpos, ypos, buffer, s->white); in draw_items()
216 drawtext(out, xpos, ypos, buffer, s->white); in draw_items()
219 …drawtext(out, xpos, ypos, buffer, frames > 0 ? frames >= 10 ? frames >= 50 ? s->red : s->yellow : … in draw_items()
224 drawtext(out, xpos, ypos, buffer, s->white); in draw_items()
229 drawtext(out, xpos, ypos, buffer, s->white); in draw_items()
234 drawtext(out, xpos, ypos, buffer, s->white); in draw_items()
[all …]
Davf_ahistogram.c49 int ypos; member
146 s->ypos = s->h * s->phisto; in config_output()
314 s->out->data[0][s->ypos * s->out->linesize[0] + n] = h; in filter_frame()
315 s->out->data[1][s->ypos * s->out->linesize[1] + n] = 127; in filter_frame()
316 s->out->data[2][s->ypos * s->out->linesize[2] + n] = 127; in filter_frame()
317 s->out->data[3][s->ypos * s->out->linesize[3] + n] = 255; in filter_frame()
346 s->out->data[0][s->ypos * s->out->linesize[0] + n] = cb[0]; in filter_frame()
347 s->out->data[1][s->ypos * s->out->linesize[1] + n] = cb[1]; in filter_frame()
348 s->out->data[2][s->ypos * s->out->linesize[2] + n] = cb[2]; in filter_frame()
349 s->out->data[3][s->ypos * s->out->linesize[3] + n] = 255; in filter_frame()
[all …]
/third_party/gstreamer/gstplugins_base/gst/compositor/
Dblend.c44 method##_ ##name (GstVideoFrame * srcframe, gint xpos, gint ypos, \
78 if (ypos < dst_y_start) { \
79 src += (dst_y_start - ypos) * src_stride; \
80 src_height -= dst_y_start - ypos; \
81 ypos = dst_y_start; \
87 if (ypos + src_height > dst_y_end) { \
88 src_height = dst_y_end - ypos; \
92 dest = dest + 4 * xpos + (ypos * dest_stride); \
298 blend_##format_name (GstVideoFrame * srcframe, gint xpos, gint ypos, \
328 ypos = y_round (ypos); \
[all …]
/third_party/flutter/glfw/src/
Dinput.c103 void _glfwInputCursorPos(_GLFWwindow* window, double xpos, double ypos) in _glfwInputCursorPos() argument
105 if (window->virtualCursorPosX == xpos && window->virtualCursorPosY == ypos) in _glfwInputCursorPos()
109 window->virtualCursorPosY = ypos; in _glfwInputCursorPos()
112 window->callbacks.cursorPos((GLFWwindow*) window, xpos, ypos); in _glfwInputCursorPos()
305 GLFWAPI void glfwGetCursorPos(GLFWwindow* handle, double* xpos, double* ypos) in glfwGetCursorPos() argument
312 if (ypos) in glfwGetCursorPos()
313 *ypos = 0; in glfwGetCursorPos()
321 if (ypos) in glfwGetCursorPos()
322 *ypos = window->virtualCursorPosY; in glfwGetCursorPos()
325 _glfwPlatformGetCursorPos(window, xpos, ypos); in glfwGetCursorPos()
[all …]
Dwin32_window.c397 int xpos, ypos; in acquireMonitor() local
402 _glfwPlatformGetMonitorPos(window->monitor, &xpos, &ypos); in acquireMonitor()
405 xpos, ypos, mode.width, mode.height, in acquireMonitor()
858 int xpos, ypos, fullWidth, fullHeight; in createNativeWindow() local
870 _glfwPlatformGetMonitorPos(window->monitor, &xpos, &ypos); in createNativeWindow()
878 ypos = CW_USEDEFAULT; in createNativeWindow()
900 xpos, ypos, in createNativeWindow()
1102 void _glfwPlatformGetWindowPos(_GLFWwindow* window, int* xpos, int* ypos) in _glfwPlatformGetWindowPos() argument
1109 if (ypos) in _glfwPlatformGetWindowPos()
1110 *ypos = pos.y; in _glfwPlatformGetWindowPos()
[all …]
Dinternal.h528 void _glfwPlatformGetCursorPos(_GLFWwindow* window, double* xpos, double* ypos);
533 void _glfwPlatformSetCursorPos(_GLFWwindow* window, double xpos, double ypos);
564 void _glfwPlatformGetMonitorPos(_GLFWmonitor* monitor, int* xpos, int* ypos);
652 void _glfwPlatformGetWindowPos(_GLFWwindow* window, int* xpos, int* ypos);
657 void _glfwPlatformSetWindowPos(_GLFWwindow* window, int xpos, int ypos);
722 void _glfwPlatformSetWindowMonitor(_GLFWwindow* window, _GLFWmonitor* monitor, int xpos, int ypos, …
824 void _glfwInputWindowPos(_GLFWwindow* window, int xpos, int ypos);
907 void _glfwInputCursorPos(_GLFWwindow* window, double xpos, double ypos);
Dmir_monitor.c81 void _glfwPlatformGetMonitorPos(_GLFWmonitor* monitor, int* xpos, int* ypos) in _glfwPlatformGetMonitorPos() argument
85 if (ypos) in _glfwPlatformGetMonitorPos()
86 *ypos = monitor->mir.y; in _glfwPlatformGetMonitorPos()
/third_party/mesa3d/src/mesa/main/
Daccum.c130 GLint xpos, GLint ypos, GLint width, GLint height, in accum_scale_or_bias() argument
140 ctx->Driver.MapRenderbuffer(ctx, accRb, xpos, ypos, width, height, in accum_scale_or_bias()
189 GLint xpos, GLint ypos, GLint width, GLint height, in accum_or_load() argument
211 ctx->Driver.MapRenderbuffer(ctx, accRb, xpos, ypos, width, height, in accum_or_load()
220 ctx->Driver.MapRenderbuffer(ctx, colorRb, xpos, ypos, width, height, in accum_or_load()
285 GLint xpos, GLint ypos, GLint width, GLint height) in accum_return() argument
294 ctx->Driver.MapRenderbuffer(ctx, accRb, xpos, ypos, width, height, in accum_return()
315 ctx->Driver.MapRenderbuffer(ctx, colorRb, xpos, ypos, width, height, in accum_return()
399 GLint xpos, ypos, width, height; in accum() local
412 ypos = ctx->DrawBuffer->_Ymin; in accum()
[all …]
/third_party/flutter/skia/gm/
Dskinning.cpp122 int ypos = kCellSize; in onDraw() local
131 drawPermutations(canvas, xpos, ypos, bones, 1); in onDraw()
137 int& ypos, in drawPermutations() argument
151 canvas->translate(xpos, ypos); in drawPermutations()
178 ypos += kCellSize; in drawPermutations()
190 drawPermutations(canvas, xpos, ypos, bones, start + 1); in drawPermutations()
/third_party/python/Tools/demo/
Dlife.py192 xpos, ypos = board.X // 2, board.Y // 2
196 stdscr.move(1 + ypos, 1 + xpos) # Move the cursor
201 board.toggle(ypos, xpos)
235 elif c == curses.KEY_UP and ypos > 0:
236 ypos -= 1
237 elif c == curses.KEY_DOWN and ypos + 1 < board.Y:
238 ypos += 1
248 ypos = mouse_y - 1
249 board.toggle(ypos, xpos)
/third_party/flutter/skia/third_party/externals/freetype/src/pfr/
Dpfrsbit.c412 FT_Long xpos, ypos, advance; in pfr_load_bitmap_metrics() local
420 ypos = 0; in pfr_load_bitmap_metrics()
431 ypos = ( (FT_Char)( b << 4 ) ) >> 4; in pfr_load_bitmap_metrics()
437 ypos = PFR_NEXT_INT8( p ); in pfr_load_bitmap_metrics()
443 ypos = PFR_NEXT_SHORT( p ); in pfr_load_bitmap_metrics()
449 ypos = PFR_NEXT_LONG( p ); in pfr_load_bitmap_metrics()
515 *aypos = ypos; in pfr_load_bitmap_metrics()
656 FT_Long xpos = 0, ypos = 0, advance = 0; in pfr_slot_load_bitmap() local
683 &xpos, &ypos, in pfr_slot_load_bitmap()
744 ypos > FT_INT_MAX - (FT_Long)ysize || in pfr_slot_load_bitmap()
[all …]
/third_party/skia/third_party/externals/freetype/src/pfr/
Dpfrsbit.c412 FT_Long xpos, ypos, advance; in pfr_load_bitmap_metrics() local
420 ypos = 0; in pfr_load_bitmap_metrics()
431 ypos = ( (FT_Char)( b << 4 ) ) >> 4; in pfr_load_bitmap_metrics()
437 ypos = PFR_NEXT_INT8( p ); in pfr_load_bitmap_metrics()
443 ypos = PFR_NEXT_SHORT( p ); in pfr_load_bitmap_metrics()
449 ypos = PFR_NEXT_LONG( p ); in pfr_load_bitmap_metrics()
515 *aypos = ypos; in pfr_load_bitmap_metrics()
656 FT_Long xpos = 0, ypos = 0, advance = 0; in pfr_slot_load_bitmap() local
683 &xpos, &ypos, in pfr_slot_load_bitmap()
744 ypos > FT_INT_MAX - (FT_Long)ysize || in pfr_slot_load_bitmap()
[all …]
/third_party/freetype/src/pfr/
Dpfrsbit.c412 FT_Long xpos, ypos, advance; in pfr_load_bitmap_metrics() local
420 ypos = 0; in pfr_load_bitmap_metrics()
431 ypos = ( (FT_Char)( b << 4 ) ) >> 4; in pfr_load_bitmap_metrics()
437 ypos = PFR_NEXT_INT8( p ); in pfr_load_bitmap_metrics()
443 ypos = PFR_NEXT_SHORT( p ); in pfr_load_bitmap_metrics()
449 ypos = PFR_NEXT_LONG( p ); in pfr_load_bitmap_metrics()
515 *aypos = ypos; in pfr_load_bitmap_metrics()
656 FT_Long xpos = 0, ypos = 0, advance = 0; in pfr_slot_load_bitmap() local
683 &xpos, &ypos, in pfr_slot_load_bitmap()
744 ypos > FT_INT_MAX - (FT_Long)ysize || in pfr_slot_load_bitmap()
[all …]
/third_party/gstreamer/gstplugins_base/ext/pango/
Dgsttextrender.c411 int xpos, int ypos, int stride) in gst_text_renderer_image_to_ayuv() argument
421 for (y = 0; y < height && ypos + y < render->height; y++) { in gst_text_renderer_image_to_ayuv()
423 p = pixbuf + (ypos + y) * stride + xpos * 4; in gst_text_renderer_image_to_ayuv()
448 int xpos, int ypos, int stride) in gst_text_renderer_image_to_argb() argument
457 for (i = 0; i < height && ypos + i < render->height; i++) { in gst_text_renderer_image_to_argb()
458 p = pixbuf + (ypos + i) * stride + xpos * 4; in gst_text_renderer_image_to_argb()
517 gint xpos, ypos; in gst_text_render_chain() local
584 ypos = render->height - render->image_height - render->ypad; in gst_text_render_chain()
587 ypos = render->height - (render->image_height + render->ypad); in gst_text_render_chain()
590 ypos = render->ypad; in gst_text_render_chain()
[all …]
Dgstbasetextoverlay.c754 overlay->ypos = DEFAULT_PROP_YPOS; in gst_base_text_overlay_init()
1075 overlay->ypos = g_value_get_double (value); in gst_base_text_overlay_set_property()
1081 overlay->ypos = g_value_get_double (value); in gst_base_text_overlay_set_property()
1195 g_value_set_double (value, overlay->ypos); in gst_base_text_overlay_get_property()
1201 g_value_set_double (value, overlay->ypos); in gst_base_text_overlay_get_property()
1579 gint * xpos, gint * ypos) in gst_base_text_overlay_get_pos() argument
1613 *ypos = overlay->ink_rect.y - overlay->logical_rect.y; in gst_base_text_overlay_get_pos()
1618 *ypos += overlay->height - height - overlay->ypad; in gst_base_text_overlay_get_pos()
1619 *ypos = MIN (overlay->height - overlay->ink_rect.height, *ypos); in gst_base_text_overlay_get_pos()
1622 *ypos += overlay->height - height - overlay->ypad; in gst_base_text_overlay_get_pos()
[all …]
/third_party/ffmpeg/libavcodec/
Droqvideodec.c41 int vqid, xpos, ypos, xp, yp, x, y, mx, my; in roqvideo_decode_frame() local
72 xpos = ypos = 0; in roqvideo_decode_frame()
80 for (yp = ypos; yp < ypos + 16; yp += 8) in roqvideo_decode_frame()
160 ypos += 16; in roqvideo_decode_frame()
162 if(ypos >= ri->height) in roqvideo_decode_frame()
Dindeo3.c76 int16_t ypos; member
237 offset_dst = (cell->ypos << 2) * plane->pitch + (cell->xpos << 2); in copy_cell()
246 if ((cell->ypos << 2) + mv_y < -1 || (cell->xpos << 2) + mv_x < 0 || in copy_cell()
247 ((cell->ypos + cell->height) << 2) + mv_y > plane->height || in copy_cell()
374 if (is_top_of_cell && !cell->ypos) {\
397 if (is_top_of_cell && !cell->ypos) {\
598 offset = (cell->ypos << 2) * plane->pitch + (cell->xpos << 2); in decode_cell()
616 if ((cell->ypos << 2) + mv_y < -1 || (cell->xpos << 2) + mv_x < 0 || in decode_cell()
617 ((cell->ypos + cell->height) << 2) + mv_y > plane->height || in decode_cell()
745 curr_cell.ypos + curr_cell.height > (plane->height >> 2)) { \
[all …]
/third_party/flutter/glfw/tests/
Dwindows.c79 int xpos, ypos; in key_callback() local
80 glfwGetWindowPos(window, &xpos, &ypos); in key_callback()
81 glfwSetWindowPos(window, xpos, ypos); in key_callback()
/third_party/flutter/glfw/examples/
Dsplitview.c33 static double xpos = 0, ypos = 0; variable
424 rot_x += (int) (y - ypos); in cursorPosFun()
429 rot_x += (int) (y - ypos); in cursorPosFun()
435 rot_z += (int) (y - ypos); in cursorPosFun()
445 ypos = y; in cursorPosFun()
461 if (ypos >= height / 2) in mouseButtonFun()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/crypto/
Daes-gcm.c148 u8 *ypos = y; in aes_gctr() local
158 aes_encrypt(aes, cb, ypos); in aes_gctr()
159 xor_block(ypos, xpos); in aes_gctr()
161 ypos += AES_BLOCK_SIZE; in aes_gctr()
170 *ypos++ = *xpos++ ^ tmp[i]; in aes_gctr()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/crypto/
Daes-gcm.c148 u8 *ypos = y; in aes_gctr() local
158 aes_encrypt(aes, cb, ypos); in aes_gctr()
159 xor_block(ypos, xpos); in aes_gctr()
161 ypos += AES_BLOCK_SIZE; in aes_gctr()
170 *ypos++ = *xpos++ ^ tmp[i]; in aes_gctr()
/third_party/gstreamer/gstplugins_bad/ext/opencv/
Dgsttextoverlay.cpp235 filter->ypos = DEFAULT_PROP_YPOS; in gst_opencv_text_overlay_init()
260 filter->ypos = g_value_get_int (value); in gst_opencv_text_overlay_set_property()
302 g_value_set_int (value, filter->ypos); in gst_opencv_text_overlay_get_property()
338 filter->ypos), cv::FONT_HERSHEY_SIMPLEX, in gst_opencv_text_overlay_transform_ip()
/third_party/gstreamer/gstreamer/scripts/
Dgst-plot-timeline.py187 ypos = i * PIXELS_PER_SECOND
189 ctx.move_to(0, ypos + 0.5)
190 ctx.line_to(TIME_SCALE_WIDTH, ypos + 0.5)
193 ctx.move_to(0, ypos + 2 + FONT_SIZE)
/third_party/flutter/skia/third_party/externals/imgui/examples/libs/glfw/include/GLFW/
Dglfw3.h1437 GLFWAPI void glfwGetMonitorPos(GLFWmonitor* monitor, int* xpos, int* ypos);
1986 GLFWAPI void glfwGetWindowPos(GLFWwindow* window, int* xpos, int* ypos);
2017 GLFWAPI void glfwSetWindowPos(GLFWwindow* window, int xpos, int ypos);
2446 GLFWAPI void glfwSetWindowMonitor(GLFWwindow* window, GLFWmonitor* monitor, int xpos, int ypos, int…
3092 GLFWAPI void glfwGetCursorPos(GLFWwindow* window, double* xpos, double* ypos);
3133 GLFWAPI void glfwSetCursorPos(GLFWwindow* window, double xpos, double ypos);

1234