Lines Matching refs:access

59 LogImage::LogImage (const std::string& name, const std::string& description, const ConstPixelBufferAccess& access, qpImageCompressionMode compression)
62 , m_access (access)
97 LogImage::LogImage (const std::string& name, const std::string& description, const ConstPixelBufferAccess& access, const Vec4& scale, const Vec4& bias, qpImageCompressionMode compression)
100 , m_access (access)
106 DE_ASSERT(access.getFormat().order != tcu::TextureFormat::DS);
108 // Simplify access
109 if (tcu::isCombinedDepthStencilType(access.getFormat().type))
111 if (access.getFormat().order == tcu::TextureFormat::D)
112 m_access = tcu::getEffectiveDepthStencilAccess(access, tcu::Sampler::MODE_DEPTH);
113 if (access.getFormat().order == tcu::TextureFormat::S)
114 m_access = tcu::getEffectiveDepthStencilAccess(access, tcu::Sampler::MODE_STENCIL);
248 void TestLog::writeImage (const char* name, const char* description, const ConstPixelBufferAccess& access, const Vec4& pixelScale, const Vec4& pixelBias, qpImageCompressionMode compressionMode)
252 const TextureFormat& format = access.getFormat();
253 int width = access.getWidth();
254 int height = access.getHeight();
255 int depth = access.getDepth();
258 DE_ASSERT(!tcu::isCombinedDepthStencilType(access.getFormat().type));
267 && access.getPixelPitch() == access.getFormat().getPixelSize()
276 width, height, access.getRowPitch(), access.getDataPtr());
294 Vec4 s = access.sample2D(sampler, sampler.minFilter, xf, yf, 0)*pixelScale + pixelBias;
336 Vec4 s = access.sample3D(sampler, sampler.minFilter, xf, yf, zf);