/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/jni/ |
exposure.cpp | 35 unsigned char* srcPtr = static_cast<unsigned char*>(env->GetDirectBufferAddress(imageBuffer)); 40 tempLuminance = (0.2126f * *(srcPtr + 4 * i) + 41 0.7152f * *(srcPtr + 4 * i + 1) + 42 0.0722f * *(srcPtr + 4 * i + 2)); 57 unsigned char* srcPtr = static_cast<unsigned char*>(env->GetDirectBufferAddress(imageBuffer)); 62 tempLuminance = (0.2126f * *(srcPtr + 4 * i) + 63 0.7152f * *(srcPtr + 4 * i + 1) + 64 0.0722f * *(srcPtr + 4 * i + 2));
|
brightness.cpp | 36 unsigned char* srcPtr = static_cast<unsigned char*>(env->GetDirectBufferAddress(imageBuffer)); 38 pixelTotals[0] += *(srcPtr + 4 * i); 39 pixelTotals[1] += *(srcPtr + 4 * i + 1); 40 pixelTotals[2] += *(srcPtr + 4 * i + 2);
|
contrast.cpp | 36 unsigned char* srcPtr = static_cast<unsigned char*>(env->GetDirectBufferAddress(imageBuffer)); 39 lumArray[i] = (0.2126f * *(srcPtr + 4 * i) + 0.7152f * 40 *(srcPtr + 4 * i + 1) + 0.0722f * *(srcPtr + 4 * i + 2)) / 255;
|
sobeloperator.cpp | 72 unsigned char* srcPtr = static_cast<unsigned char*>(env->GetDirectBufferAddress(imageBuffer)); 82 computeGradient(srcPtr, width, height, gxPtr, gyPtr);
|
/frameworks/base/libs/hwui/font/ |
FontUtil.h | 47 static glyph_t nextGlyph(const uint16_t** srcPtr) { 48 const uint16_t* src = *srcPtr; 50 *srcPtr = src;
|
/external/chromium_org/third_party/skia/src/utils/ |
SkBase64.h | 32 Error decode(const void* srcPtr, size_t length, bool writeDestination);
|
SkBase64.cpp | 37 SkBase64::Error SkBase64::decode(const void* srcPtr, size_t size, bool writeDestination) { 40 const unsigned char* src = (const unsigned char*) srcPtr; 112 size_t SkBase64::Encode(const void* srcPtr, size_t length, void* dstPtr, const char* encodeMap) { 119 const unsigned char* src = (const unsigned char*) srcPtr;
|
SkDashPath.cpp | 236 const SkPath* srcPtr = &src; 238 srcPtr = &cullPathStorage; 242 bool specialLine = lineRec.init(*srcPtr, dst, rec, count >> 1, intervalLength); 244 SkPathMeasure meas(*srcPtr, false);
|
/external/skia/src/utils/ |
SkBase64.h | 32 Error decode(const void* srcPtr, size_t length, bool writeDestination);
|
SkBase64.cpp | 37 SkBase64::Error SkBase64::decode(const void* srcPtr, size_t size, bool writeDestination) { 40 const unsigned char* src = (const unsigned char*) srcPtr; 112 size_t SkBase64::Encode(const void* srcPtr, size_t length, void* dstPtr, const char* encodeMap) { 119 const unsigned char* src = (const unsigned char*) srcPtr;
|
SkDashPath.cpp | 235 const SkPath* srcPtr = &src; 237 srcPtr = &cullPathStorage; 241 bool specialLine = lineRec.init(*srcPtr, dst, rec, count >> 1, intervalLength); 243 SkPathMeasure meas(*srcPtr, false);
|
/frameworks/av/drm/mediadrm/plugins/clearkey/ |
CryptoPlugin.cpp | 36 Mode mode, const void* srcPtr, 59 reinterpret_cast<const uint8_t*>(srcPtr) + offset, 67 status_t res = mSession->decrypt(keyId, iv, srcPtr, dstPtr, subSamples,
|
CryptoPlugin.h | 44 Mode mode, const void* srcPtr,
|
/external/pdfium/core/src/fxcodec/jbig2/ |
JBig2_Image.cpp | 199 FX_BYTE *pLineSrc, *pLineDst, *srcPtr, *destPtr;
244 srcPtr = pLineSrc;
246 dest |= (*srcPtr >> s1) & m2;
256 srcPtr = pLineSrc;
258 dest &= ((0xff00 | *srcPtr) >> s1) | m1;
268 srcPtr = pLineSrc;
270 dest ^= (*srcPtr >> s1) & m2;
280 srcPtr = pLineSrc;
282 dest ^= ((*srcPtr ^ 0xff) >> s1) & m2;
292 srcPtr = pLineSrc; [all...] |
/external/qemu/distrib/sdl-1.2.15/src/video/fbcon/ |
SDL_fbvideo.c | [all...] |
/external/chromium_org/third_party/skia/src/core/ |
SkUtils.cpp | 340 SkUnichar SkUTF16_NextUnichar(const uint16_t** srcPtr) { 341 SkASSERT(srcPtr && *srcPtr); 343 const uint16_t* src = *srcPtr; 355 *srcPtr = src; 359 SkUnichar SkUTF16_PrevUnichar(const uint16_t** srcPtr) { 360 SkASSERT(srcPtr && *srcPtr); 362 const uint16_t* src = *srcPtr; 371 *srcPtr = src [all...] |
/external/skia/src/core/ |
SkUtils.cpp | 340 SkUnichar SkUTF16_NextUnichar(const uint16_t** srcPtr) { 341 SkASSERT(srcPtr && *srcPtr); 343 const uint16_t* src = *srcPtr; 355 *srcPtr = src; 359 SkUnichar SkUTF16_PrevUnichar(const uint16_t** srcPtr) { 360 SkASSERT(srcPtr && *srcPtr); 362 const uint16_t* src = *srcPtr; 371 *srcPtr = src [all...] |
/external/chromium_org/third_party/skia/src/effects/ |
SkMergeImageFilter.cpp | 84 const SkBitmap* srcPtr; 91 srcPtr = &tmp; 93 srcPtr = &src; 101 canvas.drawSprite(*srcPtr, pos.x() - x0, pos.y() - y0, &paint);
|
/external/skia/src/effects/ |
SkMergeImageFilter.cpp | 93 const SkBitmap* srcPtr; 100 srcPtr = &tmp; 102 srcPtr = &src; 110 canvas.drawSprite(*srcPtr, pos.x() - x0, pos.y() - y0, &paint);
|
/frameworks/av/include/media/ |
ICrypto.h | 51 const void *srcPtr,
|
/frameworks/native/include/media/hardware/ |
CryptoAPI.h | 86 const void *srcPtr,
|
/frameworks/av/media/libmediaplayerservice/ |
Crypto.h | 55 const void *srcPtr,
|
/packages/apps/Camera2/jni/ |
jpegutil.cpp | 82 unsigned char* srcPtr = &plane_->data_[y * plane_->rowStride_]; 87 memcpy(dstPtr, srcPtr, plane_->planeWidth_); 92 *dstPtr = *srcPtr; 94 srcPtr += pixelStride;
|
/external/deqp/framework/opengl/ |
gluDrawUtil.cpp | 301 static void copyToLayout (void* dstBasePtr, const VertexAttributeDescriptor& dstVA, const VertexArrayPointer& srcPtr) 303 DE_ASSERT(dstVA.componentType == srcPtr.componentType && 304 dstVA.numComponents == srcPtr.numComponents && 305 dstVA.numElements == srcPtr.numElements); 308 const bool srcHasCustomStride = srcPtr.stride != 0 && srcPtr.stride != elementSize; 314 const int srcStride = srcPtr.stride != 0 ? srcPtr.stride : elementSize; 317 deMemcpy((deUint8*)dstBasePtr + (deUintptr)dstVA.pointer + ndx*dstStride, (const deUint8*)srcPtr.data + ndx*srcStride, elementSize); 320 deMemcpy((deUint8*)dstBasePtr + (deUintptr)dstVA.pointer, srcPtr.data, elementSize*dstVA.numElements) [all...] |
/external/chromium_org/third_party/skia/src/sfnt/ |
SkOTTable_name.cpp | 16 static SkUnichar SkUTF16BE_NextUnichar(const uint16_t** srcPtr) { 17 SkASSERT(srcPtr && *srcPtr); 19 const uint16_t* src = *srcPtr; 29 *srcPtr = src;
|