Searched refs:texture_data (Results 1 - 15 of 15) sorted by relevance

/external/tensorflow/tensorflow/examples/android/jni/object_tracking/
H A Dsprite.h132 uint8_t* texture_data; local
144 texture_data = new uint8_t[actual_width_ * actual_height_];
147 memcpy(texture_data + actual_width_ * y, texture_source[top + y] + left,
154 texture_data = const_cast<uint8_t*>(texture_source.data());
176 texture_data);
179 delete(texture_data);
/external/deqp/external/openglcts/modules/gl/
H A Dgl4cStencilTexturingTests.hpp71 const std::vector<glw::GLubyte>& texture_data);
73 void prepareSourceTextureData(glw::GLenum internal_format, std::vector<glw::GLubyte>& texture_data);
H A Dgl4cStencilTexturingTests.cpp819 std::vector<GLubyte> texture_data; local
842 texture_data.resize(texture_size);
845 memset(&texture_data[0], 0, texture_size);
849 Utils::createAndFill2DTexture(m_context, m_width, m_height, internal_format, format, type, &texture_data[0]);
941 * @param texture_data Texture contents
946 const std::vector<glw::GLubyte>& texture_data)
968 &texture_data[0]);
1002 * @param texture_data Texture contents
1006 void FunctionalTest::prepareSourceTextureData(GLenum internal_format, std::vector<GLubyte>& texture_data) argument
1035 texture_data
945 prepareSourceTexture(GLenum internal_format, bool is_stencil, const std::vector<glw::GLubyte>& texture_data) argument
1221 std::vector<GLubyte> texture_data; local
[all...]
H A Dgl4cShaderImageLoadStoreTests.cpp7060 std::vector<GLubyte> texture_data; local
7061 texture_data.resize(texture_size);
7066 texture_data[i] = 0;
7070 return Create2DR8UITexture(width, height, texture_data, out_texture_id);
7090 std::vector<GLubyte> texture_data; local
7091 texture_data.resize(texture_size);
7096 texture_data[i] = texel_value++;
7100 return Create2DR8UITexture(width, height, texture_data, out_texture_id);
7107 * @param texture_data Texture data
7112 GLenum Create2DR8UITexture(GLuint width, GLuint height, const std::vector<GLubyte>& texture_data, argument
7568 std::vector<GLubyte> texture_data; local
7602 std::vector<GLubyte> texture_data; local
7645 CreateRGBA8Texture(GLuint edge, GLenum target, GLuint n_layers, const std::vector<GLubyte>& texture_data, GLuint& out_texture_id) argument
7725 ExtractTextureData(GLuint texture_id, GLuint edge, GLuint n_layers, GLenum target, std::vector<GLubyte>& texture_data) argument
8131 std::vector<GLubyte> texture_data; local
8169 std::vector<GLubyte> texture_data; local
8289 std::vector<GLubyte> texture_data; local
8370 std::vector<GLubyte> texture_data; local
[all...]
H A Dgl4cGetTextureSubImageTests.cpp1042 glw::GLubyte* texture_data = new glw::GLubyte[size]; local
1044 if (DE_NULL == texture_data)
1053 texture_data);
1058 GL_UNSIGNED_BYTE, size, texture_data);
1090 glw::GLubyte tested_value = texture_data[tested_data_position];
1105 delete[] texture_data;
1110 delete[] texture_data;
H A Dgl4cShadingLanguage420PackTests.cpp1953 std::vector<glw::GLuint> texture_data; local
1955 texture_data.resize(texture_data_size);
1957 color_texture.get(m_color_texture_format, m_color_texture_type, &texture_data[0]);
1961 if (green_color != texture_data[i])
1964 << std::setfill('0') << std::setw(8) << texture_data[i]
2340 std::vector<GLuint> texture_data; local
2341 texture_data.resize(m_width);
2345 for (GLuint i = 0; i < texture_data.size(); ++i)
2347 texture_data[i] = color;
2350 buffer.update(m_width * sizeof(GLuint), &texture_data[ local
2363 std::vector<GLuint> texture_data; local
2432 std::vector<glw::GLuint> texture_data; local
10209 std::vector<GLuint> texture_data; local
10502 std::vector<GLuint> texture_data; local
10776 std::vector<GLuint> texture_data; local
11296 std::vector<GLuint> texture_data; local
[all...]
H A Dgl4cBufferStorageTests.cpp3447 GLubyte texture_data[texture_data_size]; local
3609 Texture::GetData(gl, GL_TEXTURE_2D, GL_RGBA, GL_UNSIGNED_BYTE, texture_data);
3610 if (0 != memcmp(texture_data + pixel_offset, &expected_pixel, pixel_size))
3619 1 /* depth */, texture_data); local
3662 Texture::GetData(gl, GL_TEXTURE_2D, GL_RGBA, GL_UNSIGNED_BYTE, texture_data);
3663 if (0 != memcmp(texture_data + pixel_offset, &expected_pixel, pixel_size))
3672 1 /* depth */, texture_data); local
H A Dgl4cShaderSubroutineTests.cpp5738 std::vector<GLubyte> texture_data; local
5741 texture_data.resize(m_texture_width * m_texture_height * 4);
5751 texture_data[point_offset + 0] = color[0]; /* red */
5752 texture_data[point_offset + 1] = color[1]; /* green */
5753 texture_data[point_offset + 2] = color[2]; /* blue */
5754 texture_data[point_offset + 3] = color[3]; /* alpha */
5758 texture.update(m_texture_width, m_texture_height, GL_RGBA, GL_UNSIGNED_BYTE, &texture_data[0]);
5921 std::vector<GLuint> texture_data; local
5924 texture_data.resize(m_texture_width * m_texture_height * 4);
5934 texture_data[point_offse
[all...]
H A Dgl4cComputeShaderTests.cpp1009 std::vector<vec4> texture_data(kBufferSize, vec4(123.0f));
1019 glTexImage1D(GL_TEXTURE_1D, 0, GL_RGBA32F, kWidth, 0, GL_RGBA, GL_FLOAT, &texture_data[0]);
1025 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA32F, kWidth, kHeight, 0, GL_RGBA, GL_FLOAT, &texture_data[0]);
1031 glTexImage3D(GL_TEXTURE_3D, 0, GL_RGBA32F, kWidth, kHeight, kDepth, 0, GL_RGBA, GL_FLOAT, &texture_data[0]);
1037 glTexImage2D(GL_TEXTURE_RECTANGLE, 0, GL_RGBA32F, kWidth, kHeight, 0, GL_RGBA, GL_FLOAT, &texture_data[0]);
1043 glTexImage2D(GL_TEXTURE_1D_ARRAY, 0, GL_RGBA32F, kWidth, kHeight, 0, GL_RGBA, GL_FLOAT, &texture_data[0]);
1050 &texture_data[0]);
1054 glBufferData(GL_TEXTURE_BUFFER, kBufferSize * sizeof(vec4), &texture_data[0], GL_DYNAMIC_DRAW);
H A Dgl4cEnhancedLayoutsTests.cpp6774 std::vector<GLuint> texture_data; local
6775 texture_data.resize(m_width * m_height);
6777 for (GLuint i = 0; i < texture_data.size(); ++i)
6779 texture_data[i] = 0x20406080;
6784 &texture_data[0]);
6804 std::vector<GLuint> texture_data; local
6805 texture_data.resize(m_width * m_height);
6807 for (GLuint i = 0; i < texture_data.size(); ++i)
6809 texture_data[i] = 0x20406080;
6813 &texture_data[
19323 std::vector<GLuint> texture_data; local
[all...]
/external/deqp/external/openglcts/modules/common/
H A DglcViewportArrayTests.cpp2707 std::vector<GLint> texture_data; local
2708 texture_data.resize(m_width * m_height);
2709 texture_0.get(GL_RED_INTEGER, GL_INT, &texture_data[0]);
2715 bool result = checkRegionR32I(x, y, index, &texture_data[0]);
3472 std::vector<GLint> texture_data; local
3473 texture_data.resize(m_width * m_height);
3474 texture_0.get(GL_RED_INTEGER, GL_INT, &texture_data[0]);
3486 bool result = checkRegionR32I(x, y, expected_value, &texture_data[0]);
3728 std::vector<GLint> texture_data; local
3729 texture_data
3955 std::vector<GLint> texture_data; local
4052 std::vector<GLint> texture_data; local
4140 std::vector<GLint> texture_data; local
4218 std::vector<GLfloat> texture_data; local
4384 std::vector<GLfloat> texture_data; local
4613 std::vector<GLint> texture_data; local
[all...]
/external/deqp/external/openglcts/modules/glesext/gpu_shader5/
H A DesextcGPUShader5TextureGatherOffset.cpp958 std::vector<glw::GLubyte> texture_data; local
960 texture_data.resize(m_texture_size * m_texture_size * m_texture_bytes_per_pixel);
963 prepareTextureData(&texture_data[0]);
971 m_texture_size, 1 /* depth */, m_texture_format, m_texture_type, &texture_data[0]);
979 m_texture_format, m_texture_type, &texture_data[0]);
1269 glw::GLint* texture_data = (glw::GLint*)data; local
1283 texture_data[pixel_offset + 0] = x;
1284 texture_data[pixel_offset + 1] = y;
1287 texture_data[pixel_offset + 2] = x;
1288 texture_data[pixel_offse
2199 glw::GLfloat* texture_data = (glw::GLfloat*)data; local
2464 glw::GLfloat* texture_data = (glw::GLfloat*)data; local
[all...]
/external/mesa3d/src/intel/blorp/
H A Dblorp_blit.c626 * We perform this computation by treating the texture_data array as a
646 nir_ssa_def *texture_data[5]; local
652 assert(stack_depth < ARRAY_SIZE(texture_data));
657 texture_data[stack_depth++] = blorp_nir_txf_ms(b, v, ms_pos, mcs, dst_type);
686 nir_store_var(b, color, texture_data[0], 0xf);
697 texture_data[stack_depth - 1] =
698 nir_fadd(b, texture_data[stack_depth - 1],
699 texture_data[stack_depth]);
706 texture_data[0] = nir_fmul(b, texture_data[
[all...]
/external/deqp/external/openglcts/modules/gles31/
H A Des31cComputeShaderTests.cpp994 std::vector<vec4> texture_data(kBufferSize, vec4(123.0f));
1002 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA32F, kWidth, kHeight, 0, GL_RGBA, GL_FLOAT, &texture_data[0]);
1008 glTexImage3D(GL_TEXTURE_3D, 0, GL_RGBA32F, kWidth, kHeight, kDepth, 0, GL_RGBA, GL_FLOAT, &texture_data[0]);
1015 &texture_data[0]);
/external/deqp/external/openglcts/modules/glesext/texture_cube_map_array/
H A DesextcTextureCubeMapArraySampling.cpp883 std::vector<T> texture_data; local
884 texture_data.resize(n_total_componenets);
886 fillImage<T, N_Components>(texture_width, texture_height, components, &texture_data[0]);
889 texture_height, 1 /* depth */, texture_format, texture_type, &texture_data[0]);

Completed in 544 milliseconds