/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/jni/ |
D | exposure.cpp | 35 unsigned char* srcPtr = static_cast<unsigned char*>(env->GetDirectBufferAddress(imageBuffer)); in Java_androidx_media_filterfw_samples_simplecamera_ExposureFilter_overExposureOperator() local 40 tempLuminance = (0.2126f * *(srcPtr + 4 * i) + in Java_androidx_media_filterfw_samples_simplecamera_ExposureFilter_overExposureOperator() 41 0.7152f * *(srcPtr + 4 * i + 1) + in Java_androidx_media_filterfw_samples_simplecamera_ExposureFilter_overExposureOperator() 42 0.0722f * *(srcPtr + 4 * i + 2)); in Java_androidx_media_filterfw_samples_simplecamera_ExposureFilter_overExposureOperator() 57 unsigned char* srcPtr = static_cast<unsigned char*>(env->GetDirectBufferAddress(imageBuffer)); in Java_androidx_media_filterfw_samples_simplecamera_ExposureFilter_underExposureOperator() local 62 tempLuminance = (0.2126f * *(srcPtr + 4 * i) + in Java_androidx_media_filterfw_samples_simplecamera_ExposureFilter_underExposureOperator() 63 0.7152f * *(srcPtr + 4 * i + 1) + in Java_androidx_media_filterfw_samples_simplecamera_ExposureFilter_underExposureOperator() 64 0.0722f * *(srcPtr + 4 * i + 2)); in Java_androidx_media_filterfw_samples_simplecamera_ExposureFilter_underExposureOperator()
|
D | brightness.cpp | 36 unsigned char* srcPtr = static_cast<unsigned char*>(env->GetDirectBufferAddress(imageBuffer)); in Java_androidx_media_filterfw_samples_simplecamera_AvgBrightnessFilter_brightnessOperator() local 38 pixelTotals[0] += *(srcPtr + 4 * i); in Java_androidx_media_filterfw_samples_simplecamera_AvgBrightnessFilter_brightnessOperator() 39 pixelTotals[1] += *(srcPtr + 4 * i + 1); in Java_androidx_media_filterfw_samples_simplecamera_AvgBrightnessFilter_brightnessOperator() 40 pixelTotals[2] += *(srcPtr + 4 * i + 2); in Java_androidx_media_filterfw_samples_simplecamera_AvgBrightnessFilter_brightnessOperator()
|
D | contrast.cpp | 36 unsigned char* srcPtr = static_cast<unsigned char*>(env->GetDirectBufferAddress(imageBuffer)); in Java_androidx_media_filterfw_samples_simplecamera_ContrastRatioFilter_contrastOperator() local 39 lumArray[i] = (0.2126f * *(srcPtr + 4 * i) + 0.7152f * in Java_androidx_media_filterfw_samples_simplecamera_ContrastRatioFilter_contrastOperator() 40 *(srcPtr + 4 * i + 1) + 0.0722f * *(srcPtr + 4 * i + 2)) / 255; in Java_androidx_media_filterfw_samples_simplecamera_ContrastRatioFilter_contrastOperator()
|
D | sobeloperator.cpp | 72 unsigned char* srcPtr = static_cast<unsigned char*>(env->GetDirectBufferAddress(imageBuffer)); in Java_androidx_media_filterpacks_image_SobelFilter_sobelOperator() local 82 computeGradient(srcPtr, width, height, gxPtr, gyPtr); in Java_androidx_media_filterpacks_image_SobelFilter_sobelOperator()
|
/frameworks/base/core/jni/ |
D | android_util_CharsetUtils.cpp | 47 char *srcPtr = reinterpret_cast<char*>(src); in android_util_CharsetUtils_fromModifiedUtf8Bytes() local 51 char tmp = srcPtr[srcOff + srcLen]; in android_util_CharsetUtils_fromModifiedUtf8Bytes() 52 srcPtr[srcOff + srcLen] = '\0'; in android_util_CharsetUtils_fromModifiedUtf8Bytes() 53 jstring res = env->NewStringUTF(srcPtr + srcOff); in android_util_CharsetUtils_fromModifiedUtf8Bytes() 54 srcPtr[srcOff + srcLen] = tmp; in android_util_CharsetUtils_fromModifiedUtf8Bytes()
|
/frameworks/av/drm/mediadrm/plugins/clearkey/default/ |
D | CryptoPlugin.cpp | 36 Mode mode, const Pattern &/* pattern */, const void* srcPtr, in decrypt() argument 59 reinterpret_cast<const uint8_t*>(srcPtr) + offset, in decrypt() 67 status_t res = mSession->decrypt(keyId, iv, srcPtr, dstPtr, subSamples, in decrypt()
|
/frameworks/av/media/libstagefright/colorconversion/ |
D | SoftwareRenderer.cpp | 386 uint8_t* srcPtr = (uint8_t*)data + mWidth * mCropTop * 3 + mCropLeft * 3; in render() local 390 memcpy(dstPtr, srcPtr, mCropWidth * 3); in render() 391 srcPtr += mWidth * 3; in render() 395 uint8_t *srcPtr, *dstPtr; in render() local 398 srcPtr = (uint8_t*)data + mWidth * 4 * (y + mCropTop) + mCropLeft * 4; in render() 401 uint8_t a = *srcPtr++; in render() 403 *dstPtr++ = *srcPtr++; in render() 409 uint8_t* srcPtr = (uint8_t*)data + mWidth * mCropTop * 4 + mCropLeft * 4; in render() local 413 memcpy(dstPtr, srcPtr, mCropWidth * 4); in render() 414 srcPtr += mWidth * 4; in render()
|
/frameworks/base/media/jni/ |
D | android_media_MediaDescrambler.cpp | 57 const void *srcPtr, 206 const void *srcPtr, in descramble() argument 224 (const void*)((const uint8_t*)srcPtr + srcOffset), totalLength); in descramble() 399 void *srcPtr = NULL, *dstPtr = NULL; in android_media_MediaDescrambler_native_descramble() local 402 env, srcBuf, srcOffset, srcLimit, totalLength, &srcPtr, &srcArray); in android_media_MediaDescrambler_native_descramble() 406 dstPtr = srcPtr; in android_media_MediaDescrambler_native_descramble() 431 srcPtr, srcOffset, dstPtr, dstOffset, in android_media_MediaDescrambler_native_descramble() 436 env->ReleaseByteArrayElements(srcArray, (jbyte *)srcPtr, 0); in android_media_MediaDescrambler_native_descramble()
|
/frameworks/rs/support/jni/ |
D | android_renderscript_RenderScript.cpp | 45 void *srcPtr = nullptr; \ 59 srcPtr = ptr; \ 66 copyWithPadding(ptr, srcPtr, mSize, count); \ 70 copyWithUnPadding(srcPtr, ptr, mSize, count); \ 73 ptr = srcPtr; \ 84 srcPtr = ptr; \ 91 copyWithPadding(ptr, srcPtr, mSize, count); \ 95 copyWithUnPadding(srcPtr, ptr, mSize, count); \ 98 ptr = srcPtr; \ 110 srcPtr = ptr; \ [all …]
|
/frameworks/av/drm/mediadrm/plugins/clearkey/common/ |
D | Session.cpp | 59 const uint8_t* srcPtr, uint8_t* destPtr, in decrypt() argument 79 auto status = decryptor.decrypt(itr->second /*key*/, iv, srcPtr, destPtr, in decrypt()
|
/frameworks/base/rs/jni/ |
D | android_renderscript_RenderScript.cpp | 55 void *srcPtr = nullptr; \ 73 srcPtr = ptr; \ 80 copyWithPadding(ptr, srcPtr, mSize, count); \ 84 copyWithUnPadding(srcPtr, ptr, mSize, count); \ 87 ptr = srcPtr; \ 102 srcPtr = ptr; \ 109 copyWithPadding(ptr, srcPtr, mSize, count); \ 113 copyWithUnPadding(srcPtr, ptr, mSize, count); \ 116 ptr = srcPtr; \ 132 srcPtr = ptr; \ [all …]
|
/frameworks/av/drm/mediacas/plugins/clearkey/ |
D | ClearKeyCasPlugin.cpp | 404 const void *srcPtr, void *dstPtr, AString * /* errorDetailMsg */) { in decrypt() argument 426 uint8_t *src = (uint8_t*)srcPtr; in decrypt() 497 const void *srcPtr, in descramble() argument 507 srcPtr, dstPtr, srcOffset, dstOffset); in descramble() 519 (uint8_t*)srcPtr + srcOffset, in descramble()
|
D | ClearKeySessionLibrary.h | 43 const void *srcPtr,
|
D | ClearKeyCasPlugin.h | 134 const void *srcPtr,
|
/frameworks/base/tests/JankBench/app/src/main/jni/ |
D | Bench.cpp | 318 const float * srcPtr = &mGFlop.srcBuffer[x - halfKX]; in GflopKernelC() local 321 sum += srcPtr[0] * krnPtr[0]; in GflopKernelC() 323 srcPtr++; in GflopKernelC()
|
/frameworks/av/drm/mediadrm/plugins/clearkey/aidl/ |
D | CryptoPlugin.cpp | 93 uint8_t* srcPtr = src->mBase + in_args.source.offset + in_args.offset; in decrypt() local 131 reinterpret_cast<const uint8_t*>(srcPtr) + offset, in decrypt() 157 srcPtr, static_cast<uint8_t*>(destPtr), in decrypt()
|
/frameworks/av/drm/mediadrm/plugins/clearkey/default/include/ |
D | CryptoPlugin.h | 47 Mode mode, const Pattern &pattern, const void* srcPtr,
|
/frameworks/native/headers/media_plugin/media/cas/ |
D | DescramblerAPI.h | 92 const void *srcPtr,
|
/frameworks/native/headers/media_plugin/media/hardware/ |
D | CryptoAPI.h | 108 const void *srcPtr,
|
/frameworks/av/drm/mediadrm/plugins/clearkey/common/include/clearkeydrm/ |
D | Session.h | 43 CdmResponseType decrypt(const KeyId keyId, const Iv iv, const uint8_t* srcPtr, uint8_t* dstPtr,
|
/frameworks/av/drm/mediacas/plugins/mock/ |
D | MockCasPlugin.cpp | 251 const void *srcPtr, in descramble() argument 260 srcPtr, dstPtr, srcOffset, dstOffset); in descramble()
|
D | MockCasPlugin.h | 124 const void *srcPtr,
|
/frameworks/rs/cpp/ |
D | Allocation.cpp | 192 static void copyWithPadding(void* ptr, const void* srcPtr, int mSize, int count) { in copyWithPadding() argument 196 const uint8_t *src = static_cast<const uint8_t *>(srcPtr); in copyWithPadding() 204 static void copyWithUnPadding(void* ptr, const void* srcPtr, int mSize, int count) { in copyWithUnPadding() argument 208 const uint8_t *src = static_cast<const uint8_t *>(srcPtr); in copyWithUnPadding()
|
/frameworks/av/drm/mediadrm/plugins/mock/ |
D | MockDrmCryptoPlugin.h | 166 const Pattern &pattern, const void *srcPtr,
|
/frameworks/rs/cpu_ref/ |
D | rsCpuScript.cpp | 872 int32_t *srcPtr = reinterpret_cast<int32_t *>(mScriptExec->getFieldAddress(slot)); in getGlobalVar() local 873 if (!srcPtr) { in getGlobalVar() 877 memcpy(data, srcPtr, dataLength); in getGlobalVar()
|