Home
last modified time | relevance | path

Searched refs:srcData (Results 1 – 11 of 11) sorted by relevance

/external/eclipse-windowbuilder/propertysheet/src/org/eclipse/wb/internal/core/utils/ui/
DDrawUtils.java286 ImageData srcData = srcImage.getImageData(); in createRotatedImage() local
287 if (srcData.depth < 8) { in createRotatedImage()
288 destData = rotatePixelByPixel(srcData); in createRotatedImage()
290 destData = rotateOptimized(srcData); in createRotatedImage()
297 private static ImageData rotatePixelByPixel(ImageData srcData) { in rotatePixelByPixel() argument
299 new ImageData(srcData.height, srcData.width, srcData.depth, srcData.palette); in rotatePixelByPixel()
300 for (int y = 0; y < srcData.height; y++) { in rotatePixelByPixel()
301 for (int x = 0; x < srcData.width; x++) { in rotatePixelByPixel()
302 destData.setPixel(y, srcData.width - x - 1, srcData.getPixel(x, y)); in rotatePixelByPixel()
308 private static ImageData rotateOptimized(ImageData srcData) { in rotateOptimized() argument
[all …]
/external/webkit/Source/WebCore/platform/gtk/
DGtkVersioning.c147 guchar * srcData, int srcStride, in convert_alpha() argument
152 srcData += srcStride * srcY + srcY * 4; in convert_alpha()
155 guint32 * src = (guint32 *) srcData; in convert_alpha()
172 srcData += srcStride; in convert_alpha()
178 convert_no_alpha(guchar * destData, int destStride, guchar * srcData, in convert_no_alpha() argument
184 srcData += srcStride * srcY + srcX * 4; in convert_no_alpha()
187 guint32 * src = (guint32 *) srcData; in convert_no_alpha()
195 srcData += srcStride; in convert_no_alpha()
/external/jmonkeyengine/engine/src/core/com/jme3/scene/
DVertexBuffer.java731 Buffer srcData = getDataReadOnly(); in getElementComponent() local
737 ByteBuffer bin = (ByteBuffer) srcData; in getElementComponent()
741 ShortBuffer sin = (ShortBuffer) srcData; in getElementComponent()
745 IntBuffer iin = (IntBuffer) srcData; in getElementComponent()
748 FloatBuffer fin = (FloatBuffer) srcData; in getElementComponent()
799 Buffer srcData = getDataReadOnly(); in copyElements() local
806 ByteBuffer bin = (ByteBuffer) srcData; in copyElements()
814 ShortBuffer sin = (ShortBuffer) srcData; in copyElements()
822 IntBuffer iin = (IntBuffer) srcData; in copyElements()
829 FloatBuffer fin = (FloatBuffer) srcData; in copyElements()
/external/webkit/Source/WebCore/platform/graphics/cg/
DImageBufferDataCG.cpp43 unsigned char* srcData; member
75 src.data = scanlineData->srcData + tileNumber * scanlineData->srcRowBytes; in convertScanline()
202 scanlineData.srcData = srcRows; in getData()
339 scanlineData.srcData = srcRows; in putData()
/external/skia/src/gpu/
DGrGpu.h122 const void* srcData, size_t rowBytes);
407 const void* srcData,
DGrContext.cpp304 void* srcData, in createAndLockTexture() argument
328 srcData, rowBytes); in createAndLockTexture()
393 srcData, desc.fWidth, desc.fHeight, bpp); in createAndLockTexture()
406 GrTexture* texture = fGpu->createTexture(desc, srcData, rowBytes); in createAndLockTexture()
512 void* srcData, in createUncachedTexture() argument
514 return fGpu->createTexture(desc, srcData, rowBytes); in createUncachedTexture()
DGrGpu.cpp145 const void* srcData, size_t rowBytes) { in createTexture() argument
147 GrTexture* tex = this->onCreateTexture(desc, srcData, rowBytes); in createTexture()
/external/skia/src/ports/
DSkFontHost_mac_coretext.cpp1973 CFDataRef srcData = copyTableFromFont(ctFont, tag); in GetTableSize() local
1974 if (NULL == srcData) { in GetTableSize()
1978 AutoCFRelease ar(srcData); in GetTableSize()
1979 return CFDataGetLength(srcData); in GetTableSize()
1985 CFDataRef srcData = copyTableFromFont(ctFont, tag); in GetTableData() local
1986 if (NULL == srcData) { in GetTableData()
1990 AutoCFRelease ar(srcData); in GetTableData()
1992 size_t srcSize = CFDataGetLength(srcData); in GetTableData()
2002 memcpy(dst, CFDataGetBytePtr(srcData) + offset, length); in GetTableData()
/external/skia/include/gpu/
DGrContext.h136 void* srcData, size_t rowBytes);
217 void* srcData,
/external/skia/src/gpu/gl/
DGrGpuGL.h102 const void* srcData,
DGrGpuGL.cpp301 uint32_t* srcData = data.get(); in canPreserveReadWriteUnpremulPixels() local
307 uint8_t* color = reinterpret_cast<uint8_t*>(&srcData[256*y + x]); in canPreserveReadWriteUnpremulPixels()
345 kRGBA_8888_UPM_GrPixelConfig, srcData, 0); in canPreserveReadWriteUnpremulPixels()
892 const void* srcData, in onCreateTexture() argument
976 desc.fConfig, srcData, rowBytes)) { in onCreateTexture()