Home
last modified time | relevance | path

Searched refs:y_step (Results 1 – 7 of 7) sorted by relevance

/external/mesa3d/src/util/format/
Du_format.c585 unsigned x_step, y_step; in util_format_translate() local
616 y_step = MAX2(dst_format_desc->block.height, src_format_desc->block.height); in util_format_translate()
618 assert(y_step % dst_format_desc->block.height == 0); in util_format_translate()
619 assert(y_step % src_format_desc->block.height == 0); in util_format_translate()
621 dst_step = y_step / dst_format_desc->block.height * dst_stride; in util_format_translate()
622 src_step = y_step / src_format_desc->block.height * src_stride; in util_format_translate()
635 assert(y_step == 1); in util_format_translate()
678 tmp_row = malloc(y_step * tmp_stride); in util_format_translate()
682 while (height >= y_step) { in util_format_translate()
683 unpack->unpack_rgba_8unorm(tmp_row, tmp_stride, src_row, src_stride, width, y_step); in util_format_translate()
[all …]
/external/pdfium/core/fxge/dib/
Dcfx_bitmapcomposer.cpp141 int y_step = dest_pitch; in ComposeScanlineV() local
144 y_step = -y_step; in ComposeScanlineV()
152 dest_scan += y_step; in ComposeScanlineV()
186 dest_scan += y_step; in ComposeScanlineV()
/external/python/cpython2/Lib/test/
Dtest_xrange.py66 y_step = y[1] - y[0]
67 if x_step != y_step:
69 '{} and {} '.format(x, y, x_step, y_step))
/external/pdfium/core/fpdfapi/page/
Dcpdf_tilingpattern.h36 float y_step() const { return m_YStep; } in y_step() function
/external/pdfium/core/fpdfapi/render/
Dcpdf_renderstatus.cpp1259 ceil((clip_box_p.bottom - pPattern->bbox().top) / pPattern->y_step())); in DrawTilingPattern()
1261 floor((clip_box_p.top - pPattern->bbox().bottom) / pPattern->y_step())); in DrawTilingPattern()
1279 CFX_PointF(col * pPattern->x_step(), row * pPattern->y_step())); in DrawTilingPattern()
1299 pPattern->bbox().top == pPattern->y_step() && in DrawTilingPattern()
1361 CFX_PointF(col * pPattern->x_step(), row * pPattern->y_step())); in DrawTilingPattern()
/external/webp/src/enc/
Dpicture_csp_enc.c46 int x_step, int y_step) { in CheckNonOpaque() argument
50 for (; height-- > 0; alpha += y_step) { in CheckNonOpaque()
54 for (; height-- > 0; alpha += y_step) { in CheckNonOpaque()
/external/deqp/external/openglcts/modules/glesext/texture_cube_map_array/
DesextcTextureCubeMapArraySampling.cpp1146 const glw::GLfloat y_step = 2.0f / 3.0f; in preparePositionForFace() local
1147 const glw::GLfloat y_mid_step = y_step / 2.0f; in preparePositionForFace()
1154 const glw::GLfloat y_middle = y_top - y_step; in preparePositionForFace()
1155 const glw::GLfloat y_bottom = y_middle - y_step; in preparePositionForFace()
1330 const glw::GLfloat y_step = 2.0f / y_range; in prepareTextureCoordinatesForFace() local
1333 const glw::GLfloat y_mid_step = y_step / 2.0f; in prepareTextureCoordinatesForFace()
1439 const glw::GLfloat y_step = 2.0f / y_range; in prepareTextureCoordinatesForGatherForFace() local
1442 const glw::GLfloat y_mid_step = y_step / 2.0f; in prepareTextureCoordinatesForGatherForFace()
1446 const glw::GLfloat top = 1.0f - y_mid_step - y_step; in prepareTextureCoordinatesForGatherForFace()
1447 const glw::GLfloat bottom = -1.0f + y_mid_step + y_step; in prepareTextureCoordinatesForGatherForFace()