/third_party/vk-gl-cts/modules/gles31/functional/ |
H A D | es31fVertexAttributeBindingTests.cpp | 247 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 * 6); in createBuffers() 453 for (int y = 0; y < GRID_SIZE; in createBuffers() 545 GRID_SIZE = 20 global() enumerator 840 GRID_SIZE = 20 global() enumerator 1083 GRID_SIZE = 20 global() enumerator [all...] |
/third_party/vk-gl-cts/external/openglcts/modules/gl/ |
H A D | gl4cTextureBarrierTests.cpp | 191 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() 485 GRID_SIZE = 64, global() enumerator [all...] |
/third_party/vk-gl-cts/modules/gles31/stress/ |
H A D | es31sVertexAttributeBindingTests.cpp | 241 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 * 6); in createBuffers() 447 for (int y = 0; y < GRID_SIZE; in createBuffers() [all...] |
/third_party/ffmpeg/libavfilter/ |
H A D | vf_photosensitivity.c | 33 #define GRID_SIZE 8 macro 37 uint8_t grid[GRID_SIZE][GRID_SIZE][4]; 80 #define NUM_CELLS (GRID_SIZE * GRID_SIZE) 97 gx = cell % GRID_SIZE; in convert_frame_partial() 98 gy = cell / GRID_SIZE; in convert_frame_partial() 100 x0 = width * gx / GRID_SIZE; in convert_frame_partial() 101 x1 = width * (gx+1) / GRID_SIZE; in convert_frame_partial() 102 y0 = height * gy / GRID_SIZE; in convert_frame_partial() [all...] |
/third_party/glfw/examples/ |
H A D | boing.c | 70 #define GRID_SIZE (RADIUS * 4.5f) /* length (width) of grid */ macro 549 const GLfloat sizeCell = GRID_SIZE / rowTotal; in DrawGrid() 570 xl = -GRID_SIZE / 2 + col * sizeCell; in DrawGrid() 573 yt = GRID_SIZE / 2; in DrawGrid() 574 yb = -GRID_SIZE / 2 - widthLine; in DrawGrid() 596 yt = GRID_SIZE / 2 - row * sizeCell; in DrawGrid() 599 xl = -GRID_SIZE / 2; in DrawGrid() 600 xr = GRID_SIZE / 2 + widthLine; in DrawGrid()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/sparse_resources/ |
H A D | vktSparseResourcesBufferTests.cpp | 74 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/ in initializeBuffers() [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/sparse_resources/ |
H A D | vktSparseResourcesBufferTests.cpp | 74 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/ in initializeBuffers() [all...] |
/third_party/ffmpeg/libavcodec/ |
H A D | g723_1.h | 46 #define GRID_SIZE 2 macro 255 extern const int32_t ff_g723_1_combinatorial_table[PULSE_MAX][SUBFRAME_LEN/GRID_SIZE];
|
H A D | g723_1enc.c | 869 for (i = 0; i < GRID_SIZE; i++) { in get_fcb_param() 872 for (j = i; j < SUBFRAME_LEN; j += GRID_SIZE) { in get_fcb_param() 897 for (k = i; k < SUBFRAME_LEN; k += GRID_SIZE) { in get_fcb_param() 909 for (l = i; l < SUBFRAME_LEN; l += GRID_SIZE) { in get_fcb_param()
|
H A D | g723_1.c | 410 const int32_t ff_g723_1_combinatorial_table[PULSE_MAX][SUBFRAME_LEN/GRID_SIZE] = {
|
H A D | g723_1dec.c | 296 for (i = 0; i < SUBFRAME_LEN / GRID_SIZE; i++) { in gen_fcb_excitation() 302 vector[subfrm->grid_index + GRID_SIZE * i] = in gen_fcb_excitation() 305 vector[subfrm->grid_index + GRID_SIZE * i] = in gen_fcb_excitation()
|
/third_party/vk-gl-cts/external/openglcts/modules/common/ |
H A D | glcShaderRenderCase.cpp | 58 static const int GRID_SIZE = 64; member 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/ |
H A D | glsShaderRenderCase.cpp | 62 static const int GRID_SIZE = 92; member 436 QuadGrid quadGrid(m_isVertexCase ? GRID_SIZE : 4, width, height, Vec4(0.125f, 0.25f, 0.5f, 1.0f), m_userAttribTransforms, m_textures); in iterate()
|