Home
last modified time | relevance | path

Searched refs:GRID_SIZE (Results 1 – 12 of 12) sorted by relevance

/third_party/vk-gl-cts/modules/gles31/functional/
Des31fVertexAttributeBindingTests.cpp247 GRID_SIZE = 20 enumerator
285 << "Rendering " << (int)GRID_SIZE << "x" << (int)GRID_SIZE << " grid.\n" in init()
350 gl.glDrawArrays(GL_TRIANGLES, 0, GRID_SIZE*GRID_SIZE*6); in renderTo()
363 gl.glDrawArrays(GL_TRIANGLES, 0, GRID_SIZE*GRID_SIZE*6); in renderTo()
447 …std::vector<deUint8> dataBuf (m_spec.bufferOffset + m_spec.bufferStride * GRID_SIZE * GRID_SIZE * … in createBuffers()
453 for (int y = 0; y < GRID_SIZE; ++y) in createBuffers()
454 for (int x = 0; x < GRID_SIZE; ++x) in createBuffers()
459 …tcu::Vec4(float(x+0) / float(GRID_SIZE) * 2.0f - 1.0f, float(y+0) / float(GRID_SIZE) * 2.0f - 1.0f… in createBuffers()
460 …tcu::Vec4(float(x+0) / float(GRID_SIZE) * 2.0f - 1.0f, float(y+1) / float(GRID_SIZE) * 2.0f - 1.0f… in createBuffers()
461 …tcu::Vec4(float(x+1) / float(GRID_SIZE) * 2.0f - 1.0f, float(y+1) / float(GRID_SIZE) * 2.0f - 1.0f… in createBuffers()
[all …]
/third_party/vk-gl-cts/modules/gles31/stress/
Des31sVertexAttributeBindingTests.cpp241 GRID_SIZE = 20 enumerator
279 << "Rendering " << (int)GRID_SIZE << "x" << (int)GRID_SIZE << " grid.\n" in init()
344 gl.glDrawArrays(GL_TRIANGLES, 0, GRID_SIZE*GRID_SIZE*6); in renderTo()
357 gl.glDrawArrays(GL_TRIANGLES, 0, GRID_SIZE*GRID_SIZE*6); in renderTo()
441 …std::vector<deUint8> dataBuf (m_spec.bufferOffset + m_spec.bufferStride * GRID_SIZE * GRID_SIZE * … in createBuffers()
447 for (int y = 0; y < GRID_SIZE; ++y) in createBuffers()
448 for (int x = 0; x < GRID_SIZE; ++x) in createBuffers()
453 …tcu::Vec4(float(x+0) / float(GRID_SIZE) * 2.0f - 1.0f, float(y+0) / float(GRID_SIZE) * 2.0f - 1.0f… in createBuffers()
454 …tcu::Vec4(float(x+0) / float(GRID_SIZE) * 2.0f - 1.0f, float(y+1) / float(GRID_SIZE) * 2.0f - 1.0f… in createBuffers()
455 …tcu::Vec4(float(x+1) / float(GRID_SIZE) * 2.0f - 1.0f, float(y+1) / float(GRID_SIZE) * 2.0f - 1.0f… in createBuffers()
[all …]
/third_party/vk-gl-cts/external/openglcts/modules/gl/
Dgl4cTextureBarrierTests.cpp191 gl.bufferData(GL_ARRAY_BUFFER, GRID_SIZE * GRID_SIZE * sizeof(float) * 12, NULL, GL_STATIC_DRAW); in init()
261 static Vertex grid[GRID_SIZE + 1][GRID_SIZE + 1]; in generateVertexData()
264 for (int x = 0; x < GRID_SIZE + 1; ++x) in generateVertexData()
265 for (int y = 0; y < GRID_SIZE + 1; ++y) in generateVertexData()
268 float normx = (((float)x) / GRID_SIZE); in generateVertexData()
269 float normy = (((float)y) / GRID_SIZE); in generateVertexData()
272 grid[x][y].x = normx * 2.f - 1.f + deFloatSin(normx * DE_PI * 13.f) * 0.3f / GRID_SIZE; in generateVertexData()
273 grid[x][y].y = normy * 2.f - 1.f + deFloatSin(normy * DE_PI * 13.f) * 0.3f / GRID_SIZE; in generateVertexData()
279 for (int x = 0; x < GRID_SIZE; ++x) in generateVertexData()
280 for (int y = 0; y < GRID_SIZE; ++y) in generateVertexData()
[all …]
/third_party/ffmpeg/libavfilter/
Dvf_photosensitivity.c33 #define GRID_SIZE 8 macro
37 uint8_t grid[GRID_SIZE][GRID_SIZE][4];
93 #define NUM_CELLS (GRID_SIZE * GRID_SIZE)
110 gx = cell % GRID_SIZE; in convert_frame_partial()
111 gy = cell / GRID_SIZE; in convert_frame_partial()
113 x0 = width * gx / GRID_SIZE; in convert_frame_partial()
114 x1 = width * (gx+1) / GRID_SIZE; in convert_frame_partial()
115 y0 = height * gy / GRID_SIZE; in convert_frame_partial()
116 y1 = height * (gy+1) / GRID_SIZE; in convert_frame_partial()
196 for (y = 0; y < GRID_SIZE; y++) { in get_badness()
[all …]
/third_party/flutter/glfw/examples/
Dboing.c68 #define GRID_SIZE (RADIUS * 4.5f) /* length (width) of grid */ macro
547 const GLfloat sizeCell = GRID_SIZE / rowTotal; in DrawGrid()
568 xl = -GRID_SIZE / 2 + col * sizeCell; in DrawGrid()
571 yt = GRID_SIZE / 2; in DrawGrid()
572 yb = -GRID_SIZE / 2 - widthLine; in DrawGrid()
594 yt = GRID_SIZE / 2 - row * sizeCell; in DrawGrid()
597 xl = -GRID_SIZE / 2; in DrawGrid()
598 xr = GRID_SIZE / 2 + widthLine; in DrawGrid()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/sparse_resources/
DvktSparseResourcesBufferTests.cpp74 GRID_SIZE = RENDER_SIZE / 8, //!< number of grid tiles in a row enumerator
1271 GRID_SIZE * GRID_SIZE * 6 * sizeof(Vec4)) in VertexBufferTestInstance()
1283 const deUint32 vertexCount = 6 * (GRID_SIZE * GRID_SIZE) / 2; in rendererDraw()
1298 const float step = 2.0f / static_cast<float>(GRID_SIZE); in initializeBuffers()
1301 generateGrid(pData, step, -1.0f, -1.0f, GRID_SIZE, GRID_SIZE/2); in initializeBuffers()
1302 generateGrid(pData + m_perDrawBufferOffset, step, -1.0f, 0.0f, GRID_SIZE, GRID_SIZE/2); in initializeBuffers()
1314 GRID_SIZE * GRID_SIZE * 6 * sizeof(deUint32)) in IndexBufferTestInstance()
1315 , m_halfVertexCount (6 * (GRID_SIZE * GRID_SIZE) / 2) in IndexBufferTestInstance()
1350 const float step = 2.0f / static_cast<float>(GRID_SIZE); in initializeBuffers()
1352 generateGrid(m_vertexBufferAlloc->getHostPtr(), step, -1.0f, -1.0f, GRID_SIZE, GRID_SIZE); in initializeBuffers()
/third_party/ffmpeg/libavcodec/
Dg723_1.h46 #define GRID_SIZE 2 macro
255 extern const int32_t ff_g723_1_combinatorial_table[PULSE_MAX][SUBFRAME_LEN/GRID_SIZE];
Dg723_1enc.c873 for (i = 0; i < GRID_SIZE; i++) { in get_fcb_param()
876 for (j = i; j < SUBFRAME_LEN; j += GRID_SIZE) { in get_fcb_param()
901 for (k = i; k < SUBFRAME_LEN; k += GRID_SIZE) { in get_fcb_param()
913 for (l = i; l < SUBFRAME_LEN; l += GRID_SIZE) { in get_fcb_param()
Dg723_1.c409 const int32_t ff_g723_1_combinatorial_table[PULSE_MAX][SUBFRAME_LEN/GRID_SIZE] = {
Dg723_1dec.c295 for (i = 0; i < SUBFRAME_LEN / GRID_SIZE; i++) { in gen_fcb_excitation()
301 vector[subfrm->grid_index + GRID_SIZE * i] = in gen_fcb_excitation()
304 vector[subfrm->grid_index + GRID_SIZE * i] = in gen_fcb_excitation()
/third_party/vk-gl-cts/external/openglcts/modules/common/
DglcShaderRenderCase.cpp58 static const int GRID_SIZE = 64; variable
499 QuadGrid quadGrid(m_isVertexCase ? GRID_SIZE : 4, width, height, Vec4(0.0f, 0.0f, 0.0f, 1.0f), in iterate()
/third_party/vk-gl-cts/modules/glshared/
DglsShaderRenderCase.cpp62 static const int GRID_SIZE = 64; variable
436 …QuadGrid quadGrid(m_isVertexCase ? GRID_SIZE : 4, width, height, Vec4(0.125f, 0.25f, 0.5f, 1.0f), … in iterate()