Home
last modified time | relevance | path

Searched refs:yscale (Results 1 - 25 of 47) sorted by relevance

12

/third_party/skia/third_party/externals/angle2/src/compiler/translator/tree_util/
H A DSpecializationConstant.cpp115 // Returns vec2(vec2Values.x, vec2Values.y*yscale)
116 TIntermAggregate *CreateVec2(Vec2EnumMap vec2Values, float yscale, vk::SurfaceRotation rotation) in CreateVec2() argument
121 vec2Args.push_back(CreateFloatNode(vec2Values[rotation][1] * yscale, EbpLow)); in CreateVec2()
129 float yscale, in CreateVec2ArrayWithIndex()
137 CreateVec2(vec2Values, yscale, vk::SurfaceRotation::Identity), in CreateVec2ArrayWithIndex()
138 CreateVec2(vec2Values, yscale, vk::SurfaceRotation::Rotated90Degrees), in CreateVec2ArrayWithIndex()
139 CreateVec2(vec2Values, yscale, vk::SurfaceRotation::Rotated180Degrees), in CreateVec2ArrayWithIndex()
140 CreateVec2(vec2Values, yscale, vk::SurfaceRotation::Rotated270Degrees), in CreateVec2ArrayWithIndex()
141 CreateVec2(vec2Values, yscale, vk::SurfaceRotation::FlippedIdentity), in CreateVec2ArrayWithIndex()
142 CreateVec2(vec2Values, yscale, v in CreateVec2ArrayWithIndex()
128 CreateVec2ArrayWithIndex(Vec2EnumMap vec2Values, float yscale, TIntermSymbol *rotation) CreateVec2ArrayWithIndex() argument
[all...]
/third_party/mesa3d/src/gallium/drivers/etnaviv/
H A Detnaviv_translate.h425 int xscale, yscale; in translate_samples_to_xyscale() local
431 yscale = 1; in translate_samples_to_xyscale()
435 yscale = 1; in translate_samples_to_xyscale()
439 yscale = 2; in translate_samples_to_xyscale()
448 *yscale_out = yscale; in translate_samples_to_xyscale()
/third_party/skia/third_party/externals/libwebp/src/dsp/
H A Drescaler_mips_dsp_r2.c35 const int yscale = wrk->fy_scale * (-wrk->y_accum);
43 if (yscale) {
56 "maddu $ac0, %[temp0], %[yscale] \n\t"
58 "maddu $ac1, %[temp1], %[yscale] \n\t"
60 "maddu $ac2, %[temp2], %[yscale] \n\t"
62 "maddu $ac3, %[temp5], %[yscale] \n\t"
104 : [temp7]"r"(temp7), [yscale]"r"(yscale), [temp6]"r"(temp6)
110 const uint32_t frac = (uint32_t)MULT_FIX_FLOOR(*frow++, yscale);
H A Drescaler_mips32.c218 const int yscale = wrk->fy_scale * (-wrk->y_accum);
227 if (yscale) {
236 "maddu %[temp0], %[yscale] \n\t"
251 : [temp2]"r"(temp2), [yscale]"r"(yscale), [temp6]"r"(temp6)
H A Drescaler_neon.c124 const uint32_t yscale = wrk->fy_scale * (-wrk->y_accum); in RescalerExportRowShrink_NEON() local
127 const int32x4_t yscale_half = MAKE_HALF_CST(yscale); in RescalerExportRowShrink_NEON()
132 if (yscale) { in RescalerExportRowShrink_NEON()
149 const uint32_t frac = (uint32_t)MULT_FIX_FLOOR_C(frow[x_out], yscale); in RescalerExportRowShrink_NEON()
H A Drescaler.c134 const uint32_t yscale = wrk->fy_scale * (-wrk->y_accum); in WebPRescalerExportRowShrink_C() local
138 if (yscale) { in WebPRescalerExportRowShrink_C()
140 const uint32_t frac = (uint32_t)MULT_FIX_FLOOR(frow[x_out], yscale); in WebPRescalerExportRowShrink_C()
H A Drescaler_sse2.c292 const uint32_t yscale = wrk->fy_scale * (-wrk->y_accum); in RescalerExportRowShrink_SSE2() local
296 if (yscale) { in RescalerExportRowShrink_SSE2()
299 const __m128i mult_y = _mm_set_epi32(0, yscale, 0, yscale); in RescalerExportRowShrink_SSE2()
323 const uint32_t frac = (int)MULT_FIX_FLOOR(frow[x_out], yscale); in RescalerExportRowShrink_SSE2()
H A Drescaler_msa.c267 const uint32_t yscale,
269 const v4u32 y_scale = (v4u32)__msa_fill_w(yscale);
343 const uint32_t frac = (uint32_t)MULT_FIX_FLOOR(frow[x_out], yscale);
417 const uint32_t yscale = wrk->fy_scale * (-wrk->y_accum);
421 if (yscale) {
422 ExportRowShrink_0(frow, irow, dst, x_out_max, yscale, wrk);
/third_party/glfw/src/
H A Dnull_monitor.c80 float* xscale, float* yscale) in _glfwGetMonitorContentScaleNull()
84 if (yscale) in _glfwGetMonitorContentScaleNull()
85 *yscale = 1.f; in _glfwGetMonitorContentScaleNull()
79 _glfwGetMonitorContentScaleNull(_GLFWmonitor* monitor, float* xscale, float* yscale) _glfwGetMonitorContentScaleNull() argument
H A Dwin32_monitor.c317 void _glfwGetHMONITORContentScaleWin32(HMONITOR handle, float* xscale, float* yscale) in _glfwGetHMONITORContentScaleWin32() argument
323 if (yscale) in _glfwGetHMONITORContentScaleWin32()
324 *yscale = 0.f; in _glfwGetHMONITORContentScaleWin32()
344 if (yscale) in _glfwGetHMONITORContentScaleWin32()
345 *yscale = ydpi / (float) USER_DEFAULT_SCREEN_DPI; in _glfwGetHMONITORContentScaleWin32()
375 float* xscale, float* yscale) in _glfwGetMonitorContentScaleWin32()
377 _glfwGetHMONITORContentScaleWin32(monitor->win32.handle, xscale, yscale); in _glfwGetMonitorContentScaleWin32()
374 _glfwGetMonitorContentScaleWin32(_GLFWmonitor* monitor, float* xscale, float* yscale) _glfwGetMonitorContentScaleWin32() argument
H A Dwl_monitor.c208 float* xscale, float* yscale) in _glfwGetMonitorContentScaleWayland()
212 if (yscale) in _glfwGetMonitorContentScaleWayland()
213 *yscale = (float) monitor->wl.scale; in _glfwGetMonitorContentScaleWayland()
207 _glfwGetMonitorContentScaleWayland(_GLFWmonitor* monitor, float* xscale, float* yscale) _glfwGetMonitorContentScaleWayland() argument
H A Dcocoa_platform.h153 float xscale, yscale; member
229 void _glfwGetWindowContentScaleCocoa(_GLFWwindow* window, float* xscale, float* yscale);
281 void _glfwGetMonitorContentScaleCocoa(_GLFWmonitor* monitor, float* xscale, float* yscale);
H A Dmonitor.c381 float* xscale, float* yscale) in glfwGetMonitorContentScale()
385 if (yscale) in glfwGetMonitorContentScale()
386 *yscale = 0.f; in glfwGetMonitorContentScale()
393 _glfw.platform.getMonitorContentScale(monitor, xscale, yscale); in glfwGetMonitorContentScale()
380 glfwGetMonitorContentScale(GLFWmonitor* handle, float* xscale, float* yscale) glfwGetMonitorContentScale() argument
H A Dwindow.c134 void _glfwInputWindowContentScale(_GLFWwindow* window, float xscale, float yscale) in _glfwInputWindowContentScale() argument
139 assert(yscale > 0.f); in _glfwInputWindowContentScale()
140 assert(yscale < FLT_MAX); in _glfwInputWindowContentScale()
143 window->callbacks.scale((GLFWwindow*) window, xscale, yscale); in _glfwInputWindowContentScale()
753 float* xscale, float* yscale) in glfwGetWindowContentScale()
757 if (yscale) in glfwGetWindowContentScale()
758 *yscale = 0.f; in glfwGetWindowContentScale()
765 _glfw.platform.getWindowContentScale(window, xscale, yscale); in glfwGetWindowContentScale()
752 glfwGetWindowContentScale(GLFWwindow* handle, float* xscale, float* yscale) glfwGetWindowContentScale() argument
H A Dnull_window.c322 void _glfwGetWindowContentScaleNull(_GLFWwindow* window, float* xscale, float* yscale) in _glfwGetWindowContentScaleNull() argument
326 if (yscale) in _glfwGetWindowContentScaleNull()
327 *yscale = 1.f; in _glfwGetWindowContentScaleNull()
H A Dnull_platform.h215 void _glfwGetMonitorContentScaleNull(_GLFWmonitor* monitor, float* xscale, float* yscale);
235 void _glfwGetWindowContentScaleNull(_GLFWwindow* window, float* xscale, float* yscale);
H A Dwin32_platform.h543 void _glfwGetHMONITORContentScaleWin32(HMONITOR handle, float* xscale, float* yscale);
557 void _glfwGetWindowContentScaleWin32(_GLFWwindow* window, float* xscale, float* yscale);
609 void _glfwGetMonitorContentScaleWin32(_GLFWmonitor* monitor, float* xscale, float* yscale);
H A Dx11_monitor.c341 float* xscale, float* yscale) in _glfwGetMonitorContentScaleX11()
345 if (yscale) in _glfwGetMonitorContentScaleX11()
346 *yscale = _glfw.x11.contentScaleY; in _glfwGetMonitorContentScaleX11()
340 _glfwGetMonitorContentScaleX11(_GLFWmonitor* monitor, float* xscale, float* yscale) _glfwGetMonitorContentScaleX11() argument
/third_party/skia/third_party/externals/harfbuzz/src/
H A Dhb-graphite2.cc327 float yscale = (float) font->y_scale / upem; in _hb_graphite2_shape() local
328 yscale *= yscale / xscale; in _hb_graphite2_shape()
406 pPos->y_offset = gr_slot_origin_Y (is) * yscale - curradvy; in _hb_graphite2_shape()
414 pPos->y_advance = gr_slot_advance_Y (is, grface, nullptr) * yscale; in _hb_graphite2_shape()
431 pPos->y_advance = gr_slot_advance_Y (is, grface, nullptr) * yscale; in _hb_graphite2_shape()
434 pPos->y_offset = gr_slot_origin_Y (is) * yscale - curradvy; in _hb_graphite2_shape()
/third_party/glfw/tests/
H A Dmonitors.c99 float xscale, yscale; in list_modes() local
106 glfwGetMonitorContentScale(monitor, &xscale, &yscale); in list_modes()
114 printf("Content scale: %f x %f\n", xscale, yscale); in list_modes()
H A Dwindow.c375 float xscale, yscale; in main() local
376 glfwGetWindowContentScale(window, &xscale, &yscale); in main()
379 nk_labelf(nk, NK_TEXT_LEFT, "%f", yscale); in main()
/third_party/ffmpeg/libavfilter/
H A Dvf_vignette.c72 float xscale, yscale; member
140 const int yy = (y - s->y0) * s->yscale; in get_natural_factor()
299 s->yscale = 1; in config_props()
301 s->yscale = av_q2d(av_div_q(s->aspect, sar)); in config_props()
305 av_log(s, AV_LOG_DEBUG, "xscale=%f yscale=%f dmax=%f\n", in config_props()
306 s->xscale, s->yscale, s->dmax); in config_props()
/third_party/python/Lib/
H A Dturtle.py492 self.xscale = self.yscale = 1.0
513 cl.append(-y * self.yscale)
544 cl.append(-y * self.yscale)
594 y = y * self.yscale
615 -self.cv.canvasy(event.y)/self.yscale)
633 -self.cv.canvasy(event.y)/self.yscale)
653 -self.cv.canvasy(event.y)/self.yscale)
673 -self.cv.canvasy(event.y)/self.yscale)
729 self.cv.coords(item, (x * self.xscale, -y * self.yscale))
1066 self.xscale = self.yscale
[all...]
/third_party/mesa3d/src/gallium/auxiliary/hud/
H A Dhud_context.c74 int xoffset, int yoffset, float yscale) in hud_draw_colored_prims()
87 hud->constants.scale[1] = yscale * hud_scale; in hud_draw_colored_prims()
302 unsigned xoffset, unsigned yoffset, float yscale) in hud_draw_graph_line_strip()
313 yoffset, yscale); in hud_draw_graph_line_strip()
322 xoffset - gr->index*2 - 1, yoffset, yscale); in hud_draw_graph_line_strip()
388 pane->yscale + pane->inner_y2); in hud_pane_accumulate_vertices()
440 hud_draw_graph_line_strip(hud, gr, pane->inner_x1, pane->inner_y2, pane->yscale); in hud_pane_draw_colored_objects()
839 pane->yscale = -(int)pane->inner_height / (float)pane->max_value; in hud_pane_set_max_value()
1715 * [2] = (xscale, yscale, 0, 0) */ in hud_set_draw_context()
1720 /* v = in * (xscale, yscale) in hud_set_draw_context()
71 hud_draw_colored_prims(struct hud_context *hud, unsigned prim, float *buffer, unsigned num_vertices, float r, float g, float b, float a, int xoffset, int yoffset, float yscale) hud_draw_colored_prims() argument
301 hud_draw_graph_line_strip(struct hud_context *hud, const struct hud_graph *gr, unsigned xoffset, unsigned yoffset, float yscale) hud_draw_graph_line_strip() argument
[all...]
H A Dhud_private.h131 float yscale; member

Completed in 27 milliseconds

12