Home
last modified time | relevance | path

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

12

/external/pdfium/xfa/src/fgas/src/crt/
Dfx_algorithm.cpp64 FX_BASE64DATA srcData; in FX_Base64EncodeA() local
69 ((uint8_t*)&srcData)[0] = *pSrc++; in FX_Base64EncodeA()
70 ((uint8_t*)&srcData)[1] = *pSrc++; in FX_Base64EncodeA()
71 ((uint8_t*)&srcData)[2] = *pSrc++; in FX_Base64EncodeA()
74 *((FX_DWORD*)&srcData) = 0; in FX_Base64EncodeA()
75 ((uint8_t*)&srcData)[0] = *pSrc++; in FX_Base64EncodeA()
77 ((uint8_t*)&srcData)[1] = *pSrc++; in FX_Base64EncodeA()
82 FX_Base64EncodePiece(srcData, iBytes, pDstEnd); in FX_Base64EncodeA()
163 FX_CHAR srcData[4]; in FX_Base64DecodeA() local
169 *((FX_DWORD*)srcData) = *((FX_DWORD*)pSrc); in FX_Base64DecodeA()
[all …]
/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/pdfium/core/src/fxcodec/codec/
Dfx_codec_jpx_opj.cpp30 DecodeData* srcData = static_cast<DecodeData*>(p_user_data); in opj_read_from_memory() local
31 if (!srcData || !srcData->src_data || srcData->src_size == 0) { in opj_read_from_memory()
35 if (srcData->offset >= srcData->src_size) { in opj_read_from_memory()
38 OPJ_SIZE_T bufferLength = srcData->src_size - srcData->offset; in opj_read_from_memory()
40 memcpy(p_buffer, &srcData->src_data[srcData->offset], readlength); in opj_read_from_memory()
41 srcData->offset += readlength; in opj_read_from_memory()
47 DecodeData* srcData = static_cast<DecodeData*>(p_user_data); in opj_write_from_memory() local
48 if (!srcData || !srcData->src_data || srcData->src_size == 0) { in opj_write_from_memory()
52 if (srcData->offset >= srcData->src_size) { in opj_write_from_memory()
55 OPJ_SIZE_T bufferLength = srcData->src_size - srcData->offset; in opj_write_from_memory()
[all …]
/external/skia/src/opts/
DSkBitmapProcState_arm_neon.cpp88 void convolveHorizontally_neon(const unsigned char* srcData, in convolveHorizontally_neon() argument
106 const unsigned char* rowToFilter = &srcData[filterOffset * 4]; in convolveHorizontally_neon()
365 void convolve4RowsHorizontally_neon(const unsigned char* srcData[4], in convolve4RowsHorizontally_neon()
429 ITERATION(srcData[0] + start, accum0); in convolve4RowsHorizontally_neon()
430 ITERATION(srcData[1] + start, accum1); in convolve4RowsHorizontally_neon()
431 ITERATION(srcData[2] + start, accum2); in convolve4RowsHorizontally_neon()
432 ITERATION(srcData[3] + start, accum3); in convolve4RowsHorizontally_neon()
452 ITERATION(srcData[0] + start, accum0); in convolve4RowsHorizontally_neon()
453 ITERATION(srcData[1] + start, accum1); in convolve4RowsHorizontally_neon()
454 ITERATION(srcData[2] + start, accum2); in convolve4RowsHorizontally_neon()
[all …]
/external/skia/src/core/
DSkConvolver.cpp114 void ConvolveHorizontally(const unsigned char* srcData, in ConvolveHorizontally() argument
127 const unsigned char* rowToFilter = &srcData[filterOffset * 4]; in ConvolveHorizontally()
172 static void ConvolveHorizontallyAlpha(const unsigned char* srcData, in ConvolveHorizontallyAlpha() argument
175 return ConvolveHorizontally<true>(srcData, filter, outRow); in ConvolveHorizontallyAlpha()
179 static void ConvolveHorizontallyNoAlpha(const unsigned char* srcData, in ConvolveHorizontallyNoAlpha() argument
182 return ConvolveHorizontally<false>(srcData, filter, outRow); in ConvolveHorizontallyNoAlpha()
DSkConvolver.h151 const unsigned char* srcData[4],
156 const unsigned char* srcData,
/external/skia/src/gpu/
DGrTextureProvider.cpp33 const void* srcData, size_t rowBytes) { in createTexture() argument
47 if (!srcData || texture->writePixels(0, 0, desc.fWidth, desc.fHeight, desc.fConfig, in createTexture()
48 srcData, rowBytes)) { in createTexture()
57 return fGpu->createTexture(desc, budgeted, srcData, rowBytes); in createTexture()
DGrGpu.cpp92 const void* srcData, size_t rowBytes) { in createTexture() argument
144 tex = this->onCreateCompressedTexture(desc, lifeCycle, srcData); in createTexture()
147 tex = this->onCreateTexture(desc, lifeCycle, srcData, rowBytes); in createTexture()
154 if (srcData) { in createTexture()
DGrGpu.h97 const void* srcData, size_t rowBytes);
513 const void* srcData, size_t rowBytes) = 0;
516 const void* srcData) = 0;
DGrTest.cpp331 const void* srcData, size_t rowBytes) override { in onCreateTexture() argument
336 const void* srcData) override { in onCreateCompressedTexture() argument
/external/opencv3/modules/imgproc/src/opencl/
Dpyr_up.cl88 __global const uchar * srcData = src + src_offset;
95 s_srcPatch[tidy][tidx] = convertToFT(loadpix(srcData + srcy * src_step + srcx * PIXSIZE));
141 __global const uchar * srcData = src + src_offset;
152 s_srcPatch[ly][lx] = convertToFT(loadpix(srcData + srcy1 * src_step + srcx1 * PIXSIZE));
153 s_srcPatch[ly+1][lx] = convertToFT(loadpix(srcData + srcy2 * src_step + srcx1 * PIXSIZE));
154 s_srcPatch[ly][lx+1] = convertToFT(loadpix(srcData + srcy1 * src_step + srcx2 * PIXSIZE));
155 s_srcPatch[ly+1][lx+1] = convertToFT(loadpix(srcData + srcy2 * src_step + srcx2 * PIXSIZE));
Dpyr_down.cl80 #define SRC(_x,_y) convertToFT(loadpix(srcData + mad24(_y, src_step, PIXSIZE * _x)))
83 #define SRC4(_x,_y) convert_float4(vload4(0, srcData + mad24(_y, src_step, PIXSIZE * _x)))
139 __global const uchar * srcData = src + src_offset;
/external/skia/src/gpu/vk/
DGrVkGpu.cpp467 const void* srcData, size_t rowBytes) { in onCreateTexture() argument
502 VkFlags memProps = (srcData && linearTiling) ? VK_MEMORY_PROPERTY_HOST_VISIBLE_BIT : in onCreateTexture()
531 if (srcData) { in onCreateTexture()
532 if (!this->uploadTexData(tex, 0, 0, desc.fWidth, desc.fHeight, desc.fConfig, srcData, in onCreateTexture()
714 GrBackendObject GrVkGpu::createTestingOnlyBackendTexture(void* srcData, int w, int h, in createTestingOnlyBackendTexture() argument
732 if (srcData && !linearTiling) { in createTestingOnlyBackendTexture()
740 VkFlags memProps = (srcData && linearTiling) ? VK_MEMORY_PROPERTY_HOST_VISIBLE_BIT : in createTestingOnlyBackendTexture()
762 if (srcData) { in createTestingOnlyBackendTexture()
796 memcpy(mapPtr, srcData, rowCopyBytes * h); in createTestingOnlyBackendTexture()
798 SkRectMemcpy(mapPtr, layout.rowPitch, srcData, w, rowCopyBytes, h); in createTestingOnlyBackendTexture()
DGrVkGpu.h128 const void* srcData, size_t rowBytes) override;
131 const void* srcData) override { in onCreateCompressedTexture() argument
/external/skia/src/gpu/gl/
DGrGLGpu.h148 const void* srcData, size_t rowBytes) override;
151 const void* srcData) override;
171 bool renderTarget, const void* srcData,
174 const void* srcData, size_t rowBytes);
DGrGLGpu.cpp1278 const void* srcData, size_t rowBytes) { in onCreateTexture() argument
1290 if (!this->createTextureImpl(desc, &idDesc.fInfo, renderTarget, srcData, in onCreateTexture()
1319 const void* srcData) { in onCreateCompressedTexture() argument
1362 if (!this->uploadCompressedTexData(desc, idDesc.fInfo.fTarget, srcData)) { in onCreateCompressedTexture()
1515 bool renderTarget, const void* srcData, in createTextureImpl() argument
1529 return this->createTextureExternalAllocatorImpl(desc, info, srcData, rowBytes); in createTextureImpl()
1564 desc.fConfig, srcData, rowBytes)) { in createTextureImpl()
1572 const GrSurfaceDesc& desc, GrGLTextureInfo* info, const void* srcData, size_t rowBytes) { in createTextureExternalAllocatorImpl() argument
1575 desc.fWidth, desc.fHeight, desc.fConfig, srcData, desc.fOrigin)) { in createTextureExternalAllocatorImpl()
1586 desc.fConfig, srcData, rowBytes)) { in createTextureExternalAllocatorImpl()
/external/dng_sdk/source/
Ddng_lossless_jpeg.h56 void EncodeLosslessJPEG (const uint16 *srcData,
Ddng_lossless_jpeg.cpp2637 dng_lossless_encoder (const uint16 *srcData,
2688 dng_lossless_encoder::dng_lossless_encoder (const uint16 *srcData, in dng_lossless_encoder() argument
2697 : fSrcData (srcData ) in dng_lossless_encoder()
3755 void EncodeLosslessJPEG (const uint16 *srcData, in EncodeLosslessJPEG() argument
3765 dng_lossless_encoder encoder (srcData, in EncodeLosslessJPEG()
/external/mesa3d/src/mesa/main/
Dmipmap.h37 const GLubyte **srcData,
/external/skia/include/gpu/
DGrResourceKey.h270 const uint32_t* srcData = innerKey.data(); in Builder() local
272 memcpy(innerKeyData, srcData, innerKey.dataSize()); in Builder()
DGrTextureProvider.h32 GrTexture* createTexture(const GrSurfaceDesc& desc, SkBudgeted budgeted, const void* srcData,
/external/skia/src/gpu/effects/
DGrConfigConversionEffect.cpp157 uint32_t* srcData = data.get(); in TestForPreservingPMConversions() local
165 uint8_t* color = reinterpret_cast<uint8_t*>(&srcData[256*y + x]); in TestForPreservingPMConversions()
/external/skia/tests/
DTextureStorageAllocator.cpp21 const void* srcData, GrSurfaceOrigin) { in allocateTextureStorage() argument
DStreamTest.cpp399 const void* srcData, in stream_copy_test() argument
413 if (0 != memcmp(data->data(), srcData, N)) { in stream_copy_test()
DBitmapCopyTest.cpp667 const void* srcData = (kSkia8888_GrPixelConfig == desc.fConfig) ? kData : swizData; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local
670 ctx->textureProvider()->createTexture(desc, SkBudgeted::kNo, srcData, 0)); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()

12