/frameworks/av/media/libstagefright/filters/ |
ZeroFilter.cpp | 41 const sp<ABuffer> &srcBuffer, const sp<ABuffer> &outBuffer) { 44 uint32_t* src = (uint32_t*)srcBuffer->data(); 46 for (size_t i = 0; i < srcBuffer->size() / 4; ++i) { 50 memcpy(outBuffer->data(), srcBuffer->data(), srcBuffer->size()); 52 outBuffer->setRange(0, srcBuffer->size());
|
ZeroFilter.h | 32 const sp<ABuffer> &srcBuffer, const sp<ABuffer> &outBuffer);
|
IntrinsicBlurFilter.h | 34 const sp<ABuffer> &srcBuffer, const sp<ABuffer> &outBuffer);
|
RSFilter.h | 38 const sp<ABuffer> &srcBuffer, const sp<ABuffer> &outBuffer);
|
SaturationFilter.h | 36 const sp<ABuffer> &srcBuffer, const sp<ABuffer> &outBuffer);
|
SimpleFilter.h | 40 const sp<ABuffer> &srcBuffer, const sp<ABuffer> &outBuffer) = 0;
|
IntrinsicBlurFilter.cpp | 91 const sp<ABuffer> &srcBuffer, const sp<ABuffer> &outBuffer) { 92 mAllocIn->copy1DRangeFrom(0, mWidth * mHeight, srcBuffer->data());
|
RSFilter.cpp | 88 const sp<ABuffer> &srcBuffer, const sp<ABuffer> &outBuffer) { 89 mAllocIn->copy1DRangeFrom(0, mWidth * mHeight, srcBuffer->data());
|
SaturationFilter.cpp | 91 const sp<ABuffer> &srcBuffer, const sp<ABuffer> &outBuffer) { 92 mAllocIn->copy1DRangeFrom(0, mWidth * mHeight, srcBuffer->data());
|
/external/skia/tests/ |
VkUploadPixelsTests.cpp | 33 bool does_full_buffer_contain_correct_color(GrColor* srcBuffer, 38 GrColor* srcPtr = srcBuffer; 59 SkAutoTMalloc<GrColor> srcBuffer(kWidth*kHeight); 62 fill_pixel_data(kWidth, kHeight, srcBuffer.get()); 86 GrTexture* tex0 = gpu->createTexture(surfDesc, SkBudgeted::kNo, srcBuffer, 0); 90 REPORTER_ASSERT(reporter, does_full_buffer_contain_correct_color(srcBuffer, 96 tex0->writePixels(2, 10, 10, 2, config, srcBuffer); 99 REPORTER_ASSERT(reporter, does_full_buffer_contain_correct_color(srcBuffer, 111 GrTexture* tex1 = gpu->createTexture(surfDesc, SkBudgeted::kNo, srcBuffer, 0); 115 REPORTER_ASSERT(reporter, does_full_buffer_contain_correct_color(srcBuffer, [all...] |
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/ |
ReaderTest.java | 43 char[] srcBuffer = s.toCharArray(); 44 MockReader mockReader = new MockReader(srcBuffer); 48 char[] destBuffer = new char[srcBuffer.length]; 55 char[] srcBuffer = s.toCharArray(); 57 MockReader mockReader = new MockReader(srcBuffer); 67 char[] destBuffer = new char[srcBuffer.length - CHARBUFFER_REMAINING]; 96 char[] srcBuffer = string.toCharArray(); 97 MockReader mockReader = new MockReader(srcBuffer); 100 for (char c : srcBuffer) { 138 char[] srcBuffer = string.toCharArray() [all...] |
/external/lz4/lib/ |
lz4frame.h | 90 size_t LZ4F_compressFrame(void* dstBuffer, size_t dstMaxSize, const void* srcBuffer, size_t srcSize, const LZ4F_preferences_t* preferencesPtr); 92 * Compress an entire srcBuffer into a valid LZ4 frame, as defined by specification v1.4.1. 146 size_t LZ4F_compressUpdate(LZ4F_compressionContext_t compressionContext, void* dstBuffer, size_t dstMaxSize, const void* srcBuffer, size_t srcSize, const LZ4F_compressOptions_t* compressOptionsPtr); 209 const void* srcBuffer, size_t* srcSizePtr); 215 * The number of bytes read from srcBuffer will be provided within *srcSizePtr (necessarily <= original value). 216 * You are expected to resume decompression from where it stopped (srcBuffer + *srcSizePtr) 223 const void* srcBuffer, size_t* srcSizePtr, 226 * Call this function repetitively to regenerate data compressed within srcBuffer. 227 * The function will attempt to decode *srcSizePtr bytes from srcBuffer, into dstBuffer of maximum size *dstSizePtr. 231 * The number of bytes read from srcBuffer will be provided within *srcSizePtr (necessarily <= original value) [all...] |
/frameworks/base/media/java/android/media/ |
ImageUtils.java | 119 ByteBuffer srcBuffer = null; 124 srcBuffer = srcPlanes[i].getBuffer(); 126 if (!(srcBuffer.isDirect() && dstBuffer.isDirect())) { 137 int srcPos = srcBuffer.position(); 138 srcBuffer.rewind(); 142 dstBuffer.put(srcBuffer); 146 int srcOffset = srcBuffer.position(); 155 int remainingBytes = srcBuffer.remaining() - srcOffset; 160 directByteBufferCopy(srcBuffer, srcOffset, dstBuffer, dstOffset, srcByteCount); 166 srcBuffer.position(srcPos) [all...] |
/external/dng_sdk/source/ |
dng_filter_task.cpp | 110 // Setup srcBuffer. 112 dng_pixel_buffer srcBuffer(srcArea, fSrcPlane, fSrcPlanes, fSrcPixelType, 124 fSrcImage.Get (srcBuffer, 132 srcBuffer,
|
dng_filter_task.h | 105 /// \param srcBuffer Input area and source pixels. 110 dng_pixel_buffer &srcBuffer,
|
dng_mosaic_info.cpp | 1003 void Interpolate (dng_pixel_buffer &srcBuffer, 1029 void dng_bilinear_interpolator::Interpolate (dng_pixel_buffer &srcBuffer, 1061 const void *sPtr = srcBuffer.ConstPixel (srcRow, 1063 srcBuffer.fPlane); 1129 dng_pixel_buffer &srcBuffer, 1215 dng_pixel_buffer &srcBuffer, 1219 dng_rect srcArea = srcBuffer.fArea; 1252 const uint16 *sPtr = srcBuffer.ConstPixel_uint16 (srcRow, 1297 ssPtr += srcBuffer.fRowStep; [all...] |
dng_utils.cpp | 585 dng_const_tile_buffer srcBuffer (fSrcImage, tile); 592 int32 sStep0 = srcBuffer.fRowStep; 593 int32 sStep1 = srcBuffer.fColStep; 594 int32 sStep2 = srcBuffer.fPlaneStep; 600 const void *sPtr = srcBuffer.ConstPixel (tile.t, 610 srcBuffer.fPixelSize,
|
dng_bad_pixels.cpp | 155 dng_pixel_buffer &srcBuffer, 161 dstBuffer.CopyArea (srcBuffer, 171 const uint16 *sPtr = srcBuffer.ConstPixel_uint16 (dstRow, dstArea.l, 0); 188 value = sPtr [-srcBuffer.fRowStep - 1]; 196 value = sPtr [-srcBuffer.fRowStep + 1]; 204 value = sPtr [srcBuffer.fRowStep - 1]; 212 value = sPtr [srcBuffer.fRowStep + 1]; 225 value = sPtr [-srcBuffer.fRowStep * 2]; 233 value = sPtr [srcBuffer.fRowStep * 2]; [all...] |
dng_bad_pixels.h | 74 dng_pixel_buffer &srcBuffer, 278 dng_pixel_buffer &srcBuffer,
|
dng_resample.cpp | 524 dng_pixel_buffer &srcBuffer, 696 dng_pixel_buffer &srcBuffer, 700 dng_rect srcArea = srcBuffer.fArea; 740 const real32 *sPtr = srcBuffer.ConstPixel_real32 (srcRow, 747 srcBuffer.fRowStep, 794 const uint16 *sPtr = srcBuffer.ConstPixel_uint16 (srcRow, 801 srcBuffer.fRowStep,
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
HolographicOutlineHelper.java | 107 int[] srcBuffer = new int[srcDst.getWidth() * srcDst.getHeight()]; 108 srcDst.getPixels(srcBuffer, 110 for (int i = 0; i < srcBuffer.length; i++) { 111 final int alpha = srcBuffer[i] >>> 24; 113 srcBuffer[i] = 0; 116 srcDst.setPixels(srcBuffer,
|
/frameworks/base/libs/hwui/ |
VertexBuffer.h | 92 void copyInto(const VertexBuffer& srcBuffer, float xOffset, float yOffset) { 93 int verticesToCopy = srcBuffer.getVertexCount(); 96 TYPE* src = (TYPE*)srcBuffer.getBuffer();
|
/external/mesa3d/src/mesa/main/ |
buffers.c | 525 GLint srcBuffer; 539 srcBuffer = -1; 543 srcBuffer = read_buffer_enum_to_index(buffer); 544 if (srcBuffer == -1) { 550 if (((1 << srcBuffer) & supportedMask) == 0) { 559 _mesa_readbuffer(ctx, buffer, srcBuffer);
|
/external/lz4/programs/ |
frametest.c | 383 void* srcBuffer = NULL; 399 srcBuffer = malloc(srcDataLength); 400 CHECK(srcBuffer==NULL, "srcBuffer Allocation failed"); 405 FUZ_fillCompressibleNoiseBuffer(srcBuffer, srcDataLength, compressibility, &coreRand); 437 crcOrig = XXH64((BYTE*)srcBuffer+srcStart, (U32)srcSize, 1); 441 cSize = LZ4F_compressFrame(compressedBuffer, LZ4F_compressFrameBound(srcSize, prefsPtr), (char*)srcBuffer + srcStart, srcSize, prefsPtr); 446 const BYTE* ip = (const BYTE*)srcBuffer + srcStart; 504 if (result == (size_t)-ERROR_checksum_invalid) locateBuffDiff((BYTE*)srcBuffer+srcStart, decodedBuffer, srcSize, nonContiguousDst); 514 if (crcDecoded != crcOrig) locateBuffDiff((BYTE*)srcBuffer+srcStart, decodedBuffer, srcSize, nonContiguousDst) [all...] |
/external/mesa3d/src/mesa/swrast/ |
s_blit.c | 44 const GLvoid *srcBuffer, GLvoid *dstBuffer, \ 47 const PIXELTYPE *src = (const PIXELTYPE *) srcBuffer;\ 139 GLvoid *srcBuffer, *dstBuffer; 143 const GLvoid *srcBuffer, GLvoid *dstBuffer, 268 srcBuffer = malloc(pixelSize * srcWidth); 269 if (!srcBuffer) { 275 free(srcBuffer); 297 memcpy(srcBuffer, srcRowStart, pixelSize * srcWidth); 301 srcBuffer); 305 srcBuffer); [all...] |