Home
last modified time | relevance | path

Searched refs:srcBuffer (Results 1 – 25 of 42) sorted by relevance

12

/external/skia/tests/
DVkUploadPixelsTests.cpp33 bool does_full_buffer_contain_correct_color(GrColor* srcBuffer, in does_full_buffer_contain_correct_color() argument
38 GrColor* srcPtr = srcBuffer; in does_full_buffer_contain_correct_color()
59 SkAutoTMalloc<GrColor> srcBuffer(kWidth*kHeight); in basic_texture_test() local
62 fill_pixel_data(kWidth, kHeight, srcBuffer.get()); in basic_texture_test()
86 GrTexture* tex0 = gpu->createTexture(surfDesc, SkBudgeted::kNo, srcBuffer, 0); in basic_texture_test()
90 REPORTER_ASSERT(reporter, does_full_buffer_contain_correct_color(srcBuffer, in basic_texture_test()
96 tex0->writePixels(2, 10, 10, 2, config, srcBuffer); in basic_texture_test()
99 REPORTER_ASSERT(reporter, does_full_buffer_contain_correct_color(srcBuffer, in basic_texture_test()
111 GrTexture* tex1 = gpu->createTexture(surfDesc, SkBudgeted::kNo, srcBuffer, 0); in basic_texture_test()
115 REPORTER_ASSERT(reporter, does_full_buffer_contain_correct_color(srcBuffer, in basic_texture_test()
[all …]
/external/lz4/lib/
Dlz4frame.h90 size_t LZ4F_compressFrame(void* dstBuffer, size_t dstMaxSize, const void* srcBuffer, size_t srcSize…
146 …t_t compressionContext, void* dstBuffer, size_t dstMaxSize, const void* srcBuffer, size_t srcSize,…
209 const void* srcBuffer, size_t* srcSizePtr);
223 const void* srcBuffer, size_t* srcSizePtr,
Dlz4frame.c259 size_t LZ4F_compressFrame(void* dstBuffer, size_t dstMaxSize, const void* srcBuffer, size_t srcSize… in LZ4F_compressFrame() argument
302 errorCode = LZ4F_compressUpdate(&cctxI, dstPtr, dstMaxSize, srcBuffer, srcSize, &options); in LZ4F_compressFrame()
519 …t_t compressionContext, void* dstBuffer, size_t dstMaxSize, const void* srcBuffer, size_t srcSize,… in LZ4F_compressUpdate() argument
524 const BYTE* srcPtr = (const BYTE*)srcBuffer; in LZ4F_compressUpdate()
546 memcpy(cctxPtr->tmpIn + cctxPtr->tmpInSize, srcBuffer, srcSize); in LZ4F_compressUpdate()
555 memcpy(cctxPtr->tmpIn + cctxPtr->tmpInSize, srcBuffer, sizeToCopy); in LZ4F_compressUpdate()
614 XXH32_update(&(cctxPtr->xxh), srcBuffer, (unsigned)srcSize); in LZ4F_compressUpdate()
825 …ext_t decompressionContext, LZ4F_frameInfo_t* frameInfoPtr, const void* srcBuffer, size_t* srcSize… in LZ4F_getFrameInfo() argument
831 LZ4F_errorCode_t errorCode = LZ4F_decodeHeader(dctxPtr, srcBuffer, *srcSizePtr); in LZ4F_getFrameInfo()
951 const void* srcBuffer, size_t* srcSizePtr, in LZ4F_decompress() argument
[all …]
/external/mesa3d/src/mesa/swrast/
Ds_blit.c44 const GLvoid *srcBuffer, GLvoid *dstBuffer, \
47 const PIXELTYPE *src = (const PIXELTYPE *) srcBuffer;\
139 GLvoid *srcBuffer, *dstBuffer; in blit_nearest() local
143 const GLvoid *srcBuffer, GLvoid *dstBuffer, in blit_nearest()
268 srcBuffer = malloc(pixelSize * srcWidth); in blit_nearest()
269 if (!srcBuffer) { in blit_nearest()
275 free(srcBuffer); in blit_nearest()
297 memcpy(srcBuffer, srcRowStart, pixelSize * srcWidth); in blit_nearest()
301 srcBuffer); in blit_nearest()
305 srcBuffer); in blit_nearest()
[all …]
/external/dng_sdk/source/
Ddng_mosaic_info.cpp1003 void Interpolate (dng_pixel_buffer &srcBuffer,
1029 void dng_bilinear_interpolator::Interpolate (dng_pixel_buffer &srcBuffer, in Interpolate() argument
1061 const void *sPtr = srcBuffer.ConstPixel (srcRow, in Interpolate()
1063 srcBuffer.fPlane); in Interpolate()
1129 dng_pixel_buffer &srcBuffer,
1215 dng_pixel_buffer &srcBuffer, in ProcessArea() argument
1219 dng_rect srcArea = srcBuffer.fArea; in ProcessArea()
1252 const uint16 *sPtr = srcBuffer.ConstPixel_uint16 (srcRow, in ProcessArea()
1297 ssPtr += srcBuffer.fRowStep; in ProcessArea()
1837 dng_pixel_buffer srcBuffer (dng_rect (srcTileSize), srcPlane, 1, in InterpolateGeneric() local
[all …]
Ddng_filter_task.cpp112 dng_pixel_buffer srcBuffer(srcArea, fSrcPlane, fSrcPlanes, fSrcPixelType, in Process() local
124 fSrcImage.Get (srcBuffer, in Process()
132 srcBuffer, in Process()
Ddng_bad_pixels.cpp155 dng_pixel_buffer &srcBuffer, in ProcessArea() argument
161 dstBuffer.CopyArea (srcBuffer, in ProcessArea()
171 const uint16 *sPtr = srcBuffer.ConstPixel_uint16 (dstRow, dstArea.l, 0); in ProcessArea()
188 value = sPtr [-srcBuffer.fRowStep - 1]; in ProcessArea()
196 value = sPtr [-srcBuffer.fRowStep + 1]; in ProcessArea()
204 value = sPtr [srcBuffer.fRowStep - 1]; in ProcessArea()
212 value = sPtr [srcBuffer.fRowStep + 1]; in ProcessArea()
225 value = sPtr [-srcBuffer.fRowStep * 2]; in ProcessArea()
233 value = sPtr [srcBuffer.fRowStep * 2]; in ProcessArea()
1722 dng_pixel_buffer &srcBuffer, in ProcessArea() argument
[all …]
Ddng_render.cpp757 dng_pixel_buffer &srcBuffer,
990 dng_pixel_buffer &srcBuffer, in ProcessArea() argument
994 dng_rect srcArea = srcBuffer.fArea; in ProcessArea()
1013 srcBuffer.ConstPixel (srcRow, in ProcessArea()
1032 const real32 *sPtrB = sPtrA + srcBuffer.fPlaneStep; in ProcessArea()
1033 const real32 *sPtrC = sPtrB + srcBuffer.fPlaneStep; in ProcessArea()
1053 const real32 *sPtrD = sPtrC + srcBuffer.fPlaneStep; in ProcessArea()
Ddng_utils.cpp585 dng_const_tile_buffer srcBuffer (fSrcImage, tile); in Process() local
592 int32 sStep0 = srcBuffer.fRowStep; in Process()
593 int32 sStep1 = srcBuffer.fColStep; in Process()
594 int32 sStep2 = srcBuffer.fPlaneStep; in Process()
600 const void *sPtr = srcBuffer.ConstPixel (tile.t, in Process()
610 srcBuffer.fPixelSize, in Process()
Ddng_resample.cpp524 dng_pixel_buffer &srcBuffer,
696 dng_pixel_buffer &srcBuffer, in ProcessArea() argument
700 dng_rect srcArea = srcBuffer.fArea; in ProcessArea()
740 const real32 *sPtr = srcBuffer.ConstPixel_real32 (srcRow, in ProcessArea()
747 srcBuffer.fRowStep, in ProcessArea()
794 const uint16 *sPtr = srcBuffer.ConstPixel_uint16 (srcRow, in ProcessArea()
801 srcBuffer.fRowStep, in ProcessArea()
Ddng_bad_pixels.h74 dng_pixel_buffer &srcBuffer,
278 dng_pixel_buffer &srcBuffer,
Ddng_filter_task.h110 dng_pixel_buffer &srcBuffer,
Ddng_opcodes.cpp293 dng_pixel_buffer &srcBuffer, in ProcessArea() argument
299 srcBuffer, in ProcessArea()
Ddng_opcodes.h390 dng_pixel_buffer &srcBuffer,
Ddng_linearization_info.cpp458 dng_const_tile_buffer srcBuffer (fSrcImage, srcTile); in Process() local
461 int32 sStep = srcBuffer.fColStep; in Process()
475 const void *sPtr = srcBuffer.ConstPixel (srcTile.t + row, in Process()
Ddng_lens_correction.cpp991 dng_pixel_buffer &srcBuffer,
1294 dng_pixel_buffer &srcBuffer, in ProcessArea() argument
1309 const dng_rect srcArea = srcBuffer.fArea; in ProcessArea()
1312 const int32 srcRowStep = (int32) srcBuffer.RowStep (); in ProcessArea()
1396 const real32 *s = srcBuffer.ConstPixel_real32 (sInt.v, in ProcessArea()
/external/mesa3d/src/mesa/main/
Dbuffers.c525 GLint srcBuffer; in _mesa_ReadBuffer() local
539 srcBuffer = -1; in _mesa_ReadBuffer()
543 srcBuffer = read_buffer_enum_to_index(buffer); in _mesa_ReadBuffer()
544 if (srcBuffer == -1) { in _mesa_ReadBuffer()
550 if (((1 << srcBuffer) & supportedMask) == 0) { in _mesa_ReadBuffer()
559 _mesa_readbuffer(ctx, buffer, srcBuffer); in _mesa_ReadBuffer()
/external/lz4/programs/
Dframetest.c383 void* srcBuffer = NULL; in fuzzerTests() local
399 srcBuffer = malloc(srcDataLength); in fuzzerTests()
400 CHECK(srcBuffer==NULL, "srcBuffer Allocation failed"); in fuzzerTests()
405 FUZ_fillCompressibleNoiseBuffer(srcBuffer, srcDataLength, compressibility, &coreRand); in fuzzerTests()
437 crcOrig = XXH64((BYTE*)srcBuffer+srcStart, (U32)srcSize, 1); in fuzzerTests()
441 …me(compressedBuffer, LZ4F_compressFrameBound(srcSize, prefsPtr), (char*)srcBuffer + srcStart, srcS… in fuzzerTests()
446 const BYTE* ip = (const BYTE*)srcBuffer + srcStart; in fuzzerTests()
504 …if (result == (size_t)-ERROR_checksum_invalid) locateBuffDiff((BYTE*)srcBuffer+srcStart, decodedBu… in fuzzerTests()
514 …if (crcDecoded != crcOrig) locateBuffDiff((BYTE*)srcBuffer+srcStart, decodedBuffer, srcSize, nonCo… in fuzzerTests()
524 free(srcBuffer); in fuzzerTests()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DNormalizer.java730 CharBuffer srcBuffer = CharBuffer.wrap(src, srcStart, srcLimit - srcStart); in compose() local
732 getComposeNormalizer2(compat, options).normalize(srcBuffer, app); in compose()
810 CharBuffer srcBuffer = CharBuffer.wrap(src, srcStart, srcLimit - srcStart); in decompose() local
812 getDecomposeNormalizer2(compat, options).normalize(srcBuffer, app); in decompose()
896 CharBuffer srcBuffer = CharBuffer.wrap(src, srcStart, srcLimit - srcStart); in normalize() local
898 mode.getNormalizer2(options).normalize(srcBuffer, app); in normalize()
1020 CharBuffer srcBuffer = CharBuffer.wrap(source, start, limit - start); in quickCheck() local
1021 return mode.getNormalizer2(options).quickCheck(srcBuffer); in quickCheck()
1048 CharBuffer srcBuffer = CharBuffer.wrap(src, start, limit - start); in isNormalized() local
1049 return mode.getNormalizer2(options).isNormalized(srcBuffer); in isNormalized()
/external/icu/android_icu4j/src/main/java/android/icu/text/
DNormalizer.java747 CharBuffer srcBuffer = CharBuffer.wrap(src, srcStart, srcLimit - srcStart); in compose() local
749 getComposeNormalizer2(compat, options).normalize(srcBuffer, app); in compose()
831 CharBuffer srcBuffer = CharBuffer.wrap(src, srcStart, srcLimit - srcStart); in decompose() local
833 getDecomposeNormalizer2(compat, options).normalize(srcBuffer, app); in decompose()
921 CharBuffer srcBuffer = CharBuffer.wrap(src, srcStart, srcLimit - srcStart); in normalize() local
923 mode.getNormalizer2(options).normalize(srcBuffer, app); in normalize()
1051 CharBuffer srcBuffer = CharBuffer.wrap(source, start, limit - start); in quickCheck() local
1052 return mode.getNormalizer2(options).quickCheck(srcBuffer); in quickCheck()
1080 CharBuffer srcBuffer = CharBuffer.wrap(src, start, limit - start); in isNormalized() local
1081 return mode.getNormalizer2(options).isNormalized(srcBuffer); in isNormalized()
/external/skia/src/gpu/vk/
DGrVkCommandBuffer.cpp265 GrVkTransferBuffer* srcBuffer, in copyBufferToImage() argument
272 this->addResource(srcBuffer->resource()); in copyBufferToImage()
275 srcBuffer->buffer(), in copyBufferToImage()
DGrVkCommandBuffer.h133 GrVkTransferBuffer* srcBuffer,
/external/deqp/external/vulkancts/modules/vulkan/draw/
DvktDrawImageObjectUtil.hpp48 const void * srcBuffer,
57 const void * srcBuffer,
/external/deqp/external/vulkancts/modules/vulkan/query_pool/
DvktQueryPoolImageObjectUtil.hpp48 const void * srcBuffer,
57 const void * srcBuffer,
/external/deqp/external/vulkancts/modules/vulkan/dynamic_state/
DvktDynamicStateImageObjectUtil.hpp49 const void * srcBuffer,
58 const void * srcBuffer,

12