Home
last modified time | relevance | path

Searched refs:yf (Results 1 - 25 of 32) sorted by relevance

12

/third_party/python/Objects/
H A Dgenobject.c322 gen_close_iter(PyObject *yf) in gen_close_iter() argument
326 if (PyGen_CheckExact(yf) || PyCoro_CheckExact(yf)) { in gen_close_iter()
327 retval = gen_close((PyGenObject *)yf, NULL); in gen_close_iter()
333 if (_PyObject_LookupAttr(yf, &_Py_ID(close), &meth) < 0) { in gen_close_iter()
334 PyErr_WriteUnraisable(yf); in gen_close_iter()
350 PyObject *yf = NULL; in _PyGen_yf() local
368 yf = _PyFrame_StackPeek(frame); in _PyGen_yf()
369 Py_INCREF(yf); in _PyGen_yf()
372 return yf; in _PyGen_yf()
379 PyObject *yf = _PyGen_yf(gen); gen_close() local
423 PyObject *yf = _PyGen_yf(gen); _gen_throw() local
751 PyObject *yf = _PyGen_yf(gen); gen_getyieldfrom() local
1106 PyObject *yf = _PyGen_yf((PyGenObject *) coro); coro_get_cr_await() local
[all...]
/third_party/vk-gl-cts/modules/gles3/functional/
H A Des3fFragDepthTests.cpp238 float yf = ((float)y + 0.5f) / (float)referenceFrame.getHeight(); in iterate() local
245 float d = m_evalFunc(Vec2(xf, yf)); in iterate()
256 float rd = 1.0f - (xh + yf) * 0.5f; in iterate()
257 float d = m_evalFunc(Vec2(xf, yf)); in iterate()
407 float yf = ((float)y + 0.5f) / (float)referenceFrame.getHeight(); in iterate() local
408 float d = m_evalFunc(Vec2(xf, yf)); in iterate()
H A Des3fShaderBuiltinVarTests.cpp356 const float yf = (float(refImg.getHeight()-y-1)+.5f) / float(refImg.getHeight()); in iterate() local
357 const float z = (xf + yf) / 2.0f; in iterate()
451 const float yf = (float(refImg.getHeight()-y-1)+.5f) / float(refImg.getHeight()); in iterate() local
452 const float oow = ((xf + yf) < 1.0f) in iterate()
453 ? projectedTriInterpolate(tcu::Vec3(w[0], w[1], w[2]), tcu::Vec3(w[0], w[1], w[2]), xf, yf) in iterate()
454 : projectedTriInterpolate(tcu::Vec3(w[3], w[2], w[1]), tcu::Vec3(w[3], w[2], w[1]), 1.0f-xf, 1.0f-yf); in iterate()
570 const float yf = (float(h-yo-1)+0.5f) / float(h); in iterate() local
571 const tcu::Vec4 color (xf, yf, 0.0f, 1.0f); in iterate()
H A Des3fFragmentOutputTests.cpp410 const float yf = ((float)y - (float)cellY*cellH + 0.5f) / cellH; in renderFloatReference() local
415 const bool tri = xf + yf >= 1.0f; in renderFloatReference()
420 const float t = tri ? 1.0f-yf : yf; in renderFloatReference()
613 float yf = (float)y / (float)(gridHeight-1); in iterate() local
616 positions[(y*gridWidth + x)*4 + 1] = 2.0f*yf - 1.0f; in iterate()
666 float yf = (float)y / (float)(gridHeight-1); in iterate() local
668 float f0 = (xf + yf) * 0.5f; in iterate()
669 float f1 = 0.5f + (xf - yf) * 0.5f; in iterate()
H A Des3fShaderDerivateTests.cpp1358 const float yf = (float(y)+0.5f) / float(level0.getHeight()); in init() local
1360 const tcu::Vec4 s = tcu::Vec4(xf + yf/2.0f, yf + xf/2.0f, (xf+yf)/2.0f, 1.0f - (xf+yf)/2.0f); in init()
/third_party/vk-gl-cts/modules/gles2/functional/
H A Des2fDepthRangeTests.cpp231 float yf = ((float)y + 0.5f) / (float)referenceFrame.getHeight(); in iterate() local
238 float d = depthRangeTransform(triQuadInterpolate(xf, yf, m_depthCoord), m_zNear, m_zFar); in iterate()
249 float rd = 1.0f - (xh + yf) * 0.5f; in iterate()
250 float d = depthRangeTransform(triQuadInterpolate(xf, yf, m_depthCoord), m_zNear, m_zFar); in iterate()
381 float yf = ((float)y + 0.5f) / (float)referenceFrame.getHeight(); in iterate() local
382 float d = depthRangeTransform(triQuadInterpolate(xf, yf, m_depthCoord), m_zNear, m_zFar); in iterate()
H A Des2fShaderBuiltinVarTests.cpp338 const float yf = (float(refImg.getHeight()-y-1)+.5f) / float(refImg.getHeight()); in iterate() local
339 const float z = (xf + yf) / 2.0f; in iterate()
430 const float yf = (float(refImg.getHeight()-y-1)+.5f) / float(refImg.getHeight()); in iterate() local
431 const float oow = ((xf + yf) < 1.0f) in iterate()
432 ? projectedTriInterpolate(tcu::Vec3(w[0], w[1], w[2]), tcu::Vec3(w[0], w[1], w[2]), xf, yf) in iterate()
433 : projectedTriInterpolate(tcu::Vec3(w[3], w[2], w[1]), tcu::Vec3(w[3], w[2], w[1]), 1.0f-xf, 1.0f-yf); in iterate()
546 const float yf = (float(h-yo-1)+0.5f) / float(h); in iterate() local
547 const tcu::Vec4 color (xf, yf, 0.0f, 1.0f); in iterate()
H A Des2fBufferTestUtil.cpp537 float yf = float(y) / float(numPosY-1);
539 dst[y*numPosX + x] = tcu::Vec2(2.0f*xf - 1.0f, 2.0f*yf - 1.0f);
/third_party/ffmpeg/libavfilter/
H A Davf_ahistogram.c313 float yf, uf, vf; in filter_frame() local
316 yf = 255.0f / s->dchannels; in filter_frame()
317 uf = yf * M_PI; in filter_frame()
318 vf = yf * M_PI; in filter_frame()
377 s->out->data[0][y * s->out->linesize[0] + n] = av_clip_uint8(yf); in filter_frame()
383 out[0] += aa * yf; in filter_frame()
H A Davf_showspectrum.c553 float *yf, float *uf, float *vf) in color_range()
558 *yf = 256.0f / s->nb_display_channels; in color_range()
574 *uf = *yf; in color_range()
575 *vf = *yf; in color_range()
580 *uf = *yf * M_PI; in color_range()
581 *vf = *yf * M_PI; in color_range()
589 *yf = 256.0f; in color_range()
615 float yf, float uf, float vf, in pick_color()
650 out[0] = y * yf; in pick_color()
655 out[0] = a * yf; in pick_color()
552 color_range(ShowSpectrumContext *s, int ch, float *yf, float *uf, float *vf) color_range() argument
614 pick_color(ShowSpectrumContext *s, float yf, float uf, float vf, float a, float *out) pick_color() argument
942 float yf, uf, vf; draw_legend() local
1010 float yf, uf, vf; plot_channel_lin() local
1034 float yf, uf, vf; plot_channel_log() local
[all...]
/third_party/vk-gl-cts/external/openglcts/modules/common/
H A DglcFragDepthTests.cpp236 float yf = ((float)y + 0.5f) / (float)referenceFrame.getHeight(); in iterate() local
243 float d = m_evalFunc(Vec2(xf, yf)); in iterate()
254 float rd = 1.0f - (xh + yf) * 0.5f; in iterate()
255 float d = m_evalFunc(Vec2(xf, yf)); in iterate()
392 float yf = ((float)y + 0.5f) / (float)referenceFrame.getHeight(); in iterate() local
393 float d = m_evalFunc(Vec2(xf, yf)); in iterate()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/texture/
H A DvktTextureSwizzleTests.cpp204 const float yf = ((float)y + 0.5f) / (float)dstSize.y(); in iterate() local
207 const int triNdx = xf + yf >= 1.0f ? 1 : 0; // Top left fill rule in iterate()
209 const float triY = triNdx ? 1.0f-yf : yf; in iterate()
/third_party/vk-gl-cts/framework/common/
H A DtcuTestLog.cpp292 float yf = ((float)y + 0.5f) / (float)logImage.getHeight(); in writeImage() local
294 Vec4 s = access.sample2D(sampler, sampler.minFilter, xf, yf, 0)*pixelScale + pixelBias; in writeImage()
332 float yf = ((float)y + 0.5f) / (float)h; in writeImage() local
336 Vec4 s = access.sample3D(sampler, sampler.minFilter, xf, yf, zf); in writeImage()
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/
H A DPointSpritesTest.cpp105 int yf = static_cast<int>(floorf(s2p(pointY + v * pointWidth))); in testPointCoordAndPointSizeCompliance() local
107 float t = 0.5f + (yf + 0.5f - yw) / maxPointSize; in testPointCoordAndPointSizeCompliance()
110 EXPECT_PIXEL_NEAR(xf, yf, color[0], color[1], color[2], color[3], 4); in testPointCoordAndPointSizeCompliance()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/texture/
H A DvktTextureSwizzleTests.cpp232 const float yf = ((float)y + 0.5f) / (float)dstSize.y(); in iterate() local
235 const int triNdx = xf + yf >= 1.0f ? 1 : 0; // Top left fill rule in iterate()
237 const float triY = triNdx ? 1.0f-yf : yf; in iterate()
/third_party/vk-gl-cts/modules/glshared/
H A DglsRandomShaderCase.cpp172 float yf = (float)y / (float)m_gridHeight; in init() local
180 dst[1] = 1.0f + yf * -2.0f; in init()
192 rsg::getVertexInterpolationCoords(xd, yd, xf, yf, compNdx); in init()
H A DglsShaderPerformanceMeasurer.cpp90 float yf = (float)y / (float)gridSizeY; in generateVertices() local
93 dst[getVtxIndex(x, y, gridSizeX)*numComponents + compNdx] = triQuadInterpolate(xf, yf, tcu::Vec4(spec.p00[compNdx], spec.p01[compNdx], spec.p10[compNdx], spec.p11[compNdx])); in generateVertices()
H A DglsBufferTestUtil.cpp726 float yf = float(y) / float(numPosY-1);
728 dst[y*numPosX + x] = tcu::Vec2(2.0f*xf - 1.0f, 2.0f*yf - 1.0f);
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/dynamic_state/
H A DvktDynamicStateInheritanceTests.cpp929 float yf[2]; in rasterizeExpectedResults() local
930 yf[0] = py * 0.5f * yLow + oy; in rasterizeExpectedResults()
931 yf[1] = py * 0.5f * yHigh + oy; in rasterizeExpectedResults()
936 deInt32 yBegin = deInt32(floorf(yf[0] + 0.5f)); in rasterizeExpectedResults()
937 deInt32 yEnd = deInt32(floorf(yf[1] + 0.5f)); in rasterizeExpectedResults()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/dynamic_state/
H A DvktDynamicStateInheritanceTests.cpp838 float yf[2]; in rasterizeExpectedResults() local
839 yf[0] = py * 0.5f * yLow + oy; in rasterizeExpectedResults()
840 yf[1] = py * 0.5f * yHigh + oy; in rasterizeExpectedResults()
845 deInt32 yBegin = deInt32(floorf(yf[0] + 0.5f)); in rasterizeExpectedResults()
846 deInt32 yEnd = deInt32(floorf(yf[1] + 0.5f)); in rasterizeExpectedResults()
/third_party/vk-gl-cts/modules/gles3/stress/
H A Des3sLongRunningShaderTests.cpp255 const float yf = 2.0f * ((float(yi) + 0.5f) / float(height)) - 1.0f; in genPositions() local
257 positions[pointNdx] = Vec2(xf, yf); in genPositions()
/third_party/vk-gl-cts/framework/randomshaders/
H A DrsgProgramExecutor.cpp248 float yf = (float)y / (float)(gridVtxHeight-1); in execute() local
250 interpolateVertexInput(access, vtxNdx-packetStart, input->getValueRange(), xf, yf); in execute()
/third_party/vk-gl-cts/framework/opengl/
H A DgluTextureTestUtil.cpp412 float yf = ((float)y + 0.5f) / (float)dst.getHeight(); in sampleTextureNonProjected() local
415 int triNdx = xf + yf >= 1.0f ? 1 : 0; // Top left fill rule. in sampleTextureNonProjected()
417 float triY = triNdx ? 1.0f-yf : yf; in sampleTextureNonProjected()
449 float yf = ((float)y + 0.5f) / (float)dst.getHeight(); in sampleTextureNonProjected() local
452 int triNdx = xf + yf >= 1.0f ? 1 : 0; // Top left fill rule. in sampleTextureNonProjected()
454 float triY = triNdx ? 1.0f-yf : yf; in sampleTextureNonProjected()
744 float yf = ((float)y + 0.5f) / (float)dst.getHeight(); in sampleTextureNonProjected() local
747 int triNdx = xf + yf > in sampleTextureNonProjected()
792 float yf = ((float)y + 0.5f) / (float)dst.getHeight(); sampleTextureNonProjected() local
839 float yf = ((float)y + 0.5f) / (float)dst.getHeight(); sampleTextureNonProjected() local
1000 const float yf = ((float)y + 0.5f) / (float)dst.getHeight(); fetchTexture() local
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/shaderrender/
H A DvktShaderRenderBuiltinVarTests.cpp1791 const float yf = (float(height - y - 1) + .5f) / float(height); in iterate() local
1792 const float z = (xf + yf) / 2.0f; in iterate()
1916 const float yf = (float(height - y - 1) +.5f) / float(height); in iterate() local
1917 const float oow = ((xf + yf) < 1.0f) in iterate()
1918 ? projectedTriInterpolate(Vec3(m_w[0], m_w[1], m_w[2]), Vec3(m_w[0], m_w[1], m_w[2]), xf, yf) in iterate()
1919 : projectedTriInterpolate(Vec3(m_w[3], m_w[2], m_w[1]), Vec3(m_w[3], m_w[2], m_w[1]), 1.0f - xf, 1.0f - yf); in iterate()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/shaderrender/
H A DvktShaderRenderBuiltinVarTests.cpp1791 const float yf = (float(height - y - 1) + .5f) / float(height); in iterate() local
1792 const float z = (xf + yf) / 2.0f; in iterate()
1916 const float yf = (float(height - y - 1) +.5f) / float(height); in iterate() local
1917 const float oow = ((xf + yf) < 1.0f) in iterate()
1918 ? projectedTriInterpolate(Vec3(m_w[0], m_w[1], m_w[2]), Vec3(m_w[0], m_w[1], m_w[2]), xf, yf) in iterate()
1919 : projectedTriInterpolate(Vec3(m_w[3], m_w[2], m_w[1]), Vec3(m_w[3], m_w[2], m_w[1]), 1.0f - xf, 1.0f - yf); in iterate()

Completed in 39 milliseconds

12