Home
last modified time | relevance | path

Searched refs:yscale (Results 1 – 25 of 26) sorted by relevance

12

/external/webp/src/dsp/
Drescaler_mips_dsp_r2.c35 const int yscale = wrk->fy_scale * (-wrk->y_accum);
43 if (yscale) {
104 : [temp7]"r"(temp7), [yscale]"r"(yscale), [temp6]"r"(temp6)
110 const uint32_t frac = (uint32_t)MULT_FIX_FLOOR(*frow++, yscale);
Drescaler_mips32.c218 const int yscale = wrk->fy_scale * (-wrk->y_accum);
227 if (yscale) {
251 : [temp2]"r"(temp2), [yscale]"r"(yscale), [temp6]"r"(temp6)
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()
Drescaler.c133 const uint32_t yscale = wrk->fy_scale * (-wrk->y_accum); in WebPRescalerExportRowShrink_C() local
137 if (yscale) { in WebPRescalerExportRowShrink_C()
139 const uint32_t frac = (uint32_t)MULT_FIX_FLOOR(frow[x_out], yscale); in WebPRescalerExportRowShrink_C()
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()
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);
/external/angle/src/compiler/translator/tree_util/
DSpecializationConstant.cpp129 TIntermAggregate *CreateVec2(Vec2EnumMap vec2Values, float yscale, vk::SurfaceRotation rotation) in CreateVec2() argument
134 vec2Args.push_back(CreateFloatNode(vec2Values[rotation][1] * yscale)); in CreateVec2()
142 float yscale, in CreateVec2ArrayWithIndex() argument
150 CreateVec2(vec2Values, yscale, vk::SurfaceRotation::Identity), in CreateVec2ArrayWithIndex()
151 CreateVec2(vec2Values, yscale, vk::SurfaceRotation::Rotated90Degrees), in CreateVec2ArrayWithIndex()
152 CreateVec2(vec2Values, yscale, vk::SurfaceRotation::Rotated180Degrees), in CreateVec2ArrayWithIndex()
153 CreateVec2(vec2Values, yscale, vk::SurfaceRotation::Rotated270Degrees), in CreateVec2ArrayWithIndex()
154 CreateVec2(vec2Values, yscale, vk::SurfaceRotation::FlippedIdentity), in CreateVec2ArrayWithIndex()
155 CreateVec2(vec2Values, yscale, vk::SurfaceRotation::FlippedRotated90Degrees), in CreateVec2ArrayWithIndex()
156 CreateVec2(vec2Values, yscale, vk::SurfaceRotation::FlippedRotated180Degrees), in CreateVec2ArrayWithIndex()
[all …]
/external/mesa3d/src/gallium/drivers/etnaviv/
Detnaviv_translate.h426 int xscale, yscale; in translate_samples_to_xyscale() local
432 yscale = 1; in translate_samples_to_xyscale()
436 yscale = 1; in translate_samples_to_xyscale()
440 yscale = 2; in translate_samples_to_xyscale()
449 *yscale_out = yscale; in translate_samples_to_xyscale()
/external/pdfium/core/fpdfapi/font/
Dcpdf_type3font.cpp61 float yscale = 1.0f; in Load() local
65 yscale = m_FontMatrix.d; in Load()
71 pBBox->GetNumberAt(0) * xscale, pBBox->GetNumberAt(1) * yscale, in Load()
72 pBBox->GetNumberAt(2) * xscale, pBBox->GetNumberAt(3) * yscale); in Load()
/external/harfbuzz_ng/src/
Dhb-graphite2.cc309 float yscale = (float) font->y_scale / upem; in _hb_graphite2_shape() local
310 yscale *= yscale / xscale; in _hb_graphite2_shape()
388 pPos->y_offset = gr_slot_origin_Y (is) * yscale - curradvy; in _hb_graphite2_shape()
396 pPos->y_advance = gr_slot_advance_Y (is, grface, nullptr) * yscale; in _hb_graphite2_shape()
413 pPos->y_advance = gr_slot_advance_Y (is, grface, nullptr) * yscale; in _hb_graphite2_shape()
416 pPos->y_offset = gr_slot_origin_Y (is) * yscale - curradvy; in _hb_graphite2_shape()
/external/python/cpython3/Lib/
Dturtle.py493 self.xscale = self.yscale = 1.0
514 cl.append(-y * self.yscale)
545 cl.append(-y * self.yscale)
595 y = y * self.yscale
617 -self.cv.canvasy(event.y)/self.yscale)
635 -self.cv.canvasy(event.y)/self.yscale)
655 -self.cv.canvasy(event.y)/self.yscale)
675 -self.cv.canvasy(event.y)/self.yscale)
731 self.cv.coords(item, (x * self.xscale, -y * self.yscale))
1066 self.xscale = self.yscale = 1.0
[all …]
/external/python/cpython2/Lib/lib-tk/
Dturtle.py516 self.xscale = self.yscale = 1.0
537 cl.append(-y * self.yscale)
568 cl.append(-y * self.yscale)
618 y = y * self.yscale
640 -self.cv.canvasy(event.y)/self.yscale)
658 -self.cv.canvasy(event.y)/self.yscale)
678 -self.cv.canvasy(event.y)/self.yscale)
698 -self.cv.canvasy(event.y)/self.yscale)
736 self.cv.coords(item, (x * self.xscale, -y * self.yscale))
1012 self.xscale = self.yscale = 1.0
[all …]
DCanvas.py84 def scale(self, xorigin, yorigin, xscale, yscale): argument
85 self.canvas.scale(self.id, xorigin, yorigin, xscale, yscale)
/external/mesa3d/src/gallium/auxiliary/hud/
Dhud_context.c73 int xoffset, int yoffset, float yscale) in hud_draw_colored_prims() argument
85 hud->constants.scale[1] = yscale * hud_scale; in hud_draw_colored_prims()
300 unsigned xoffset, unsigned yoffset, float yscale) in hud_draw_graph_line_strip() argument
311 yoffset, yscale); in hud_draw_graph_line_strip()
320 xoffset - gr->index*2 - 1, yoffset, yscale); in hud_draw_graph_line_strip()
386 pane->yscale + pane->inner_y2); in hud_pane_accumulate_vertices()
438 hud_draw_graph_line_strip(hud, gr, pane->inner_x1, pane->inner_y2, pane->yscale); in hud_pane_draw_colored_objects()
831 pane->yscale = -(int)pane->inner_height / (float)pane->max_value; in hud_pane_set_max_value()
Dhud_private.h130 float yscale; member
/external/libdrm/exynos/
Dexynos_fimg2d.h286 unsigned int yscale; member
/external/blktrace/iowatcher/
Dplot.c793 double yscale = ((double)gld->max) / graph_height; in svg_line_graph() local
807 if (yscale == 0) in svg_line_graph()
810 val = avg / yscale; in svg_line_graph()
/external/mesa3d/src/gallium/drivers/r300/
Dr300_context.h255 float yscale; /* R300_VAP_VPORT_YSCALE: 0x20a0 */ member
Dr300_state.c1706 viewport->yscale = state->scale[1]; in r300_set_viewport_states()
/external/fonttools/Lib/fontTools/ttLib/tables/
D_g_l_y_f.py1311 xscale, yscale = struct.unpack(">hh", data[:4])
1312 self.transform = [[fi2fl(xscale,14), 0], [0, fi2fl(yscale,14)]] # fixed 2.14
1316 scale10, yscale) = struct.unpack(">hhhh", data[:8])
1318 [fi2fl(scale10,14), fi2fl(yscale,14)]] # fixed 2.14
/external/swiftshader/include/GLES2/
Dgl2ext.h2275 …get, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint xscale, GLint yscale);
2276 …m target, GLenum attachment, GLuint texture, GLint level, GLint layer, GLint xscale, GLint yscale);
2278 …get, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint xscale, GLint yscale);
2279 …m target, GLenum attachment, GLuint texture, GLint level, GLint layer, GLint xscale, GLint yscale);
/external/mesa3d/include/GLES2/
Dgl2ext.h2332 …get, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint xscale, GLint yscale);
2333 …m target, GLenum attachment, GLuint texture, GLint level, GLint layer, GLint xscale, GLint yscale);
2335 …get, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint xscale, GLint yscale);
2336 …m target, GLenum attachment, GLuint texture, GLint level, GLint layer, GLint xscale, GLint yscale);
/external/angle/include/GLES2/
Dgl2ext.h2324 …get, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint xscale, GLint yscale);
2325 …m target, GLenum attachment, GLuint texture, GLint level, GLint layer, GLint xscale, GLint yscale);
2327 …get, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint xscale, GLint yscale);
2328 …m target, GLenum attachment, GLuint texture, GLint level, GLint layer, GLint xscale, GLint yscale);
/external/deqp/external/vulkancts/modules/vulkan/memory/
DvktMemoryPipelineBarrierTests.cpp3853 const float yscale = ((float)m_srcImageHeight) / (float)m_imageHeight; in verify() local
3868 ….getAccess().getPixelUint(int((float(x) + 0.5f) * xscale), int((float(y) + 0.5f) * yscale)), x, y); in verify()
/external/libepoxy/prebuilt-intermediates/include/epoxy/
Dgl_generated.h7626 …get, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint xscale, GLint yscale);
7640 …m target, GLenum attachment, GLuint texture, GLint level, GLint layer, GLint xscale, GLint yscale);
11668 …get, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint xscale, GLint yscale);
11696 …m target, GLenum attachment, GLuint texture, GLint level, GLint layer, GLint xscale, GLint yscale);

12