Home
last modified time | relevance | path

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

/external/deqp/modules/gles3/functional/
Des3fFboColorbufferTests.cpp870 for (int cellX = 0; cellX < numRowsCols; cellX++) in render() local
878 glViewport(cellX*cellSize, cellY*cellSize, cellSize, cellSize); in render()
936 for (int cellX = 0; cellX < numRowsCols; cellX++) in render() local
944 …glBlitFramebuffer(0, 0, cellSize, cellSize, cellX*cellSize, cellY*cellSize, (cellX+1)*cellSize, (c… in render()
998 for (int cellX = 0; cellX < numRowsCols; cellX++) in render() local
1006 …glBlitFramebuffer(0, 0, cellSize, cellSize, cellX*cellSize, cellY*cellSize, (cellX+1)*cellSize, (c… in render()
Des3fFragmentOutputTests.cpp407 const int cellX = de::clamp(deFloorFloatToInt32((float)x / cellW), 0, gridWidth-2); in renderFloatReference() local
409 const float xf = ((float)x - (float)cellX*cellW + 0.5f) / cellW; in renderFloatReference()
411 …const Vec4 v00 = readVec4(vertices + ((cellY+0)*gridWidth + cellX+0)*numComponents, numComponent… in renderFloatReference()
412 …const Vec4 v01 = readVec4(vertices + ((cellY+1)*gridWidth + cellX+0)*numComponents, numComponent… in renderFloatReference()
413 …const Vec4 v10 = readVec4(vertices + ((cellY+0)*gridWidth + cellX+1)*numComponents, numComponent… in renderFloatReference()
414 …const Vec4 v11 = readVec4(vertices + ((cellY+1)*gridWidth + cellX+1)*numComponents, numComponent… in renderFloatReference()
437 int cellX = de::clamp(deFloorFloatToInt32((float)x / cellW), 0, gridWidth-2); in renderIntReference() local
439 IVec4 c = readIVec4(vertices + (cellY*gridWidth + cellX+1)*numComponents, numComponents); in renderIntReference()
/external/opencv3/modules/objdetect/test/
Dtest_cascadeandhog.cpp726 float cellX = (j+0.5f)/cellSize.width - 0.5f; in init() local
728 int icellX0 = cvFloor(cellX); in init()
731 cellX -= icellX0; in init()
742 data->histWeights[0] = (1.f - cellX)*(1.f - cellY); in init()
744 data->histWeights[1] = cellX*(1.f - cellY); in init()
746 data->histWeights[2] = (1.f - cellX)*cellY; in init()
748 data->histWeights[3] = cellX*cellY; in init()
759 data->histWeights[0] = (1.f - cellX)*cellY; in init()
761 data->histWeights[1] = cellX*cellY; in init()
771 cellX = 1.f - cellX; in init()
[all …]
/external/deqp/modules/gles31/functional/
Des31fPrimitiveBoundingBoxTests.cpp1229 const int cellX = cellNdx % m_gridSize; in getAttributeData() local
1231 const tcu::Vec4& cellColor = ((cellX+cellY)%2 == 0) ? (green) : (yellow); in getAttributeData()
1233 …data[(ndx * 6 + 0) * VA_NUM_ATTRIB_VECS + VA_POS_VEC_NDX] = tcu::Vec4(float(cellX+0) / float(m_gri… in getAttributeData()
1235 …data[(ndx * 6 + 1) * VA_NUM_ATTRIB_VECS + VA_POS_VEC_NDX] = tcu::Vec4(float(cellX+1) / float(m_gri… in getAttributeData()
1237 …data[(ndx * 6 + 2) * VA_NUM_ATTRIB_VECS + VA_POS_VEC_NDX] = tcu::Vec4(float(cellX+0) / float(m_gri… in getAttributeData()
1239 …data[(ndx * 6 + 3) * VA_NUM_ATTRIB_VECS + VA_POS_VEC_NDX] = tcu::Vec4(float(cellX+0) / float(m_gri… in getAttributeData()
1241 …data[(ndx * 6 + 4) * VA_NUM_ATTRIB_VECS + VA_POS_VEC_NDX] = tcu::Vec4(float(cellX+1) / float(m_gri… in getAttributeData()
1243 …data[(ndx * 6 + 5) * VA_NUM_ATTRIB_VECS + VA_POS_VEC_NDX] = tcu::Vec4(float(cellX+1) / float(m_gri… in getAttributeData()
3861 const int cellX = cellNdx % m_gridSize; in generateAttributeData() local
3863 const tcu::Vec4& cellColor = ((cellX+cellY)%2 == 0) ? (color1) : (color2); in generateAttributeData()
[all …]
/external/opencv3/modules/objdetect/src/
Dhog.cpp665 float cellX = (j+0.5f)/cellSize.width - 0.5f; in init() local
667 int icellX0 = cvFloor(cellX); in init()
670 cellX -= icellX0; in init()
681 data->histWeights[0] = (1.f - cellX)*(1.f - cellY); in init()
683 data->histWeights[1] = cellX*(1.f - cellY); in init()
685 data->histWeights[2] = (1.f - cellX)*cellY; in init()
687 data->histWeights[3] = cellX*cellY; in init()
698 data->histWeights[0] = (1.f - cellX)*cellY; in init()
700 data->histWeights[1] = cellX*cellY; in init()
710 cellX = 1.f - cellX; in init()
[all …]
/external/deqp/modules/gles3/performance/
Des3pBufferDataUploadTests.cpp3891 for (int cellX = 0; cellX < scene.gridWidth; ++cellX) in generateLayeredGridVertexAttribData4C4V() local
3894 const tcu::Vec4 color = (((cellX + cellY + cellZ) % 2) == 0) ? (green) : (yellow); in generateLayeredGridVertexAttribData4C4V()
3895 const float cellLeft = (float(cellX ) / (float)scene.gridWidth - 0.5f) * 2.0f; in generateLayeredGridVertexAttribData4C4V()
3896 const float cellRight = (float(cellX+1) / (float)scene.gridWidth - 0.5f) * 2.0f; in generateLayeredGridVertexAttribData4C4V()
3900 …vertexData[(cellY * scene.gridWidth * scene.gridLayers + cellX * scene.gridLayers + cellZ) * 12 + … in generateLayeredGridVertexAttribData4C4V()
3901 …vertexData[(cellY * scene.gridWidth * scene.gridLayers + cellX * scene.gridLayers + cellZ) * 12 + … in generateLayeredGridVertexAttribData4C4V()
3903 …vertexData[(cellY * scene.gridWidth * scene.gridLayers + cellX * scene.gridLayers + cellZ) * 12 + … in generateLayeredGridVertexAttribData4C4V()
3904 …vertexData[(cellY * scene.gridWidth * scene.gridLayers + cellX * scene.gridLayers + cellZ) * 12 + … in generateLayeredGridVertexAttribData4C4V()
3906 …vertexData[(cellY * scene.gridWidth * scene.gridLayers + cellX * scene.gridLayers + cellZ) * 12 + … in generateLayeredGridVertexAttribData4C4V()
3907 …vertexData[(cellY * scene.gridWidth * scene.gridLayers + cellX * scene.gridLayers + cellZ) * 12 + … in generateLayeredGridVertexAttribData4C4V()
[all …]
/external/deqp/modules/gles2/functional/
Des2fFboRenderTest.cpp2038 for (int cellX = 0; cellX < numRowsCols; cellX++) in render() local
2050 ctx.viewport(cellX*cellSize, cellY*cellSize, cellSize, cellSize); in render()