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

/external/pdfium/core/fpdfapi/font/
H A Dcpdf_type3font.cpp48 float yscale = 1.0f; local
52 yscale = m_FontMatrix.d;
58 pBBox->GetNumberAt(0) * xscale, pBBox->GetNumberAt(1) * yscale,
59 pBBox->GetNumberAt(2) * xscale, pBBox->GetNumberAt(3) * yscale);
/external/mesa3d/src/gallium/drivers/etnaviv/
H A Detnaviv_translate.h482 int xscale, yscale; local
489 yscale = 1;
494 yscale = 1;
499 yscale = 2;
509 *yscale_out = yscale;
/external/webp/src/dsp/
H A Drescaler_mips_dsp_r2.c33 const int yscale = wrk->fy_scale * (-wrk->y_accum); local
41 if (yscale) {
54 "maddu $ac0, %[temp0], %[yscale] \n\t"
56 "maddu $ac1, %[temp1], %[yscale] \n\t"
58 "maddu $ac2, %[temp2], %[yscale] \n\t"
60 "maddu $ac3, %[temp5], %[yscale] \n\t"
102 : [temp7]"r"(temp7), [yscale]"r"(yscale), [temp6]"r"(temp6)
108 const uint32_t frac = (uint32_t)MULT_FIX(*frow++, yscale);
H A Drescaler_mips32.c217 const int yscale = wrk->fy_scale * (-wrk->y_accum); local
226 if (yscale) {
235 "maddu %[temp0], %[yscale] \n\t"
250 : [temp2]"r"(temp2), [yscale]"r"(yscale), [temp6]"r"(temp6)
H A Drescaler_neon.c122 const uint32_t yscale = wrk->fy_scale * (-wrk->y_accum); local
125 const int32x4_t yscale_half = MAKE_HALF_CST(yscale);
130 if (yscale) {
147 const uint32_t frac = (uint32_t)MULT_FIX_C(frow[x_out], yscale);
H A Drescaler.c134 const uint32_t yscale = wrk->fy_scale * (-wrk->y_accum); local
138 if (yscale) {
140 const uint32_t frac = (uint32_t)MULT_FIX(frow[x_out], yscale);
H A Drescaler_sse2.c295 const uint32_t yscale = wrk->fy_scale * (-wrk->y_accum); local
299 if (yscale) {
302 const __m128i mult_y = _mm_set_epi32(0, yscale, 0, yscale);
331 const uint32_t frac = (int)MULT_FIX(frow[x_out], yscale);
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(frow[x_out], yscale);
419 const uint32_t yscale = wrk->fy_scale * (-wrk->y_accum); local
423 if (yscale) {
424 ExportRowShrink_0(frow, irow, dst, x_out_max, yscale, wrk);
265 ExportRowShrink_0(const uint32_t* frow, uint32_t* irow, uint8_t* dst, int length, const uint32_t yscale, WebPRescaler* const wrk) argument
/external/harfbuzz_ng/src/
H A Dhb-graphite2.cc371 float yscale = (float) font->y_scale / upem; local
372 yscale *= yscale / xscale;
383 pPos->y_offset = gr_slot_origin_Y (is) * yscale - curradvy;
391 pPos->y_advance = gr_slot_advance_Y (is, grface, nullptr) * yscale;
408 pPos->y_advance = gr_slot_advance_Y (is, grface, nullptr) * yscale;
411 pPos->y_offset = gr_slot_origin_Y (is) * yscale - curradvy;
/external/mesa3d/src/gallium/auxiliary/hud/
H A Dhud_private.h64 float yscale; member in struct:hud_pane
H A Dhud_context.c118 int xoffset, int yoffset, float yscale)
130 hud->constants.scale[1] = yscale;
337 unsigned xoffset, unsigned yoffset, float yscale)
348 yoffset, yscale);
357 xoffset - gr->index*2 - 1, yoffset, yscale);
423 pane->yscale + pane->inner_y2);
455 hud_draw_graph_line_strip(hud, gr, pane->inner_x1, pane->inner_y2, pane->yscale);
759 pane->yscale = -(int)pane->inner_height / (float)pane->max_value;
1562 * [2] = (xscale, yscale, 0, 0) */
1567 /* v = in * (xscale, yscale)
115 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) argument
336 hud_draw_graph_line_strip(struct hud_context *hud, const struct hud_graph *gr, unsigned xoffset, unsigned yoffset, float yscale) argument
[all...]
/external/libdrm/exynos/
H A Dexynos_fimg2d.h273 unsigned int yscale; member in struct:g2d_image
/external/python/cpython2/Lib/lib-tk/
H A DCanvas.py84 def scale(self, xorigin, yorigin, xscale, yscale):
85 self.canvas.scale(self.id, xorigin, yorigin, xscale, yscale)
H A 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
[all...]
/external/python/cpython3/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
616 -self.cv.canvasy(event.y)/self.yscale)
634 -self.cv.canvasy(event.y)/self.yscale)
654 -self.cv.canvasy(event.y)/self.yscale)
674 -self.cv.canvasy(event.y)/self.yscale)
730 self.cv.coords(item, (x * self.xscale, -y * self.yscale))
1065 self.xscale = self.yscale
[all...]
/external/fonttools/Lib/fontTools/ttLib/tables/
H A D_g_l_y_f.py837 xscale, yscale = struct.unpack(">hh", data[:4])
838 self.transform = [[fi2fl(xscale,14), 0], [0, fi2fl(yscale,14)]] # fixed 2.14
842 scale10, yscale) = struct.unpack(">hhhh", data[:8])
844 [fi2fl(scale10,14), fi2fl(yscale,14)]] # fixed 2.14
/external/fonttools/Tools/fontTools/ttLib/tables/
H A D_g_l_y_f.py837 xscale, yscale = struct.unpack(">hh", data[:4])
838 self.transform = [[fi2fl(xscale,14), 0], [0, fi2fl(yscale,14)]] # fixed 2.14
842 scale10, yscale) = struct.unpack(">hhhh", data[:8])
844 [fi2fl(scale10,14), fi2fl(yscale,14)]] # fixed 2.14
/external/mesa3d/src/gallium/drivers/r300/
H A Dr300_context.h255 float yscale; /* R300_VAP_VPORT_YSCALE: 0x20a0 */ member in struct:r300_viewport_state
H A Dr300_state.c1713 viewport->yscale = state->scale[1];
/external/mesa3d/include/GLES2/
H A Dgl2ext.h2001 typedef void (GL_APIENTRYP PFNGLFRAMEBUFFERTEXTURE2DDOWNSAMPLEIMGPROC) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint xscale, GLint yscale);
2002 typedef void (GL_APIENTRYP PFNGLFRAMEBUFFERTEXTURELAYERDOWNSAMPLEIMGPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer, GLint xscale, GLint yscale);
2004 GL_APICALL void GL_APIENTRY glFramebufferTexture2DDownsampleIMG (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint xscale, GLint yscale);
2005 GL_APICALL void GL_APIENTRY glFramebufferTextureLayerDownsampleIMG (GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer, GLint xscale, GLint yscale);
/external/swiftshader/include/GLES2/
H A Dgl2ext.h2275 typedef void (GL_APIENTRYP PFNGLFRAMEBUFFERTEXTURE2DDOWNSAMPLEIMGPROC) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint xscale, GLint yscale);
2276 typedef void (GL_APIENTRYP PFNGLFRAMEBUFFERTEXTURELAYERDOWNSAMPLEIMGPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer, GLint xscale, GLint yscale);
2278 GL_APICALL void GL_APIENTRY glFramebufferTexture2DDownsampleIMG (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint xscale, GLint yscale);
2279 GL_APICALL void GL_APIENTRY glFramebufferTextureLayerDownsampleIMG (GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer, GLint xscale, GLint yscale);
/external/deqp/external/vulkancts/modules/vulkan/memory/
H A DvktMemoryPipelineBarrierTests.cpp3868 const float yscale = ((float)m_srcImageHeight) / (float)m_imageHeight;
3883 refAccess.setPixel(source.getAccess().getPixelUint(int((float(x) + 0.5f) * xscale), int((float(y) + 0.5f) * yscale)), x, y);

Completed in 674 milliseconds