Lines Matching defs:dst
97 static inline void writeUnorm8 (const tcu::PixelBufferAccess& dst, int x, int y, deUint32 val)
99 deUint8* ptr = (deUint8*)dst.getDataPtr() + dst.getRowPitch()*y + x*NumChannels;
107 inline void writeUnorm8<4> (const tcu::PixelBufferAccess& dst, int x, int y, deUint32 val)
109 *(deUint32*)((deUint8*)dst.getDataPtr() + dst.getRowPitch()*y + x*4) = val;
146 deUint32 dst = 0;
155 dst = setChannel(dst, c, roundToUint8Sat(f));
158 return dst;
162 static void separableConvolve (const PixelBufferAccess& dst, const ConstPixelBufferAccess& src, int shiftX, int shiftY, const std::vector<float>& kernelX, const std::vector<float>& kernelY)
164 DE_ASSERT(dst.getWidth() == src.getWidth() && dst.getHeight() == src.getHeight());
166 TextureLevel tmp (dst.getFormat(), dst.getHeight(), dst.getWidth());
207 writeUnorm8<DstChannels>(dst, i, j, toColor(sum));