Home
last modified time | relevance | path

Searched refs:pixelIdx (Results 1 – 2 of 2) sorted by relevance

/external/angle/samples/sample_util/
Dtga_utils.cpp87 size_t pixelIdx = rowIdx + x * pixelComponentCount; in LoadTGAImageFromFile() local
90 pixel[0] = (pixelComponentCount > 2) ? buffer[pixelIdx + 2] : 0; in LoadTGAImageFromFile()
91 pixel[2] = (pixelComponentCount > 0) ? buffer[pixelIdx + 0] : 0; in LoadTGAImageFromFile()
92 pixel[1] = (pixelComponentCount > 1) ? buffer[pixelIdx + 1] : 0; in LoadTGAImageFromFile()
93 pixel[3] = (pixelComponentCount > 3) ? buffer[pixelIdx + 3] : 255; in LoadTGAImageFromFile()
/external/deqp/external/vulkancts/modules/vulkan/pipeline/
DvktPipelinePushConstantTests.cpp2897 for (int pixelIdx = 0; pixelIdx < DE_LENGTH_OF_ARRAY(m_params.pushConstantValues); ++pixelIdx) in iterate() local
2899 const auto& pc = m_params.pushConstantValues[pixelIdx]; in iterate()
2928 for (int pixelIdx = 0; pixelIdx < DE_LENGTH_OF_ARRAY(pushConstants); ++pixelIdx) in addOverwriteCase() local
2929 testParams.pushConstantValues[pixelIdx] = pushConstants[pixelIdx]; in addOverwriteCase()