Home
last modified time | relevance | path

Searched refs:reference_data (Results 1 – 8 of 8) sorted by relevance

/third_party/libdrm/tests/amdgpu/
Dcp_dma_tests.c61 static uint8_t* reference_data; variable
317 CU_ASSERT_EQUAL(memcmp(dst_bo_cpu, reference_data, DMA_SIZE) == 0, true); in amdgpu_cp_dma()
389 CU_ASSERT_EQUAL(memcmp(exported_bo_cpu, reference_data, DMA_SIZE) == 0, true); in amdgpu_cp_dma_p2p()
455 reference_data = (uint8_t*)malloc(DMA_SIZE); in suite_cp_dma_tests_init()
456 if (!reference_data) in suite_cp_dma_tests_init()
458 memset(reference_data, DMA_DATA_BYTE, DMA_SIZE); in suite_cp_dma_tests_init()
466 free(reference_data); in suite_cp_dma_tests_clean()
/third_party/vk-gl-cts/external/openglcts/modules/glesext/geometry_shader/
DesextcGeometryShaderRendering.cpp1717 const unsigned char* reference_data = NULL; in verify() local
1774 reference_data = ref_data + n_point * 4 /* components */; in verify()
1782 reference_data = ref_data + (8 - 1 - index) * 4 /* components */; in verify()
1792 if (memcmp(rendered_data, reference_data, 4 /* components */) != 0) in verify()
1801 << (int)reference_data[0] << ", " << (int)reference_data[1] << ", " in verify()
1802 << (int)reference_data[2] << ", " << (int)reference_data[3] << ")" in verify()
1829 const unsigned char* reference_data = NULL; in verify() local
1842 reference_data = ref_data + ((8 - 1 - index) * 4 /* components */); in verify()
1849 reference_data = ref_data + (n * 4 /* components */); in verify()
1853 if (memcmp(rendered_data, reference_data, 4 /* components */) != 0) in verify()
[all …]
DesextcGeometryShaderInput.cpp407 unsigned char reference_data[m_buffer_size] = { 0 }; in iterate() local
429 ivec4_data_ptr = (glw::GLint*)(reference_data + ivec4_offset); in iterate()
430 vec2_data_ptr = (glw::GLfloat*)(reference_data + vec2_offset); in iterate()
467 if (0 != memcmp(transform_feedback_data, reference_data, m_buffer_size)) in iterate()
/third_party/vk-gl-cts/external/openglcts/modules/gl/
Dgl4cTextureViewTests.cpp7650 const unsigned int* reference_data = (unsigned int*)mipmap_texel_data; in verifyResultData() local
7651 const unsigned int red_component = (*reference_data) & ((1 << 11) - 1); in verifyResultData()
7652 const unsigned int green_component = (*reference_data >> 11) & ((1 << 11) - 1); in verifyResultData()
7653 const unsigned int blue_component = (*reference_data >> 22) & ((1 << 10) - 1); in verifyResultData()
7669 const unsigned int* reference_data = (unsigned int*)mipmap_texel_data; in verifyResultData() local
7670 const unsigned int exponent = (*reference_data >> 27) & ((1 << 5) - 1); in verifyResultData()
7671 const unsigned int red_component = (*reference_data) & ((1 << 9) - 1); in verifyResultData()
7672 const unsigned int green_component = (*reference_data >> 9) & ((1 << 9) - 1); in verifyResultData()
7673 const unsigned int blue_component = (*reference_data >> 18) & ((1 << 9) - 1); in verifyResultData()
7691 unsigned int* reference_data = (unsigned int*)mipmap_texel_data; in verifyResultData() local
[all …]
Dgl4cDirectStateAccessVertexArraysTests.cpp491 glw::GLint* reference_data = new glw::GLint[m_max_attributes]; in PrepareVAO() local
493 if (DE_NULL == reference_data) in PrepareVAO()
500 reference_data[i] = i; in PrepareVAO()
503 …gl.bufferData(GL_ARRAY_BUFFER, sizeof(glw::GLint) * m_max_attributes, reference_data, GL_STATIC_DR… in PrepareVAO()
505 delete[] reference_data; in PrepareVAO()
/third_party/vk-gl-cts/external/openglcts/modules/glesext/tessellation_shader/
DesextcTessellationShaderTriangles.hpp163 std::vector<char> reference_data; member
DesextcTessellationShaderTriangles.cpp695 run.reference_data = m_utils->getDataGeneratedByTessellator( in initTest()
738 const float* triangle_b = (const float*)(&run.reference_data[0]) + in iterate()
/third_party/ffmpeg/libavcodec/
Dmjpegdec.c1423 const uint8_t *reference_data[MAX_COMPONENTS]; in mjpeg_decode_scan() local
1446 reference_data[c] = reference ? reference->data[c] : NULL; in mjpeg_decode_scan()
1487 mjpeg_copy_block(s, ptr, reference_data[c] + block_offset, in mjpeg_decode_scan()