/external/skia/tests/ |
VkUploadPixelsTests.cpp | 37 GrColor* dstBuffer, 41 GrColor* dstPtr = dstBuffer; 59 SkAutoTMalloc<GrColor> dstBuffer(kWidth*kHeight); 84 bool result = sContext->readPixels(dstInfo, dstBuffer, 0, 0, 0); 87 dstBuffer, 95 memset(dstBuffer, 0, kWidth*kHeight*sizeof(GrColor)); 97 result = sContext->readPixels(dstInfo, dstBuffer, 0, 2, 10); 101 dstBuffer, 118 bool result = sContext->readPixels(dstInfo, dstBuffer, 0, 0, 0); 121 dstBuffer, [all...] |
TransferPixelsTest.cpp | 42 GrColor* dstBuffer, 50 GrColor* dstPtr = bottomUp ? dstBuffer + bufferWidth*(bufferHeight-1) : dstBuffer; 74 SkAutoTMalloc<GrColor> dstBuffer(kBufferWidth*kBufferHeight); 111 memset(dstBuffer.get(), 0xCDCD, size); 113 dstBuffer.get(), rowBytes); 116 dstBuffer, 143 memset(dstBuffer.get(), 0xCDCD, size); 145 dstBuffer.get(), rowBytes); 148 dstBuffer, [all...] |
RenderTargetContextTest.cpp | 64 SkAutoTMalloc<uint32_t> dstBuffer(kSize * kSize); 67 bool result = rtCtx->readPixels(dstInfo, dstBuffer.get(), kRowBytes, 0, 0);
|
/hardware/interfaces/cas/native/1.0/ |
IDescrambler.hal | 36 * @param dstBuffer the DestinationBuffer to hold the descrambled data. 44 SharedBuffer srcBuffer, uint64_t srcOffset, DestinationBuffer dstBuffer, uint64_t dstOffset)
|
/frameworks/base/media/java/android/media/ |
ImageUtils.java | 125 ByteBuffer dstBuffer = null; 130 dstBuffer = dstPlanes[i].getBuffer(); 131 if (!(srcBuffer.isDirect() && dstBuffer.isDirect())) { 144 dstBuffer.rewind(); 147 dstBuffer.put(srcBuffer); 152 int dstOffset = dstBuffer.position(); 165 directByteBufferCopy(srcBuffer, srcOffset, dstBuffer, dstOffset, srcByteCount); 172 dstBuffer.rewind(); 273 ByteBuffer dstBuffer, int dstOffset, int srcByteCount) { 274 Memory.memmove(dstBuffer, dstOffset, srcBuffer, srcOffset, srcByteCount) [all...] |
/external/lz4/lib/ |
lz4frame.h | 169 * An important rule is that dstBuffer MUST be large enough (dstCapacity) to store the result in worst case situation. 173 * @return : number of bytes written into dstBuffer. 176 LZ4FLIB_API size_t LZ4F_compressFrame(void* dstBuffer, size_t dstCapacity, const void* srcBuffer, size_t srcSize, const LZ4F_preferences_t* preferencesPtr); 210 LZ4FLIB_API size_t LZ4F_compressBegin(LZ4F_cctx* cctx, void* dstBuffer, size_t dstCapacity, const LZ4F_preferences_t* prefsPtr); 212 * will write the frame header into dstBuffer. 215 * @return : number of bytes written into dstBuffer for the header 227 LZ4FLIB_API size_t LZ4F_compressUpdate(LZ4F_cctx* cctx, void* dstBuffer, size_t dstCapacity, const void* srcBuffer, size_t srcSize, const LZ4F_compressOptions_t* cOptPtr); 235 * @return : number of bytes written into `dstBuffer` (it can be zero, meaning input data was just buffered). 239 LZ4FLIB_API size_t LZ4F_flush(LZ4F_cctx* cctx, void* dstBuffer, size_t dstCapacity, const LZ4F_compressOptions_t* cOptPtr); 245 * @return : number of bytes written into dstBuffer (it can be zero, which means there was no data stored within cctx [all...] |
/external/dng_sdk/source/ |
dng_filter_task.cpp | 116 // Setup dstBuffer. 118 dng_pixel_buffer dstBuffer(area, fDstPlane, fDstPlanes, fDstPixelType, 133 dstBuffer); 137 fDstImage.Put (dstBuffer);
|
dng_filter_task.h | 107 /// \param dstBuffer Output area and destination pixels. 111 dng_pixel_buffer &dstBuffer) = 0;
|
dng_mosaic_info.cpp | 1004 dng_pixel_buffer &dstBuffer); 1030 dng_pixel_buffer &dstBuffer) 1041 int32 dstCol = dstBuffer.fArea.l; 1047 for (int32 dstRow = dstBuffer.fArea.t; 1048 dstRow < dstBuffer.fArea.b; 1057 dstPlane < dstBuffer.fPlanes; 1065 void *dPtr = dstBuffer.DirtyPixel (dstRow, 1069 if (dstBuffer.fPixelType == ttShort) 1074 dstBuffer.fArea.W (), 1089 dstBuffer.fArea.W () [all...] |
dng_utils.cpp | 586 dng_dirty_tile_buffer dstBuffer (fDstImage, tile); 596 int32 dStep0 = dstBuffer.fRowStep; 597 int32 dStep1 = dstBuffer.fColStep; 598 int32 dStep2 = dstBuffer.fPlaneStep; 604 void *dPtr = dstBuffer.DirtyPixel (tile.t, 611 dstBuffer.fPixelSize,
|
dng_bad_pixels.h | 75 dng_pixel_buffer &dstBuffer, 279 dng_pixel_buffer &dstBuffer,
|
dng_opcodes.cpp | 294 dng_pixel_buffer &dstBuffer) 300 dstBuffer, 301 dstBuffer.Area (),
|
dng_resample.cpp | 525 dng_pixel_buffer &dstBuffer); 697 dng_pixel_buffer &dstBuffer) 701 dng_rect dstArea = dstBuffer.fArea; 737 for (uint32 plane = 0; plane < dstBuffer.fPlanes; plane++) 751 real32 *dPtr = dstBuffer.DirtyPixel_real32 (dstRow, 791 for (uint32 plane = 0; plane < dstBuffer.fPlanes; plane++) 806 uint16 *dPtr = dstBuffer.DirtyPixel_uint16 (dstRow,
|
/frameworks/ex/framesequence/jni/ |
Stream.cpp | 122 size_t JavaInputStream::doRead(void* dstBuffer, size_t size) { 134 mEnv->GetByteArrayRegion(mByteArray, 0, bytesRead, (jbyte*)dstBuffer); 135 dstBuffer = (char*)dstBuffer + bytesRead;
|
/hardware/interfaces/cas/1.0/default/ |
DescramblerImpl.cpp | 78 const DestinationBuffer& dstBuffer, 86 if (dstBuffer.type == BufferType::SHARED_MEMORY) { 92 dstBuffer.secureMemory.getNativeHandle()); 99 dstBuffer.type != BufferType::SHARED_MEMORY,
|
DescramblerImpl.h | 50 const DestinationBuffer& dstBuffer,
|
/external/mesa3d/src/mesa/swrast/ |
s_blit.c | 45 const GLvoid *srcBuffer, GLvoid *dstBuffer, \ 49 PIXELTYPE *dst = (PIXELTYPE *) dstBuffer; \ 145 GLvoid *srcBuffer, *dstBuffer; 149 const GLvoid *srcBuffer, GLvoid *dstBuffer, 194 dstBuffer = malloc(MAX_PIXEL_BYTES * dstWidth); 195 if (!srcBuffer || !dstBuffer) 335 (*resampleRow)(srcWidth, dstWidth, srcBuffer, dstBuffer, invertX); 342 memcpy(dstRowStart, dstBuffer, pixelSize * dstWidth); 345 _mesa_pack_float_rgba_row(drawRb->Format, dstWidth, dstBuffer, 349 _mesa_pack_float_z_row(drawRb->Format, dstWidth, dstBuffer, [all...] |
/external/skia/src/gpu/ |
GrSurfaceContext.cpp | 41 bool GrSurfaceContext::readPixels(const SkImageInfo& dstInfo, void* dstBuffer, 62 dstBuffer, dstRowBytes, flags);
|
GrSurfaceContext.h | 67 * @param dstBuffer destination pixels for the read 68 * @param dstRowBytes bytes in a row of 'dstBuffer' 75 bool readPixels(const SkImageInfo& dstInfo, void* dstBuffer, size_t dstRowBytes,
|
/external/lz4/programs/ |
lz4io.c | 401 void* dstBuffer; 418 ress.dstBuffer = malloc(ress.dstBufferSize); 419 if (!ress.srcBuffer || !ress.dstBuffer) EXM_THROW(31, "Allocation error : not enough memory"); 427 free(ress.dstBuffer); 444 void* const dstBuffer = ress.dstBuffer; 480 size_t const cSize = LZ4F_compressFrame(dstBuffer, dstBufferSize, srcBuffer, readSize, &prefs); 487 { size_t const sizeCheck = fwrite(dstBuffer, 1, cSize, dstFile); 496 size_t headerSize = LZ4F_compressBegin(ctx, dstBuffer, dstBufferSize, &prefs); 498 { size_t const sizeCheck = fwrite(dstBuffer, 1, headerSize, dstFile) [all...] |
/frameworks/av/cmds/stagefright/ |
SimplePlayer.cpp | 359 const sp<MediaCodecBuffer> &dstBuffer = state->mBuffers[0].itemAt(index); 361 CHECK_LE(srcBuffer->size(), dstBuffer->capacity()); 362 dstBuffer->setRange(0, srcBuffer->size()); 363 memcpy(dstBuffer->data(), srcBuffer->data(), srcBuffer->size()); 368 dstBuffer->size(), 486 const sp<MediaCodecBuffer> &dstBuffer = 488 sp<ABuffer> abuffer = new ABuffer(dstBuffer->base(), dstBuffer->capacity()); 492 dstBuffer->setRange(abuffer->offset(), abuffer->size()); 499 dstBuffer->offset() [all...] |
/frameworks/av/media/libstagefright/ |
ACodecBufferChannel.cpp | 170 DestinationBuffer dstBuffer; 172 dstBuffer.type = BufferType::NATIVE_HANDLE; 173 dstBuffer.secureMemory = hidl_handle(secureHandle); 175 dstBuffer.type = BufferType::SHARED_MEMORY; 176 dstBuffer.nonsecureMemory = srcBuffer; 187 dstBuffer, 205 if (dstBuffer.type == BufferType::SHARED_MEMORY) {
|
/frameworks/av/media/libaudioprocessing/ |
BufferProviders.cpp | 526 void TimestretchBufferProvider::processFrames(void *dstBuffer, size_t *dstFrames, 549 memcpy(dstBuffer, srcBuffer, copySize); 554 memcpy((uint8_t*)dstBuffer + mFrameSize * count, 561 memset(dstBuffer,0, mFrameSize * *dstFrames); 580 *dstFrames = sonicReadFloatFromStream(mSonicStream, (float*)dstBuffer, *dstFrames); 587 *dstFrames = sonicReadShortFromStream(mSonicStream, (short*)dstBuffer, *dstFrames);
|
/frameworks/base/libs/hwui/ |
RecordingCanvas.h | 219 T* dstBuffer = (T*) mDisplayList->allocator.alloc<T>(count * sizeof(T)); 220 memcpy(dstBuffer, srcBuffer, count * sizeof(T)); 221 return dstBuffer;
|
/frameworks/base/media/jni/ |
android_media_MediaDescrambler.cpp | 186 DestinationBuffer dstBuffer; 187 dstBuffer.type = BufferType::SHARED_MEMORY; 188 dstBuffer.nonsecureMemory = mDescramblerSrcBuffer; 195 dstBuffer,
|