/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/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 | 395 uint8_t* srcPtr = (uint8_t*)data + mWidth * mCropTop * 3 + mCropLeft * 3; in render() local 399 memcpy(dstPtr, srcPtr, mCropWidth * 3); in render() 400 srcPtr += mWidth * 3; in render() 404 uint8_t *srcPtr, *dstPtr; in render() local 407 srcPtr = (uint8_t*)data + mWidth * 4 * (y + mCropTop) + mCropLeft * 4; in render() 410 uint8_t a = *srcPtr++; in render() 412 *dstPtr++ = *srcPtr++; in render() 418 uint8_t* srcPtr = (uint8_t*)data + mWidth * mCropTop * 4 + mCropLeft * 4; in render() local 422 memcpy(dstPtr, srcPtr, mCropWidth * 4); in render() 423 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() 398 void *srcPtr = NULL, *dstPtr = NULL; in android_media_MediaDescrambler_native_descramble() local 401 env, srcBuf, srcOffset, srcLimit, totalLength, &srcPtr, &srcArray); in android_media_MediaDescrambler_native_descramble() 405 dstPtr = srcPtr; in android_media_MediaDescrambler_native_descramble() 430 srcPtr, srcOffset, dstPtr, dstOffset, in android_media_MediaDescrambler_native_descramble() 435 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/hidl/ |
D | CryptoPlugin.cpp | 127 uint8_t* srcPtr = static_cast<uint8_t *>(base + source.offset + offset); in decrypt_1_2() local 173 reinterpret_cast<const uint8_t*>(srcPtr) + offset, in decrypt_1_2() 183 Status_V1_2 res = mSession->decrypt(keyId.data(), iv.data(), srcPtr, in decrypt_1_2()
|
D | Session.cpp | 72 const KeyId keyId, const Iv iv, const uint8_t* srcPtr, in decrypt() argument 92 itr->second /*key*/, iv, srcPtr, destPtr, subSamples, in decrypt()
|
/frameworks/av/drm/mediacas/plugins/clearkey/ |
D | ClearKeyCasPlugin.cpp | 383 const void *srcPtr, void *dstPtr, AString * /* errorDetailMsg */) { in decrypt() argument 405 uint8_t *src = (uint8_t*)srcPtr; in decrypt() 476 const void *srcPtr, in descramble() argument 486 srcPtr, dstPtr, srcOffset, dstOffset); in descramble() 498 (uint8_t*)srcPtr + srcOffset, in descramble()
|
D | ClearKeySessionLibrary.h | 44 const void *srcPtr,
|
D | ClearKeyCasPlugin.h | 127 const void *srcPtr,
|
/frameworks/base/rs/jni/ |
D | android_renderscript_RenderScript.cpp | 56 void *srcPtr = nullptr; \ 74 srcPtr = ptr; \ 81 copyWithPadding(ptr, srcPtr, mSize, count); \ 85 copyWithUnPadding(srcPtr, ptr, mSize, count); \ 88 ptr = srcPtr; \ 103 srcPtr = ptr; \ 110 copyWithPadding(ptr, srcPtr, mSize, count); \ 114 copyWithUnPadding(srcPtr, ptr, mSize, count); \ 117 ptr = srcPtr; \ 133 srcPtr = ptr; \ [all …]
|
/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/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/hidl/include/ |
D | Session.h | 57 const KeyId keyId, const Iv iv, const uint8_t* srcPtr,
|
/frameworks/av/drm/mediacas/plugins/mock/ |
D | MockCasPlugin.cpp | 238 const void *srcPtr, in descramble() argument 247 srcPtr, dstPtr, srcOffset, dstOffset); in descramble()
|
D | MockCasPlugin.h | 118 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/rs/rsov/driver/ |
D | rsovAllocation.cpp | 509 uint8_t *srcPtr = in rsovAllocationData2D_alloc_script() local 511 memcpy(dstPtr, srcPtr, w * elementSize); in rsovAllocationData2D_alloc_script() 526 uint8_t *srcPtr = in rsovAllocationData3D_alloc_script() local 529 memcpy(dstPtr, srcPtr, w * elementSize); in rsovAllocationData3D_alloc_script()
|
/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()
|