/packages/apps/Camera2/jni/ |
jpegutilnative.cpp | 130 char* dstPtr = &dst[y * width]; 132 *dstPtr = *srcPtr; 134 dstPtr++;
|
/external/deqp/framework/delibs/depool/ |
dePoolStringBuilder.c | 125 char* dstPtr = resultStr; 131 *dstPtr++ = *p++; 135 *dstPtr++ = 0;
|
/external/skia/src/codec/ |
SkMaskSwizzler.cpp | 17 SkPMColor* dstPtr = (SkPMColor*) dstRow; 23 dstPtr[i] = SkPackARGB32NoCheck(0xFF, red, green, blue); 33 SkPMColor* dstPtr = (SkPMColor*) dstRow; 42 dstPtr[i] = SkPackARGB32NoCheck(alpha, red, green, blue); 52 SkPMColor* dstPtr = (SkPMColor*) dstRow; 61 dstPtr[i] = SkPreMultiplyARGB(alpha, red, green, blue); 70 SkPMColor* dstPtr = (SkPMColor*) dstRow; 76 dstPtr[i/3] = SkPackARGB32NoCheck(0xFF, red, green, blue); 85 SkPMColor* dstPtr = (SkPMColor*) dstRow; 94 dstPtr[i/3] = SkPackARGB32NoCheck(alpha, red, green, blue) [all...] |
/external/skia/src/core/ |
SkBitmapDevice.cpp | 247 const SkRect* dstPtr = &dst; 259 dstPtr = &tmpDst; 299 draw.drawBitmap(*bitmapPtr, matrix, dstPtr, paint); 318 this->drawRect(draw, *dstPtr, paintWithShader);
|
SkMipMap.cpp | 288 void* dstPtr = dstBasePtr; 290 proc_nocheck(dstPtr, x, y, srcPtr, srcBM); 292 dstPtr = (char*)dstPtr + pixelSize; 295 proc_check(dstPtr, widthEven, y, srcPtr, srcBM); 303 void* dstPtr = dstBasePtr; 305 proc_check(dstPtr, x, heightEven, srcPtr, srcBM); 307 dstPtr = (char*)dstPtr + pixelSize;
|
/external/skia/src/utils/ |
SkTextureCompressor_LATC.cpp | 355 static void compress_a8_latc_block(uint8_t** dstPtr, const uint8_t* src, size_t rowBytes) { 356 *(reinterpret_cast<uint64_t*>(*dstPtr)) = 358 *dstPtr += 8; 390 uint8_t** dstPtr = &dst; 393 compress_a8_latc_block<PackRowMajor>(dstPtr, src + y*rowBytes + x, rowBytes);
|
SkTextureCompressor_ASTC.cpp | [all...] |
/frameworks/av/media/libmedia/ |
ICrypto.cpp | 104 void *dstPtr, 138 data.writeInt64(static_cast<uint64_t>(reinterpret_cast<uintptr_t>(dstPtr))); 150 reply.read(dstPtr, result); 296 void *secureBufferId, *dstPtr; 300 dstPtr = malloc(totalSize); 316 secure ? secureBufferId : dstPtr, 329 reply->write(dstPtr, result); 331 free(dstPtr); 332 dstPtr = NULL;
|
/frameworks/av/media/libstagefright/colorconversion/ |
SoftwareRenderer.cpp | 316 uint8_t* dstPtr = (uint8_t*)dst; 319 memcpy(dstPtr, srcPtr, mCropWidth * 3); 321 dstPtr += buf->stride * 3; 327 uint8_t *srcPtr, *dstPtr; 331 dstPtr = (uint8_t*)dst + buf->stride * 4 * y; 335 *dstPtr++ = *srcPtr++; 337 *dstPtr++ = a; // alpha last (ARGB to RGBA) 345 uint8_t* dstPtr = (uint8_t*)dst; 348 memcpy(dstPtr, srcPtr, mCropWidth * 4); 350 dstPtr += buf->stride * 4 [all...] |
/external/deqp/modules/gles31/functional/ |
es31fIndirectComputeDispatchTests.cpp | 194 deUint32* const dstPtr = (deUint32*)&data[cmdIter->offset]; 196 dstPtr[0] = cmdIter->numWorkGroups[0]; 197 dstPtr[1] = cmdIter->numWorkGroups[1]; 198 dstPtr[2] = cmdIter->numWorkGroups[2]; 272 deUint8* const dstPtr = &data[resultBlockSize*cmdNdx]; 274 *(deUint32*)(dstPtr + RESULT_BLOCK_EXPECTED_COUNT_OFFSET + 0*4) = m_commands[cmdNdx].numWorkGroups[0]; 275 *(deUint32*)(dstPtr + RESULT_BLOCK_EXPECTED_COUNT_OFFSET + 1*4) = m_commands[cmdNdx].numWorkGroups[1]; 276 *(deUint32*)(dstPtr + RESULT_BLOCK_EXPECTED_COUNT_OFFSET + 2*4) = m_commands[cmdNdx].numWorkGroups[2]; 277 *(deUint32*)(dstPtr + RESULT_BLOCK_NUM_PASSED_OFFSET) = 0;
|
es31fCopyImageTests.cpp | 786 deUint8* const dstPtr = dstLevelData.getElementPtr(sumComponents((dstTexelPos + blockPos) * dstTexelBlockStride)); 789 deMemcpy(dstPtr, srcPtr, copyLineSize); [all...] |
/external/mesa3d/src/gallium/drivers/nv50/codegen/ |
nv50_ir_from_sm4.cpp | 74 Value *dstPtr[3]; [all...] |
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/ |
pvdec_api.cpp | [all...] |
/frameworks/av/media/libstagefright/rtsp/ |
AMPEG4AudioAssembler.cpp | 245 uint8_t *dstPtr = (*asc)->data(); 247 *dstPtr++ = bs.getBits(8);
|
/packages/inputmethods/OpenWnn/libs/libwnnDictionary/ |
OpenWnnDictionaryImplJni.c | [all...] |
/external/deqp/framework/referencerenderer/ |
rrFragmentOperations.cpp | [all...] |
/external/lz4/programs/ |
lz4io.c | 283 unsigned char* dstPtr = p; 284 dstPtr[0] = (unsigned char)value32; 285 dstPtr[1] = (unsigned char)(value32 >> 8); 286 dstPtr[2] = (unsigned char)(value32 >> 16); 287 dstPtr[3] = (unsigned char)(value32 >> 24);
|
/external/mesa3d/src/mesa/main/ |
bufferobj.c | 571 GLubyte *srcPtr, *dstPtr; 578 srcPtr = dstPtr = ctx->Driver.MapBufferRange(ctx, 0, src->Size, 586 dstPtr += writeOffset; 590 dstPtr = ctx->Driver.MapBufferRange(ctx, writeOffset, size, 598 if (srcPtr && dstPtr) 599 memcpy(dstPtr, srcPtr, size); [all...] |
/external/skia/src/effects/ |
SkDisplacementMapEffect.cpp | 67 SkPMColor* dstPtr = dst->getAddr32(0, 0); 79 *dstPtr++ = ((srcX < 0) || (srcX >= srcW) || (srcY < 0) || (srcY >= srcH)) ?
|
/frameworks/rs/driver/ |
rsdAllocation.cpp | [all...] |
/external/deqp/framework/common/ |
tcuTextureUtil.cpp | 467 deUint8* dstPtr = (deUint8*)dst.getPixelPtr(0, y, z); 470 if (pixelSize == 8 && deIsAlignedPtr(dstPtr, pixelSize)) 476 ((deUint64*)dstPtr)[i] = val; 478 else if (pixelSize == 4 && deIsAlignedPtr(dstPtr, pixelSize)) 484 ((deUint32*)dstPtr)[i] = val; 490 dstPtr[i*pixelSize+j] = pixel[j]; [all...] |
tcuCompressedTexture.cpp | 832 deUint8* const dstPtr = (deUint8*)dst.getDataPtr(); 835 decompressETC1Block(dstPtr, compressedBlock); 842 deUint8* const dstPtr = (deUint8*)dst.getDataPtr(); 845 decompressETC2Block(dstPtr, compressedBlock, NULL, false); 852 deUint8* const dstPtr = (deUint8*)dst.getDataPtr(); 872 deUint8* const dstPixel = dstPtr + y*dstRowPitch + x*dstPixelSize; 887 deUint8* const dstPtr = (deUint8*)dst.getDataPtr(); 905 deUint8* const dstPixel = dstPtr + y*dstRowPitch + x*dstPixelSize; 920 deUint8* const dstPtr = (deUint8*)dst.getDataPtr(); [all...] |
/external/lz4/lib/ |
lz4frame.c | 192 static void LZ4F_writeLE32 (BYTE* dstPtr, U32 value32) 194 dstPtr[0] = (BYTE)value32; 195 dstPtr[1] = (BYTE)(value32 >> 8); 196 dstPtr[2] = (BYTE)(value32 >> 16); 197 dstPtr[3] = (BYTE)(value32 >> 24); 266 BYTE* dstPtr = dstStart; 299 dstPtr += errorCode; /* header size */ 302 errorCode = LZ4F_compressUpdate(&cctxI, dstPtr, dstMaxSize, srcBuffer, srcSize, &options); 304 dstPtr += errorCode; 306 errorCode = LZ4F_compressEnd(&cctxI, dstPtr, dstEnd-dstPtr, &options); /* flush last block, and generate suffix * [all...] |
/frameworks/av/media/libstagefright/matroska/ |
MatroskaExtractor.cpp | 608 uint8_t *dstPtr = NULL; 634 memcpy(&dstPtr[dstOffset], "\x00\x00\x00\x01", 4); 636 memcpy(&dstPtr[dstOffset + 4], 670 dstPtr = (uint8_t *)buffer->data();
|
/external/deqp/modules/glshared/ |
glsShaderExecUtil.cpp | 546 void* dstPtr = outputs[outputNdx]; 550 deMemcpy((deUint32*)dstPtr + scalarSize*ndx, (const deUint8*)srcPtr + curOffset + ndx*outputBufferStride, scalarSize*sizeof(deUint32)); 826 deUint32* dstPtr = &dstPtrBase[outSize*valNdx + outVecSize*locNdx]; 827 deMemcpy(dstPtr, srcPtr, outVecSize*sizeof(deUint32)); [all...] |