Home
last modified time | relevance | path

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

12

/external/pdfium/core/fxcodec/codec/
Dfx_codec_jpx_opj.cpp217 DecodeData* srcData = static_cast<DecodeData*>(p_user_data); in opj_read_from_memory() local
218 if (!srcData || !srcData->src_data || srcData->src_size == 0) in opj_read_from_memory()
222 if (srcData->offset >= srcData->src_size) in opj_read_from_memory()
225 OPJ_SIZE_T bufferLength = srcData->src_size - srcData->offset; in opj_read_from_memory()
227 memcpy(p_buffer, &srcData->src_data[srcData->offset], readlength); in opj_read_from_memory()
228 srcData->offset += readlength; in opj_read_from_memory()
233 DecodeData* srcData = static_cast<DecodeData*>(p_user_data); in opj_skip_from_memory() local
234 if (!srcData || !srcData->src_data || srcData->src_size == 0) in opj_skip_from_memory()
249 std::numeric_limits<OPJ_SIZE_T>::max() - srcData->offset) { in opj_skip_from_memory()
250 srcData->offset = srcData->src_size; in opj_skip_from_memory()
[all …]
/external/pdfium/core/fxcrt/
Dcfx_checksumcontext.cpp69 FX_BASE64DATA srcData; in Base64EncodeA() local
74 ((uint8_t*)&srcData)[0] = *pSrc++; in Base64EncodeA()
75 ((uint8_t*)&srcData)[1] = *pSrc++; in Base64EncodeA()
76 ((uint8_t*)&srcData)[2] = *pSrc++; in Base64EncodeA()
79 *((uint32_t*)&srcData) = 0; in Base64EncodeA()
80 ((uint8_t*)&srcData)[0] = *pSrc++; in Base64EncodeA()
82 ((uint8_t*)&srcData)[1] = *pSrc++; in Base64EncodeA()
87 Base64EncodePiece(srcData, iBytes, pDstEnd); in Base64EncodeA()
/external/pdfium/xfa/fxfa/
Dcxfa_ffdoc.cpp123 char srcData[4]; in Base64DecodeW() local
129 srcData[0] = (char)*pSrc++; in Base64DecodeW()
130 srcData[1] = (char)*pSrc++; in Base64DecodeW()
131 srcData[2] = (char)*pSrc++; in Base64DecodeW()
132 srcData[3] = (char)*pSrc++; in Base64DecodeW()
136 *((uint32_t*)srcData) = 0; in Base64DecodeW()
137 srcData[0] = (char)*pSrc++; in Base64DecodeW()
139 srcData[1] = (char)*pSrc++; in Base64DecodeW()
142 srcData[2] = (char)*pSrc++; in Base64DecodeW()
147 Base64DecodePiece(srcData, iChars, dstData, iBytes); in Base64DecodeW()
/external/deqp/external/vulkancts/modules/vulkan/image/
DvktImageTranscodingSupportTests.cpp275 …virtual void transcode (std::vector<deUint8>& srcData, std::vector<deUint8>& dstData, de:…
286 std::vector<deUint8> srcData; in iterate() local
290 transcode(srcData, dstData, outputImage); in iterate()
292 DE_ASSERT(srcData.size() > 0 && srcData.size() == dstData.size()); in iterate()
294 if (!compareAndLog(&srcData[0], &dstData[0], srcData.size())) in iterate()
300 void GraphicsAttachmentsTestInstance::transcode (std::vector<deUint8>& srcData, std::vector<deUint8… in transcode() argument
324 …ceSize srcImageSizeInBytes = getUncompressedImageData(srcFormat, m_parameters.size, srcData); in transcode()
398 deMemcpy(alloc.getHostPtr(), &srcData[0], (size_t)srcImageSizeInBytes); in transcode()
542 …void transcode (std::vector<deUint8>& srcData, std::vector<deUint8>& dstData, de::MovePtr<…
550 void GraphicsTextureTestInstance::transcode (std::vector<deUint8>& srcData, std::vector<deUint8>& d… in transcode() argument
[all …]
/external/skia/src/pdf/
DSkPDFConvertType1FontStream.cpp152 const uint8_t* const srcData = srcHeader + *headerLen + kPFBSectionHeaderLength; in SkPDFConvertType1FontStream() local
153 const uint8_t* const srcTrailer = srcData + *headerLen; in SkPDFConvertType1FontStream()
162 memcpy(resultData, srcData, *dataLen); in SkPDFConvertType1FontStream()
/external/skqp/src/pdf/
DSkPDFConvertType1FontStream.cpp152 const uint8_t* const srcData = srcHeader + *headerLen + kPFBSectionHeaderLength; in SkPDFConvertType1FontStream() local
153 const uint8_t* const srcTrailer = srcData + *headerLen; in SkPDFConvertType1FontStream()
162 memcpy(resultData, srcData, *dataLen); in SkPDFConvertType1FontStream()
/external/skia/src/gpu/effects/
DGrConfigConversionEffect.h31 uint32_t* srcData = data.get(); in TestForPreservingPMConversions() local
40 uint8_t* color = reinterpret_cast<uint8_t*>(&srcData[kSize * y + x]); in TestForPreservingPMConversions()
66 SkPixmap pixmap(ii, srcData, 4 * kSize); in TestForPreservingPMConversions()
DGrConfigConversionEffect.fp24 uint32_t* srcData = data.get();
33 uint8_t* color = reinterpret_cast<uint8_t*>(&srcData[kSize*y + x]);
63 SkPixmap pixmap(ii, srcData, 4 * kSize);
/external/skqp/src/gpu/effects/
DGrConfigConversionEffect.h31 uint32_t* srcData = data.get(); in TestForPreservingPMConversions() local
40 uint8_t* color = reinterpret_cast<uint8_t*>(&srcData[kSize * y + x]); in TestForPreservingPMConversions()
66 SkPixmap pixmap(ii, srcData, 4 * kSize); in TestForPreservingPMConversions()
DGrConfigConversionEffect.fp24 uint32_t* srcData = data.get();
33 uint8_t* color = reinterpret_cast<uint8_t*>(&srcData[kSize*y + x]);
63 SkPixmap pixmap(ii, srcData, 4 * kSize);
/external/drrickorang/LoopbackApp/app/src/main/cpp/lb2/
Daudio_buffer.h168 T *srcData = src.getData(); in forEachFrame() local
172 ++i, srcData += src.getChannelCount(), dstData += dst.getChannelCount()) { in forEachFrame()
173 op(srcData, dstData); in forEachFrame()
/external/skia/src/gpu/
DGrTextureProxy.cpp21 const void* srcData, size_t /*rowBytes*/, in GrTextureProxy() argument
27 SkASSERT(!srcData); // currently handled in Make() in GrTextureProxy()
/external/skqp/src/gpu/
DGrTextureProxy.cpp21 const void* srcData, size_t /*rowBytes*/, in GrTextureProxy() argument
27 SkASSERT(!srcData); // currently handled in Make() in GrTextureProxy()
/external/dng_sdk/source/
Ddng_lossless_jpeg.h56 void EncodeLosslessJPEG (const uint16 *srcData,
/external/deqp/external/vulkancts/modules/vulkan/ycbcr/
DvktYCbCrCopyTests.cpp752 MultiPlaneImageData srcData (config.src.format, config.src.size); in imageCopyTest() local
763 fillRandom(&rng, &srcData); in imageCopyTest()
785 …etUniversalQueueFamilyIndex(), context.getDefaultAllocator(), *srcImage, srcData, vk::VK_ACCESS_TR… in imageCopyTest()
787 …vice, context.getUniversalQueueFamilyIndex(), *srcImage, srcImageMemory, srcData, vk::VK_ACCESS_TR… in imageCopyTest()
855 …const UVec2 srcPlaneSize (getPlaneSize(srcData.getDescription(), srcPlaneNdx, config.src.size)… in imageCopyTest()
889 ((const deUint8*)srcData.getPlanePtr(srcPlaneNdx)) + srcPos, size); in imageCopyTest()
893 bool ignoreLsb6Bits = areLsb6BitsDontCare(srcData.getFormat(), dstData.getFormat()); in imageCopyTest()
894 bool ignoreLsb4Bits = areLsb4BitsDontCare(srcData.getFormat(), dstData.getFormat()); in imageCopyTest()
/external/mesa3d/src/mesa/main/
Dmipmap.h37 const GLubyte **srcData,
/external/skqp/src/gpu/mtl/
DGrMtlGpu.mm415 const void* srcData, size_t srcRowBytes,
420 SkASSERT(!srcData);
436 if (srcData && GrMipMapped::kYes == mipMapped) {
456 if (!srcData) {
459 srcData = srcBuffer;
461 SkASSERT(srcData);
485 withBytes: srcData
/external/skia/src/gpu/mtl/
DGrMtlGpu.mm474 const void* srcData, size_t srcRowBytes,
479 SkASSERT(!srcData);
495 if (srcData && GrMipMapped::kYes == mipMapped) {
516 if (!srcData) {
519 srcData = srcBuffer;
521 SkASSERT(srcData);
545 withBytes: srcData
/external/skqp/src/gpu/vk/
DGrVkGpu.cpp1300 bool copy_testing_data(GrVkGpu* gpu, const void* srcData, const GrVkAlloc& alloc, in copy_testing_data() argument
1312 if (srcData) { in copy_testing_data()
1315 SkRectMemcpy(mapPtr, dstRowBytes, srcData, srcRowBytes, trimRowBytes, h); in copy_testing_data()
1328 bool renderable, GrMipMapped mipMapped, const void* srcData, in createTestingOnlyVkImage() argument
1333 SkASSERT(!srcData); in createTestingOnlyVkImage()
1349 if (srcData && GrMipMapped::kYes == mipMapped) { in createTestingOnlyVkImage()
1508 SkASSERT(0 == currentMipLevel || !srcData); in createTestingOnlyVkImage()
1514 result = copy_testing_data(this, srcData, bufferAlloc, bufferOffset, currentRowBytes, in createTestingOnlyVkImage()
1518 result = copy_testing_data(this, srcData, bufferAlloc, bufferOffset, srcRowBytes, in createTestingOnlyVkImage()
1656 GrBackendTexture GrVkGpu::createTestingOnlyBackendTexture(const void* srcData, int w, int h, in createTestingOnlyBackendTexture() argument
[all …]
/external/skqp/include/private/
DGrResourceKey.h293 const uint32_t* srcData = innerKey.data();
295 memcpy(innerKeyData, srcData, innerKey.dataSize());
DGrTextureProxy.h92 SkBudgeted, const void* srcData, size_t srcRowBytes, GrInternalSurfaceFlags);
/external/skia/include/private/
DGrResourceKey.h293 const uint32_t* srcData = innerKey.data();
295 memcpy(innerKeyData, srcData, innerKey.dataSize());
DGrTextureProxy.h92 SkBudgeted, const void* srcData, size_t srcRowBytes, GrInternalSurfaceFlags);
/external/skia/src/gpu/vk/
DGrVkGpu.cpp1312 bool copy_testing_data(GrVkGpu* gpu, const void* srcData, const GrVkAlloc& alloc, in copy_testing_data() argument
1324 if (srcData) { in copy_testing_data()
1327 SkRectMemcpy(mapPtr, dstRowBytes, srcData, srcRowBytes, trimRowBytes, h); in copy_testing_data()
1340 bool renderable, GrMipMapped mipMapped, const void* srcData, in createTestingOnlyVkImage() argument
1345 SkASSERT(!srcData); in createTestingOnlyVkImage()
1361 if (srcData && GrMipMapped::kYes == mipMapped) { in createTestingOnlyVkImage()
1520 SkASSERT(0 == currentMipLevel || !srcData); in createTestingOnlyVkImage()
1526 result = copy_testing_data(this, srcData, bufferAlloc, bufferOffset, currentRowBytes, in createTestingOnlyVkImage()
1530 result = copy_testing_data(this, srcData, bufferAlloc, bufferOffset, srcRowBytes, in createTestingOnlyVkImage()
1668 GrBackendTexture GrVkGpu::createTestingOnlyBackendTexture(const void* srcData, int w, int h, in createTestingOnlyBackendTexture() argument
[all …]
DGrVkBuffer.h109 void copyCpuDataToGpuBuffer(GrVkGpu* gpu, const void* srcData, size_t size);

12